-
Story
-
Resolution: Done
-
Medium
-
None
-
None
Split given cm handles into immediate and delayed response.
Response body : Define bulk response event schema (like : cps-ncmp-events/src/main/resources/schemas/avc-event-schema-v1.json)
Open-Issues :
- Need to be agreed the structure of response and error message with stakeholder.
- Do we need to have timestamp ? need confirmation from stakeholder. (Drop any information that is no longer needed)
A/C:
- Define response message structure and agreed with stakeholder (Proposed "Schema of bulk response" and "Sample bulk response" is into Issues & Decisions section point # 12 https://wiki.onap.org/display/DW/CPS-1515%3A+Spike%3A+Support+Multiple+CM-Handles+for+NCMP+Get+Operation)
- Send initial response immediatly (1st half of cm handles)
- Send delayed response (few sec) (2nd half of cm handles)
- Must use following attributes :
- "eventId" (value: UUID)
"eventCorrelationId" (value: RequestId) - "eventDestination", (value: client given topic)
"eventType" (value: "org.onap.cps.ncmp.event.model.BulkResponseEvent")
"eventSchema" (value: "urn:cps:org.onap.cps.ncmp.event.model.BulkResponseEvent")
"eventSchemaVersion" (value: "v1")
- "eventId" (value: UUID)
Out-of-Scope :
- Error response for individual cm handle ( To be scoped in
CPS-1558)