summaryrefslogtreecommitdiffstats
path: root/robot/resources/mr_interface.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-19 18:20:40 -0400
committerGary Wu <gary.wu@futurewei.com>2019-07-22 20:30:51 +0000
commitd979465ec6720dffbebd22bd83104ea5a5f4e65e (patch)
tree584f93eed3328a3dcdf195d26855717491fac304 /robot/resources/mr_interface.robot
parentfe131258f17c871a738a3fd6b1b73c056a5a5978 (diff)
replace aai keywords with aai lib
Issue-ID: TEST-174 Change-Id: Id4fd63c8f25cd695f77c3e81f658c8dbd99914f4 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/mr_interface.robot')
-rw-r--r--robot/resources/mr_interface.robot10
1 files changed, 5 insertions, 5 deletions
diff --git a/robot/resources/mr_interface.robot b/robot/resources/mr_interface.robot
index 2c79d075..7a3c3d90 100644
--- a/robot/resources/mr_interface.robot
+++ b/robot/resources/mr_interface.robot
@@ -5,7 +5,7 @@ Library DateTime
Library Process
Library ONAPLibrary.JSON
Library ONAPLibrary.Utilities
-Library ONAPLibrary.Templating
+Library ONAPLibrary.Templating WITH NAME Templating
Resource global_properties.robot
@@ -54,8 +54,8 @@ Run MR Update Topic Acl
# Appears to not care if topic already exists with the POST / PUT method
#
${dict}= Create Dictionary TOPIC_NAME=TEST_TOPIC_ACL
- Create Environment mr ${GLOBAL_TEMPLATE_FOLDER}
- ${data}= Apply Template mr ${MR_PUT_ACL_TEMPLATE} ${dict}
+ Templating.Create Environment mr ${GLOBAL_TEMPLATE_FOLDER}
+ ${data}= Templating.Apply Template mr ${MR_PUT_ACL_TEMPLATE} ${dict}
${resp}= Run MR Auth Post Request ${MR_CREATE_TOPIC_PATH} iPIxkpAMI8qTcQj8 Ehq3WyT4bkif4zwgEbvshGal ${data}
#Log Update Owner for TEST_TOPIC_ACL
${resp}= Run MR Auth Put Request ${MR_UPDATE_ACL_TOPIC_PATH}/iPIxkpAMI8qTcQj8 iPIxkpAMI8qTcQj8 Ehq3WyT4bkif4zwgEbvshGal ${data}
@@ -111,8 +111,8 @@ Run MR Post Request
${session}= Create Session mr ${MR_ENDPOINT}
${timestamp}= Get Current Date
${dict}= Create Dictionary timestamp=${timestamp}
- Create Environment mr ${GLOBAL_TEMPLATE_FOLDER}
- ${data}= Apply Template mr ${MR_PUBLISH_TEMPLATE} ${dict}
+ Templating.Create Environment mr ${GLOBAL_TEMPLATE_FOLDER}
+ ${data}= Templating.Apply Template mr ${MR_PUBLISH_TEMPLATE} ${dict}
${uuid}= Generate UUID4
${headers}= Create Dictionary Accept=application/json Content-Type=application/json X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID}
${resp}= Post Request mr ${data_path} data=${data} headers=${headers}