Versions Compared

Key

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

...

  • Since the DMI Plugin always needs an request body for at least the 'Additional Parameters' CPS_NCMP wil have to use PUT or POST to make a any (read or) write request.
  • The actual operation will be determine with 'operation' field in body. If this is not supplied 'read' wil be assumed as the default operation irrespective of the HTTP method used

Operation Mapping (success scenarios)


Client →  CPS-NCMP

CPS-NCMP →  DMI-PluginDMI-Plugin →  SDNC-C

RESTful MethodCodeResponseTypeRESTful MethodRequestbody.operationCodeResponseTypeObject ContentRESTful MethodCodeResponseType
1GET200ResponseEntity<Object>





POST

"read"





200





ResponseEntity<Object>



Object readGET200ResponseEntity<Object>
2POST
201ResponseEntity<String>
*just name/id 
POST
"create"


Wiki Markup
{"resourceIdentifier": "xyz"}


POST2xx?
3PUT
POST
200ResponseEntity<Object>"update"


Wiki Markup
{"resourceIdentifier": "xyz"}


PUT2xx?
4PATCH
200ResponseEntity<String>
*just name/id 
POST
"patch"


Wiki Markup
{"resourceIdentifier": "xyz"}


PATCH2xx?
5DELETE
POST
204ResponseEntity<Void>"delete"


Wiki Markup
{"resourceIdentifier": "xyz"}


DELETE204void