Stop building CDAP and Docker plugins 66/88266/3
authorJack Lucas <jflucas@research.att.com>
Wed, 22 May 2019 14:45:49 +0000 (10:45 -0400)
committerJack Lucas <jflucas@research.att.com>
Wed, 22 May 2019 15:58:54 +0000 (11:58 -0400)
Also remove relationships plugin test case that has different
expected results on Ubuntu and CentOS. (Should not change
test coverage statistics.)

Change-Id: I027e13ee92ff1c799d38d8ad9939c4aff73022c3
Issue-ID: DCAEGEN2-1524
Signed-off-by: Jack Lucas <jflucas@research.att.com>
mvn-phase-script.sh
pom.xml
relationships/tests/test_discovery.py

index 6b3120b..7d4bcdb 100755 (executable)
@@ -63,7 +63,7 @@ test)
 package)
   echo "==> package phase script"
   case $MVN_PROJECT_MODULEID in
-  cdap|dcae-policy|docker|relationships|k8s|clamp-policy)
+    dcae-policy|k8s|clamp-policy|relationships)
     build_archives_for_wagons
     build_wagons
     ;;
@@ -77,7 +77,7 @@ install)
 deploy)
   echo "==> deploy phase script"
   case $MVN_PROJECT_MODULEID in
-  cdap|dcae-policy|docker|relationships|k8s|clamp-policy)
+    dcae-policy|k8s|clamp-policy|relationships)
     upload_wagons_and_type_yamls
     upload_wagon_archives
     ;;
diff --git a/pom.xml b/pom.xml
index 888331f..0d103fe 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -32,12 +32,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
   <url>http://maven.apache.org</url>
   <packaging>pom</packaging>
   <modules>
-     <module>cdap</module>
-     <module>docker</module>
-     <module>relationships</module>
      <module>dcae-policy</module>
      <module>k8s</module>
      <module>clamp-policy</module>
+    <module>relationships</module>
   </modules>
   <properties>
     <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
@@ -81,7 +79,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
           </configuration>
         </plugin>
         <!-- first disable the default Java plugins at various stages -->
-        <!-- maven-resources-plugin is called during "*resource" phases by default behavior.  it prepares 
+        <!-- maven-resources-plugin is called during "*resource" phases by default behavior.  it prepares
          the resources dir.  we do not need it -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -112,7 +110,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
             </execution>
           </executions>
         </plugin>
-        <!-- maven-install-plugin is called during "install" phase by default behavior.  it tries to copy stuff under 
+        <!-- maven-install-plugin is called during "install" phase by default behavior.  it tries to copy stuff under
          target dir to ~/.m2.  we do not need it -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
index ae2d34b..808b413 100644 (file)
@@ -38,7 +38,3 @@ def test_create_kv_conn_parse_host():
     with pytest.raises(dis.DiscoveryError):
         dis._parse_host(host)
 
-    # Hanging colon
-    port = ""
-    host = "{0}:{1}".format(hostname, port)
-    assert (hostname, 8500) == dis._parse_host(host)