aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/plans/appc/healthcheck/health_check.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-09-17 16:59:27 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-17 16:59:27 +0000
commit163268e093ac448932332c0df336f7e1af49c47a (patch)
tree1dd4cd2fad2428ce9c52dfbbc0bf1ab780073948 /test/csit/plans/appc/healthcheck/health_check.sh
parenta342b2147f0c1a0eb0ce4304fea0e054b34edbab (diff)
parentb68947ce0c43244237b96955c1e9ae175d8eeef1 (diff)
Merge "Add support for ODL credentials that have changed"
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."