Bug 7065 - sal-cluster-admin not export java binding inteface in MANIFEST.MF 88/47788/2
authorGeng Xingyuan <geng.xingyuan@zte.com.cn>
Mon, 31 Oct 2016 22:07:20 +0000 (06:07 +0800)
committerTom Pantelis <tpanteli@brocade.com>
Tue, 1 Nov 2016 13:17:45 +0000 (13:17 +0000)
decoupling cluster-admin api and impl.
export cluster-admin java binding api

Change-Id: Iac19d722bd805310ba8eb1dcd1341b0b1e5741bd
Signed-off-by: Geng Xingyuan <geng.xingyuan@zte.com.cn>
14 files changed:
features/mdsal/pom.xml
features/mdsal/src/main/features/features.xml
opendaylight/md-sal/mdsal-artifacts/pom.xml
opendaylight/md-sal/pom.xml
opendaylight/md-sal/sal-cluster-admin-api/pom.xml [new file with mode: 0644]
opendaylight/md-sal/sal-cluster-admin-api/src/main/yang/cluster-admin.yang [moved from opendaylight/md-sal/sal-cluster-admin/src/main/yang/cluster-admin.yang with 100% similarity]
opendaylight/md-sal/sal-cluster-admin-impl/pom.xml [moved from opendaylight/md-sal/sal-cluster-admin/pom.xml with 97% similarity]
opendaylight/md-sal/sal-cluster-admin-impl/src/main/java/org/opendaylight/controller/cluster/datastore/admin/ClusterAdminRpcService.java [moved from opendaylight/md-sal/sal-cluster-admin/src/main/java/org/opendaylight/controller/cluster/datastore/admin/ClusterAdminRpcService.java with 100% similarity]
opendaylight/md-sal/sal-cluster-admin-impl/src/main/java/org/opendaylight/controller/config/yang/config/cluster_admin_provider/ClusterAdminProviderModule.java [moved from opendaylight/md-sal/sal-cluster-admin/src/main/java/org/opendaylight/controller/config/yang/config/cluster_admin_provider/ClusterAdminProviderModule.java with 100% similarity]
opendaylight/md-sal/sal-cluster-admin-impl/src/main/java/org/opendaylight/controller/config/yang/config/cluster_admin_provider/ClusterAdminProviderModuleFactory.java [moved from opendaylight/md-sal/sal-cluster-admin/src/main/java/org/opendaylight/controller/config/yang/config/cluster_admin_provider/ClusterAdminProviderModuleFactory.java with 100% similarity]
opendaylight/md-sal/sal-cluster-admin-impl/src/main/resources/org/opendaylight/blueprint/cluster-admin.xml [moved from opendaylight/md-sal/sal-cluster-admin/src/main/resources/org/opendaylight/blueprint/cluster-admin.xml with 100% similarity]
opendaylight/md-sal/sal-cluster-admin-impl/src/main/yang/cluster-admin-service.yang [moved from opendaylight/md-sal/sal-cluster-admin/src/main/yang/cluster-admin-service.yang with 100% similarity]
opendaylight/md-sal/sal-cluster-admin-impl/src/test/java/org/opendaylight/controller/cluster/datastore/admin/ClusterAdminRpcServiceTest.java [moved from opendaylight/md-sal/sal-cluster-admin/src/test/java/org/opendaylight/controller/cluster/datastore/admin/ClusterAdminRpcServiceTest.java with 100% similarity]
opendaylight/md-sal/sal-cluster-admin-impl/src/test/resources/simplelogger.properties [moved from opendaylight/md-sal/sal-cluster-admin/src/test/resources/simplelogger.properties with 100% similarity]

index 5fdc0ea50bc160fbc8c01ea8fc8643e1dde61eac..c2ffc48a83c67dd65a65eed9479126ce81dcd998 100644 (file)
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
-      <artifactId>sal-cluster-admin</artifactId>
+      <artifactId>sal-cluster-admin-api</artifactId>
+      <version>${controller.mdsal.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.controller</groupId>
+      <artifactId>sal-cluster-admin-impl</artifactId>
       <version>${controller.mdsal.version}</version>
     </dependency>
     <dependency>
index b5266f189d9b6aab1af455f6ea8c0b77516ceb06..a7780bee524bef3e7ef1e3ba197fd2041c1987d4 100644 (file)
@@ -88,7 +88,8 @@
         <bundle>mvn:org.opendaylight.controller/cds-access-api/{{VERSION}}</bundle>
         <bundle>mvn:org.opendaylight.controller/cds-access-client/{{VERSION}}</bundle>
         <bundle>mvn:org.opendaylight.controller/sal-distributed-datastore/{{VERSION}}</bundle>
-        <bundle>mvn:org.opendaylight.controller/sal-cluster-admin/{{VERSION}}</bundle>
+        <bundle>mvn:org.opendaylight.controller/sal-cluster-admin-api/{{VERSION}}</bundle>
+        <bundle>mvn:org.opendaylight.controller/sal-cluster-admin-impl/{{VERSION}}</bundle>
     </feature>
     <feature name ='odl-mdsal-remoterpc-connector' version='${project.version}'>
         <feature version='${project.version}'>odl-mdsal-broker-local</feature>
index e1b20cbd8da1605fe955f3f2559787a337810470..5ce73d47105c795a3a98bb43554e160f20b9d1fb 100644 (file)
                 <artifactId>cds-access-client</artifactId>
                 <version>1.1.0-SNAPSHOT</version>
             </dependency>
+            <dependency>
+                <groupId>org.opendaylight.controller</groupId>
+                <artifactId>sal-cluster-admin-api</artifactId>
+                <version>${project.version}</version>
+            </dependency>
 
             <!-- RESTCONF -->
             <dependency>
index 099c4a6b079291ddb063bf3621bc062b38e53a82..fc04389f1abc6599386aded18dab3ffeedd060bb 100644 (file)
@@ -87,7 +87,8 @@
     <!-- sal-distributed-datastore -->
     <module>sal-distributed-datastore</module>
     <module>sal-dummy-distributed-datastore</module>
-    <module>sal-cluster-admin</module>
+    <module>sal-cluster-admin-api</module>
+    <module>sal-cluster-admin-impl</module>
 
     <!-- XSQL -->
     <module>sal-dom-xsql</module>
diff --git a/opendaylight/md-sal/sal-cluster-admin-api/pom.xml b/opendaylight/md-sal/sal-cluster-admin-api/pom.xml
new file mode 100644 (file)
index 0000000..ea5d5a0
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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.mdsal</groupId>
+    <artifactId>binding-parent</artifactId>
+    <version>0.10.0-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.opendaylight.controller</groupId>
+  <artifactId>sal-cluster-admin-api</artifactId>
+  <version>1.5.0-SNAPSHOT</version>
+  <packaging>bundle</packaging>
+
+</project>
similarity index 97%
rename from opendaylight/md-sal/sal-cluster-admin/pom.xml
rename to opendaylight/md-sal/sal-cluster-admin-impl/pom.xml
index 37a20bee6b96d65409b286b84098bf5a7b8e4c9f..4b1b75d2c0ddd304c179e2cd9ece60dc89fdb10d 100644 (file)
@@ -6,10 +6,14 @@
     <artifactId>sal-parent</artifactId>
     <version>1.5.0-SNAPSHOT</version>
   </parent>
-  <artifactId>sal-cluster-admin</artifactId>
+  <artifactId>sal-cluster-admin-impl</artifactId>
   <packaging>bundle</packaging>
 
   <dependencies>
+    <dependency>
+    <groupId>org.opendaylight.controller</groupId>
+    <artifactId>sal-cluster-admin-api</artifactId>
+    </dependency>
     <!-- Tests -->
     <dependency>
       <groupId>junit</groupId>
     </plugins>
   </build>
 </project>
+