aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/plans/ccsdk/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/ccsdk/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/ccsdk/healthcheck/health_check.sh')
-rw-r--r--test/csit/plans/ccsdk/healthcheck/health_check.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/csit/plans/ccsdk/healthcheck/health_check.sh b/test/csit/plans/ccsdk/healthcheck/health_check.sh
index db5795eae..ffc766fe9 100644
--- a/test/csit/plans/ccsdk/healthcheck/health_check.sh
+++ b/test/csit/plans/ccsdk/healthcheck/health_check.sh
@@ -17,7 +17,9 @@
SCRIPTS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo $SCRIPTS
-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-ccsdk" -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:8282/restconf/operations/SLI-API:healthcheck )
+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-ccsdk" -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:8383/restconf/operations/SLI-API:healthcheck )
if [ "$response" == "200" ]; then
echo "CCSDK health check passed."