You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 9
Next »
CPS-577
-
Getting issue details...
STATUS
eyJleHRTcnZJbnRlZ1R5cGUiOiIiLCJnQ2xpZW50SWQiOiIiLCJjcmVhdG9yTmFtZSI6IlJhaHVsIFR5YWdpIiwib3V0cHV0VHlwZSI6ImJsb2NrIiwibGFzdE1vZGlmaWVyTmFtZSI6IlRvaW5lIFNpZWJlbGluayIsImxhbmd1YWdlIjoiZW4iLCJkaWFncmFtRGlzcGxheU5hbWUiOiIiLCJzRmlsZUlkIjoiIiwiYXR0SWQiOiIxMTExMTY0MTIiLCJkaWFncmFtTmFtZSI6IndyaXRlIHJlcXVlc3QiLCJhc3BlY3QiOiIiLCJsaW5rcyI6ImF1dG8iLCJjZW9OYW1lIjoiQ1BTLTU3NzogUHJlcGFyZSB0aGUgcmVxdWVzdCBmcm9tIGNsaWVudCBhbmQgc2VuZCB3cml0ZSByZXF1ZXN0IHRvIGRtaS1wbHVnaW4iLCJ0YnN0eWxlIjoidG9wIiwiY2FuQ29tbWVudCI6ZmFsc2UsImRpYWdyYW1VcmwiOiIiLCJjc3ZGaWxlVXJsIjoiIiwiYm9yZGVyIjp0cnVlLCJtYXhTY2FsZSI6IjEiLCJvd25pbmdQYWdlSWQiOjExMTExNjQwNSwiZWRpdGFibGUiOmZhbHNlLCJjZW9JZCI6MTE3NzM4ODQxLCJwYWdlSWQiOiIiLCJsYm94Ijp0cnVlLCJzZXJ2ZXJDb25maWciOnsiZW1haWxwcmV2aWV3IjoiMSJ9LCJvZHJpdmVJZCI6IiIsInJldmlzaW9uIjo5LCJtYWNyb0lkIjoiMDM3NDNmMTItMzZhNy00NDRhLTk0ZGEtZGY0ZjBjNzZiMTAyIiwicHJldmlld05hbWUiOiJ3cml0ZSByZXF1ZXN0LnBuZyIsImxpY2Vuc2VTdGF0dXMiOiJPSyIsInNlcnZpY2UiOiIiLCJpc1RlbXBsYXRlIjoiIiwid2lkdGgiOiIxMDE2Iiwic2ltcGxlVmlld2VyIjpmYWxzZSwibGFzdE1vZGlmaWVkIjoxNjQ4NzE2NTYyMDAwLCJleGNlZWRQYWdlV2lkdGgiOmZhbHNlLCJvQ2xpZW50SWQiOiIifQ==
- 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-Plugin | DMI-Plugin → SDNC-C |
---|
| RESTful Method | Code | ResponseType | RESTful Method | Requestbody.operation | Code | ResponseType | Object Content | RESTful Method | Code | ResponseType |
---|
1 | GET | 200 | ResponseEntity<Object> |
POST | "read" |
200 |
ResponseEntity<Object>
| Object read | GET | 200 | ResponseEntity<Object> |
2 | POST | 201 | ResponseEntity<String> *just name/id | "create" | Unknown macro: {"resourceIdentifier"} | POST | 2xx | ? |
3 | PUT | 200 | ResponseEntity<Object> | "update" | Unknown macro: {"resourceIdentifier"} | PUT | 2xx | ? |
4 | PATCH | 200 | ResponseEntity<String> *just name/id | "patch" | Unknown macro: {"resourceIdentifier"} | PATCH | 2xx | ? |
5 | DELETE | 204 | ResponseEntity<Void> | "delete" | Unknown macro: {"resourceIdentifier"} | DELETE | 204 | void |