summaryrefslogtreecommitdiffstats
path: root/robot
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-04-07 17:03:46 +0200
committermrichomme <morgan.richomme@orange.com>2020-04-07 17:03:46 +0200
commitd7855e2dbd5cc1d854cfa465cdd6554e2f165253 (patch)
treeadaba4a284999056fb20e693dac896d9a6a7f204 /robot
parent455d399639f46c176bde234f7321913adb168f44 (diff)
Rename a variable for policy test
url is not correct, avoid confusion in var naming Issue-ID: INT-1509 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: If05ec98f3b8727ab54a0f9e0d96410329b5c47c3
Diffstat (limited to 'robot')
-rw-r--r--robot/resources/policy_interface.robot4
1 files changed, 2 insertions, 2 deletions
diff --git a/robot/resources/policy_interface.robot b/robot/resources/policy_interface.robot
index 8da8d8b7..f03ebb85 100644
--- a/robot/resources/policy_interface.robot
+++ b/robot/resources/policy_interface.robot
@@ -11,7 +11,7 @@ Resource ssh/files.robot
*** Variables ***
${POLICY_HEALTH_CHECK_PATH} /healthcheck
-${POLICY_HEALTHCHECK_PATH} /policy/pap/v1/components/healthcheck
+${POLICY_NEW_HEALTHCHECK_PATH} /policy/pap/v1/components/healthcheck
${POLICY_ENDPOINT} ${GLOBAL_POLICY_SERVER_PROTOCOL}://${GLOBAL_INJECTED_POLICY_IP_ADDR}:${GLOBAL_POLICY_SERVER_PORT}
${POLICY_HEALTHCHECK_ENDPOINT} ${GLOBAL_POLICY_SERVER_PROTOCOL}://${GLOBAL_INJECTED_POLICY_DROOLS_IP_ADDR}:${GLOBAL_POLICY_HEALTHCHECK_PORT}
${POLICY_NEW_HEALTHCHECK_ENDPOINT} ${GLOBAL_POLICY_SERVER_PROTOCOL}://${GLOBAL_INJECTED_POLICY_PAP_IP_ADDR}:${GLOBAL_POLICY_HEALTHCHECK_PORT}
@@ -49,7 +49,7 @@ Run Policy New Healthcheck
Log Creating session ${POLICY_NEW_HEALTHCHECK_ENDPOINT}
${session}= Create Session policy ${POLICY_NEW_HEALTHCHECK_ENDPOINT} auth=${auth}
${headers}= Create Dictionary Accept=application/json Content-Type=application/json
- ${resp}= Get Request policy ${POLICY_HEALTHCHECK_PATH} headers=${headers}
+ ${resp}= Get Request policy ${POLICY_NEW_HEALTHCHECK_PATH} headers=${headers}
Log Received response from policy ${resp.text}
Should Be Equal As Strings ${resp.status_code} 200
Should Be True ${resp.json()['healthy']}