ONAP normative fixes 01/17101/1
authorTal Gitelman <tg851x@intl.att.com>
Tue, 3 Oct 2017 17:39:02 +0000 (20:39 +0300)
committerTal Gitelman <tg851x@intl.att.com>
Tue, 3 Oct 2017 17:39:02 +0000 (20:39 +0300)
Change-Id: I3670033775c4cb2328494ce1e52f60b636f387f5
Issue-ID: SDC-410
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
catalog-be/src/main/resources/import/tosca/heat-types/underlayVpn/underlayVpn.json
catalog-be/src/main/resources/scripts/import/tosca/importHeatTypes.py
sdc-os-chef/pom.xml
sdc-os-chef/scripts/docker_clean.sh [deleted file]
sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/recipes/upgrade_Normatives.rb
sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/attributes/default.rb

index 6107261..1311fe9 100644 (file)
@@ -7,7 +7,7 @@
   "resourceType": "VL",
   "categories": [
     {
-      "name": "Generic",
+      "name": "Network Connectivity",
       "subcategories": [
         {
           "name": "Virtual Links"
index 3b4ed54..78b257d 100644 (file)
@@ -51,9 +51,9 @@ def importHeatTypes(beHost, bePort, adminUser, fileDir, updateversion):
                                  "subInterface",
                                  "contrailV2VLANSubInterface",
                                  "multiFlavorVFC",
-                                 "vnfConfiguration"#,
-                                 #"underlayVpn",
-                                 #"overlayTunnel"
+                                 "vnfConfiguration",
+                                 "underlayVpn",
+                                 "overlayTunnel"
                                  ]
                
        responseCodes = [200, 201]
index 41372d5..3ad8a4b 100644 (file)
@@ -67,9 +67,7 @@
                                 ${project.basedir}\sdc-cassandra\chef-repo\cookbooks\cassandra-actions\attributes\default.rb
                             </path>
                             <lines>
-                                <line>normal['version'] =
-                                    "${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
-                                </line>
+                                <line>normal['version'] = "${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line>
                             </lines>
                         </file>
                     </files>
diff --git a/sdc-os-chef/scripts/docker_clean.sh b/sdc-os-chef/scripts/docker_clean.sh
deleted file mode 100755 (executable)
index 3979de6..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-pat=$1
-docker_ids=`docker ps -a | grep ${pat} | awk '{print $1}'`
-for X in ${docker_ids}
-do
-   docker rm -f ${X}
-done
-
-
index f782ce3..3baf473 100644 (file)
@@ -11,7 +11,6 @@ bash "upgrade-normatives" do
     cd normatives/scripts/import/tosca/
     /bin/chmod +x upgradeNormative.py importGroupTypes.py
     python upgradeNormative.py -i localhost --debug=true > /var/lib/jetty/logs/upgradeNormative.log
-    python importGroupTypes.py -i localhost > /var/lib/jetty/logs/importGroupTypes.log
   EOH
 end