Analysis on Forwarded Event:
- We are using 'NCMPAsynRequestResponse' event schema to consume 'DMIAsynRequestResponse' event and forward to the client.
- NCMPAsynRequestResponse has 2 object properties other than individual properties. The below 2 has the same properties.
- Event
- We are not mapping anything to this property object/type., While mapping properties from 'DMIAsynRequestResponse' to 'NCMPAsynRequestResponse'. We can find the same on the below screenshot.
- Forwarded Event
- While mapping properties from 'DMIAsynRequestResponse' to 'NCMPAsynRequestResponse', We are mapping all the properties to the 'ForwardedEvent'.
- Particularly response-Data from 'DMIAsynRequestResponse' is mapped to additional properties in 'NCMPAsynRequestResponse → ForwardedEvent'
- Event
Clear Explanation with properties:
# | properties | NCMP Forwaded Event | NCMP Event | DMI Event-Content |
---|---|---|---|---|
eventId | * | * | ||
eventCorrelationId | * | * | ||
eventTime | * | * | ||
eventTarget | * | * | ||
eventType | * | * | ||
eventSchema | * | * | ||
eventSchemaVersion | * | N/A | ||
eventSource | * | * | ||
response-data-schema | * | * | ||
response-status | * | * | ||
response-code | * | * | ||
forwardedEventData | * | |||
response-data | N/A | * |