aboutsummaryrefslogtreecommitdiffstats
path: root/csit/tests/cps-model-sync
diff options
context:
space:
mode:
authorRenu Kumari <renu.kumari@bell.ca>2022-03-28 10:22:41 -0400
committerRenu Kumari <renu.kumari@bell.ca>2022-04-01 11:55:06 +0000
commitb14f04b6bd92b4dd6e3ed511ef5334db02e0b1ea (patch)
treea0f999eef091127521903f307511473186bd6841 /csit/tests/cps-model-sync
parent73f01b7f9141ddaf6ad4ed69599b2a454e4766fe (diff)
Update CM-Handle registration response
- update openapi.yml with new response structure - send only details of failed cm-handle operations - updated csit to validate 200 status Issue-ID: CPS-896 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I3b868bcc5b8ff488c31faef51edc82c771452234
Diffstat (limited to 'csit/tests/cps-model-sync')
-rw-r--r--csit/tests/cps-model-sync/cps-model-sync.robot4
1 files changed, 2 insertions, 2 deletions
diff --git a/csit/tests/cps-model-sync/cps-model-sync.robot b/csit/tests/cps-model-sync/cps-model-sync.robot
index dfad948614..7de1f3a1be 100644
--- a/csit/tests/cps-model-sync/cps-model-sync.robot
+++ b/csit/tests/cps-model-sync/cps-model-sync.robot
@@ -42,7 +42,7 @@ Register data node and sync modules.
${uri}= Set Variable ${ncmpInventoryBasePath}/v1/ch
${headers}= Create Dictionary Content-Type=application/json Authorization=${auth}
${response}= POST On Session CPS_URL ${uri} headers=${headers} data=${jsonDataCreate}
- Should Be Equal As Strings ${response.status_code} 204
+ Should Be Equal As Strings ${response.status_code} 200
Get CM Handle details and confirm it has been registered.
${uri}= Set Variable ${ncmpBasePath}/v1/ch/PNFDemo
@@ -61,7 +61,7 @@ Update data node and sync modules.
${uri}= Set Variable ${ncmpInventoryBasePath}/v1/ch
${headers}= Create Dictionary Content-Type=application/json Authorization=${auth}
${response}= POST On Session CPS_URL ${uri} headers=${headers} data=${jsonDataUpdate}
- Should Be Equal As Strings ${response.status_code} 204
+ Should Be Equal As Strings ${response.status_code} 200
Get CM Handle details and confirm it has been updated.
${uri}= Set Variable ${ncmpBasePath}/v1/ch/PNFDemo