Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NCMP CMhandle registration endpoint receives multiple operations to create, update or delete cm-handles in a single request. As there are multiple operations, the endpoint response structure should be able to provide the status of all operations separately with consistent error-code to allow users to retrigger failed operations programmatically if possible.

Questions:


QuestionAgreed SolutionRemarks
1Are multiple operations for one cm-handle is considered invalid input?

2


Response Structure

HttpStatus

...

The error can be due to client input and they should try not to 

Input Issues

  1. If the DMIService does not match with dmiservice of cmhandle ? 
  2. Multiple operations for a single cm-handle: 
    1. If not allowed: Throw the error; it enables us to process them parallelly for better performance.
    2. If allowed: 
      1. Which operation type has higher precedence
        1. create → update → delete: 
        2. delete → create → update: It will help us to handle the case where the user wants to recreate the cmhandle
      2. Multiple In within the same operation type
        1. create → Take the last one and show success or take the first one and let others fail.
        2. update → Process them sequentially because the update can be partial and order may matter here.
        3. delete → Process only once 
  3. Input is not in the expected format: Reject the request

...