diff options
author | DR695H <dr695h@att.com> | 2017-06-30 13:09:57 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2017-06-30 13:17:56 -0400 |
commit | bf5a3a3745c9669dd6eeea3d2ef5b3bbaa3e9f74 (patch) | |
tree | ac51047b1768056c71e7f67ec22cbb8d391cb741 /robot/resources/dcae_interface.robot | |
parent | e2a48d77875821fc4786b33f8a96d41c79d71224 (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/dcae_interface.robot')
-rw-r--r-- | robot/resources/dcae_interface.robot | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/robot/resources/dcae_interface.robot b/robot/resources/dcae_interface.robot index 62a13af5..392a2b04 100644 --- a/robot/resources/dcae_interface.robot +++ b/robot/resources/dcae_interface.robot @@ -9,13 +9,14 @@ Resource global_properties.robot *** Variables *** ${DCAE_HEALTH_CHECK_BODY} robot/assets/dcae/dcae_healthcheck.json ${DCAE_HEALTH_CHECK_PATH} /gui +${DCAE_ENDPOINT} ${GLOBAL_DCAE_SERVER_PROTOCOL}://${GLOBAL_INJECTED_DCAE_IP_ADDR}:${GLOBAL_DCAE_SERVER_PORT} *** Keywords *** Run DCAE Health Check [Documentation] Runs a DCAE health check ${auth}= Create List ${GLOBAL_DCAE_USERNAME} ${GLOBAL_DCAE_PASSWORD} - Log Creating session ${GLOBAL_DCAE_SERVER} - ${session}= Create Session dcae ${GLOBAL_DCAE_SERVER} auth=${auth} + Log Creating session ${DCAE_ENDPOINT} + ${session}= Create Session dcae ${DCAE_ENDPOINT} auth=${auth} ${uuid}= Generate UUID ${data}= OperatingSystem.Get File ${DCAE_HEALTH_CHECK_BODY} ${headers}= Create Dictionary X-ECOMP-Client-Version=ONAP-R2 action=getTable Accept=application/json Content-Type=application/json X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID} |