From 80dee97e67b98b8308bedb1383dc624d7c642520 Mon Sep 17 00:00:00 2001 From: mpriyank Date: Wed, 23 Feb 2022 15:17:23 +0530 Subject: Fix success response code CM Handle Registration - changed registartion response code to 204 NO_CONTENT - improved exception handling for registration API - fixed failing csit related to changed response code - updated the release notes for CPS-892 and CPS-837 Issue-ID: CPS-892 Change-Id: I616e340debf1583b058e7ae6b8960972eec00f3e Signed-off-by: mpriyank --- csit/tests/cps-model-sync/cps-model-sync.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csit') diff --git a/csit/tests/cps-model-sync/cps-model-sync.robot b/csit/tests/cps-model-sync/cps-model-sync.robot index 0b9928bef..99b9caa9a 100644 --- a/csit/tests/cps-model-sync/cps-model-sync.robot +++ b/csit/tests/cps-model-sync/cps-model-sync.robot @@ -41,7 +41,7 @@ Register node, 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=${jsonData} - Should Be Equal As Strings ${response.status_code} 201 + Should Be Equal As Strings ${response.status_code} 204 Get modules for registered data node ${uri}= Set Variable ${ncmpBasePath}/v1/ch/PNFDemo/modules -- cgit 1.2.3-korg