diff options
author | DR695H <dr695h@att.com> | 2019-07-19 18:20:40 -0400 |
---|---|---|
committer | Gary Wu <gary.wu@futurewei.com> | 2019-07-22 20:30:51 +0000 |
commit | d979465ec6720dffbebd22bd83104ea5a5f4e65e (patch) | |
tree | 584f93eed3328a3dcdf195d26855717491fac304 /robot/resources/clamp_interface.robot | |
parent | fe131258f17c871a738a3fd6b1b73c056a5a5978 (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/clamp_interface.robot')
-rw-r--r-- | robot/resources/clamp_interface.robot | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/robot/resources/clamp_interface.robot b/robot/resources/clamp_interface.robot index a83bc4d3..8aaaa556 100644 --- a/robot/resources/clamp_interface.robot +++ b/robot/resources/clamp_interface.robot @@ -4,7 +4,7 @@ Library RequestsLibrary Library Collections Library String Library ONAPLibrary.JSON -Library ONAPLibrary.Templating +Library ONAPLibrary.Templating WITH NAME Templating Resource global_properties.robot *** Variables *** @@ -22,8 +22,8 @@ Run CLAMP Create Model [Documentation] Create a new CLAMP Model [Arguments] ${model_name} ${template_name} ${dict}= Create Dictionary MODEL_NAME=${model_name} TEMPLATE_NAME=${template_name} - Create Environment clamp ${GLOBAL_TEMPLATE_FOLDER} - ${data}= Apply Template clamp ${CLAMP_TEMPLATE_PATH}/create_model.jinja ${dict} + Templating.Create Environment clamp ${GLOBAL_TEMPLATE_FOLDER} + ${data}= Templating.Apply Template clamp ${CLAMP_TEMPLATE_PATH}/create_model.jinja ${dict} ${data_path}= Set Variable ${CLAMP_BASE_PATH}/clds/model/${model_name} ${resp}= Run CLAMP HTTPS Put Request ${data_path} ${data} Should Be Equal As Strings ${resp.status_code} 200 @@ -35,8 +35,8 @@ Run CLAMP Save vLB Model [Documentation] Save CLAMP Model [Arguments] ${model_name} ${template_name} ${policy_name} ${dict}= Create Dictionary MODEL_NAME=${model_name} TEMPLATE_NAME=${template_name} POLICY_NAME=${policy_name} DOLLAR_SIGN=$ - Create Environment clamp ${GLOBAL_TEMPLATE_FOLDER} - ${data}= Apply Template clamp ${CLAMP_TEMPLATE_PATH}/save_model_vlb.jinja ${dict} + Templating.Create Environment clamp ${GLOBAL_TEMPLATE_FOLDER} + ${data}= Templating.Apply Template clamp ${CLAMP_TEMPLATE_PATH}/save_model_vlb.jinja ${dict} ${data_path}= Set Variable ${CLAMP_BASE_PATH}/clds/model/${model_name} ${resp}= Run CLAMP HTTPS Put Request ${data_path} ${data} Should Be Equal As Strings ${resp.status_code} 200 |