-
Story
-
Resolution: Done
-
Medium
-
None
-
None
To handle error responses during DataOperations the following fields are required in the kafka response message.
Fields :
- resourceIdentifier
- options
These fields are to be included in the kafka response message by dmi-plugin if it exists and later NCMP should forward the same to client topic.
Note : Both fields are optional.
Sample kafka response message :
{ "data": { "responses": [ { "operationId": "123", "ids": [ "12", "31" ], "resourceIdentifer": "/", "options": "(fields=/module1:GNBDUFunction/module2:NRCell)", "statusCode": "103", "statusMessage": "dmi plugin service is not able to read resource data", "result": {} } ] }}
- Modify "schemas/async/data-operation-event-schema-1.0.0.json"
- Add attributes (resourceIdentifier and options) as type String
A/C :
- Data operation schema should be able to hold newely created attributes into kafka message that is added by dmi plugin.
- If attribute data is not available it should not be added into response message.
- All responses should contain these attributes into response message.
Open-Issue :
- Our understanding is that Dmi plugin should add resourceIdentifier and options values from DmiDataOperationRequest to populate kafka response message to NCMP. anirban.est please get confirmation if this understanding is correct? [AB]: Understanding is correct.
- relates to
-
CPS-1515 Support Multiple CM-Handles for NCMP Get Bulk Operation
- Closed