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

Details

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

    Description

      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).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: