-
Story
-
Resolution: Done
-
Medium
-
None
Redirect request to CPS-Core (Using java interface: org.onap.cps.api.CpsQueryService) with dataspace 'NCMP-CmHandle-Operational-Data'
CPS Paths documented: https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html
This user story can follow a lot of analaysis from https://wiki.onap.org/pages/viewpage.action?pageId=138872500
A/C :
- Propose and agree rest endpoint with Team (see also https://jira.onap.org/browse/CPS-1001)
- Error scenaraio responses should be the same as in CPS Core Rest interface
see https://wiki.onap.org/display/DW/CPS+Exceptions+and+REST+APIs+HTTP+Response+Codes#CPSExceptionsandRESTAPIsHTTPResponseCodes-CPS-Core.1 (query Interface #18) - Demo positive and negative scenarios to team
Story was groomed before: CPS-1178 Implementation of merging the get endpoints of ncmp datastores.
Proposed new endpoint:
- /v1/ch/{cm-handle}/data/ds/ncmp-datastores:operational/query
** - /v1/ch/{cm-handle}/data/ds/{ncmp-datastore-name}/query