aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/dcae_interface.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-06-13 16:16:52 -0400
committerDR695H <dr695h@att.com>2019-06-13 16:18:11 -0400
commit18872bc32103112ea6e1582dbb1c2764f99442f1 (patch)
tree3b87443f10657bb7c956cee67eb6c4caccf2d085 /robot/resources/dcae_interface.robot
parente65d7fec679cc393c08f0d32f1ad61bbd71a35f8 (diff)
move uuid to onaplib.utilities
Change-Id: I57860949ad4417bb080cf5269e8fcc555e089da6 Issue-ID: TEST-158 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/dcae_interface.robot')
-rw-r--r--robot/resources/dcae_interface.robot4
1 files changed, 2 insertions, 2 deletions
diff --git a/robot/resources/dcae_interface.robot b/robot/resources/dcae_interface.robot
index dd804503..7b1b4b24 100644
--- a/robot/resources/dcae_interface.robot
+++ b/robot/resources/dcae_interface.robot
@@ -1,7 +1,7 @@
*** Settings ***
Documentation The main interface for interacting with DCAE. It handles low level stuff like managing the http request library and DCAE required fields
Library RequestsLibrary
-Library UUID
+Library ONAPLibrary.Utilities
Library OperatingSystem
Library Collections
Resource global_properties.robot
@@ -16,7 +16,7 @@ Run DCAE Health Check
${auth}= Create List ${GLOBAL_DCAE_USERNAME} ${GLOBAL_DCAE_PASSWORD}
Log Creating session ${DCAE_HEALTH_ENDPOINT}
${session}= Create Session dcae ${DCAE_HEALTH_ENDPOINT} auth=${auth}
- ${uuid}= Generate UUID
+ ${uuid}= Generate UUID4
${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}
${resp}= Get Request dcae ${DCAE_HEALTH_CHECK_PATH} headers=${headers}
Log Received response code from dcae ${resp}