summaryrefslogtreecommitdiffstats
path: root/robot/resources/vid
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-26 16:42:36 -0400
committerBrian Freeman <bf1936@att.com>2019-07-29 21:17:12 +0000
commitc0cf6a4765212cc66e364fa0eb43a2447366ce5b (patch)
tree2c06f76cf4e4767ec9193d1e956e60e4c0b78120 /robot/resources/vid
parent48f75c98969feebfb151d469b5cb70054f2493c3 (diff)
renaming openecomp to onap
Issue-ID: TEST-27 Change-Id: I8449025f1032719f04d0e283e12d9f9bc75542b7 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/vid')
-rw-r--r--robot/resources/vid/create_service_instance.robot4
-rw-r--r--robot/resources/vid/create_vid_vnf.robot4
-rw-r--r--robot/resources/vid/teardown_vid.robot2
-rw-r--r--robot/resources/vid/vid_interface.robot8
4 files changed, 9 insertions, 9 deletions
diff --git a/robot/resources/vid/create_service_instance.robot b/robot/resources/vid/create_service_instance.robot
index fb03451e..e617d8fc 100644
--- a/robot/resources/vid/create_service_instance.robot
+++ b/robot/resources/vid/create_service_instance.robot
@@ -36,7 +36,7 @@ Create VID Service Instance
Click On Button When Enabled //div[@class = 'buttonRow']/button[text() = 'Close']
${request_id}= Parse Request Id ${response text}
${service_instance_id}= Parse Instance Id ${response text}
- ${auth}= Create List ${GLOBAL_MSO_USERNAME} ${GLOBAL_MSO_PASSWORD}
+ ${auth}= Create List ${GLOBAL_SO_USERNAME} ${GLOBAL_SO_PASSWORD}
SO.Run Polling Get Request ${GLOBAL_SO_ENDPOINT} ${GLOBAL_SO_STATUS_PATH}${request_id} auth=${auth}
[return] ${service_instance_id}
@@ -58,7 +58,7 @@ Delete Service Instance By GUI
Wait Until Element Contains xpath=//div[@ng-controller='deletionDialogController']//div[@ng-controller= 'msoCommitController']/pre[@class = 'log ng-binding'] requestId timeout=${GLOBAL_VID_UI_TIMEOUT_LONG}
${response text}= Get Text xpath=//div[@ng-controller='deletionDialogController']//div[@ng-controller= 'msoCommitController']/pre[@class = 'log ng-binding']
${request_id}= Parse Request Id ${response text}
- ${auth}= Create List ${GLOBAL_MSO_USERNAME} ${GLOBAL_MSO_PASSWORD}
+ ${auth}= Create List ${GLOBAL_SO_USERNAME} ${GLOBAL_SO_PASSWORD}
SO.Run Polling Get Request ${GLOBAL_SO_ENDPOINT} ${GLOBAL_SO_STATUS_PATH}${request_id} auth=${auth}
Search Service Instance
diff --git a/robot/resources/vid/create_vid_vnf.robot b/robot/resources/vid/create_vid_vnf.robot
index 4bc1dbd8..5ca55e48 100644
--- a/robot/resources/vid/create_vid_vnf.robot
+++ b/robot/resources/vid/create_vid_vnf.robot
@@ -83,7 +83,7 @@ Delete VID VNF
${response text}= Get Text xpath=//div[@ng-controller='deletionDialogController']//div[@ng-controller= 'msoCommitController']/pre[@class = 'log ng-binding']
${request_id}= Parse Request Id ${response text}
- ${auth}= Create List ${GLOBAL_MSO_USERNAME} ${GLOBAL_MSO_PASSWORD}
+ ${auth}= Create List ${GLOBAL_SO_USERNAME} ${GLOBAL_SO_PASSWORD}
${resp}= SO.Run Polling Get Request ${GLOBAL_SO_ENDPOINT} ${GLOBAL_SO_STATUS_PATH}${request_id} auth=${auth}
Create VID VNF module
@@ -124,7 +124,7 @@ Create VID VNF module
${instance_id}= Parse Instance Id ${response text}
${request_id}= Parse Request Id ${response text}
- ${auth}= Create List ${GLOBAL_MSO_USERNAME} ${GLOBAL_MSO_PASSWORD}
+ ${auth}= Create List ${GLOBAL_SO_USERNAME} ${GLOBAL_SO_PASSWORD}
${resp}= SO.Run Polling Get Request ${GLOBAL_SO_ENDPOINT} ${GLOBAL_SO_STATUS_PATH}${request_id} auth=${auth}
[Return] ${instance_id}
diff --git a/robot/resources/vid/teardown_vid.robot b/robot/resources/vid/teardown_vid.robot
index ddffa575..46f5a33a 100644
--- a/robot/resources/vid/teardown_vid.robot
+++ b/robot/resources/vid/teardown_vid.robot
@@ -82,7 +82,7 @@ Delete Next VID Entity
${response text}= Get Text xpath=//div[@ng-controller='deletionDialogController']//div[@ng-controller= 'msoCommitController']/pre[@class = 'log ng-binding']
${request_id}= Parse Request Id ${response text}
Click Element xpath=//div[@class='ng-scope']/div[@class = 'buttonRow']/button[text() = 'Close']
- ${auth}= Create List ${GLOBAL_MSO_USERNAME} ${GLOBAL_MSO_PASSWORD}
+ ${auth}= Create List ${GLOBAL_SO_USERNAME} ${GLOBAL_SO_PASSWORD}
${resp}= SO.Run Polling Get Request ${GLOBAL_SO_ENDPOINT} ${GLOBAL_SO_STATUS_PATH}${request_id} auth=${auth}
[Return] ${teardown_status} ${vfmodule}
diff --git a/robot/resources/vid/vid_interface.robot b/robot/resources/vid/vid_interface.robot
index 29af9148..0e74a486 100644
--- a/robot/resources/vid/vid_interface.robot
+++ b/robot/resources/vid/vid_interface.robot
@@ -88,16 +88,16 @@ Input Text When Enabled
Input Text xpath=${xpath} ${value}
Parse Request Id
- [Arguments] ${mso_response_text}
- ${request_list}= Split String ${mso_response_text} 202)\n 1
+ [Arguments] ${so_response_text}
+ ${request_list}= Split String ${so_response_text} 202)\n 1
${clean_string}= Replace String ${request_list[1]} \n ${empty}
${json}= To Json ${clean_string}
${request_id}= Catenate ${json['requestReferences']['requestId']}
[Return] ${request_id}
Parse Instance Id
- [Arguments] ${mso_response_text}
- ${request_list}= Split String ${mso_response_text} 202)\n 1
+ [Arguments] ${so_response_text}
+ ${request_list}= Split String ${so_response_text} 202)\n 1
${json}= To Json ${request_list[1]}
${request_id}= Catenate ${json['requestReferences']['instanceId']}
[Return] ${request_id}