Import normative improvement 59/61559/2
authorTal Gitelman <tg851x@intl.att.com>
Tue, 21 Aug 2018 11:52:26 +0000 (14:52 +0300)
committerTal Gitelman <tg851x@intl.att.com>
Tue, 21 Aug 2018 11:56:45 +0000 (11:56 +0000)
add debug to 3_import_Normatives

Change-Id: I23537f750a67d5278f98676651ac0c85c0f85e86
Issue-ID: SDC-557
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb

index a8d474b..631ba5e 100644 (file)
@@ -26,11 +26,11 @@ bash "excuting-import_Normatives" do
      resources_len=`cat ${check_normative}| jq '.["resources"]|length'`
      mkdir -p /var/lib/jetty/logs
      if [ $resources_len -eq 0 ] ; then
-        python importONAPNormativeAll.py -i #{be_ip} > /var/lib/jetty/logs/importNormativeAll.log
+        python importONAPNormativeAll.py --debug=true -i #{be_ip} > /var/lib/jetty/logs/importNormativeAll.log
             rc=$?
             if [[ $rc != 0 ]]; then exit $rc; fi
      else
-        python upgradeONAPNormative.py -i #{be_ip} > /var/lib/jetty/logs/upgradeNormative.log
+        python upgradeONAPNormative.py --debug=true -i #{be_ip} > /var/lib/jetty/logs/upgradeNormative.log
             rc=$?
             if [[ $rc != 0 ]]; then exit $rc; fi
      fi