From: Neil Derraugh Date: Tue, 5 May 2020 15:27:28 +0000 (-0400) Subject: Remove unused ES code and unneeded ES health check X-Git-Tag: 1.7.0~162 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=1ac24708cf920efe3189203cfdf330402048381b;p=sdc.git Remove unused ES code and unneeded ES health check Remove the ES health check since ES was removed. Issue-ID: SDC-3022 Signed-off-by: neil.derraugh@yoppworks.com Change-Id: I918212de39d7b53959ac400975b3c47f889252c1 --- diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh index e51f499588..e641594fc3 100755 --- a/sdc-os-chef/scripts/docker_run.sh +++ b/sdc-os-chef/scripts/docker_run.sh @@ -151,17 +151,6 @@ function probe_test_docker { # -function probe_es { - health_Check_http_code=$(curl --noproxy "*" -o /dev/null -w '%{http_code}' http://${IP}:9200/_cluster/health?wait_for_status=yellow&timeout=120s) - if [[ "$health_Check_http_code" -eq 200 ]] ; then - echo DOCKER start finished in $1 seconds - return ${SUCCESS} - fi - return ${FAILURE} -} -# - - function probe_sim { if lsof -Pi :8285 -sTCP:LISTEN -t >/dev/null ; then echo "Already running" @@ -236,7 +225,6 @@ function monitor_docker { # healthCheck script used the secure connection to send request (https is always turn on) function healthCheck { - curl --noproxy "*" ${IP}:9200/_cluster/health?pretty=true echo "BE Health Check:" curl -k --noproxy "*" https://${IP}:8443/sdc2/rest/healthCheck