[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>
diff --git a/robot/resources/portal_interface.robot b/robot/resources/portal_interface.robot
index 7d53b37..2920529 100644
--- a/robot/resources/portal_interface.robot
+++ b/robot/resources/portal_interface.robot
@@ -8,6 +8,7 @@
 
 *** 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 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}