aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/plans/appc/healthcheck/health_check.sh
diff options
context:
space:
mode:
authorAaron Hay <ah415j@att.com>2018-08-30 02:17:23 -0400
committerAaron Hay <ah415j@att.com>2018-09-14 15:31:25 +0000
commitb68947ce0c43244237b96955c1e9ae175d8eeef1 (patch)
treee479e7ec3ffa38c05ee6badb670fc3614fa6f860 /test/csit/plans/appc/healthcheck/health_check.sh
parent04b55da457380867784c8d2c9ccaa44c73c35544 (diff)
Add support for ODL credentials that have changed
Add support for ODL credentials that have changed with the latest Oxygen upgrade Change-Id: I048eb38b584741dd575c288b0a89b8d7689fa286 Issue-ID: INT-641 Signed-off-by: Aaron Hay <ah415j@att.com>
Diffstat (limited to 'test/csit/plans/appc/healthcheck/health_check.sh')
-rwxr-xr-xtest/csit/plans/appc/healthcheck/health_check.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/csit/plans/appc/healthcheck/health_check.sh b/test/csit/plans/appc/healthcheck/health_check.sh
index e4cfae8f5..775188f64 100755
--- a/test/csit/plans/appc/healthcheck/health_check.sh
+++ b/test/csit/plans/appc/healthcheck/health_check.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
###############################################################################
-# Copyright 2017 Huawei Technologies Co., Ltd.
+# Copyright 2018 AT&T
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
SCRIPTS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo $SCRIPTS
-response=$(curl --write-out '%{http_code}' --silent --output /dev/null -H "Authorization: Basic YWRtaW46YWRtaW4=" -X POST -H "X-FromAppId: csit-appc" -H "X-TransactionId: csit-appc" -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:8282/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-appc" -H "X-TransactionId: csit-appc" -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:8282/restconf/operations/SLI-API:healthcheck )
if [ "$response" == "200" ]; then
echo "APPC health check passed."