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 --- docs/api/swagger/ncmp/openapi-inventory.yaml | 4 ++-- docs/release-notes.rst | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/api/swagger/ncmp/openapi-inventory.yaml b/docs/api/swagger/ncmp/openapi-inventory.yaml index 67eae41c46..34a087b85c 100644 --- a/docs/api/swagger/ncmp/openapi-inventory.yaml +++ b/docs/api/swagger/ncmp/openapi-inventory.yaml @@ -20,8 +20,8 @@ paths: $ref: '#/components/schemas/RestDmiPluginRegistration' required: true responses: - "201": - description: Created + "204": + description: No Content content: {} "400": description: Bad Request diff --git a/docs/release-notes.rst b/docs/release-notes.rst index c7d5d39e6a..52d44ac4c2 100755 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -32,6 +32,7 @@ Features - `CPS-741 `_ Re sync after removing cm handles - `CPS-777 `_ Ensure all DMI operations use POST method - `CPS-780 `_ Add examples for parameters, request and response in openapi yaml for cps-core + - `CPS-837 `_ Add Remove and Update properties (DMI and Public) as part of CM Handle Registration update Bug Fixes --------- @@ -42,6 +43,7 @@ Bug Fixes - `CPS-841 `_ Upgrade log4j to 2.17.1 as recommended by ONAP SECCOM - `CPS-867 `_ Database port made configurable through env variable DB_PORT - `CPS-856 `_ Retry mechanism not working for concurrent CmHandle registration + - `CPS-892 `_ Fixed the response code during CM-Handle Registration from 201 CREATED to 204 NO_CONTENT Known Limitations, Issues and Workarounds ----------------------------------------- -- cgit 1.2.3-korg