Support batch read operation (new) using an asynchronous response on a client specified topic
payload includes list of cm handle ids
2
REST DMI-I-01
Support batch read operation (new) using an asynchronous response to an internal topic
payload includes list of (associated for this plugin) cm handles ids with their private (additional) properties
Error handling
#
Error Scenario
Expected behavior
1
DMI Not respond to initial synchronous request with normal HTTP timeout
Special Error message (Kafka event) including affected, and reason for all the handles in the message cm handles send to client topic detailing cm-handles (per dmi plugin)
2
Topic not supplied on CPS-E-05
Return HTTP 501 (not implemented)
3
Client specided Topic is not configured
Log error message only
4
Non-existing cm-handle id
Similar message but different reason as specified #1 above
Capabilities
#
Parameter
Expectation
Notes
1
Response Time 1 Batch request
<2 seconds (average)
Async response available on client topic
No delay in DMI PLugin (tested/measured using stub DMI Plugin)
2
Batch-size
200 cm handles
No hardcoded limit
3
Response payload size
TBD KB
Performance test for cabilitie should be tested with this average response size
Should not affect performance, does not need to be tested
Out-of-scope
Support for multiple resource identifiers in one batch operation
Support cached data batch requests: only passthrough datastores will be supported (see decision #2)
NCMP does NOT keep track of request status to see if it is completed, amalgamate responses or anything like that. It wil simply forward responses from the internal topic to the client topic.