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 5fdc0ea..c2ffc48 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 b5266f1..a7780be 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 e1b20cb..5ce73d4 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 099c4a6..fc04389 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>
@@ -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>
+

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.