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/appc_interface.robot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'robot/resources/appc_interface.robot') diff --git a/robot/resources/appc_interface.robot b/robot/resources/appc_interface.robot index 2415539c..f74ee1de 100644 --- a/robot/resources/appc_interface.robot +++ b/robot/resources/appc_interface.robot @@ -1,7 +1,7 @@ *** Settings *** Documentation The main interface for interacting with APP-C. It handles low level stuff like managing the http request library and APP-C required fields Library RequestsLibrary -Library UUID +Library ONAPLibrary.Utilities Library OperatingSystem Library SeleniumLibrary Library StringTemplater @@ -35,7 +35,7 @@ Run APPC Post Request ${auth}= Create List ${GLOBAL_APPC_USERNAME} ${GLOBAL_APPC_PASSWORD} Log Creating session ${APPC_ENDPOINT} ${session}= Create Session appc ${APPC_ENDPOINT} auth=${auth} - ${uuid}= Generate UUID + ${uuid}= Generate UUID4 ${headers}= Create Dictionary Accept=application/${content} Content-Type=application/${content} X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID} ${resp}= Post Request appc ${data_path} data=${data} headers=${headers} Log Received response from appc ${resp.text} @@ -47,7 +47,7 @@ Run APPC Put Request ${auth}= Create List ${GLOBAL_APPC_USERNAME} ${GLOBAL_APPC_PASSWORD} Log Creating session ${APPC_ENDPOINT} ${session}= Create Session appc ${APPC_ENDPOINT} auth=${auth} - ${uuid}= Generate UUID + ${uuid}= Generate UUID4 ${headers}= Create Dictionary Accept=application/${content} Content-Type=application/${content} X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID} ${resp}= Put Request appc ${data_path} data=${data} headers=${headers} Log Received response from appc ${resp.text} -- cgit 1.2.3-korg