diff options
author | 2019-02-04 12:10:30 +0200 | |
---|---|---|
committer | 2019-02-04 11:10:38 +0000 | |
commit | 54ea496b9fe6296b9a92c59f52aedc2bbf64504d (patch) | |
tree | 7dac7c1767fe3e2a278b0d9053910505b1818129 /catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/templates/default/check_Backend_Health.py.erb | |
parent | 0953785bfd6a3af5e506f8a55a8520c0fb7ef358 (diff) |
Fixes to docker run
revertnig back to when the last merge passed
Change-Id: I7f681865f51ac070c9bbbfdbc1f4ffcdb00581b2
Issue-ID: SDC-2028
Signed-off-by: ilanap <ilanap@amdocs.com>
Diffstat (limited to 'catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/templates/default/check_Backend_Health.py.erb')
-rw-r--r-- | catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/templates/default/check_Backend_Health.py.erb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/templates/default/check_Backend_Health.py.erb b/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/templates/default/check_Backend_Health.py.erb index 60e2da16e7..49d8266630 100644 --- a/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/templates/default/check_Backend_Health.py.erb +++ b/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/templates/default/check_Backend_Health.py.erb @@ -6,7 +6,6 @@ from datetime import datetime beStat=0 BE_IP="<%= @be_ip %>" -BE_PORT="<%= @be_port %>" class bcolors: HEADER = '\033[95m' @@ -23,7 +22,7 @@ class bcolors: # Functions ############################## def checkBackend(): - command="curl -s -o /dev/null -I -w \"%{http_code}\" -i http://" + BE_IP + ":" + BE_PORT + "/sdc2/rest/v1/user/jh0003" + command="curl -s -o /dev/null -I -w \"%{http_code}\" -i http://" + BE_IP + ":8080/sdc2/rest/v1/user/jh0003" proc = subprocess.Popen( command , shell=True , stdout=subprocess.PIPE ) (out, err) = proc.communicate() |