aboutsummaryrefslogtreecommitdiffstats
path: root/csit/clamp/tests/policy-clamp-test.robot
diff options
context:
space:
mode:
Diffstat (limited to 'csit/clamp/tests/policy-clamp-test.robot')
-rw-r--r--csit/clamp/tests/policy-clamp-test.robot20
1 files changed, 10 insertions, 10 deletions
diff --git a/csit/clamp/tests/policy-clamp-test.robot b/csit/clamp/tests/policy-clamp-test.robot
index c9ad34af..94b3d54a 100644
--- a/csit/clamp/tests/policy-clamp-test.robot
+++ b/csit/clamp/tests/policy-clamp-test.robot
@@ -9,9 +9,9 @@ Library json
CommissionControlLoopV1
[Documentation] Commission control loop.
${auth}= Create List healthcheck zb!XztG34
- Log Creating session http://${POLICY_CONTROLLOOP_RUNTIME_IP}:6970
+ Log Creating session https://${POLICY_CONTROLLOOP_RUNTIME_IP}:6969
${postyaml}= Get file ${CURDIR}/data/PMSHMultipleCLTosca.yaml
- ${session}= Create Session policy http://${POLICY_CONTROLLOOP_RUNTIME_IP}:6970 auth=${auth}
+ ${session}= Create Session policy https://${POLICY_CONTROLLOOP_RUNTIME_IP}:6969 auth=${auth}
${headers}= Create Dictionary Accept=application/yaml Content-Type=application/yaml
${resp}= POST On Session policy /onap/controlloop/v2/commission data=${postyaml} headers=${headers}
Log Received response from controlloop runtime ${resp.text}
@@ -20,9 +20,9 @@ CommissionControlLoopV1
InstantiateControlLoopV1
[Documentation] Instantiate control loop.
${auth}= Create List healthcheck zb!XztG34
- Log Creating session http://${POLICY_CONTROLLOOP_RUNTIME_IP}:6970
+ Log Creating session https://${POLICY_CONTROLLOOP_RUNTIME_IP}:6969
${postjson}= Get file ${CURDIR}/data/InstantiateCL.json
- ${session}= Create Session policy http://${POLICY_CONTROLLOOP_RUNTIME_IP}:6970 auth=${auth}
+ ${session}= Create Session policy https://${POLICY_CONTROLLOOP_RUNTIME_IP}:6969 auth=${auth}
${headers}= Create Dictionary Accept=application/json Content-Type=application/json
${resp}= POST On Session policy /onap/controlloop/v2/instantiation data=${postjson} headers=${headers}
Log Received response from controlloop runtime ${resp.text}
@@ -31,9 +31,9 @@ InstantiateControlLoopV1
PassivateControlLoop
[Documentation] Passivate control loop.
${auth}= Create List healthcheck zb!XztG34
- Log Creating session http://${POLICY_CONTROLLOOP_RUNTIME_IP}:6970
+ Log Creating session https://${POLICY_CONTROLLOOP_RUNTIME_IP}:6969
${postjson}= Get file ${CURDIR}/data/PassivateCL.json
- ${session}= Create Session policy http://${POLICY_CONTROLLOOP_RUNTIME_IP}:6970 auth=${auth}
+ ${session}= Create Session policy https://${POLICY_CONTROLLOOP_RUNTIME_IP}:6969 auth=${auth}
${headers}= Create Dictionary Accept=application/json Content-Type=application/json
${resp}= PUT On Session policy /onap/controlloop/v2/instantiation/command data=${postjson} headers=${headers}
Log Received response from controlloop runtime ${resp.text}
@@ -62,9 +62,9 @@ QueryPolicyTypes
StateChangeRunningControlLoop
[Documentation] ControlLoop State Change to RUNNING.
${auth}= Create List healthcheck zb!XztG34
- Log Creating session http://${POLICY_CONTROLLOOP_RUNTIME_IP}:6970
+ Log Creating session https://${POLICY_CONTROLLOOP_RUNTIME_IP}:6969
${postjson}= Get file ${CURDIR}/data/StateChangeRunningCL.json
- ${session}= Create Session policy http://${POLICY_CONTROLLOOP_RUNTIME_IP}:6970 auth=${auth}
+ ${session}= Create Session policy https://${POLICY_CONTROLLOOP_RUNTIME_IP}:6969 auth=${auth}
${headers}= Create Dictionary Accept=application/json Content-Type=application/json
${resp}= PUT On Session policy /onap/controlloop/v2/instantiation/command data=${postjson} headers=${headers} expected_status=406
Log Received response from controlloop runtime ${resp.text}
@@ -72,8 +72,8 @@ StateChangeRunningControlLoop
QueryInstantiatedCLs
[Documentation] Get Instantiated ControlLoops
${auth}= Create List healthcheck zb!XztG34
- Log Creating session http://${POLICY_CONTROLLOOP_RUNTIME_IP}:6970
- ${session}= Create Session policy http://${POLICY_CONTROLLOOP_RUNTIME_IP}:6970 auth=${auth}
+ Log Creating session https://${POLICY_CONTROLLOOP_RUNTIME_IP}:6969
+ ${session}= Create Session policy https://${POLICY_CONTROLLOOP_RUNTIME_IP}:6969 auth=${auth}
${headers}= Create Dictionary Accept=application/json Content-Type=application/json
${resp}= GET On Session policy /onap/controlloop/v2/instantiation headers=${headers}
Log Received response from controlloop runtime ${resp.text}