summaryrefslogtreecommitdiffstats
path: root/testsuites/performance/src/main/resources/testplans/clearuppolicies.sh
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2021-10-18 17:26:44 +0100
committeradheli.tavares <adheli.tavares@est.tech>2021-10-21 08:54:59 +0100
commit555f2fd3c8321bbad9dbfc21f01982a50a1cd555 (patch)
tree99cdbf3482163fcb2d233d4e004cfed8e8c9cbff /testsuites/performance/src/main/resources/testplans/clearuppolicies.sh
parent3b5519f9308f36e4cb056c2d2430c6fa46e98f4d (diff)
Updating Distribution S3P configuration.
- fixing the scripts and jmx files after stability long run failures. Issue-ID: POLICY-3654 Change-Id: I0ff0bf625f226f1b71664c1817cef65fbd5cf5a6 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'testsuites/performance/src/main/resources/testplans/clearuppolicies.sh')
-rwxr-xr-xtestsuites/performance/src/main/resources/testplans/clearuppolicies.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/performance/src/main/resources/testplans/clearuppolicies.sh b/testsuites/performance/src/main/resources/testplans/clearuppolicies.sh
index d67df1c1..e9b4252a 100755
--- a/testsuites/performance/src/main/resources/testplans/clearuppolicies.sh
+++ b/testsuites/performance/src/main/resources/testplans/clearuppolicies.sh
@@ -1,5 +1,5 @@
# ============LICENSE_START=======================================================
-# Copyright (c) 2020 Nordix Foundation.
+# Copyright (c) 2020-2021 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
# the directory of the script
if [ $# -le 3 ]
then
- echo "Usage ./addcsars.sh \$POLICY_API_IP \$POLICY_API_PORT \$POLICY_PAP_IP \$POLICY_PAP_PORT"
+ echo "Usage ./clearuppolicies.sh \$POLICY_API_IP \$POLICY_API_PORT \$POLICY_PAP_IP \$POLICY_PAP_PORT"
exit 1
fi
POLICY_API_IP=$1
@@ -36,9 +36,9 @@ send_delete_request(){
COUNTER=1
while [ $COUNTER != 11 ]
do
- send_delete_request https://"$POLICY_PAP_IP":"$POLICY_PAP_PORT"/policy/pap/v1/pdps/policies/\
+ send_delete_request http://"$POLICY_PAP_IP":"$POLICY_PAP_PORT"/policy/pap/v1/pdps/policies/\
operational.apex.sampledomain.test$COUNTER
- send_delete_request https://"$POLICY_API_IP":"$POLICY_API_PORT"/policy/api/v1/policytypes/operational\
+ send_delete_request http://"$POLICY_API_IP":"$POLICY_API_PORT"/policy/api/v1/policytypes/operational\
.apex.sampledomain.test$COUNTER/versions/1.0.0/policies/operational.apex.sampledomain.test$COUNTER/versions/1.0.0
COUNTER=$((COUNTER +1))
done