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

Error reporting on duplicate alternate ids during registration, create

XMLWordPrintable

      Should report cm handles that have unacceptable alternate ids during registration: create.

      1. duplicated in the batch request
      2. already in the database for another cm handle.

      The current error reporting format:

      {     
          "failedCreatedCmHandles": [ "cmHandle": "ch 1", "errorCode": "109","errorText": "cm-handle already exists"}],
          "failedUpdatedCmHandles": [],
          "failedRemovedCmHandles": [],
          "failedUpgradeCmHandles": []
      } 

       

      Error Scenarios

        Scenario  Report Notes
      2 Used for other cm handle in the database 111, Alternate id already associated Part of 'failedCreatedCmHandles'
      3 Used for other cm handle in the request 111, Alternate id already associated Part of 'failedCreatedCmHandles'

       

      Out of scope:

      • Invalid Alternate Ids themselves are not part of error response

      A/C

      1. Both error scenarios shall be tested and demo-ed
      2. new error code (111) should be included in the RTD

       

            halil.cakal Halil Cakal
            halil.cakal Halil Cakal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: