Details
-
Story
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
Description
current endpoints
- ResponseEntity<CmHandles> executeCmHandleSearch(final Conditions conditions)
- ResponseEntity<List<String>> queryCmHandles(
final CmHandleQueryRestParameters cmHandleQueryRestParameters)
as implemented by
Required endpoints:
- ResponseEntity<CmHandles> executeCmHandleSearch(CmHandleQueryRestParameters)
- ResponseEntity<List<String>> executeCmHandleIdSearch(CmHandleQueryRestParameters)
Component updates:
- Remove CmHandles definition in docs/openapi/components.yaml (line 166)
- Create a 'array' of RestOutputCmHandle -> RestOutputCmHandles for endpoint #1 above
The input objects need to be merged into 1 (in OpenAPI components.yaml)
A/C
- Agree URL for 2 thow (refactored) endpoints with Team
- Agree single OpenAPI CmHandleQueryRestParameters object for all (future) conditions and agree with team
- (demo/CSIT) Two endpoints executing same functionality just different return types
- public properties should be included in output for rest endpoint #1
Out-of-Scope
State is not (yet) part of CmHandle response
Attachments
Issue Links
1.
|
Review CPS-1016: Merge 2 'query' end points in NCMP |
|
Closed | Toine Siebelink |
2.
|
Fix tests |
|
Closed | Andras Zoltan Kiss |
3.
|
Fix sonare issues |
|
Closed | Andras Zoltan Kiss |