-
Story
-
Resolution: Done
-
Medium
-
None
Proposed :
POST http://localhost:8080/ncmp/v1/batch&topic=my-topic-name
{ operations: [ { operation: read, datastore: "...", options: "...", resourceIdentifier: "...", cmhandleIds: [4, 6] }, { operation: read, datastore: "...", options: "...", resourceIdentifier: "...", cmhandleIds: [1, 2, 3] } ] }
NCMP Request
{ { options: x=1 [1,2,3] } { options: x=1 [4,5] } }
DMI1 -> 1-4
DMI2 -> 5-9
DMI3 -> 10-15
DMI1
{ { opeartion : read, datastore: .., options: x=1 [Object(1,color=green), Object(2,color=green), Object(3,color=blue)] } { opeartion : read, datastore: .., options: x=1, resourceIdentifier: "...", [Object(4,color=green)] } }
DMI2
{
{ opeartion : read,
datastore: ..,
options: x=1,
resourceIdentifier: ..,
[Object(5,size=small)]
}
}
Note:
- Update components.yaml (Impl. new endpoint)
- Update ncmp.yml with request / response example
- Update openapi.yml
- Create a parallel dmi service request
A/C :
- Open API doc should be updated (with updated request body and url)
- Open API doc should be updated (including RTD)
- Demo can be done after
CPS-1636- cm handles are correctly forwarded to it's coresponding dmi service.
Not in scope:
- Reject a bulk request that have write operation (bad request 400)
- Error handling
- mentioned in
-
Page Loading...