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

Error reporting on duplicate alternate ids during registration, update

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Medium Medium
    • New Delhi Release
    • None
    • NCMP

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

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

      The current error reporting format: CPS returns a 200 OK, but logs if the given alternate id was assigned already.

      Error Scenarios

        Use-case Scenario Report Store Alternate ID Notes
      1 Update Registration already set to different value 111, cannot re-assign No 111
      2 Update Registration Use by other 111, cannot re-assign No 111
      3 Update Registration already set to same value not reported N/A N/A

       

      Out of scope:

      • Invalid Alternate Ids themselves are not part of error response

      A/C:

      1. All three scenarios shall be tested and demo-ed ( + basic use case for positive case)
      2. if something is wrong with the alternate id we will not update anything else

       

            leventecsanyi Levente Csanyi
            leventecsanyi Levente Csanyi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: