Refactor plugins to org onap ccsdk 27/7227/1
authorStilwell, David (stilwelld) <stilwelld@att.com>
Thu, 10 Aug 2017 00:50:12 +0000 (00:50 +0000)
committerStilwell, David (stilwelld) <stilwelld@att.com>
Thu, 10 Aug 2017 14:57:42 +0000 (14:57 +0000)
Refactor code to use new package name org.onap.ccsdk.sli.plugins

Change-Id: Ia5399b21e95d556890aef5ad27437f1ac120ef8d
Issue-ID: CCSDK-21
Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
28 files changed:
example-settings.xml
jenkins-settings.xml
pom.xml
properties-node/features/src/main/resources/features.xml
properties-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/prop/PropertiesNode.java [moved from properties-node/provider/src/main/java/org/openecomp/sdnc/prop/PropertiesNode.java with 98% similarity]
properties-node/provider/src/main/resources/META-INF/spring/properties-node-context.xml
properties-node/provider/src/main/resources/META-INF/spring/properties-node-osgi-context.xml
restapi-call-node/features/src/main/resources/features.xml
restapi-call-node/provider/pom.xml
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/Format.java [moved from restapi-call-node/provider/src/main/java/org/openecomp/sdnc/restapicall/Format.java with 96% similarity]
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/HttpMethod.java [moved from restapi-call-node/provider/src/main/java/org/openecomp/sdnc/restapicall/HttpMethod.java with 97% similarity]
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/HttpResponse.java [moved from restapi-call-node/provider/src/main/java/org/openecomp/sdnc/restapicall/HttpResponse.java with 96% similarity]
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/JsonParser.java [moved from restapi-call-node/provider/src/main/java/org/openecomp/sdnc/restapicall/JsonParser.java with 98% similarity]
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/Parameters.java [moved from restapi-call-node/provider/src/main/java/org/openecomp/sdnc/restapicall/Parameters.java with 97% similarity]
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java [moved from restapi-call-node/provider/src/main/java/org/openecomp/sdnc/restapicall/RestapiCallNode.java with 99% similarity]
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RetryException.java [moved from restapi-call-node/provider/src/main/java/org/openecomp/sdnc/restapicall/RetryException.java with 95% similarity]
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RetryPolicy.java [moved from restapi-call-node/provider/src/main/java/org/openecomp/sdnc/restapicall/RetryPolicy.java with 97% similarity]
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RetryPolicyStore.java [moved from restapi-call-node/provider/src/main/java/org/openecomp/sdnc/restapicall/RetryPolicyStore.java with 97% similarity]
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlJsonUtil.java [moved from restapi-call-node/provider/src/main/java/org/openecomp/sdnc/restapicall/XmlJsonUtil.java with 99% similarity]
restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/XmlParser.java [moved from restapi-call-node/provider/src/main/java/org/openecomp/sdnc/restapicall/XmlParser.java with 98% similarity]
restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-context.xml
restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-osgi-context.xml
restapi-call-node/provider/src/test/java/jtest/org/onap/ccsdk/sli/plugins/restapicall/TestJsonParser.java [moved from restapi-call-node/provider/src/test/java/jtest/org/openecomp/sdnc/restapicall/TestJsonParser.java with 94% similarity]
restapi-call-node/provider/src/test/java/jtest/org/onap/ccsdk/sli/plugins/restapicall/TestRestapiCallNode.java [moved from restapi-call-node/provider/src/test/java/jtest/org/openecomp/sdnc/restapicall/TestRestapiCallNode.java with 97% similarity]
restapi-call-node/provider/src/test/java/jtest/org/onap/ccsdk/sli/plugins/restapicall/TestXmlJsonUtil.java [moved from restapi-call-node/provider/src/test/java/jtest/org/openecomp/sdnc/restapicall/TestXmlJsonUtil.java with 99% similarity]
restapi-call-node/provider/src/test/java/jtest/org/onap/ccsdk/sli/plugins/restapicall/TestXmlParser.java [moved from restapi-call-node/provider/src/test/java/jtest/org/openecomp/sdnc/restapicall/TestXmlParser.java with 95% similarity]
restapi-call-node/provider/src/test/resources/test.xml
restapi-call-node/provider/src/test/resources/test3.xml

index 2e7ce64..06c84eb 100644 (file)
 
   <profiles>
     <profile>
-      <id>openecomp-release</id>
+      <id>onap-release</id>
       <repositories>
         <repository>
-          <id>openecomp-release</id>
-          <name>openecomp-release</name>
+          <id>onap-release</id>
+          <name>onap-release</name>
           <url>https://ecomp-nexus:8443/repository/maven-releases/</url>
           <releases>
             <enabled>true</enabled>
@@ -30,8 +30,8 @@
       </repositories>
       <pluginRepositories>
         <pluginRepository>
-          <id>openecomp-release</id>
-          <name>openecomp-release</name>
+          <id>onap-release</id>
+          <name>onap-release</name>
           <url>https://ecomp-nexus:8443/repository/maven-releases/</url>
           <releases>
             <enabled>true</enabled>
     </profile>
 
     <profile>
-      <id>openecomp-snapshots</id>
+      <id>onap-snapshots</id>
       <repositories>
         <repository>
-          <id>openecomp-snapshot</id>
-          <name>openecomp-snapshot</name>
+          <id>onap-snapshot</id>
+          <name>onap-snapshot</name>
           <url>https://ecomp-nexus:8443/repository/maven-snapshots/</url>
           <releases>
             <enabled>false</enabled>
@@ -61,8 +61,8 @@
       </repositories>
       <pluginRepositories>
         <pluginRepository>
-          <id>openecomp-snapshot</id>
-          <name>openecomp-snapshot</name>
+          <id>onap-snapshot</id>
+          <name>onap-snapshot</name>
           <url>https://ecomp-nexus:8443/repository/maven-snapshots/</url>
           <releases>
             <enabled>false</enabled>
   </profiles>
 
   <activeProfiles>
-    <activeProfile>openecomp-release</activeProfile>
-    <activeProfile>openecomp-snapshots</activeProfile>
+    <activeProfile>onap-release</activeProfile>
+    <activeProfile>onap-snapshots</activeProfile>
     <activeProfile>opendaylight-release</activeProfile>
     <activeProfile>opendaylight-snapshots</activeProfile>
   </activeProfiles>
     <password>PASSWORD</password>
    </server>
    <server> 
-    <id>openecomp-release</id> 
+    <id>onap-release</id> 
     <username>USERNAME</username> 
     <password>PASSWORD</password> 
    </server> 
    <server> 
-    <id>openecomp-snapshot</id> 
+    <id>onap-snapshot</id> 
          <username>USERNAME</username> 
     <password>PASSWORD</password> 
    </server> 
index 344994f..88f9805 100644 (file)
 
   <profiles>
     <profile>
-      <id>openecomp-release</id>
+      <id>onap-release</id>
       <repositories>
         <repository>
-          <id>openecomp-release</id>
-          <name>openecomp-release</name>
+          <id>onap-release</id>
+          <name>onap-release</name>
           <url>https://ecomp-nexus:8443/repository/maven-releases/</url>
           <releases>
             <enabled>true</enabled>
@@ -30,8 +30,8 @@
       </repositories>
       <pluginRepositories>
         <pluginRepository>
-          <id>openecomp-release</id>
-          <name>openecomp-release</name>
+          <id>onap-release</id>
+          <name>onap-release</name>
           <url>https://ecomp-nexus:8443/repository/maven-releases/</url>
           <releases>
             <enabled>true</enabled>
     </profile>
 
     <profile>
-      <id>openecomp-snapshots</id>
+      <id>onap-snapshots</id>
       <repositories>
         <repository>
-          <id>openecomp-snapshot</id>
-          <name>openecomp-snapshot</name>
+          <id>onap-snapshot</id>
+          <name>onap-snapshot</name>
           <url>https://ecomp-nexus:8443/repository/maven-snapshots/</url>
           <releases>
             <enabled>false</enabled>
@@ -61,8 +61,8 @@
       </repositories>
       <pluginRepositories>
         <pluginRepository>
-          <id>openecomp-snapshot</id>
-          <name>openecomp-snapshot</name>
+          <id>onap-snapshot</id>
+          <name>onap-snapshot</name>
           <url>https://ecomp-nexus:8443/repository/maven-snapshots/</url>
           <releases>
             <enabled>false</enabled>
   </profiles>
 
   <activeProfiles>
-    <activeProfile>openecomp-release</activeProfile>
-    <activeProfile>openecomp-snapshots</activeProfile>
+    <activeProfile>onap-release</activeProfile>
+    <activeProfile>onap-snapshots</activeProfile>
     <activeProfile>opendaylight-release</activeProfile>
     <activeProfile>opendaylight-snapshots</activeProfile>
   </activeProfiles>
     <password>${ecomp.nexus.password}</password>
    </server>
    <server> 
-    <id>openecomp-release</id> 
+    <id>onap-release</id> 
     <username>${ecomp.nexus.user}</username> 
     <password>${ecomp.nexus.password}</password> 
    </server> 
    <server> 
-    <id>openecomp-snapshot</id> 
+    <id>onap-snapshot</id> 
          <username>${ecomp.nexus.user}</username> 
     <password>${ecomp.nexus.password}</password> 
    </server> 
diff --git a/pom.xml b/pom.xml
index 96436f7..215f173 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
        <artifactId>sdnc-plugins</artifactId>
 
        <name>SDN-C Java Plugins</name>
-       <url>https://wiki.openecomp.org</url>
+       <url>https://wiki.onap.org</url>
        <description>The SDN-C core components contains the SLI, dblib and root pom</description>
 
 
        <issueManagement>
                <system>JIRA</system>
-               <url>https://jira.openecomp.org/</url>
+               <url>https://jira.onap.org/</url>
        </issueManagement>
 
 
        <scm>
-               <connection>scm:git:ssh://git@${openecomp.git.host}/sdnc-plugins.git</connection>
-               <developerConnection>scm:git:ssh://${openecomp.git.host}:${openecomp.git.port}/${openecomp.git.project}/sdnc-iplugins.git</developerConnection>
-               <url>${openecomp.git.protocol}://${openecomp.git.host}/projects/${openecomp.git.project}/repos/sdnc-plugins/browse</url>
+               <connection>scm:git:ssh://git@${onap.git.host}/ccsdk/sli/plugins.git</connection>
+               <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/ccsdk/sli/plugins.git</developerConnection>
+               <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/ccsdk/sli/plugins/browse</url>
                <tag>HEAD</tag>
        </scm>
 
        <ciManagement>
                <system>Jenkins</system>
-               <url>https://jenkins.openecomp.org</url>
+               <url>https://jenkins.onap.org</url>
        </ciManagement>
 
 
        <distributionManagement>
                <site>
                        <id>sdnc-javadoc</id>
-                       <url>dav:https://${openecomp.nexus.host}/content/sites/site/org/onap/sdnc/plugins/${project.artifactId}/${project.version}</url>
+                       <url>dav:https://${onap.nexus.host}/content/sites/site/org/onap/sdnc/plugins/${project.artifactId}/${project.version}</url>
                </site>
        </distributionManagement>
 
@@ -97,9 +97,9 @@
                                <version>1.6.7</version>
                                <extensions>true</extensions>
                                <configuration>
-                                       <nexusUrl>https://${openecomp.nexus.host}</nexusUrl>
-                                       <stagingProfileId>${openecomp.nexus.staging.profile-id}</stagingProfileId>
-                                       <serverId>${openecomp.nexus.staging.server-id}</serverId>
+                                       <nexusUrl>https://${onap.nexus.host}</nexusUrl>
+                                       <stagingProfileId>${onap.nexus.staging.profile-id}</stagingProfileId>
+                                       <serverId>${onap.nexus.staging.server-id}</serverId>
                                </configuration>
                        </plugin>
                </plugins>
index e89b333..2ed98a1 100644 (file)
@@ -32,7 +32,7 @@
                <feature version="${sdnctl.sli.version}">sdnc-sli</feature>
                <feature>spring</feature>
                <feature>spring-dm</feature>
-               <bundle>mvn:org.openecomp.sdnc.plugins/properties-node-provider/${project.version}
+               <bundle>mvn:org.onap.ccsdk.sli.plugins/properties-node-provider/${project.version}
                </bundle>
        </feature>
 
index a53ea14..048acc4 100644 (file)
@@ -26,7 +26,7 @@
     xsi:schemaLocation="http://www.springframework.org/schema/beans
         http://www.springframework.org/schema/beans/spring-beans.xsd">
 
-       <bean id="propertiesNode" class="org.openecomp.sdnc.prop.PropertiesNode">
+       <bean id="propertiesNode" class="org.onap.ccsdk.sli.plugins.prop.PropertiesNode">
        </bean>
 
 </beans>
index 7d74fd4..ce17a46 100644 (file)
@@ -27,6 +27,6 @@
        http://www.springframework.org/schema/beans   
        http://www.springframework.org/schema/beans/spring-beans.xsd">
 
-       <service ref="propertiesNode" interface="org.openecomp.sdnc.prop.PropertiesNode" />
+       <service ref="propertiesNode" interface="org.onap.ccsdk.sli.plugins.prop.PropertiesNode" />
 
 </beans:beans>
index 648e6f7..dbbe1b1 100644 (file)
@@ -34,7 +34,7 @@
                <feature>spring-dm</feature>
                <bundle>mvn:com.sun.jersey/jersey-client/${jersey.version}</bundle>
                <bundle>mvn:org.codehaus.jettison/jettison/${jettison.version}</bundle>
-               <bundle>mvn:org.openecomp.sdnc.plugins/restapi-call-node-provider/${project.version}</bundle>
+               <bundle>mvn:org.onap.ccsdk.sli.plugins/restapi-call-node-provider/${project.version}</bundle>
        </feature>
 
 </features>
index f864c29..4b328d3 100755 (executable)
@@ -85,7 +85,7 @@
                                <configuration>
                                        <instructions>
                                                <Bundle-SymbolicName>org.onap.ccsdk.sli.restapicall</Bundle-SymbolicName>
-                                               <Export-Package>org.openecomp.sdnc.restapicall</Export-Package>
+                                               <Export-Package>org.onap.ccsdk.sli.plugins.restapicall</Export-Package>
                                                <Import-Package>*</Import-Package>
                                        </instructions>
 
index a7b1a89..583563b 100644 (file)
 
        <!-- context:property-placeholder location="file:${SDNC_CONFIG_DIR}/ueb.properties" /-->
 
-       <bean id="restapiCallNode" class="org.openecomp.sdnc.restapicall.RestapiCallNode">
+       <bean id="restapiCallNode" class="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode">
                <property name="uebServers" value="${servers}" />
                <property name="retryPolicyStore" ref="retryPolicyStore"/>
        </bean>
 
-       <bean id="retryPolicyStore" class="org.openecomp.sdnc.restapicall.RetryPolicyStore">
+       <bean id="retryPolicyStore" class="org.onap.ccsdk.sli.plugins.restapicall.RetryPolicyStore">
                <property name="proxyServers" value="${proxyUrl}" />
        </bean>
 </beans>
index 09e3de7..7b74a89 100644 (file)
@@ -27,6 +27,6 @@
        http://www.springframework.org/schema/beans   
        http://www.springframework.org/schema/beans/spring-beans.xsd">
 
-       <service ref="restapiCallNode" interface="org.openecomp.sdnc.restapicall.RestapiCallNode" />
+       <service ref="restapiCallNode" interface="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" />
 
 </beans:beans>
@@ -19,7 +19,7 @@
  * ============LICENSE_END=========================================================
  */
 
-package jtest.org.openecomp.sdnc.restapicall;
+package jtest.org.onap.ccsdk.sli.plugins.restapicall;
 
 import java.io.BufferedReader;
 import java.io.InputStreamReader;
@@ -29,7 +29,7 @@ import java.util.List;
 import java.util.Map;
 
 import org.junit.Test;
-import org.openecomp.sdnc.restapicall.JsonParser;
+import org.onap.ccsdk.sli.plugins.restapicall.JsonParser;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
  * ============LICENSE_END=========================================================
  */
 
-package jtest.org.openecomp.sdnc.restapicall;
+package jtest.org.onap.ccsdk.sli.plugins.restapicall;
 
 import java.util.HashMap;
 import java.util.Map;
 
 import org.junit.Test;
 import org.onap.ccsdk.sli.core.sli.SvcLogicContext;
-import org.openecomp.sdnc.restapicall.RestapiCallNode;
+import org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
  * ============LICENSE_END=========================================================
  */
 
-package jtest.org.openecomp.sdnc.restapicall;
+package jtest.org.onap.ccsdk.sli.plugins.restapicall;
 
 import java.util.HashMap;
 import java.util.Map;
 
 import org.junit.Assert;
 import org.junit.Test;
-import org.openecomp.sdnc.restapicall.XmlJsonUtil;
+import org.onap.ccsdk.sli.plugins.restapicall.XmlJsonUtil;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -19,7 +19,7 @@
  * ============LICENSE_END=========================================================
  */
 
-package jtest.org.openecomp.sdnc.restapicall;
+package jtest.org.onap.ccsdk.sli.plugins.restapicall;
 
 import java.io.BufferedReader;
 import java.io.InputStreamReader;
@@ -31,7 +31,7 @@ import java.util.Map;
 import java.util.Set;
 
 import org.junit.Test;
-import org.openecomp.sdnc.restapicall.XmlParser;
+import org.onap.ccsdk.sli.plugins.restapicall.XmlParser;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
index 76205dd..330064e 100644 (file)
@@ -23,7 +23,7 @@
 <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.openecomp.sdnctl</groupId>
+               <groupId>org.onap.ccsdk.sli.plugins</groupId>
                <artifactId>restapi-call-node</artifactId>
                <version>6.0.0-SNAPSHOT</version>
        </parent>
                        <scope>test</scope>
                </dependency>
                <dependency>
-                       <groupId>org.openecomp.sdnctl</groupId>
+                       <groupId>org.onap.ccsdk.sli</groupId>
                        <artifactId>sli-common</artifactId>
                        <scope>compile</scope>
                </dependency>
                <dependency>
-                       <groupId>org.openecomp.sdnctl</groupId>
+                       <groupId>org.onap.ccsdk.sli</groupId>
                        <artifactId>sli-provider</artifactId>
                        <scope>compile</scope>
                </dependency>
@@ -99,7 +99,7 @@
                                <groupId>com.brocade.developer</groupId>
                                <artifactId>providermodule-plugin</artifactId>
                                <configuration>
-                                       <packageId>org.openecomp.sdnctl</packageId>
+                                       <packageId>org.onap.ccsdk.sli.plugins</packageId>
                                        <appName>restapi-call-node</appName>
                                </configuration>
                                <executions>
                                <extensions>true</extensions>
                                <configuration>
                                        <instructions>
-                                               <Bundle-SymbolicName>org.openecomp.sdnc.restapicall</Bundle-SymbolicName>
-                                               <Export-Package>org.openecomp.sdnc.restapicall</Export-Package>
+                                               <Bundle-SymbolicName>org.onap.ccsdk.sli.plugins.restapicall</Bundle-SymbolicName>
+                                               <Export-Package>org.onap.ccsdk.sli.plugins.restapicall</Export-Package>
                                                <Import-Package>*</Import-Package>
                                        </instructions>
 
index 2bf3be3..9211616 100644 (file)
@@ -20,8 +20,8 @@
   ============LICENSE_END=========================================================
   -->
 
-<ApplyGroupResponse xmlns="http://openecomp.org/vpn/schema/v1"
-       xmlns:ns2="http://openecomp.org/prov/vpn/schema/v2">
+<ApplyGroupResponse xmlns="http://onap.org/vpn/schema/v1"
+       xmlns:ns2="http://onap.org/prov/vpn/schema/v2">
        <ApplyGroupResponseData>
                <ServiceInstanceId>ICOREPVC-81114561</ServiceInstanceId>
                <VrfDetails>