diff options
author | Tal Gitelman <tg851x@intl.att.com> | 2018-08-21 14:52:26 +0300 |
---|---|---|
committer | Tal Gitelman <tg851x@intl.att.com> | 2018-08-21 11:56:45 +0000 |
commit | d08b71befd5685675a4bb54ba35b89ab3573261f (patch) | |
tree | 08dc9aa3d75a301f5ce9cbaa76334cfcb2276e29 /catalog-be/sdc-backend-init/chef-repo/cookbooks | |
parent | 3a33e89b73ee6ff597688786bd6f22bf23f64057 (diff) |
Import normative improvement
add debug to 3_import_Normatives
Change-Id: I23537f750a67d5278f98676651ac0c85c0f85e86
Issue-ID: SDC-557
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'catalog-be/sdc-backend-init/chef-repo/cookbooks')
-rw-r--r-- | catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb b/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb index a8d474b792..631ba5efba 100644 --- a/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb +++ b/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/recipes/3_import_Normatives.rb @@ -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 |