References
Jira | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Jira | ||||||
---|---|---|---|---|---|---|
|
Jira | ||||||
---|---|---|---|---|---|---|
|
Overview
draw.io Diagram | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Operation Mapping, Error scenarios (failed in mediation/SDN-C)
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 | 500 | ResponseEntity<String> | POST | "read" | 500 | ResponseEntity<String> | String with (original) error details | GET | 4xx | ? |
2 | POST | 500 | ResponseEntity<String> | "create" | String with (original) error detail | POST | 4xx 5xx | ? | |||
3 | PUT | 500 | ResponseEntity<String> | "update" | String with (original) error detail | PUT | 4xx 5xx | ? | |||
4 | PATCH | 500 | ResponseEntity<String> | "patch" | String with (original) error detail | PATCH | 4xx 5xx | ? | |||
5 | DELETE | 500 | ResponseEntity<String> | "delete" | String with (original) error detail | DELETE | 4xx 5xx | ResponseEntity<void> |
For more detail on the (error) response codes see: CPS Exceptions and REST APIs HTTP Response Codes#CPS-NCMP