diff options
author | 2018-01-21 13:04:47 +0200 | |
---|---|---|
committer | 2018-01-21 13:24:30 +0200 | |
commit | 9f3fd04658855a75db960145db5b68a70e98fb15 (patch) | |
tree | 89c26504d2765b5d0e5bb6eca116deff1e7a0274 /sdc-os-chef | |
parent | c8b48146aee5aeeebf26fa681add482298020e2f (diff) |
Enable debug mode in BE
Change-Id: I90bb55184006dbcffc27ab3cbd0550601e6fd06c
Issue-ID: SDC-859
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'sdc-os-chef')
-rwxr-xr-x | sdc-os-chef/scripts/docker_run.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh index 4867ce5bdb..7af8a748bd 100755 --- a/sdc-os-chef/scripts/docker_run.sh +++ b/sdc-os-chef/scripts/docker_run.sh @@ -36,6 +36,7 @@ function monitor_docker { if [ -n "$MATCH" ]; then echo DOCKER start finished in $TIME seconds + docker logs $1 > ${WORKSPACE}/data/logs/dockerLogs_$1.log break fi @@ -54,12 +55,15 @@ function healthCheck { curl localhost:9200/_cluster/health?pretty=true echo "BE health-Check:" - curl http://localhost:8080/sdc2/rest/healthCheck + #curl http://localhost:8080/sdc2/rest/healthCheck + curl -H "Accept: application/json" -H "Content-Type: application/json" -H "USER_ID: jh0003" http://localhost:8080/sdc2/rest/healthCheck echo "" echo "" echo "FE health-Check:" - curl http://localhost:8181/sdc1/rest/healthCheck + #curl http://localhost:8181/sdc1/rest/healthCheck + curl -H "Accept: application/json" -H "Content-Type: application/json" -H "USER_ID: jh0003" http://localhost:8181/sdc1/rest/healthCheck + echo "" |