Details
-
Sub-task
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
-
None
-
None
Description
1. Create a new endpoint with path param :
/v1/ch/{cm-handle}/data/ds/{ncmp-datastore-name}:
$ref: 'ncmp.yml#/getNcmpDatastore'
ncmp-datastore-name can have the following names :
- ncmp-datastore:passthrough-operational
- ncmp-datastores:operational
- ncmp-datastore:passthrough-running
2. Remove below endpoints and merge into above :
/v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-operational:
$ref: 'ncmp.yml#/getResourceDataForPassthroughOperational'
/v1/ch/{cm-handle}/data/ds/ncmp-datastores:operational:
$ref: 'ncmp.yml#/getResourceDataOperational'
/v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running:
$ref: 'ncmp.yml#/resourceDataForPassthroughRunning'
Open Questions :
- Required and optional params for merged endpoint.
A/C :
- Create a proposal and agree with the team.
- New endpoint should be backward compatable.