summaryrefslogtreecommitdiffstats
path: root/csit
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2023-03-29 17:25:09 -0400
committerDan Timoney <dtimoney@att.com>2023-03-30 09:38:32 -0400
commit2242f0193eb17ebd9143f9e8afb8bcefda9672d7 (patch)
tree1b79781fec3e72b44269dc6f6a318b66c8c1a6a4 /csit
parent5a763149e6c57b72a4a59faf3300bb55c7c2279a (diff)
Fix CSIT test issues1.5.1
Updated healthcheck to use RFC8040 style URL instead of Biermann. Removed code that installs idm file to reset admin password - format is not correct for Chlorine. Issue-ID: CCSDK-3812 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I9f422325dc42c41a9d5b6943f784503217be7294
Diffstat (limited to 'csit')
-rw-r--r--csit/scripts/healthcheck/health_check.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/csit/scripts/healthcheck/health_check.sh b/csit/scripts/healthcheck/health_check.sh
index aed3b5ab..de683b5c 100644
--- a/csit/scripts/healthcheck/health_check.sh
+++ b/csit/scripts/healthcheck/health_check.sh
@@ -19,7 +19,8 @@
###############################################################################
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 )
+# 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 )
+response=$(curl --write-out '%{http_code}' --silent --output /dev/null -H "Authorization: Basic YWRtaW46YWRtaW4=" -X POST -H "X-FromAppId: csit-sdnc" -H "X-TransactionId: csit-ccsdk" -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:8383/rests/operations/SLI-API:healthcheck )
if [ "$response" == "200" ]; then
echo "CCSDK health check passed."