summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/scripts/docker_run.sh
diff options
context:
space:
mode:
authorNeil Derraugh <neil.derraugh@yoppworks.com>2020-05-05 11:27:28 -0400
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-05-06 06:46:40 +0000
commit1ac24708cf920efe3189203cfdf330402048381b (patch)
treea8ff798a30c28d4451e6faddf78df7b4f0e3950d /sdc-os-chef/scripts/docker_run.sh
parentc88bd6c5b1ba9628711eb84deeef862120b6ddad (diff)
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
Diffstat (limited to 'sdc-os-chef/scripts/docker_run.sh')
-rwxr-xr-xsdc-os-chef/scripts/docker_run.sh12
1 files changed, 0 insertions, 12 deletions
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