aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/prh_interface.robot
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-09-26 08:20:12 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-09-26 08:20:29 -0700
commite3d841145bc8e71255336a82937aabdc6e2f7e5a (patch)
treef1078c1c5f21007a3d645dedbbc12b179fa327b7 /robot/resources/prh_interface.robot
parenteb05feec6bfc54cc6ff41791ab708a7af7b9d3e9 (diff)
Revert "Healthcheck for PRH and HV-VES"
This reverts commit 3a6ff9be81f284d23b0170231de9aa9591f7e59b. Change-Id: I8b0ddfad6f2a900e29876ebe6f8f6c6c2a19b1a6 Issue-ID: INT-651 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'robot/resources/prh_interface.robot')
-rw-r--r--robot/resources/prh_interface.robot24
1 files changed, 0 insertions, 24 deletions
diff --git a/robot/resources/prh_interface.robot b/robot/resources/prh_interface.robot
deleted file mode 100644
index b7c09e8c..00000000
--- a/robot/resources/prh_interface.robot
+++ /dev/null
@@ -1,24 +0,0 @@
-*** Settings ***
-Documentation The main interface for interacting with PRH. It handles low level stuff like managing the http request library and PRH required fields
-Library RequestsLibrary
-Library UUID
-Library OperatingSystem
-Library Collections
-Resource global_properties.robot
-
-
-*** Variables ***
-${PRH_HEALTH_CHECK_PATH} /heartbeat
-${PRH_HEALTH_ENDPOINT} ${GLOBAL_SERVER_PROTOCOL}://${GLOBAL_DNS_PRH_NAME}:${GLOBAL_PRH_HEALTH_SERVER_PORT}
-
-
-*** Keywords ***
-Run PRH Health Check
- [Documentation] Runs a PRH health check
- Log Creating session ${PRH_HEALTH_ENDPOINT}
- ${session}= Create Session hv-ves ${PRH_HEALTH_ENDPOINT}
- ${uuid}= Generate UUID
- ${resp}= Get Request hv-ves ${PRH_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