aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/dcae_interface.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/dcae_interface.robot')
-rw-r--r--robot/resources/dcae_interface.robot13
1 files changed, 13 insertions, 0 deletions
diff --git a/robot/resources/dcae_interface.robot b/robot/resources/dcae_interface.robot
index dd804503..9b447ded 100644
--- a/robot/resources/dcae_interface.robot
+++ b/robot/resources/dcae_interface.robot
@@ -8,7 +8,10 @@ Resource global_properties.robot
*** Variables ***
${DCAE_HEALTH_CHECK_PATH} /healthcheck
+${VES_HV_HEALTH_CHECK_PATH} /health/ready
${DCAE_HEALTH_ENDPOINT} ${GLOBAL_DCAE_SERVER_PROTOCOL}://${GLOBAL_INJECTED_DCAE_IP_ADDR}:${GLOBAL_DCAE_HEALTH_SERVER_PORT}
+${VES_HV_HEALTH_ENDPOINT} ${GLOBAL_DCAE_SERVER_PROTOCOL}://${GLOBAL_DNS_VES_NAME}:${GLOBAL_HV_VES_HEALTH_SERVER_PORT}
+
*** Keywords ***
Run DCAE Health Check
@@ -22,3 +25,13 @@ Run DCAE Health Check
Log Received response code from dcae ${resp}
Log Received content from dcae ${resp.content}
Should Be Equal As Strings ${resp.status_code} 200
+
+Run VES-HV Health Check
+ [Documentation] Runs a VES-HV health check
+ Log Creating session ${VES_HV_HEALTH_ENDPOINT}
+ ${session}= Create Session hv-ves ${VES_HV_HEALTH_ENDPOINT}
+ ${uuid}= Generate UUID
+ ${resp}= Get Request hv-ves ${VES_HV_HEALTH_CHECK_PATH}
+ Log Received response code from hv-ves ${resp}
+ Log Received content from hv-ves ${resp.content}
+ Should Be Equal As Strings ${resp.status_code} 200