summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-09-12 08:59:52 -0500
committerJorge Hernandez <jh1730@att.com>2018-09-12 13:23:24 -0500
commitfb151268c93a00844ac6a1f534fa0e1b944e1bff (patch)
treeebefbb29634059aeb11c9c0b51a34737637f100e /test/csit/scripts
parent9abeecf45f6b0e2403f1979d399c8b5ded56875d (diff)
enable https for csit policy healthchecks
Change-Id: I7d799463be0297473b8e932c4f65f3be76846686 Signed-off-by: Jorge Hernandez <jh1730@att.com> Issue-ID: POLICY-1115 Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'test/csit/scripts')
-rwxr-xr-xtest/csit/scripts/policy/script1.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/csit/scripts/policy/script1.sh b/test/csit/scripts/policy/script1.sh
index 7bb9731c8..12509eda7 100755
--- a/test/csit/scripts/policy/script1.sh
+++ b/test/csit/scripts/policy/script1.sh
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# Copyright 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright 2017-2018 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -147,7 +147,7 @@ TIME_OUT=600
INTERVAL=20
TIME=0
while [ "$TIME" -lt "$TIME_OUT" ]; do
- curl -i --user healthcheck:zb!XztG34 -H "ContentType: application/json" -H "Accept: application/json" ${POLICY_IP}:6969/healthcheck && break
+ curl -k -i --user healthcheck:zb!XztG34 -H "ContentType: application/json" -H "Accept: application/json" https://${POLICY_IP}:6969/healthcheck && break
echo Sleep: $INTERVAL seconds before testing if Policy is up. Total wait time up now is: $TIME seconds. Timeout is: $TIME_OUT seconds
sleep $INTERVAL