Neon MRI changes 89/76089/19
authorMichael Vorburger <vorburger@redhat.com>
Fri, 14 Sep 2018 13:42:47 +0000 (15:42 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 13 Oct 2018 21:57:01 +0000 (23:57 +0200)
incl. adjusting an already more outdated odlparent version
features/production/odl-neutron-model/pom.xml

based on https://wiki.opendaylight.org/view/Neon_platform_upgrade

This was a huge mess due to EclipseLink Moxy & javax.json; perhaps more
to be done about this in the future, see NEUTRON-200.

JIRA: NEUTRON-197
Change-Id: I9b00ba0badaecb299e7d79b92feedf27fabe4fb8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
91 files changed:
artifacts/pom.xml
features/parent/pom.xml [new file with mode: 0644]
features/production/features-neutron/pom.xml
features/production/odl-neutron-hostconfig-ovs/pom.xml
features/production/odl-neutron-hostconfig-vpp/pom.xml
features/production/odl-neutron-logger/pom.xml
features/production/odl-neutron-model/pom.xml
features/production/odl-neutron-northbound-api/pom.xml
features/production/odl-neutron-service/pom.xml
features/production/odl-neutron-spi/pom.xml
features/production/pom.xml
features/test/features-neutron-test/pom.xml
features/test/odl-neutron-logger-test/pom.xml
features/test/pom.xml
integration/test-standalone/pom.xml
integration/test-standalone/src/test/java/org/opendaylight/neutron/e2etest/NeutronE2ETest.java
karaf/pom.xml
model/pom.xml
neutron-hostconfig/ovs/src/main/resources/OSGI-INF/blueprint/neutron-hostconfig-ovs.xml [moved from neutron-hostconfig/ovs/src/main/resources/org/opendaylight/blueprint/neutron-hostconfig-ovs.xml with 100% similarity]
neutron-hostconfig/pom.xml
neutron-hostconfig/vpp/src/main/resources/OSGI-INF/blueprint/neutron-hostconfig-vpp.xml [moved from neutron-hostconfig/vpp/src/main/resources/org/opendaylight/blueprint/neutron-hostconfig-vpp.xml with 100% similarity]
neutron-logger/src/main/resources/OSGI-INF/blueprint/neutron-logger.xml [moved from neutron-logger/src/main/resources/org/opendaylight/blueprint/neutron-logger.xml with 100% similarity]
neutron-spi/pom.xml
northbound-api/pom.xml
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronBgpvpnsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronFirewallNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronFirewallPolicyNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronFirewallRulesNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronFloatingIpsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronL2gatewayConnectionNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronL2gatewayNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronLoadBalancerHealthMonitorNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronLoadBalancerListenerNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronLoadBalancerNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronLoadBalancerPoolNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronMeteringLabelRulesNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronMeteringLabelsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronNetworksNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronPortsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronQosPolicyNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronRoutersNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSFCFlowClassifiersNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSFCPortChainsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSFCPortPairGroupsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSFCPortPairsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSecurityGroupsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSecurityRulesNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSubnetsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronTapFlowNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronTapServiceNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronTrunksNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronVpnIkePoliciesNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronVpnIpSecPoliciesNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronVpnIpSecSiteConnectionsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronVpnServicesNorthbound.java
northbound-api/src/main/resources/OSGI-INF/blueprint/blueprint.xml [moved from northbound-api/src/main/resources/org/opendaylight/blueprint/blueprint.xml with 100% similarity]
parent/pom.xml
pom.xml
transcriber/pom.xml
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronBgpvpnInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronFirewallInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronFirewallPolicyInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronFirewallRuleInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronFloatingIpInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronL2gatewayConnectionInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronL2gatewayInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronLoadBalancerHealthMonitorInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronLoadBalancerInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronLoadBalancerListenerInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronLoadBalancerPoolInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronMeteringLabelInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronMeteringLabelRuleInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronNetworkInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronPortInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronQosPolicyInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronRouterInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronSFCFlowClassifierInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronSFCPortChainInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronSFCPortPairGroupInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronSFCPortPairInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronSecurityGroupInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronSecurityRuleInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronSubnetInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronTapFlowInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronTapServiceInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronTrunkInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronVpnIkePolicyInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronVpnIpSecPolicyInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronVpnIpSecSiteConnectionsInterface.java
transcriber/src/main/java/org/opendaylight/neutron/transcriber/NeutronVpnServiceInterface.java
transcriber/src/main/resources/OSGI-INF/blueprint/transcriber.xml [moved from transcriber/src/main/resources/org/opendaylight/blueprint/transcriber.xml with 100% similarity]

index ca5d62a24b9e872bba51501f841498840230d53d..3d951c0296cd6b338c8132392f7ebf82bbb44e84 100644 (file)
@@ -12,7 +12,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>odlparent-lite</artifactId>
-        <version>3.1.3</version>
+        <version>4.0.2</version>
         <relativePath/>
     </parent>
 
diff --git a/features/parent/pom.xml b/features/parent/pom.xml
new file mode 100644 (file)
index 0000000..17465aa
--- /dev/null
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2018 Red Hat and others. All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ and is available at http://www.eclipse.org/legal/epl-v10.html
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>single-feature-parent</artifactId>
+        <version>4.0.2</version>
+        <relativePath/>
+    </parent>
+
+    <groupId>org.opendaylight.neutron</groupId>
+    <artifactId>neutron-single-feature-parent</artifactId>
+    <version>0.12.0-SNAPSHOT</version>
+    <packaging>pom</packaging>
+
+    <properties>
+        <explicitFeatureDependencies>true</explicitFeatureDependencies>
+    </properties>
+
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.opendaylight.mdsal</groupId>
+                <artifactId>mdsal-artifacts</artifactId>
+                <version>3.0.1</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.opendaylight.controller</groupId>
+                <artifactId>mdsal-artifacts</artifactId>
+                <version>1.9.0-SNAPSHOT</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+
+            <!-- see ../../parent (that's project-neutron-parent, not to be confused with this neutron-single-feature-parent)
+                 for why this is required; and keep any changes made there, or here, in sync with each other. -->
+            <dependency>
+               <groupId>org.eclipse.persistence</groupId>
+               <artifactId>org.eclipse.persistence.moxy</artifactId>
+               <version>2.7.3</version>
+               <exclusions>
+                 <exclusion>
+                   <groupId>javax.json</groupId>
+                   <artifactId>javax.json-api</artifactId>
+                 </exclusion>
+               </exclusions>
+            </dependency>
+            <dependency>
+              <groupId>org.glassfish</groupId>
+              <artifactId>javax.json</artifactId>
+              <version>1.0.4</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+</project>
index ef40ce3b6c44c6a087ac39cd2194f37c8643c87a..4df326363ca87ef70e13c151132ced0d16275e44 100644 (file)
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>feature-repo-parent</artifactId>
-        <version>3.1.3</version>
-        <relativePath/>
+        <groupId>org.opendaylight.neutron</groupId>
+        <artifactId>neutron-single-feature-parent</artifactId>
+        <version>0.12.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
 
-    <groupId>org.opendaylight.neutron</groupId>
     <artifactId>features-neutron-service</artifactId>
-    <version>0.12.0-SNAPSHOT</version>
     <packaging>feature</packaging>
 
     <dependencies>
index c6ec19c6056a944c9576532e508244d8f3fbd7b8..cdfcf666e8f94ae47fdf9ee6356cf482fb85109e 100644 (file)
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>3.1.3</version>
-        <relativePath/>
+        <groupId>org.opendaylight.neutron</groupId>
+        <artifactId>neutron-single-feature-parent</artifactId>
+        <version>0.12.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
 
-    <groupId>org.opendaylight.neutron</groupId>
     <artifactId>odl-neutron-hostconfig-ovs</artifactId>
-    <version>0.12.0-SNAPSHOT</version>
     <packaging>feature</packaging>
     <name>OpenDaylight :: Neutron :: Hostconfig :: OVS</name>
 
-    <properties>
-        <explicitFeatureDependencies>true</explicitFeatureDependencies>
-    </properties>
-
     <dependencyManagement>
         <dependencies>
             <dependency>
@@ -82,5 +76,4 @@
             <version>${project.version}</version>
         </dependency>
     </dependencies>
-
 </project>
index 998d53170e84dc4f217c65154e8055f50fcf5a07..9eae7a89aeb4c36a3b7c9c11b2fce4c107d3967c 100644 (file)
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>3.1.3</version>
-        <relativePath/>
+        <groupId>org.opendaylight.neutron</groupId>
+        <artifactId>neutron-single-feature-parent</artifactId>
+        <version>0.12.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
 
-    <groupId>org.opendaylight.neutron</groupId>
     <artifactId>odl-neutron-hostconfig-vpp</artifactId>
-    <version>0.12.0-SNAPSHOT</version>
     <packaging>feature</packaging>
     <name>OpenDaylight :: Neutron :: Hostconfig :: VPP</name>
 
     <properties>
         <netconf.version>1.6.0-SNAPSHOT</netconf.version>
-        <explicitFeatureDependencies>true</explicitFeatureDependencies>
     </properties>
 
     <dependencyManagement>
@@ -87,5 +84,4 @@
             <classifier>config</classifier>
         </dependency>
     </dependencies>
-
 </project>
index 3d3d72037f511f1e888ea1de11c953c1df43ad43..6e0d860bc967b3415bd07e33ba03b63ec5fc57a3 100644 (file)
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>3.1.3</version>
-        <relativePath/>
+        <groupId>org.opendaylight.neutron</groupId>
+        <artifactId>neutron-single-feature-parent</artifactId>
+        <version>0.12.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
 
-    <groupId>org.opendaylight.neutron</groupId>
     <artifactId>odl-neutron-logger</artifactId>
-    <version>0.12.0-SNAPSHOT</version>
     <packaging>feature</packaging>
     <name>OpenDaylight :: Neutron :: Logger</name>
 
-    <properties>
-        <explicitFeatureDependencies>true</explicitFeatureDependencies>
-    </properties>
-
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>org.opendaylight.controller</groupId>
-                <artifactId>mdsal-artifacts</artifactId>
-                <version>1.9.0-SNAPSHOT</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
@@ -58,5 +40,4 @@
             <version>${project.version}</version>
         </dependency>
     </dependencies>
-
 </project>
index 11dbb0a2a3ddf6b94936ce6a420d3ee9a97f87b8..3fe77f56d404ad710eb71e6f1d719af32dbd855e 100644 (file)
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>3.1.2</version>
-        <relativePath/>
+        <groupId>org.opendaylight.neutron</groupId>
+        <artifactId>neutron-single-feature-parent</artifactId>
+        <version>0.12.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
 
-    <groupId>org.opendaylight.neutron</groupId>
     <artifactId>odl-neutron-model</artifactId>
-    <version>0.12.0-SNAPSHOT</version>
     <packaging>feature</packaging>
     <name>OpenDaylight :: Neutron :: Model</name>
 
-    <properties>
-        <explicitFeatureDependencies>true</explicitFeatureDependencies>
-    </properties>
-
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>org.opendaylight.mdsal</groupId>
-                <artifactId>mdsal-artifacts</artifactId>
-                <version>2.6.0-SNAPSHOT</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.mdsal.model</groupId>
index d31e1608432a08cab9eae20ca483bda5b4672d47..226a7dfa967563367b9318c622809bacbec742e8 100644 (file)
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>3.1.3</version>
-        <relativePath/>
+        <groupId>org.opendaylight.neutron</groupId>
+        <artifactId>neutron-single-feature-parent</artifactId>
+        <version>0.12.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
 
-    <groupId>org.opendaylight.neutron</groupId>
     <artifactId>odl-neutron-northbound-api</artifactId>
-    <version>0.12.0-SNAPSHOT</version>
     <packaging>feature</packaging>
     <name>OpenDaylight :: Neutron :: Northbound</name>
 
-    <properties>
-        <explicitFeatureDependencies>true</explicitFeatureDependencies>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.infrautils</groupId>
@@ -53,7 +47,7 @@
             <artifactId>northbound-api</artifactId>
             <version>${project.version}</version>
         </dependency>
-        <!-- because the REST API classes @Inject @OsgiService INeutronCRUD dependencies,
+        <!-- because the REST API classes @Inject @Reference INeutronCRUD dependencies,
              we do need a dependency to the implementation of those INeutronCRUDs in transcriber;
              otherwise this feature would not work standalone, and SFT will fail. -->
         <dependency>
index a8601833d7bea4aa7a5bff28ae4d877f06e753d1..f23e20453ae179ec9160e5b9d264e633343b3729 100644 (file)
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>3.1.3</version>
-        <relativePath/>
+        <groupId>org.opendaylight.neutron</groupId>
+        <artifactId>neutron-single-feature-parent</artifactId>
+        <version>0.12.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
 
-    <groupId>org.opendaylight.neutron</groupId>
     <artifactId>odl-neutron-service</artifactId>
-    <version>0.12.0-SNAPSHOT</version>
     <packaging>feature</packaging>
     <name>OpenDaylight :: Neutron :: Service</name>
 
-    <properties>
-        <explicitFeatureDependencies>true</explicitFeatureDependencies>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>${project.groupId}</groupId>
@@ -53,5 +47,4 @@
             <artifactId>javax.inject</artifactId>
         </dependency>
     </dependencies>
-
 </project>
index b8cdbd2a195726b545138ec25df0050424289237..911b1ad8c6c3711764920099556a6f1c538862c3 100644 (file)
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>3.1.3</version>
-        <relativePath/>
+        <groupId>org.opendaylight.neutron</groupId>
+        <artifactId>neutron-single-feature-parent</artifactId>
+        <version>0.12.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
 
-    <groupId>org.opendaylight.neutron</groupId>
     <artifactId>odl-neutron-spi</artifactId>
-    <version>0.12.0-SNAPSHOT</version>
     <packaging>feature</packaging>
     <name>OpenDaylight :: Neutron :: API</name>
 
-    <properties>
-        <explicitFeatureDependencies>true</explicitFeatureDependencies>
-    </properties>
-
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>org.opendaylight.controller</groupId>
-                <artifactId>mdsal-artifacts</artifactId>
-                <version>1.9.0-SNAPSHOT</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
             <groupId>commons-net</groupId>
             <artifactId>commons-net</artifactId>
         </dependency>
-        <dependency>
-            <groupId>com.fasterxml.jackson.core</groupId>
-            <artifactId>jackson-annotations</artifactId>
-        </dependency>
     </dependencies>
-
 </project>
index 44171cf823f2013521b8d802b2701fc730d7937a..f01ab086108184bfb3c5b36ddf3854805510b3f9 100644 (file)
@@ -11,7 +11,7 @@
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent-lite</artifactId>
-    <version>3.1.3</version>
+    <version>4.0.2</version>
     <relativePath/>
   </parent>
 
index 2cf66187624475b81ad16974acc2105a92714c63..6fe879df80dbd6281a88481c59fa8282c6aeade9 100644 (file)
@@ -12,7 +12,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>feature-repo-parent</artifactId>
-        <version>3.1.3</version>
+        <version>4.0.2</version>
         <relativePath/>
     </parent>
 
index f8c96e40cccc68977b536801ae17dfddfe76e003..8a89aeec1a809d8fc298cfc652e0bb271b9897f9 100644 (file)
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>3.1.3</version>
-        <relativePath/>
+        <groupId>org.opendaylight.neutron</groupId>
+        <artifactId>neutron-single-feature-parent</artifactId>
+        <version>0.12.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
 
-    <groupId>org.opendaylight.neutron</groupId>
     <artifactId>odl-neutron-logger-test</artifactId>
-    <version>0.12.0-SNAPSHOT</version>
     <packaging>feature</packaging>
     <name>OpenDaylight :: Neutron :: Logger :: Test</name>
 
-    <properties>
-        <explicitFeatureDependencies>true</explicitFeatureDependencies>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>${project.groupId}</groupId>
@@ -45,5 +39,4 @@
             <version>${project.version}</version>
          </dependency>
     </dependencies>
-
 </project>
index cd5f7a6691c0d3feb1350e1051bca0093483c3ae..774386ac21b848a324821237ad449399be087d2e 100644 (file)
@@ -11,7 +11,7 @@
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent-lite</artifactId>
-    <version>3.1.3</version>
+    <version>4.0.2</version>
     <relativePath/>
   </parent>
 
index d3cb5d02b01b6a2396569fe12e3bd6cf2bafc296..9dda764072d306b87cf33b74b817e9a99dbc8455 100644 (file)
@@ -5,7 +5,7 @@
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>bundle-parent</artifactId>
-    <version>3.1.3</version>
+    <version>4.0.2</version>
     <relativePath/>
   </parent>
 
@@ -19,6 +19,7 @@
 
   <dependencies>
     <dependency>
+      <!-- GSON is only used by the test code (which is in src/main here) -->
       <groupId>com.google.code.gson</groupId>
       <artifactId>gson</artifactId>
     </dependency>
       <version>0.9.0-SNAPSHOT</version>
       <scope>test</scope>
     </dependency>
-    <dependency>
-      <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
-      <artifactId>jersey-guava</artifactId>
-      <version>2.6</version>
-      <scope>test</scope>
-    </dependency>
   </dependencies>
 </project>
index c07effcb2f45a5e4c9c8b80fdd114540f718ab1d..82bcb882965578967779492ae52b0ec9d029bc8f 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.e2etest;
 import java.io.IOException;
 import javax.inject.Inject;
 import org.junit.ClassRule;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 import org.opendaylight.aaa.web.WebServer;
@@ -24,6 +25,7 @@ import org.opendaylight.infrautils.testutils.ClasspathHellDuplicatesCheckRule;
  *
  * @author Michael Vorburger.ch
  */
+@Ignore // TODO NEUTRON-197: remove this again post Neon-MRI, see c/76239
 public class NeutronE2ETest {
 
     public static @ClassRule ClasspathHellDuplicatesCheckRule jHades = new ClasspathHellDuplicatesCheckRule();
@@ -34,7 +36,7 @@ public class NeutronE2ETest {
 
     @Test
     public void test() throws IOException, InterruptedException {
-        NeutronAllTests.testNeutron(webServer.getBaseURL() + "/controller/nb/v2/neutron");
+        String baseURL = webServer.getBaseURL(); // Karaf: "http://localhost:8181"
+        NeutronAllTests.testNeutron(baseURL + "/controller/nb/v2/neutron");
     }
-
 }
index df5c81835d1e702bae1024d76461e356425d5250..811b80f4a254bc399b5b64b02cb3bf9285de20d9 100644 (file)
@@ -9,7 +9,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>karaf4-parent</artifactId>
-        <version>3.1.3</version>
+        <version>4.0.2</version>
         <relativePath/>
     </parent>
     <modelVersion>4.0.0</modelVersion>
index fde565aca61978fb8d894b40955b29e0114ea019..094cd14be8d99892604d4d4ece79784c3ab0703b 100644 (file)
@@ -38,12 +38,8 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
       <artifactId>yang-common</artifactId>
     </dependency>
     <dependency>
-      <groupId>org.opendaylight.mdsal.model</groupId>
-      <artifactId>ietf-inet-types-2013-07-15</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.model</groupId>
-      <artifactId>ietf-yang-types-20130715</artifactId>
+      <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
+      <artifactId>rfc6991</artifactId>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.mdsal.model</groupId>
index c9b80c7a2102a842841161af0942b5d77f4ba3cd..b69771f4a73265dd3db97232e9a4958c0fade248 100644 (file)
@@ -12,7 +12,7 @@
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent</artifactId>
-    <version>3.1.3</version>
+    <version>4.0.2</version>
     <relativePath/>
   </parent>
 
index 39c87ec364e319276540a43efafa6eec777184a9..aa309f03be859840ebc1414d14019a6518a776c5 100644 (file)
       <version>${project.version}</version>
     </dependency>
     <dependency>
-      <groupId>org.opendaylight.mdsal.model</groupId>
-      <artifactId>ietf-inet-types-2013-07-15</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.opendaylight.mdsal.model</groupId>
-      <artifactId>ietf-yang-types-20130715</artifactId>
+      <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
+      <artifactId>rfc6991</artifactId>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.mdsal.model</groupId>
       <groupId>javax.validation</groupId>
       <artifactId>validation-api</artifactId>
     </dependency>
-    <dependency>
-      <groupId>org.eclipse.persistence</groupId>
-      <artifactId>org.eclipse.persistence.antlr</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.eclipse.persistence</groupId>
-      <artifactId>org.eclipse.persistence.core</artifactId>
-      <scope>test</scope>
-    </dependency>
     <dependency>
        <groupId>org.eclipse.persistence</groupId>
        <artifactId>org.eclipse.persistence.moxy</artifactId>
-       <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.glassfish</groupId>
+      <artifactId>javax.json</artifactId>
     </dependency>
   </dependencies>
 </project>
index 6bdf4e4803f03f9104624e535d4e8ad5b72c26e3..239f1c54c006b606426af5c83d11cf03b84e58d3 100644 (file)
       <groupId>org.codehaus.enunciate</groupId>
       <artifactId>enunciate-core-annotations</artifactId>
     </dependency>
-    <dependency>
-      <groupId>org.eclipse.persistence</groupId>
-      <artifactId>org.eclipse.persistence.moxy</artifactId>
-    </dependency>
     <dependency>
         <groupId>javax.validation</groupId>
         <artifactId>validation-api</artifactId>
@@ -64,8 +60,8 @@
       <optional>true</optional>
     </dependency>
     <dependency>
-     <groupId>org.ops4j.pax.cdi</groupId>
-     <artifactId>pax-cdi-api</artifactId>
+     <groupId>org.apache.aries.blueprint</groupId>
+     <artifactId>blueprint-maven-plugin-annotation</artifactId>
      <optional>true</optional>
    </dependency>
     <dependency>
   <build>
     <plugins>
       <plugin>
-       <groupId>org.apache.aries.blueprint</groupId>
-       <artifactId>blueprint-maven-plugin</artifactId>
+        <groupId>org.apache.aries.blueprint</groupId>
+        <artifactId>blueprint-maven-plugin</artifactId>
+        <!-- TODO remove this when we are on 1.11.0 (or 1.10.1) instead of 1.10.0;
+             see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.xbean</groupId>
+            <artifactId>xbean-finder-shaded</artifactId>
+            <version>4.9</version>
+          </dependency>
+        </dependencies>
       </plugin>
     </plugins>
   </build>
index 48e4a7968ffd3b5d0af31e0a188d0601838a063b..4e04cd9d2d17ec795bd670f0dec6021def822ab5 100644 (file)
@@ -26,12 +26,12 @@ import javax.ws.rs.core.Context;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
 import javax.ws.rs.core.UriInfo;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.codehaus.enunciate.jaxrs.TypeHint;
 import org.opendaylight.neutron.spi.INeutronBgpvpnCRUD;
 import org.opendaylight.neutron.spi.NeutronBgpvpn;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for Bgpvpn.
@@ -47,7 +47,7 @@ public final class NeutronBgpvpnsNorthbound
     UriInfo uriInfo;
 
     @Inject
-    public NeutronBgpvpnsNorthbound(@OsgiService INeutronBgpvpnCRUD neutronCRUD) {
+    public NeutronBgpvpnsNorthbound(@Reference INeutronBgpvpnCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index fcec13e8a141090b16a795fa7294abe2c2adca9a..7582c548e181ae8b0c621119ff9be90a339c136e 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronFirewallCRUD;
 import org.opendaylight.neutron.spi.NeutronFirewall;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for Firewall.
@@ -40,7 +40,7 @@ public final class NeutronFirewallNorthbound
     private static final String RESOURCE_NAME = "Firewall";
 
     @Inject
-    public NeutronFirewallNorthbound(@OsgiService INeutronFirewallCRUD neutronCRUD) {
+    public NeutronFirewallNorthbound(@Reference INeutronFirewallCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index f2297ae1f6dc939df8e1a8cf8ddb89b211273a18..a4700c1b3c719d449acfaaa80a1585df2c54210e 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronFirewallPolicyCRUD;
 import org.opendaylight.neutron.spi.NeutronFirewallPolicy;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for Firewall Policies.
@@ -40,7 +40,7 @@ public final class NeutronFirewallPolicyNorthbound extends
     private static final String RESOURCE_NAME = "Firewall Policy";
 
     @Inject
-    public NeutronFirewallPolicyNorthbound(@OsgiService INeutronFirewallPolicyCRUD neutronCRUD) {
+    public NeutronFirewallPolicyNorthbound(@Reference INeutronFirewallPolicyCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 1b038d08f1aa79cda3785262023657b383643a1f..16a1dc7a65e37c56f731357baa1cea92018ec3ee 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronFirewallRuleCRUD;
 import org.opendaylight.neutron.spi.NeutronFirewallRule;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for Firewall Rule.
@@ -40,7 +40,7 @@ public final class NeutronFirewallRulesNorthbound
     private static final String RESOURCE_NAME = "Firewall Rule";
 
     @Inject
-    public NeutronFirewallRulesNorthbound(@OsgiService INeutronFirewallRuleCRUD neutronCRUD) {
+    public NeutronFirewallRulesNorthbound(@Reference INeutronFirewallRuleCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 31fb1d2ae9f5d7b77f75aef2f4984610c6c6033e..bf92dac3c1e24d55e276fabf3a8826e4d4f6166a 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronFloatingIpCRUD;
 import org.opendaylight.neutron.spi.NeutronFloatingIp;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for managing Neutron Floating IPs.
@@ -40,7 +40,7 @@ public final class NeutronFloatingIpsNorthbound
     private static final String RESOURCE_NAME = "Floating IP";
 
     @Inject
-    public NeutronFloatingIpsNorthbound(@OsgiService INeutronFloatingIpCRUD neutronCRUD) {
+    public NeutronFloatingIpsNorthbound(@Reference INeutronFloatingIpCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 8832e026daea9f1ae5a09192de882906b5c473b4..93a3eb3569c2a69e83c4abd6958b49b84b4dd2e0 100644 (file)
@@ -22,11 +22,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronL2gatewayConnectionCRUD;
 import org.opendaylight.neutron.spi.NeutronL2gatewayConnection;
-import org.ops4j.pax.cdi.api.OsgiService;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -43,7 +43,7 @@ public final class NeutronL2gatewayConnectionNorthbound extends AbstractNeutronN
     private static final String RESOURCE_NAME = "L2gatewayConnection";
 
     @Inject
-    public NeutronL2gatewayConnectionNorthbound(@OsgiService INeutronL2gatewayConnectionCRUD neutronCRUD) {
+    public NeutronL2gatewayConnectionNorthbound(@Reference INeutronL2gatewayConnectionCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 2d10976150fdd58f7afbf7f3e993788acf888cbd..27c38cae3e4691bdaa2042db11d3ba356d97f8bf 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronL2gatewayCRUD;
 import org.opendaylight.neutron.spi.NeutronL2gateway;
-import org.ops4j.pax.cdi.api.OsgiService;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -44,7 +44,7 @@ public final class NeutronL2gatewayNorthbound
     private static final String RESOURCE_NAME = "L2gateway";
 
     @Inject
-    public NeutronL2gatewayNorthbound(@OsgiService INeutronL2gatewayCRUD neutronCRUD) {
+    public NeutronL2gatewayNorthbound(@Reference INeutronL2gatewayCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 84b02d31a9c6ae49e8477dd3e4e93c958f82bb6d..8fb99abb928cca906a49b75920d622a84891fc0a 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronLoadBalancerHealthMonitorCRUD;
 import org.opendaylight.neutron.spi.NeutronLoadBalancerHealthMonitor;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for Load Balancer HealthMonitor.
@@ -42,7 +42,7 @@ public final class NeutronLoadBalancerHealthMonitorNorthbound
     private static final String RESOURCE_NAME = "LoadBalancerHealthMonitor";
 
     @Inject
-    public NeutronLoadBalancerHealthMonitorNorthbound(@OsgiService INeutronLoadBalancerHealthMonitorCRUD neutronCRUD) {
+    public NeutronLoadBalancerHealthMonitorNorthbound(@Reference INeutronLoadBalancerHealthMonitorCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index bbed2e9357dfffcb7d2a92cb4f0493a3b5d9f44b..7b0e61c681868fb65f2e9ce4e543620ab1f444ac 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronLoadBalancerListenerCRUD;
 import org.opendaylight.neutron.spi.NeutronLoadBalancerListener;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for LoadBalancerListener Policies.
@@ -40,7 +40,7 @@ public final class NeutronLoadBalancerListenerNorthbound extends AbstractNeutron
     private static final String RESOURCE_NAME = "LoadBalancerListener";
 
     @Inject
-    public NeutronLoadBalancerListenerNorthbound(@OsgiService INeutronLoadBalancerListenerCRUD neutronCRUD) {
+    public NeutronLoadBalancerListenerNorthbound(@Reference INeutronLoadBalancerListenerCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 11a8e39b2bcdc5c879dd53f45598f60e13214e07..cf18132398a5a22b87ebacd9f72f70dfbe9657f7 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronLoadBalancerCRUD;
 import org.opendaylight.neutron.spi.NeutronLoadBalancer;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for LoadBalancers.<br>
@@ -40,7 +40,7 @@ public final class NeutronLoadBalancerNorthbound
     private static final String RESOURCE_NAME = "LoadBalancer";
 
     @Inject
-    public NeutronLoadBalancerNorthbound(@OsgiService INeutronLoadBalancerCRUD neutronCRUD) {
+    public NeutronLoadBalancerNorthbound(@Reference INeutronLoadBalancerCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index f14341b2088fe5259299b91717917865b96cc051..7f96c38d2a403486d225656020de815aaf5d8189 100644 (file)
@@ -25,6 +25,7 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
@@ -34,7 +35,6 @@ import org.opendaylight.neutron.spi.INeutronLoadBalancerPoolCRUD;
 import org.opendaylight.neutron.spi.NeutronLoadBalancerPool;
 import org.opendaylight.neutron.spi.NeutronLoadBalancerPoolMember;
 import org.opendaylight.yangtools.yang.common.OperationFailedException;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for LoadBalancerPool Policies.
@@ -53,8 +53,8 @@ public final class NeutronLoadBalancerPoolNorthbound extends AbstractNeutronNort
 
     @Inject
     public NeutronLoadBalancerPoolNorthbound(
-            @OsgiService INeutronLoadBalancerPoolCRUD neutronCRUD,
-            @OsgiService DataBroker dataBroker) {
+            @Reference INeutronLoadBalancerPoolCRUD neutronCRUD,
+            @Reference DataBroker dataBroker) {
         super(neutronCRUD);
         this.dataBroker = dataBroker;
     }
index 887d4738e70de6e0d0c0f8f0ebefcb7e56eb30e9..cd959ce90f82fcf1ab6dccf05ed39fc5d14091b4 100644 (file)
@@ -22,12 +22,12 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronMeteringLabelRuleCRUD;
 import org.opendaylight.neutron.spi.NeutronMeteringLabelRule;
 import org.opendaylight.yangtools.yang.common.OperationFailedException;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for Metering Lable Rules.<br>
@@ -40,7 +40,7 @@ public final class NeutronMeteringLabelRulesNorthbound extends AbstractNeutronNo
     private static final String RESOURCE_NAME = "Metering Label Rule";
 
     @Inject
-    public NeutronMeteringLabelRulesNorthbound(@OsgiService INeutronMeteringLabelRuleCRUD neutronCRUD) {
+    public NeutronMeteringLabelRulesNorthbound(@Reference INeutronMeteringLabelRuleCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index aaf7d6e4dcd6b8ae4607892618672d9e81a0e0b8..726e25c7705b01cddff9735a355d694a75a7c485 100644 (file)
@@ -22,11 +22,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronMeteringLabelCRUD;
 import org.opendaylight.neutron.spi.NeutronMeteringLabel;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for Metering Lables.
@@ -39,7 +39,7 @@ public final class NeutronMeteringLabelsNorthbound extends
     private static final String RESOURCE_NAME = "Metering Label";
 
     @Inject
-    public NeutronMeteringLabelsNorthbound(@OsgiService INeutronMeteringLabelCRUD neutronCRUD) {
+    public NeutronMeteringLabelsNorthbound(@Reference INeutronMeteringLabelCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index dbc4600ee77bd2a475ccfcc2236af66867160554..f2a028707436158a4d825b5ada6a76364ceb80e9 100644 (file)
@@ -26,13 +26,13 @@ import javax.ws.rs.core.Context;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
 import javax.ws.rs.core.UriInfo;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.codehaus.enunciate.jaxrs.TypeHint;
 import org.opendaylight.neutron.spi.INeutronCRUD;
 import org.opendaylight.neutron.spi.INeutronNetworkCRUD;
 import org.opendaylight.neutron.spi.NeutronNetwork;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for Network.
@@ -45,7 +45,7 @@ public final class NeutronNetworksNorthbound
     private static final String RESOURCE_NAME = "Network";
 
     @Inject
-    public NeutronNetworksNorthbound(@OsgiService INeutronNetworkCRUD neutronNetworkCRUD) {
+    public NeutronNetworksNorthbound(@Reference INeutronNetworkCRUD neutronNetworkCRUD) {
         super(neutronNetworkCRUD);
     }
 
index 3a47f3b233c7c9f0b1b57e2987effa75b7828e13..7d629a3a6d90ac3144a8bff559df1d9345383901 100644 (file)
@@ -26,11 +26,11 @@ import javax.ws.rs.core.Context;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
 import javax.ws.rs.core.UriInfo;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronPortCRUD;
 import org.opendaylight.neutron.spi.NeutronPort;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for managing neutron port objects.
@@ -43,7 +43,7 @@ public final class NeutronPortsNorthbound
     private static final String RESOURCE_NAME = "Port";
 
     @Inject
-    public NeutronPortsNorthbound(@OsgiService INeutronPortCRUD neutronCRUD) {
+    public NeutronPortsNorthbound(@Reference INeutronPortCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index ed46ec3bdd49c51d164d516e3ea4f52849fcdbf9..e1dbabf55c20376fb7c818e68ed986a30365179f 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronQosPolicyCRUD;
 import org.opendaylight.neutron.spi.NeutronQosPolicy;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 @Singleton
 @Path("/qos/policies")
@@ -37,7 +37,7 @@ public final class NeutronQosPolicyNorthbound
     private static final String RESOURCE_NAME = "Qos Policy";
 
     @Inject
-    public NeutronQosPolicyNorthbound(@OsgiService INeutronQosPolicyCRUD neutronCRUD) {
+    public NeutronQosPolicyNorthbound(@Reference INeutronQosPolicyCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 38510aa53530f38bb582ddf7e4311004c82cb7fd..bd712a4eb14fd1590a71992d9328a4360c7b27c8 100644 (file)
@@ -23,12 +23,12 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronRouterCRUD;
 import org.opendaylight.neutron.spi.NeutronRouter;
 import org.opendaylight.neutron.spi.NeutronRouterInterface;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for managing neutron routers.
@@ -41,7 +41,7 @@ public final class NeutronRoutersNorthbound
     private static final String RESOURCE_NAME = "Router";
 
     @Inject
-    public NeutronRoutersNorthbound(@OsgiService INeutronRouterCRUD neutronCRUD) {
+    public NeutronRoutersNorthbound(@Reference INeutronRouterCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index ce381f688a981840c03edf03ffa00c4ee4c6555e..32ae2c69df618bf6c57d246354cf29034ece3a00 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronSFCFlowClassifierCRUD;
 import org.opendaylight.neutron.spi.NeutronSFCFlowClassifier;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for OpenStack SFC Flow Classifier.
@@ -40,7 +40,7 @@ public final class NeutronSFCFlowClassifiersNorthbound extends AbstractNeutronNo
     private static final String RESOURCE_NAME = "Sfc Flow Classifier";
 
     @Inject
-    public NeutronSFCFlowClassifiersNorthbound(@OsgiService INeutronSFCFlowClassifierCRUD neutronCRUD) {
+    public NeutronSFCFlowClassifiersNorthbound(@Reference INeutronSFCFlowClassifierCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 52b19f6b65764c63d6ce82b501aa265ff74b78d3..ade100a0ffa3ef98f7ce12d4a232dda3195ba605 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronSFCPortChainCRUD;
 import org.opendaylight.neutron.spi.NeutronSFCPortChain;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for OpenStack SFC Port Chain.
@@ -40,7 +40,7 @@ public final class NeutronSFCPortChainsNorthbound
     private static final String RESOURCE_NAME = "Sfc Port Chain";
 
     @Inject
-    public NeutronSFCPortChainsNorthbound(@OsgiService INeutronSFCPortChainCRUD neutronCRUD) {
+    public NeutronSFCPortChainsNorthbound(@Reference INeutronSFCPortChainCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 60527595ed822c451ad76942a3504db7bce4cee1..3e3a6ef7583a188d63a4b6f34683b648a3369d8f 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronSFCPortPairGroupCRUD;
 import org.opendaylight.neutron.spi.NeutronSFCPortPairGroup;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for OpenStack SFC Port Pair.
@@ -40,7 +40,7 @@ public final class NeutronSFCPortPairGroupsNorthbound extends AbstractNeutronNor
     private static final String RESOURCE_NAME = "Sfc Port Pair Group";
 
     @Inject
-    public NeutronSFCPortPairGroupsNorthbound(@OsgiService INeutronSFCPortPairGroupCRUD neutronCRUD) {
+    public NeutronSFCPortPairGroupsNorthbound(@Reference INeutronSFCPortPairGroupCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 4e03b4915d3771f9ecce677e54288575b4a8c79f..b3f6b0a0ecff886b465b4279b30dd7a4cefc6ba1 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronSFCPortPairCRUD;
 import org.opendaylight.neutron.spi.NeutronSFCPortPair;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for OpenStack SFC Port Pair.
@@ -40,7 +40,7 @@ public final class NeutronSFCPortPairsNorthbound
     private static final String RESOURCE_NAME = "Sfc Port Pair";
 
     @Inject
-    public NeutronSFCPortPairsNorthbound(@OsgiService INeutronSFCPortPairCRUD neutronCRUD) {
+    public NeutronSFCPortPairsNorthbound(@Reference INeutronSFCPortPairCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index c464a81509f2ee90227cb23acfc47e4172fcdcff..c4e0fe4f2fea7d0be68fe12faaf2384a19ac9505 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronSecurityGroupCRUD;
 import org.opendaylight.neutron.spi.NeutronSecurityGroup;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for Security Group.
@@ -40,7 +40,7 @@ public final class NeutronSecurityGroupsNorthbound extends
     private static final String RESOURCE_NAME = "Security Group";
 
     @Inject
-    public NeutronSecurityGroupsNorthbound(@OsgiService INeutronSecurityGroupCRUD neutronCRUD) {
+    public NeutronSecurityGroupsNorthbound(@Reference INeutronSecurityGroupCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 7d793e71a684a4fc031d3f5b7be349c1b0dd242f..9cbdc2ca6384af11e63fd7837cf23466c385a604 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronSecurityRuleCRUD;
 import org.opendaylight.neutron.spi.NeutronSecurityRule;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for Security Rule.<br>
@@ -40,7 +40,7 @@ public final class NeutronSecurityRulesNorthbound
     private static final String RESOURCE_NAME = "Security Rule";
 
     @Inject
-    public NeutronSecurityRulesNorthbound(@OsgiService INeutronSecurityRuleCRUD neutronCRUD) {
+    public NeutronSecurityRulesNorthbound(@Reference INeutronSecurityRuleCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index f29e98a22052b581b093819f084e92dc54b57e73..bbe282672d402e66983e97bb5e17210b6ff7f083 100644 (file)
@@ -26,11 +26,11 @@ import javax.ws.rs.core.Context;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
 import javax.ws.rs.core.UriInfo;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronSubnetCRUD;
 import org.opendaylight.neutron.spi.NeutronSubnet;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for Subnets.<br>
@@ -43,7 +43,7 @@ public final class NeutronSubnetsNorthbound
     private static final String RESOURCE_NAME = "Subnet";
 
     @Inject
-    public NeutronSubnetsNorthbound(@OsgiService INeutronSubnetCRUD neutronCRUD) {
+    public NeutronSubnetsNorthbound(@Reference INeutronSubnetCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 8f97da504d535f93e37f293070bf33658d8452ac..35f26ce4a24257f6702d4cb08cc4bd9283aa453f 100644 (file)
@@ -23,13 +23,13 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.controller.md.sal.common.api.data.ReadFailedException;
 import org.opendaylight.neutron.spi.INeutronTapFlowCRUD;
 import org.opendaylight.neutron.spi.NeutronTapFlow;
 import org.opendaylight.yangtools.yang.common.OperationFailedException;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 @Singleton
 @Path("/tap/flows")
@@ -39,7 +39,7 @@ public final class NeutronTapFlowNorthbound
     private static final String RESOURCE_NAME = "Tap Flow";
 
     @Inject
-    public NeutronTapFlowNorthbound(@OsgiService INeutronTapFlowCRUD neutronCRUD) {
+    public NeutronTapFlowNorthbound(@Reference INeutronTapFlowCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 40fca7acc454caf9fced641a9d49c7851554857d..474acaa4f87b48a2bd804f38b1daf9a0d62c3b4b 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronTapServiceCRUD;
 import org.opendaylight.neutron.spi.NeutronTapService;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 @Singleton
 @Path("/tap/services")
@@ -37,7 +37,7 @@ public final class NeutronTapServiceNorthbound
     private static final String RESOURCE_NAME = "Tap Service";
 
     @Inject
-    public NeutronTapServiceNorthbound(@OsgiService INeutronTapServiceCRUD neutronCRUD) {
+    public NeutronTapServiceNorthbound(@Reference INeutronTapServiceCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 66384e0bafe28cdc2c6df20e8f0a0ddfb4401e21..e6defc766714dfe2b5c41d2390407da76679bf8e 100644 (file)
@@ -23,11 +23,11 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.neutron.spi.INeutronTrunkCRUD;
 import org.opendaylight.neutron.spi.NeutronTrunk;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 @Singleton
 @Path("/trunks")
@@ -37,7 +37,7 @@ public final class NeutronTrunksNorthbound
     private static final String RESOURCE_NAME = "Trunk";
 
     @Inject
-    public NeutronTrunksNorthbound(@OsgiService INeutronTrunkCRUD neutronCRUD) {
+    public NeutronTrunksNorthbound(@Reference INeutronTrunkCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 7c6780ab6c2bf66d00ad41b7bdbc79d58d5321e9..aec6ecd23bddac8ea58239de20ef72cc4d963d6b 100644 (file)
@@ -23,12 +23,12 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.codehaus.enunciate.jaxrs.TypeHint;
 import org.opendaylight.neutron.spi.INeutronVpnIkePolicyCRUD;
 import org.opendaylight.neutron.spi.NeutronVpnIkePolicy;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for VPN IKE Policy.
@@ -41,7 +41,7 @@ public final class NeutronVpnIkePoliciesNorthbound
     private static final String RESOURCE_NAME = "VPNIKEPolicy";
 
     @Inject
-    public NeutronVpnIkePoliciesNorthbound(@OsgiService INeutronVpnIkePolicyCRUD neutronCRUD) {
+    public NeutronVpnIkePoliciesNorthbound(@Reference INeutronVpnIkePolicyCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index f557f5e8bba34560d15efad7ab7b7e72a29a281c..8c6751cc81293678ab5b9afb76878c7e3fdbc654 100644 (file)
@@ -23,12 +23,12 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.codehaus.enunciate.jaxrs.TypeHint;
 import org.opendaylight.neutron.spi.INeutronVpnIpSecPolicyCRUD;
 import org.opendaylight.neutron.spi.NeutronVpnIpSecPolicy;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for VPN IPSEC Policy.
@@ -41,7 +41,7 @@ public final class NeutronVpnIpSecPoliciesNorthbound extends
     private static final String RESOURCE_NAME = "VPNIPSECPolicy";
 
     @Inject
-    public NeutronVpnIpSecPoliciesNorthbound(@OsgiService INeutronVpnIpSecPolicyCRUD neutronCRUD) {
+    public NeutronVpnIpSecPoliciesNorthbound(@Reference INeutronVpnIpSecPolicyCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 1a487801d91d3f91d742233b517f3cfa899891e1..b1e89ec12a8728830a063fcfdd5b69cb4f941928 100644 (file)
@@ -23,12 +23,12 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.codehaus.enunciate.jaxrs.TypeHint;
 import org.opendaylight.neutron.spi.INeutronVpnIpSecSiteConnectionsCRUD;
 import org.opendaylight.neutron.spi.NeutronVpnIpSecSiteConnection;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for VPN IPSEC SiteConnection.<br>
@@ -42,7 +42,7 @@ public final class NeutronVpnIpSecSiteConnectionsNorthbound
     private static final String RESOURCE_NAME = "VPNIPSECSiteConnections";
 
     @Inject
-    public NeutronVpnIpSecSiteConnectionsNorthbound(@OsgiService INeutronVpnIpSecSiteConnectionsCRUD neutronCRUD) {
+    public NeutronVpnIpSecSiteConnectionsNorthbound(@Reference INeutronVpnIpSecSiteConnectionsCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index 8a1e75d1843ae616a0624dd5784e3ba511abb63b..50eb0c384854250ed0019f19eed1af19f5b69c3c 100644 (file)
@@ -23,12 +23,12 @@ import javax.ws.rs.Produces;
 import javax.ws.rs.QueryParam;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
+import org.apache.aries.blueprint.annotation.service.Reference;
 import org.codehaus.enunciate.jaxrs.ResponseCode;
 import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.codehaus.enunciate.jaxrs.TypeHint;
 import org.opendaylight.neutron.spi.INeutronVpnServiceCRUD;
 import org.opendaylight.neutron.spi.NeutronVpnService;
-import org.ops4j.pax.cdi.api.OsgiService;
 
 /**
  * Neutron Northbound REST APIs for VPN Service.
@@ -41,7 +41,7 @@ public final class NeutronVpnServicesNorthbound
     private static final String RESOURCE_NAME = "VpnService";
 
     @Inject
-    public NeutronVpnServicesNorthbound(@OsgiService INeutronVpnServiceCRUD neutronCRUD) {
+    public NeutronVpnServicesNorthbound(@Reference INeutronVpnServiceCRUD neutronCRUD) {
         super(neutronCRUD);
     }
 
index a944e2edaab44fda878fb5521bf824aff9729c3c..fd21e493482b19da25b8f8ef0f4612da1310fbeb 100644 (file)
@@ -13,7 +13,7 @@
   <parent>
     <groupId>org.opendaylight.mdsal</groupId>
     <artifactId>binding-parent</artifactId>
-    <version>0.14.0-SNAPSHOT</version>
+    <version>3.0.1</version>
     <relativePath/>
   </parent>
 
         <type>pom</type>
         <scope>import</scope>
       </dependency>
+
+      <!-- NEUTRON-197: We need to enforce usage of org.glassfish:javax.json v1.0.4,
+           that exact old version, because only that version includes both packages javax.json.*
+           as well as org.glassfish.json.* (AND THEREFORE THE Class.forName WORKS EVEN UNDER OSGi).
+
+           Newer releases of org.glassfish:javax.json (such as 1.1.2) have (only) the
+           org.glassfish.json packages, with a dep to the separate new javax.json:javax.json-api
+           which contains (only) the javax.json packages; this nicer API / Impl split packaging breaks under OSGi.
+
+           We must also prevent Moxy from dragging along javax.json:javax.json-api
+           to prevent confusing classpath duplicates on javax.json.  Moxy changed its policy from directly depending
+           on org.glassfish:javax.json 1.0.4 in its 2.7.1 to depending on javax.json:javax.json-api since 2.7.3.
+
+           The same block is copy/pasted in ../features/parent (that's the
+           neutron-single-feature-parent, not to be confused with this project-neutron-parent);
+           keep any changes made there, or here, in sync with each other. -->
+      <dependency>
+         <groupId>org.eclipse.persistence</groupId>
+         <artifactId>org.eclipse.persistence.moxy</artifactId>
+         <!-- This is the same version (of EclipseLink) currently used in odlparent (4.0.2);
+              we just have to repeat it here because, apparently, Maven is too dumb to inherit
+              the version from a dependencyManagement in a parent POM to the dependencyManagement here.
+              (The alternative to repeat the exclusion below in each Neutron project is much worse.) -->
+         <version>2.7.3</version>
+         <exclusions>
+           <exclusion>
+             <groupId>javax.json</groupId>
+             <artifactId>javax.json-api</artifactId>
+           </exclusion>
+         </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.glassfish</groupId>
+        <artifactId>javax.json</artifactId>
+        <!-- do not touch this version, see above -->
+        <version>1.0.4</version>
+      </dependency>
     </dependencies>
   </dependencyManagement>
 
diff --git a/pom.xml b/pom.xml
index 1d2686cf6dc1161b0b653b43279ddc27926e765b..22f77b64e07d4a136bce45c5c19151b69338cb36 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <module>transcriber</module>
     <module>neutron-logger</module>
     <module>artifacts</module>
+    <module>features/parent</module>
     <module>features/production</module>
     <module>features/test</module>
     <module>karaf</module>
index 6764261d5faa13c51de24ac8b3eb52761b5af24f..e3c256640a9aa6acfb572defc8c45e504b967461 100644 (file)
       <plugin>
         <groupId>org.apache.aries.blueprint</groupId>
         <artifactId>blueprint-maven-plugin</artifactId>
+        <!-- TODO remove this when we are on 1.11.0 (or 1.10.1) instead of 1.10.0;
+             see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.xbean</groupId>
+            <artifactId>xbean-finder-shaded</artifactId>
+            <version>4.9</version>
+          </dependency>
+        </dependencies>
         <configuration>
           <scanPaths>
             <!-- This is required so that the @Singleton @Inject annotations used in northbound-api,
   </build>
   <dependencies>
     <dependency>
-      <groupId>org.ops4j.pax.cdi</groupId>
-      <artifactId>pax-cdi-api</artifactId>
-      <optional>true</optional>
-    </dependency>
+     <groupId>org.apache.aries.blueprint</groupId>
+     <artifactId>blueprint-maven-plugin-annotation</artifactId>
+     <optional>true</optional>
+   </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>sal-binding-api</artifactId>
index d9cf23972e839d6f67088099f574c222510f525e..8bab3a48484d97a2dc9b5c13da688b82749306ab 100644 (file)
@@ -12,6 +12,7 @@ import java.util.ArrayList;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronBgpvpnCRUD;
 import org.opendaylight.neutron.spi.NeutronBgpvpn;
@@ -23,10 +24,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.bgpvpns.rev150903.b
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.bgpvpns.rev150903.bgpvpns.attributes.bgpvpns.Bgpvpn;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.bgpvpns.rev150903.bgpvpns.attributes.bgpvpns.BgpvpnBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.bgpvpns.rev150903.bgpvpns.attributes.bgpvpns.BgpvpnKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronBgpvpnCRUD.class)
+@Service(classes = INeutronBgpvpnCRUD.class)
 public final class NeutronBgpvpnInterface extends AbstractNeutronInterface<Bgpvpn, Bgpvpns, BgpvpnKey, NeutronBgpvpn>
         implements INeutronBgpvpnCRUD {
 
index de280aa345f51d0637c7d7a66d30e745b8fee0a4..6b3e261179ee28870bfca72455dcac821e538570 100644 (file)
@@ -11,6 +11,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronFirewallCRUD;
 import org.opendaylight.neutron.spi.NeutronFirewall;
@@ -18,10 +19,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712.fir
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712.firewalls.attributes.firewalls.Firewall;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712.firewalls.attributes.firewalls.FirewallBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712.firewalls.attributes.firewalls.FirewallKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronFirewallCRUD.class)
+@Service(classes = INeutronFirewallCRUD.class)
 public final class NeutronFirewallInterface
         extends AbstractNeutronInterface<Firewall, Firewalls, FirewallKey, NeutronFirewall>
         implements INeutronFirewallCRUD {
index 0d74f2c34ce6d57e4218ac1612b0dfb989357457..57f2f92f262b076c23894f846777b30274f139a9 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronFirewallPolicyCRUD;
 import org.opendaylight.neutron.spi.NeutronFirewallPolicy;
@@ -17,10 +18,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712.pol
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712.policies.attributes.firewall.policies.FirewallPolicy;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712.policies.attributes.firewall.policies.FirewallPolicyBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712.policies.attributes.firewall.policies.FirewallPolicyKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronFirewallPolicyCRUD.class)
+@Service(classes = INeutronFirewallPolicyCRUD.class)
 public final class NeutronFirewallPolicyInterface
         extends AbstractNeutronInterface<FirewallPolicy, FirewallPolicies, FirewallPolicyKey, NeutronFirewallPolicy>
         implements INeutronFirewallPolicyCRUD {
index 30c1ca45877050469391b21b293a6c7ec9d29a67..e29ad69d3ff3546451b141c8b034f2f2ae32a0cf 100644 (file)
@@ -11,6 +11,7 @@ import com.google.common.collect.ImmutableBiMap;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.northbound.api.BadRequestException;
 import org.opendaylight.neutron.spi.INeutronFirewallRuleCRUD;
@@ -30,10 +31,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712.rul
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712.rules.attributes.firewall.rules.FirewallRuleKey;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.types.rev160517.IpPrefixOrAddress;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.types.rev160517.IpPrefixOrAddressBuilder;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronFirewallRuleCRUD.class)
+@Service(classes = INeutronFirewallRuleCRUD.class)
 public final class NeutronFirewallRuleInterface
         extends AbstractNeutronInterface<FirewallRule, FirewallRules, FirewallRuleKey, NeutronFirewallRule>
         implements INeutronFirewallRuleCRUD {
index 98264fc61960d48ee96a914dabf6a72d16bd494c..a0c88d9a1f66c74aebe06bfa6c0f2eef3615943f 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronFloatingIpCRUD;
 import org.opendaylight.neutron.spi.NeutronFloatingIp;
@@ -18,10 +19,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.floati
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.floatingips.attributes.floatingips.Floatingip;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.floatingips.attributes.floatingips.FloatingipBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.floatingips.attributes.floatingips.FloatingipKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronFloatingIpCRUD.class)
+@Service(classes = INeutronFloatingIpCRUD.class)
 public final class NeutronFloatingIpInterface
         extends AbstractNeutronInterface<Floatingip, Floatingips, FloatingipKey, NeutronFloatingIp>
         implements INeutronFloatingIpCRUD {
index ed8959148ddd7e676111c411c8f3d609408540de..824395ad75d2a46b3c62c4d3cdc19290c9e8aafa 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronL2gatewayConnectionCRUD;
 import org.opendaylight.neutron.spi.NeutronL2gatewayConnection;
@@ -17,10 +18,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev15071
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.connections.attributes.l2gatewayconnections.L2gatewayConnection;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.connections.attributes.l2gatewayconnections.L2gatewayConnectionBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateway.connections.attributes.l2gatewayconnections.L2gatewayConnectionKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronL2gatewayConnectionCRUD.class)
+@Service(classes = INeutronL2gatewayConnectionCRUD.class)
 public final class NeutronL2gatewayConnectionInterface
         extends AbstractNeutronInterface<L2gatewayConnection, L2gatewayConnections, L2gatewayConnectionKey,
                                          NeutronL2gatewayConnection>
index c643a01f2fcd04dc98bbd8b8057b4301fbed3086..f69c11930bb4462db3765afdd382700a2fac163e 100644 (file)
@@ -11,6 +11,7 @@ import java.util.ArrayList;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronL2gatewayCRUD;
 import org.opendaylight.neutron.spi.NeutronL2gateway;
@@ -24,10 +25,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev15071
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateways.attributes.l2gateways.L2gateway;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateways.attributes.l2gateways.L2gatewayBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l2gateways.rev150712.l2gateways.attributes.l2gateways.L2gatewayKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronL2gatewayCRUD.class)
+@Service(classes = INeutronL2gatewayCRUD.class)
 public final class NeutronL2gatewayInterface
         extends AbstractNeutronInterface<L2gateway, L2gateways, L2gatewayKey, NeutronL2gateway>
         implements INeutronL2gatewayCRUD {
index e71e673248c0714754d8818c8ce15476125a4a5a..ff42840de9ab5720c7501b9292081cae9b15058f 100644 (file)
@@ -12,6 +12,7 @@ import java.util.ArrayList;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronLoadBalancerHealthMonitorCRUD;
 import org.opendaylight.neutron.spi.NeutronID;
@@ -26,10 +27,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.l
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.lbaas.attributes.healthmonitors.Healthmonitor;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.lbaas.attributes.healthmonitors.HealthmonitorBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.lbaas.attributes.healthmonitors.HealthmonitorKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronLoadBalancerHealthMonitorCRUD.class)
+@Service(classes = INeutronLoadBalancerHealthMonitorCRUD.class)
 public final class NeutronLoadBalancerHealthMonitorInterface
         extends AbstractNeutronInterface<Healthmonitor, Healthmonitors, HealthmonitorKey,
                                          NeutronLoadBalancerHealthMonitor>
index af44344be88bab03382d2d3933f6b4b983e58003..e3c01bb32f9158480ca687b2a6fe842bc5f72a04 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronLoadBalancerCRUD;
 import org.opendaylight.neutron.spi.NeutronLoadBalancer;
@@ -18,10 +19,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.l
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.lbaas.attributes.loadbalancers.Loadbalancer;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.lbaas.attributes.loadbalancers.LoadbalancerBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.lbaas.attributes.loadbalancers.LoadbalancerKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronLoadBalancerCRUD.class)
+@Service(classes = INeutronLoadBalancerCRUD.class)
 public final class NeutronLoadBalancerInterface
         extends AbstractNeutronInterface<Loadbalancer, Loadbalancers, LoadbalancerKey, NeutronLoadBalancer>
         implements INeutronLoadBalancerCRUD {
index cbe9e64fbada8454e8493c070d0e41b367cde850..87ae7dbc3e70bf5ea861df70597620e2ebedd751 100644 (file)
@@ -12,6 +12,7 @@ import java.util.ArrayList;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.northbound.api.BadRequestException;
 import org.opendaylight.neutron.spi.INeutronLoadBalancerListenerCRUD;
@@ -27,10 +28,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.l
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.lbaas.attributes.listeners.Listener;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.lbaas.attributes.listeners.ListenerBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.lbaasv2.rev150712.lbaas.attributes.listeners.ListenerKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronLoadBalancerListenerCRUD.class)
+@Service(classes = INeutronLoadBalancerListenerCRUD.class)
 public final class NeutronLoadBalancerListenerInterface
         extends AbstractNeutronInterface<Listener, Listeners, ListenerKey, NeutronLoadBalancerListener>
         implements INeutronLoadBalancerListenerCRUD {
index d217a5d67bdc212489b97f658e2133d4cd778469..cceb0a79cbbd70dc36416d922f7684baea146567 100644 (file)
@@ -16,6 +16,7 @@ import java.util.List;
 import java.util.Set;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction;
 import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
@@ -47,12 +48,11 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.rev150712.Neutron;
 import org.opendaylight.yangtools.yang.binding.DataObject;
 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
 import org.opendaylight.yangtools.yang.common.OperationFailedException;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronLoadBalancerPoolCRUD.class)
+@Service(classes = INeutronLoadBalancerPoolCRUD.class)
 public final class NeutronLoadBalancerPoolInterface
         extends AbstractNeutronInterface<Pool, Pools, PoolKey, NeutronLoadBalancerPool>
         implements INeutronLoadBalancerPoolCRUD {
index 11100e360042f4e13b8a66567fa5cd3133190cee..3ee7723e9f9dc3e2c819e5561289f893949e7d96 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronMeteringLabelCRUD;
 import org.opendaylight.neutron.spi.NeutronMeteringLabel;
@@ -17,10 +18,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.metering.rev150712.
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.metering.rev150712.metering.labels.attributes.metering.labels.MeteringLabel;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.metering.rev150712.metering.labels.attributes.metering.labels.MeteringLabelBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.metering.rev150712.metering.labels.attributes.metering.labels.MeteringLabelKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronMeteringLabelCRUD.class)
+@Service(classes = INeutronMeteringLabelCRUD.class)
 public final class NeutronMeteringLabelInterface
         extends AbstractNeutronInterface<MeteringLabel, MeteringLabels, MeteringLabelKey, NeutronMeteringLabel>
         implements INeutronMeteringLabelCRUD {
index 839c30dd011bfb8bf1b305c737c507d15f714f97..7155e51f801fcf1dc71d8e2adcef1abb805c5572 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronMeteringLabelRuleCRUD;
 import org.opendaylight.neutron.spi.NeutronMeteringLabelRule;
@@ -20,10 +21,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.metering.rev150712.
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.metering.rev150712.metering.rules.attributes.metering.rules.MeteringRule;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.metering.rev150712.metering.rules.attributes.metering.rules.MeteringRuleBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.metering.rev150712.metering.rules.attributes.metering.rules.MeteringRuleKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronMeteringLabelRuleCRUD.class)
+@Service(classes = INeutronMeteringLabelRuleCRUD.class)
 public final class NeutronMeteringLabelRuleInterface
         extends AbstractNeutronInterface<MeteringRule, MeteringRules, MeteringRuleKey, NeutronMeteringLabelRule>
         implements INeutronMeteringLabelRuleCRUD {
index 85d50fdf72c435b17be8f8c8a36f7274675dc614..8a89b4c15fcdb7bab95252105d70f17a84669682 100644 (file)
@@ -12,6 +12,7 @@ import java.util.ArrayList;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.controller.md.sal.binding.api.ReadTransaction;
 import org.opendaylight.controller.md.sal.common.api.data.ReadFailedException;
@@ -35,10 +36,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.provider.ext.rev150
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.provider.ext.rev150712.neutron.networks.network.SegmentsBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.qos.ext.rev160613.QosNetworkExtension;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.qos.ext.rev160613.QosNetworkExtensionBuilder;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronNetworkCRUD.class)
+@Service(classes = INeutronNetworkCRUD.class)
 public final class NeutronNetworkInterface
         extends AbstractNeutronInterface<Network, Networks, NetworkKey, NeutronNetwork>
         implements INeutronNetworkCRUD {
index 66f9f121b49c711925acaedbcc08ffc14b6e1344..86a56ae045b3e1839efd595fef5f071329f4d970 100644 (file)
@@ -16,6 +16,7 @@ import java.util.Map;
 import java.util.Set;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronPortCRUD;
 import org.opendaylight.neutron.spi.NeutronIps;
@@ -48,10 +49,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.portsecurity.rev150
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.qos.ext.rev160613.QosPortExtension;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.qos.ext.rev160613.QosPortExtensionBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.types.rev160517.IpPrefixOrAddressBuilder;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronPortCRUD.class)
+@Service(classes = INeutronPortCRUD.class)
 public final class NeutronPortInterface extends AbstractNeutronInterface<Port, Ports, PortKey, NeutronPort>
         implements INeutronPortCRUD {
 
index 3cc30234f6fd97a2982ca0c7d011900035bdf80f..d141abf40c4732acf8ee2a02a8c0fc2f58c9fcf1 100644 (file)
@@ -11,6 +11,7 @@ import java.util.ArrayList;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronQosPolicyCRUD;
 import org.opendaylight.neutron.spi.NeutronQosBandwidthLimitRule;
@@ -28,10 +29,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.qos.rev160613.qos.a
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.qos.rev160613.qos.attributes.qos.policies.qos.policy.DscpmarkingRulesBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.qos.rev160613.qos.attributes.qos.policies.qos.policy.MinimumbandwidthRules;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.qos.rev160613.qos.attributes.qos.policies.qos.policy.MinimumbandwidthRulesBuilder;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronQosPolicyCRUD.class)
+@Service(classes = INeutronQosPolicyCRUD.class)
 public final class NeutronQosPolicyInterface
         extends AbstractNeutronInterface<QosPolicy, QosPolicies, QosPolicyKey,NeutronQosPolicy>
         implements INeutronQosPolicyCRUD {
index f3b4e1f41e9df4ccf94ce9f4e671b8b4415f4d2f..00e03d360c90a825b25d8116134ba0fcc5f9956b 100644 (file)
@@ -11,6 +11,7 @@ import java.util.ArrayList;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronRouterCRUD;
 import org.opendaylight.neutron.spi.NeutronIps;
@@ -29,10 +30,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.router
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.routers.attributes.routers.router.ExternalGatewayInfoBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.routers.attributes.routers.router.external_gateway_info.ExternalFixedIps;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.l3.rev150712.routers.attributes.routers.router.external_gateway_info.ExternalFixedIpsBuilder;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronRouterCRUD.class)
+@Service(classes = INeutronRouterCRUD.class)
 public final class NeutronRouterInterface extends AbstractNeutronInterface<Router, Routers, RouterKey, NeutronRouter>
         implements INeutronRouterCRUD {
     // methods needed for creating caches
index 2d809cebf65c77ff934122807589365463fab29e..4ca827eb1235cf9180d6bd30ca21c6f239f8b03a 100644 (file)
@@ -13,6 +13,7 @@ import java.util.HashMap;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.northbound.api.BadRequestException;
 import org.opendaylight.neutron.spi.INeutronSFCFlowClassifierCRUD;
@@ -33,7 +34,6 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.flow.classifier
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.flow.classifier.rev160511.sfc.flow.classifiers.attributes.sfc.flow.classifiers.SfcFlowClassifier;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.flow.classifier.rev160511.sfc.flow.classifiers.attributes.sfc.flow.classifiers.SfcFlowClassifierBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.flow.classifier.rev160511.sfc.flow.classifiers.attributes.sfc.flow.classifiers.SfcFlowClassifierKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -41,7 +41,7 @@ import org.slf4j.LoggerFactory;
  * Created by Anil Vishnoi (avishnoi@Brocade.com) on 6/24/16.
  */
 @Singleton
-@OsgiServiceProvider(classes = INeutronSFCFlowClassifierCRUD.class)
+@Service(classes = INeutronSFCFlowClassifierCRUD.class)
 public final class NeutronSFCFlowClassifierInterface
         extends AbstractNeutronInterface<SfcFlowClassifier, SfcFlowClassifiers, SfcFlowClassifierKey,
                                          NeutronSFCFlowClassifier>
index 78a11adf3087356b9636e453cafad78a7145d74d..9abd5c293fb9e5d507c08902b4b983e75df38cda 100644 (file)
@@ -12,6 +12,7 @@ import java.util.HashMap;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronSFCPortChainCRUD;
 import org.opendaylight.neutron.spi.NeutronSFCPortChain;
@@ -23,7 +24,6 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.a
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.attributes.port.chains.PortChain;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.attributes.port.chains.PortChainBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.attributes.port.chains.PortChainKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -31,7 +31,7 @@ import org.slf4j.LoggerFactory;
  * Created by Anil Vishnoi (avishnoi@Brocade.com).
  */
 @Singleton
-@OsgiServiceProvider(classes = INeutronSFCPortChainCRUD.class)
+@Service(classes = INeutronSFCPortChainCRUD.class)
 public final class NeutronSFCPortChainInterface
         extends AbstractNeutronInterface<PortChain, PortChains, PortChainKey, NeutronSFCPortChain>
         implements INeutronSFCPortChainCRUD {
index 85f462942884b901d4e91bf1b8106b5ff5db91b2..b6dbd0bffe2936af23fd86d6c87d29869b7691dc 100644 (file)
@@ -11,6 +11,7 @@ import java.util.ArrayList;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronSFCPortPairGroupCRUD;
 import org.opendaylight.neutron.spi.NeutronSFCPortPairGroup;
@@ -19,7 +20,6 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.a
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.attributes.port.pair.groups.PortPairGroup;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.attributes.port.pair.groups.PortPairGroupBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.attributes.port.pair.groups.PortPairGroupKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -27,7 +27,7 @@ import org.slf4j.LoggerFactory;
  * Created by Anil Vishnoi (avishnoi@Brocade.com).
  */
 @Singleton
-@OsgiServiceProvider(classes = INeutronSFCPortPairGroupCRUD.class)
+@Service(classes = INeutronSFCPortPairGroupCRUD.class)
 public final class NeutronSFCPortPairGroupInterface
         extends AbstractNeutronInterface<PortPairGroup, PortPairGroups, PortPairGroupKey, NeutronSFCPortPairGroup>
         implements INeutronSFCPortPairGroupCRUD {
index fd09327a24630922b032e4d996362ee7fa2f7d1b..8e6a539c66575defa747745ae339dce807b62408 100644 (file)
@@ -12,6 +12,7 @@ import java.util.HashMap;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronSFCPortPairCRUD;
 import org.opendaylight.neutron.spi.NeutronSFCPortPair;
@@ -23,7 +24,6 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.a
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.attributes.port.pairs.PortPair;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.attributes.port.pairs.PortPairBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.sfc.rev160511.sfc.attributes.port.pairs.PortPairKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -31,7 +31,7 @@ import org.slf4j.LoggerFactory;
  * Created by Anil Vishnoi (avishnoi@Brocade.com).
  */
 @Singleton
-@OsgiServiceProvider(classes = INeutronSFCPortPairCRUD.class)
+@Service(classes = INeutronSFCPortPairCRUD.class)
 public final class NeutronSFCPortPairInterface
         extends AbstractNeutronInterface<PortPair, PortPairs, PortPairKey, NeutronSFCPortPair>
         implements INeutronSFCPortPairCRUD {
index d6666de8b880b04faa41bd6dfe6c3c0065f641d3..7aa63aa1cb4bc631bdc0ab65f310f40c03ebf828 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronSecurityGroupCRUD;
 import org.opendaylight.neutron.spi.NeutronSecurityGroup;
@@ -17,10 +18,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev150712
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev150712.security.groups.attributes.security.groups.SecurityGroup;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev150712.security.groups.attributes.security.groups.SecurityGroupBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev150712.security.groups.attributes.security.groups.SecurityGroupKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronSecurityGroupCRUD.class)
+@Service(classes = INeutronSecurityGroupCRUD.class)
 public final class NeutronSecurityGroupInterface
         extends AbstractNeutronInterface<SecurityGroup, SecurityGroups, SecurityGroupKey, NeutronSecurityGroup>
         implements INeutronSecurityGroupCRUD {
index a26bc3c53c14365269248f83327bb40c551fba28..a60637f597f822464ef38d289b1159d96721ca64 100644 (file)
@@ -12,6 +12,7 @@ import com.google.common.collect.ImmutableBiMap;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.controller.md.sal.binding.api.ReadTransaction;
 import org.opendaylight.controller.md.sal.common.api.data.ReadFailedException;
@@ -31,10 +32,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev150712
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev150712.security.rules.attributes.security.rules.SecurityRule;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev150712.security.rules.attributes.security.rules.SecurityRuleBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev150712.security.rules.attributes.security.rules.SecurityRuleKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronSecurityRuleCRUD.class)
+@Service(classes = INeutronSecurityRuleCRUD.class)
 public final class NeutronSecurityRuleInterface extends
         AbstractNeutronInterface<SecurityRule, SecurityRules, SecurityRuleKey, NeutronSecurityRule>
         implements INeutronSecurityRuleCRUD {
index 49d7e546b3217eac46fdf69610c595f8debb0074..6084d00b81f743d1d15fa52a06ddae4a4a19b0dc 100644 (file)
@@ -12,6 +12,7 @@ import java.util.ArrayList;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronSubnetCRUD;
 import org.opendaylight.neutron.spi.NeutronRoute;
@@ -37,10 +38,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.s
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.SubnetBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.SubnetKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronSubnetCRUD.class)
+@Service(classes = INeutronSubnetCRUD.class)
 public final class NeutronSubnetInterface extends AbstractNeutronInterface<Subnet, Subnets, SubnetKey, NeutronSubnet>
         implements INeutronSubnetCRUD {
 
index 38c5e51770fa1df0028d0852e4e61c7848b2694f..2f30107ca21672c1572f2cf38a9e05810f0320a3 100644 (file)
@@ -11,6 +11,7 @@ import com.google.common.collect.ImmutableBiMap;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
 import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
@@ -33,12 +34,11 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.tapaas.rev171024.ta
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.tapaas.rev171024.tap.services.attributes.tap.services.TapServiceKey;
 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
 import org.opendaylight.yangtools.yang.common.OperationFailedException;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronTapFlowCRUD.class)
+@Service(classes = INeutronTapFlowCRUD.class)
 public final class NeutronTapFlowInterface
         extends AbstractTranscriberInterface<TapFlow, TapFlows, TapFlowKey, NeutronTapFlow, TapServiceAttributes>
         implements INeutronTapFlowCRUD {
index 174ed9871ce4b2f0fd536b50274cfec6a44b73f3..a956cf7d5bd323fc51e2b8b5f10fa588e13c89ca 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronTapServiceCRUD;
 import org.opendaylight.neutron.spi.NeutronTapService;
@@ -17,10 +18,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.tapaas.rev171024.ta
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.tapaas.rev171024.tap.services.attributes.tap.services.TapService;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.tapaas.rev171024.tap.services.attributes.tap.services.TapServiceBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.tapaas.rev171024.tap.services.attributes.tap.services.TapServiceKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronTapServiceCRUD.class)
+@Service(classes = INeutronTapServiceCRUD.class)
 public final class NeutronTapServiceInterface
         extends AbstractNeutronInterface<TapService, TapServices, TapServiceKey, NeutronTapService>
         implements INeutronTapServiceCRUD {
index ffe9a63605bd1b821ab5ce6b92608bfbb3d5469d..041b28135a441e005a4dc68d5b9397f56db953bf 100644 (file)
@@ -12,6 +12,7 @@ import java.util.ArrayList;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronTrunkCRUD;
 import org.opendaylight.neutron.spi.NeutronTrunk;
@@ -27,10 +28,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.trunks.rev170118.tr
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.trunks.rev170118.trunks.attributes.trunks.Trunk;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.trunks.rev170118.trunks.attributes.trunks.TrunkBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.trunks.rev170118.trunks.attributes.trunks.TrunkKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronTrunkCRUD.class)
+@Service(classes = INeutronTrunkCRUD.class)
 public final class NeutronTrunkInterface extends AbstractNeutronInterface<Trunk, Trunks, TrunkKey, NeutronTrunk>
         implements INeutronTrunkCRUD {
 
index 740bded2aaa87a7ac6c65c58564196f501f22a7f..e9ca122ac999de7732a0f43709491ce0efc6ea75 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronVpnIkePolicyCRUD;
 import org.opendaylight.neutron.spi.NeutronVpnIkePolicy;
@@ -19,10 +20,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ik
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ikepolicies.attributes.ike.policies.IkepolicyBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ikepolicies.attributes.ike.policies.IkepolicyKey;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ikepolicy.attributes.LifetimeBuilder;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronVpnIkePolicyCRUD.class)
+@Service(classes = INeutronVpnIkePolicyCRUD.class)
 public final class NeutronVpnIkePolicyInterface
         extends AbstractNeutronInterface<Ikepolicy, IkePolicies, IkepolicyKey, NeutronVpnIkePolicy>
         implements INeutronVpnIkePolicyCRUD {
index 14f399d478e16d8dea1b306eed04d4089b56e022..49fb41a406e9000b4b00ddf1103ca18a7b69fe0e 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronVpnIpSecPolicyCRUD;
 import org.opendaylight.neutron.spi.NeutronVpnIpSecPolicy;
@@ -19,10 +20,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ip
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ipsecpolicies.attributes.ipsec.policies.IpsecpolicyBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ipsecpolicies.attributes.ipsec.policies.IpsecpolicyKey;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ipsecpolicy.attributes.LifetimeBuilder;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronVpnIpSecPolicyCRUD.class)
+@Service(classes = INeutronVpnIpSecPolicyCRUD.class)
 public final class NeutronVpnIpSecPolicyInterface
         extends AbstractNeutronInterface<Ipsecpolicy, IpsecPolicies, IpsecpolicyKey, NeutronVpnIpSecPolicy>
         implements INeutronVpnIpSecPolicyCRUD {
index 0e08504a3d8231ed653bfbbbadbd1b718ad50072..fe00d4a8cee0079bae8b3fef75f34ca5b16f127f 100644 (file)
@@ -11,6 +11,7 @@ import java.util.ArrayList;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronVpnIpSecSiteConnectionsCRUD;
 import org.opendaylight.neutron.spi.NeutronVpnDeadPeerDetection;
@@ -20,10 +21,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ip
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ipsecconnections.attributes.ipsec.site.connections.Ipsecsiteconnection;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ipsecconnections.attributes.ipsec.site.connections.IpsecsiteconnectionBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ipsecconnections.attributes.ipsec.site.connections.IpsecsiteconnectionKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronVpnIpSecSiteConnectionsCRUD.class)
+@Service(classes = INeutronVpnIpSecSiteConnectionsCRUD.class)
 public final class NeutronVpnIpSecSiteConnectionsInterface
         extends AbstractNeutronInterface<Ipsecsiteconnection, IpsecSiteConnections, IpsecsiteconnectionKey,
         NeutronVpnIpSecSiteConnection>
index f8b137cd7d401fb7c4e98c8515cc48d28581e9ba..31121321d28697cef581aaa9b7b8242b70ae7702 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.neutron.transcriber;
 import java.util.List;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.aries.blueprint.annotation.service.Service;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
 import org.opendaylight.neutron.spi.INeutronVpnServiceCRUD;
 import org.opendaylight.neutron.spi.NeutronVpnService;
@@ -17,10 +18,9 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.vp
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.vpnservices.attributes.vpn.services.Vpnservice;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.vpnservices.attributes.vpn.services.VpnserviceBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.vpnservices.attributes.vpn.services.VpnserviceKey;
-import org.ops4j.pax.cdi.api.OsgiServiceProvider;
 
 @Singleton
-@OsgiServiceProvider(classes = INeutronVpnServiceCRUD.class)
+@Service(classes = INeutronVpnServiceCRUD.class)
 public final class NeutronVpnServiceInterface
         extends AbstractNeutronInterface<Vpnservice, VpnServices, VpnserviceKey, NeutronVpnService>
         implements INeutronVpnServiceCRUD {