From 18872bc32103112ea6e1582dbb1c2764f99442f1 Mon Sep 17 00:00:00 2001 From: DR695H Date: Thu, 13 Jun 2019 16:16:52 -0400 Subject: move uuid to onaplib.utilities Change-Id: I57860949ad4417bb080cf5269e8fcc555e089da6 Issue-ID: TEST-158 Signed-off-by: DR695H --- robot/resources/vid/vid_interface.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'robot/resources/vid/vid_interface.robot') diff --git a/robot/resources/vid/vid_interface.robot b/robot/resources/vid/vid_interface.robot index dd68ede8..2deef678 100644 --- a/robot/resources/vid/vid_interface.robot +++ b/robot/resources/vid/vid_interface.robot @@ -4,7 +4,7 @@ Library SeleniumLibrary Library Collections Library String Library RequestsLibrary -Library UUID +Library ONAPLibrary.Utilities Resource ../global_properties.robot Resource ../browser_setup.robot @@ -29,7 +29,7 @@ Run VID Get Request ${auth}= Create List ${GLOBAL_VID_HEALTH_USERNAME} ${GLOBAL_VID_HEALTH_PASSWORD} Log Creating session ${VID_ENDPOINT} ${session}= Create Session vid ${VID_ENDPOINT} auth=${auth} - ${uuid}= Generate UUID + ${uuid}= Generate UUID4 ${headers}= Create Dictionary username=${GLOBAL_VID_HEALTH_USERNAME} password=${GLOBAL_VID_HEALTH_PASSWORD} Accept=application/json Content-Type=application/json X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID} ${resp}= Get Request vid ${data_path} headers=${headers} Log Received response from vid ${resp.text} -- cgit 1.2.3-korg