From: Amichai Date: Sun, 1 Sep 2019 09:05:22 +0000 (+0300) Subject: [RICPLT-1898] Update robot files with updated REST urls X-Git-Tag: 2.0.10~26 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=refs%2Fchanges%2F50%2F850%2F1;p=ric-plt%2Fe2mgr.git [RICPLT-1898] Update robot files with updated REST urls Change-Id: I9485e9c032d84e3ebb0356be929f9760e72c41d7 Signed-off-by: Amichai --- diff --git a/Automation/Tests/Get-All-Nodes-Real/Get_all_nodes_run_setup_and_get_all.robot b/Automation/Tests/Get-All-Nodes-Real/Get_all_nodes_run_setup_and_get_all.robot index b4ae87e..b9078b4 100755 --- a/Automation/Tests/Get-All-Nodes-Real/Get_all_nodes_run_setup_and_get_all.robot +++ b/Automation/Tests/Get-All-Nodes-Real/Get_all_nodes_run_setup_and_get_all.robot @@ -46,7 +46,7 @@ Run endc setup Get all node ids - GET v1/nodeb-ids + GET v1/nodeb/ids #Output Integer response status 200 String response body 0 inventoryName test1 @@ -55,11 +55,3 @@ Get all node ids String response body 1 inventoryName test2 String response body 1 globalNbId plmnId 42f490 String response body 1 globalNbId nbId 000004 - - - - - - - - diff --git a/Automation/Tests/Get-All-Nodes/Get_nodes_Add_nodes_and_get.robot b/Automation/Tests/Get-All-Nodes/Get_nodes_Add_nodes_and_get.robot index 3d1701f..adbc73d 100755 --- a/Automation/Tests/Get-All-Nodes/Get_nodes_Add_nodes_and_get.robot +++ b/Automation/Tests/Get-All-Nodes/Get_nodes_Add_nodes_and_get.robot @@ -34,7 +34,7 @@ Add nodes to redis db Get all node ids - GET v1/nodeb-ids + GET v1/nodeb/ids Integer response status 200 String response body 0 inventoryName test1 String response body 0 globalNbId plmnId 02f829 @@ -49,12 +49,3 @@ Get all node ids Flush Redis ${result} scripts.flush Should Be Equal As Strings ${result} True - - - - - - - - - diff --git a/Automation/Tests/Reset_RIC_TO_RAN/Reset_Happy_no_cause.robot b/Automation/Tests/Reset_RIC_TO_RAN/Reset_Happy_no_cause.robot index c9203be..13eeafd 100755 --- a/Automation/Tests/Reset_RIC_TO_RAN/Reset_Happy_no_cause.robot +++ b/Automation/Tests/Reset_RIC_TO_RAN/Reset_Happy_no_cause.robot @@ -38,5 +38,5 @@ Prepare Ran in Connected connectionStatus Send Reset reqeust with no cause Set Headers ${header} - PUT /v1/nodeb-reset/test1 + PUT /v1/nodeb/test1/reset Integer response status 204 \ No newline at end of file diff --git a/Automation/Tests/Reset_RIC_TO_RAN/Reset_Happy_with_cause.robot b/Automation/Tests/Reset_RIC_TO_RAN/Reset_Happy_with_cause.robot index 693d018..651b218 100755 --- a/Automation/Tests/Reset_RIC_TO_RAN/Reset_Happy_with_cause.robot +++ b/Automation/Tests/Reset_RIC_TO_RAN/Reset_Happy_with_cause.robot @@ -38,5 +38,5 @@ Prepare Ran in Connected connectionStatus Send Reset reqeust with no cause Set Headers ${header} - PUT /v1/nodeb-reset/test1 ${resetcausejson} + PUT /v1/nodeb/test1/reset ${resetcausejson} Integer response status 204 \ No newline at end of file diff --git a/Automation/Tests/Reset_RIC_TO_RAN/Reset_unhappy.robot b/Automation/Tests/Reset_RIC_TO_RAN/Reset_unhappy.robot index 9f1b33f..546a92d 100755 --- a/Automation/Tests/Reset_RIC_TO_RAN/Reset_unhappy.robot +++ b/Automation/Tests/Reset_RIC_TO_RAN/Reset_unhappy.robot @@ -48,7 +48,7 @@ Prepare Ran in Connecting connectionStatus Send Reset reqeust with no cause Set Headers ${header} - PUT /v1/nodeb-reset/test1 ${resetcausejson} + PUT /v1/nodeb/test1/reset ${resetcausejson} Integer response status 400 Integer response body errorCode 403