summaryrefslogtreecommitdiffstats
path: root/robot/resources/portal_interface.robot
diff options
context:
space:
mode:
authorDaniel Rose <dr695h@att.com>2017-07-27 20:23:07 +0000
committerGerrit Code Review <gerrit@onap.org>2017-07-27 20:23:07 +0000
commit8d6913f1a512f6185b7dd00ca688f71cafebefff (patch)
tree4eefa49340698a7818304eea2b606199e19c75fd /robot/resources/portal_interface.robot
parent41e03d2a96990ed8e2eb0e42f0a28deeb3981064 (diff)
parentbf5a3a3745c9669dd6eeea3d2ef5b3bbaa3e9f74 (diff)
Merge "[TEST-45] support injectable ips"
Diffstat (limited to 'robot/resources/portal_interface.robot')
-rw-r--r--robot/resources/portal_interface.robot3
1 files changed, 2 insertions, 1 deletions
diff --git a/robot/resources/portal_interface.robot b/robot/resources/portal_interface.robot
index 7d53b378..29205292 100644
--- a/robot/resources/portal_interface.robot
+++ b/robot/resources/portal_interface.robot
@@ -8,6 +8,7 @@ Resource global_properties.robot
*** Variables ***
${PORTAL_HEALTH_CHECK_PATH} /ECOMPPORTAL/portalApi/healthCheck
+${PORTAL_ENDPOINT} ${GLOBAL_PORTAL_SERVER_PROTOCOL}://${GLOBAL_INJECTED_PORTAL_IP_ADDR}:${GLOBAL_PORTAL_SERVER_PORT}
*** Keywords ***
Run Portal Health Check
@@ -19,7 +20,7 @@ Run Portal Health Check
Run Portal Get Request
[Documentation] Runs Portal Get request
[Arguments] ${data_path}
- ${session}= Create Session portal ${GLOBAL_PORTAL_SERVER}
+ ${session}= Create Session portal ${PORTAL_ENDPOINT}
${uuid}= Generate UUID
${headers}= Create Dictionary Accept=application/json Content-Type=application/json X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID}
${resp}= Get Request portal ${data_path} headers=${headers}