<ovsdb.plugin.compatibility.layer.version>1.1.0-SNAPSHOT</ovsdb.plugin.compatibility.layer.version>
<ovsdb.ovssfc.version>0.1.0-SNAPSHOT</ovsdb.ovssfc.version>
<ovsdb.utils.config.version>1.1.0-SNAPSHOT</ovsdb.utils.config.version>
- <ovsdb.utils.servicehelper.version>1.1.0-SNAPSHOT</ovsdb.utils.servicehelper.version>
<plugin.shell.version>1.1.0-SNAPSHOT</plugin.shell.version>
<schema.hardwarevtep.version>1.1.0-SNAPSHOT</schema.hardwarevtep.version>
<schema.openvswitch.version>1.1.0-SNAPSHOT</schema.openvswitch.version>
<artifactId>utils.mdsal-openflow</artifactId>
<version>${utils.mdsal.openflow.version}</version>
</dependency>
- <dependency>
- <groupId>org.opendaylight.ovsdb</groupId>
- <artifactId>utils.servicehelper</artifactId>
- <version>${ovsdb.utils.servicehelper.version}</version>
- </dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<groupId>org.opendaylight.ovsdb</groupId>
<artifactId>schema.hardwarevtep</artifactId>
</dependency>
- <dependency>
- <groupId>org.opendaylight.ovsdb</groupId>
- <artifactId>utils.servicehelper</artifactId>
- </dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<feature version="${ovsdb.plugin.version}">odl-ovsdb-plugin</feature>
<feature version="${nsf.version}">odl-adsal-northbound</feature>
<feature version="${openflowplugin.version}">odl-openflowplugin-nsf-services</feature>
- <bundle>mvn:org.opendaylight.ovsdb/utils.servicehelper/${ovsdb.utils.servicehelper.version}</bundle>
<bundle>mvn:org.opendaylight.ovsdb/northbound/${ovsdb.northbound.version}</bundle>
</feature>
<feature version="${openflowplugin.version}">odl-openflowplugin-flow-services</feature>
<feature version="${networkconfig.neutron.version}">odl-neutron-service</feature>
<feature version="${nsf.version}">odl-nsf-service</feature>
- <bundle>mvn:org.opendaylight.ovsdb/utils.servicehelper/${ovsdb.utils.servicehelper.version}</bundle>
<bundle>mvn:org.opendaylight.ovsdb/openstack.net-virt/${openstack.netvirt.version}</bundle>
<bundle>mvn:org.opendaylight.ovsdb/openstack.net-virt-providers/${openstack.netvirt.providers.version}</bundle>
</feature>
<relativePath>../../commons/parent/pom.xml</relativePath>
</parent>
- <artifactId>utils.servicehelper</artifactId>
- <version>1.1.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
+ <groupId>org.opendaylight.ovsdb</groupId>
+ <artifactId>servicehelper</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ <name>${project.artifactId}</name>
+ <packaging>jar</packaging>
<dependencies>
<dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<scope>test</scope>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
/**
* The class helps to register and retrieve OSGi service registry
*/
-public final class ServiceHelper {
+public class ServiceHelper {
private static final Logger LOG = LoggerFactory.getLogger(ServiceHelper.class);
/**
* Retrieve global instance of a class via OSGI registry, if
/**
* JUnit test for
- * {@link ServiceHelper}
+ * {@link org.opendaylight.ovsdb.utils.servicehelper.ServiceHelper}
*/
@RunWith(PowerMockRunner.class)
@PrepareForTest(FrameworkUtil.class)