From 3e07974eba5945bb42c49f7b2ab913d447621b43 Mon Sep 17 00:00:00 2001 From: Maxim Nesen Date: Wed, 21 Jul 2021 16:06:26 +0200 Subject: [PATCH] OSGi example bundle fix Signed-off-by: Maxim Nesen --- .../osgi-http-service/functional-test/pom.xml | 23 +++++++++++++++++++ .../test/JettyHttpServiceFelixTest.java | 4 +++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/examples/osgi-http-service/functional-test/pom.xml b/examples/osgi-http-service/functional-test/pom.xml index 6f580933a1..4cf8383276 100644 --- a/examples/osgi-http-service/functional-test/pom.xml +++ b/examples/osgi-http-service/functional-test/pom.xml @@ -106,6 +106,19 @@ test + + org.osgi + org.osgi.service.http + 1.2.1 + test + + + org.osgi + org.osgi.service.cm + test + + + junit junit @@ -200,6 +213,16 @@ test + + + + org.glassfish.jersey.examples.osgihttpservice.test.GrizzlyHttpServiceFelixTest + + diff --git a/examples/osgi-http-service/functional-test/src/test/java/org/glassfish/jersey/examples/osgihttpservice/test/JettyHttpServiceFelixTest.java b/examples/osgi-http-service/functional-test/src/test/java/org/glassfish/jersey/examples/osgihttpservice/test/JettyHttpServiceFelixTest.java index f73bb1195e..0f5ee0cd90 100644 --- a/examples/osgi-http-service/functional-test/src/test/java/org/glassfish/jersey/examples/osgihttpservice/test/JettyHttpServiceFelixTest.java +++ b/examples/osgi-http-service/functional-test/src/test/java/org/glassfish/jersey/examples/osgihttpservice/test/JettyHttpServiceFelixTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2021 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at @@ -27,6 +27,8 @@ public class JettyHttpServiceFelixTest extends AbstractHttpServiceTest { @Override public List