aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/mr_interface.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2017-06-30 13:09:57 -0400
committerDR695H <dr695h@att.com>2017-06-30 13:17:56 -0400
commitbf5a3a3745c9669dd6eeea3d2ef5b3bbaa3e9f74 (patch)
treeac51047b1768056c71e7f67ec22cbb8d391cb741 /robot/resources/mr_interface.robot
parente2a48d77875821fc4786b33f8a96d41c79d71224 (diff)
[TEST-45] support injectable ips
today onap ips are hard coded so we should support having them injectable from external sources Change-Id: Id7911df331207a9198e9bf43168b9a6843db6f48 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/mr_interface.robot')
-rw-r--r--robot/resources/mr_interface.robot4
1 files changed, 3 insertions, 1 deletions
diff --git a/robot/resources/mr_interface.robot b/robot/resources/mr_interface.robot
index 11c9348f..717fc7c8 100644
--- a/robot/resources/mr_interface.robot
+++ b/robot/resources/mr_interface.robot
@@ -8,6 +8,8 @@ Resource global_properties.robot
*** Variables ***
${MR_HEALTH_CHECK_PATH} /topics
+${MR_ENDPOINT} ${GLOBAL_MR_SERVER_PROTOCOL}://${GLOBAL_INJECTED_MR_IP_ADDR}:${GLOBAL_MR_SERVER_PROTOCOL}
+
*** Keywords ***
Run MR Health Check
@@ -19,7 +21,7 @@ Run MR Health Check
Run MR Get Request
[Documentation] Runs MR Get request
[Arguments] ${data_path}
- ${session}= Create Session mr ${GLOBAL_MR_SERVER}
+ ${session}= Create Session mr ${MR_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 mr ${data_path} headers=${headers}