From 102f3207fbec080e81d4abaa9c7277cbf5d52a37 Mon Sep 17 00:00:00 2001 From: DR695H Date: Fri, 24 May 2019 15:05:03 -0400 Subject: move the main so interface to use onaplibrary left some cloud config and direct instantiate seperate Change-Id: I4c508d5403c660f83b14b98585111b9219bae6b7 Issue-ID: TEST-158 Signed-off-by: DR695H --- robot/resources/vid/create_service_instance.robot | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'robot/resources/vid/create_service_instance.robot') diff --git a/robot/resources/vid/create_service_instance.robot b/robot/resources/vid/create_service_instance.robot index 45ea899d..ffb3e044 100644 --- a/robot/resources/vid/create_service_instance.robot +++ b/robot/resources/vid/create_service_instance.robot @@ -1,14 +1,13 @@ *** Settings *** Documentation Creates VID Service Instance -... -... Creates VID Service Instance Library SeleniumLibrary Library ONAPLibrary.Utilities Library String Library DateTime +Library ONAPLibrary.SO WITH NAME SO -Resource ../so_interface.robot +Resource ../global_properties.robot Resource vid_interface.robot *** Keywords *** @@ -37,7 +36,8 @@ 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} - Poll MSO Get Request ${GLOBAL_MSO_STATUS_PATH}${request_id} COMPLETE + ${auth}= Create List ${GLOBAL_MSO_USERNAME} ${GLOBAL_MSO_PASSWORD} + SO.Run Polling Get Request ${GLOBAL_SO_ENDPOINT} ${GLOBAL_MSO_STATUS_PATH}${request_id} auth=${auth} [return] ${service_instance_id} Wait For Model @@ -58,8 +58,8 @@ 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} - Poll MSO Get Request ${GLOBAL_MSO_STATUS_PATH}${request_id} COMPLETE - + ${auth}= Create List ${GLOBAL_MSO_USERNAME} ${GLOBAL_MSO_PASSWORD} + SO.Run Polling Get Request ${GLOBAL_SO_ENDPOINT} ${GLOBAL_MSO_STATUS_PATH}${request_id} auth=${auth} Search Service Instance [Arguments] ${service_instance_id} -- cgit 1.2.3-korg