summaryrefslogtreecommitdiffstats
path: root/test/csit/plans/sdnc/healthcheck/health_check.sh
diff options
context:
space:
mode:
authorStilwell, David (stilwelld) <stilwelld@att.com>2017-09-27 18:08:35 +0000
committerStilwell, David (stilwelld) <stilwelld@att.com>2017-09-27 20:04:33 +0000
commitcfbb8b16be5591adc18b8aea28b662bdf6e0a374 (patch)
tree96730d28d9ae1b93d3c95bf4ddf0a13c8e081de6 /test/csit/plans/sdnc/healthcheck/health_check.sh
parent0bf24a8901a5a2b7c5b861f9b281321c251fe618 (diff)
Fix healthcheck issues with sdnc and ccsdk
Fix listen port for ccsdk, fix image download with sdnc, fixed teardown.sh to bring down dgbuilder. Change-Id: Ib0d6c85a6f75fdfbc46dc88d6db4fdaf9296fadf Issue-ID: INT-230 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
Diffstat (limited to 'test/csit/plans/sdnc/healthcheck/health_check.sh')
-rw-r--r--test/csit/plans/sdnc/healthcheck/health_check.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/csit/plans/sdnc/healthcheck/health_check.sh b/test/csit/plans/sdnc/healthcheck/health_check.sh
index 96c99848a..e8b5056d4 100644
--- a/test/csit/plans/sdnc/healthcheck/health_check.sh
+++ b/test/csit/plans/sdnc/healthcheck/health_check.sh
@@ -17,6 +17,8 @@
SCRIPTS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo $SCRIPTS
+unset http_proxy https_proxy
+
response=$(curl --write-out '%{http_code}' --silent --output /dev/null -H "Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==" -X POST -H "X-FromAppId: csit-sdnc" -H "X-TransactionId: csit-sdnc" -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:8282/restconf/operations/SLI-API:healthcheck )
if [ "$response" == "200" ]; then