Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-892

Fix the response code during CM-Handle Add , Update and Delete Scenario

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Jakarta Release
    • Jakarta Release
    • CPS-Core
    • None

      We have the request URI with a common payload to handle the create , update and remove of CM-handle.

      POST : ${CPS_HOST}:${CPS_PORT}/ncmpInventory/v1/ch

      Review the response codes for the CM Handle Registration Scenario.

      It returns 201 CREATED on successful excecution of the request for all the scenarios , we intend to review the response codes and chosse to send 204 OK, No Content.

      Also check with stakeholders as when we change the response code it would be a backward incompatible change.

      Also do check for scenario when we try to update the CM-Handle which does not exist , it throws 500 INTERNAL_SERVER_ERROR now , ideally it should be 4XX (discuss with team).

            mpriyank Priyank Maheshwari
            mpriyank Priyank Maheshwari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: