aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/oof_interface.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-01 13:47:56 -0400
committerDR695H <dr695h@att.com>2019-07-01 13:47:56 -0400
commit37529943e361704b159d4802c04307239c87b204 (patch)
treed29418c1941a968b2372ef03c7a63245d6088884 /robot/resources/oof_interface.robot
parent97cb0371f819f9dafbbf41301e2f844beea0351f (diff)
use latest robotframework-onap keywords
Issue-ID: TEST-171 Change-Id: Ie1db142d2e44cfe10f84403754917b6ef5989caf Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/oof_interface.robot')
-rw-r--r--robot/resources/oof_interface.robot16
1 files changed, 2 insertions, 14 deletions
diff --git a/robot/resources/oof_interface.robot b/robot/resources/oof_interface.robot
index eaf91b28..1e740a5a 100644
--- a/robot/resources/oof_interface.robot
+++ b/robot/resources/oof_interface.robot
@@ -7,6 +7,7 @@ Library String
Library DateTime
Library Collections
Library ONAPLibrary.JSON
+Library ONAPLibrary.OOF
Library ONAPLibrary.Templating
Resource global_properties.robot
@@ -60,18 +61,7 @@ RUN OOF-Homing SendPlanWithWrongVersion
Run OOF-SNIRO Health Check
[Documentation] Runs OOF-SNIRO Health check
- ${resp}= Run OOF-SNIRO Get Request ${OOF_SNIRO_HEALTH_CHECK_PATH}
- Should Be Equal As Integers ${resp.status_code} 200
-
-Run OOF-SNIRO Get Request
- [Documentation] Runs OOF-SNIRO Get request
- [Arguments] ${data_path}
- ${session}= Create Session session ${OOF_SNIRO_ENDPOINT}
- ${resp}= Get Request session ${data_path}
- Should Be Equal As Integers ${resp.status_code} 200
- Log Received response from OOF-SNIRO ${resp.text}
- [Return] ${resp}
-
+ ${resp}= Run SNIRO Get Request ${OOF_SNIRO_ENDPOINT} ${OOF_SNIRO_HEALTH_CHECK_PATH}
Run OOF-CMSO Health Check
[Documentation] Runs OOF-CMSO Health check
@@ -141,8 +131,6 @@ OOF-CMSO Create Schedule
${resp}= Run OOF-CMSO Post Scheduler cmso/v1/schedules/${uuid} data=${data}
[Return] ${resp}
-
-
OOF-CMSO Wait For Pending Approval
[Documentation] Gets the schedule identified by the uuid and checks if it is in the Pending Approval state
[Arguments] ${uuid} ${status}=Pending Approval