NcmpAsyncRequestResponse Event Object Field | Type | Description | Kafka Header | Event Payload Field | Notes |
---|
eventID | string | The unique id identifying the event generated by DMI | x |
|
| eventCorrelationId | string | The request id passed by NCMP | x |
|
| eventTime | string | The timestamp when original event occurred | x |
|
| eventTarget | string | The target of the event | x |
|
| eventType | string | The type of the event | x |
|
| eventSchema | string | The event schema for async request response events | x |
|
| eventSchemaVersion | string | The event schema version for async request response events | x |
|
| event | Event | The payload of an event |
|
| Defined by event object below | forwardedEvent | ForwardedEvent | The payload of a forwarded event |
|
| Relation to Event field unclear, do we need 2 events at all see issue #7 |
Type: Event (cps:org.onap.cps.ncmp.events:ncmp-async-request-response-event-schema:v1)Field | Type | Description | Kafka Header | Event Payload Field | Notes |
---|
eventID | string | The unique id identifying the event generated by DMI |
| x | Only in payload in v1 of the payload schema. To be removed in v2 version (will be in the header only) | eventCorrelationId | string | The request id passed by NCMP |
| x | as above | eventTime | string | The timestamp when original event occurred |
| x | as above | eventTarget | string | The target of the event |
| x | as above | eventType | string | The type of the event |
| x | as above | eventSchema | string | The event schema for async request response events |
| x | as above | eventSource | string | The source of the event |
| x |
| response-data-schema | string | The received schema of response data |
| x |
| response-status | string | The received status of the response |
| x |
| response-code | string | The received code of the response |
| x |
| response-data | object | The data payload |
| x | contains payload of type object |
Type: forwardedEvent (cps:org.onap.cps.ncmp.events:ncmp-async-request-response-event-schema:v1)Field | Type | Description | Kafka Header | Event Payload Field | Notes |
---|
eventID | string | The unique id identifying the event generated by DMI |
| ? | Can NCMP put these in the header and remove them from the 'forwardedEvent' | eventCorrelationId | string | The request id passed by NCMP |
| ? | as above | eventTime | string | The timestamp when original event occurred |
| ? | as above | eventTarget | string | The target of the event |
| ? | as above | eventType | string | The type of the event |
| ? | as above | eventSchema | string | The event schema for async request response events |
| ? | as above | eventSchemaVersion | string | The event schema version for async request response events |
| ? | as above | eventSource | string | The source of the event |
| ? | as above | response-data-schema | string | The received schema of response data |
| x |
| response-status | string | The received status of the response |
| x |
| response-code | string | The received code of the response |
| x |
| response-data | object | The data payload |
| x | contains payload of type object |
Proposed New Schema: Jira |
---|
server | ONAP Jira |
---|
serverId | 425b2b0a-557c-3c0c-b515-579789cceedb |
---|
key | CPS-1660 |
---|
|
Field | Type | Description | Kafka Header | Event Payload Field | Notes |
---|
eventID | string | The unique id identifying the event generated by DMI |
|
|
| eventCorrelationId | string | The request id passed by NCMP |
|
|
| eventTime | string | The timestamp when original event occurred |
|
|
| eventSource | string | The source of the event |
|
| What value should contain in this? | eventType | string | The type of the event |
|
|
| eventSchema | string | The event schema for async request response events |
|
|
| eventSchemaVersion | string | The event schema version for async request response events |
|
|
| event | Event | The payload of an event |
|
| Defined by event object below |
Type: Event (cps:org.onap.cps.ncmp.events:ncmp-async-request-response-event-schema:v1)Field | Type | Description | Kafka Header | Event Payload Field | Notes |
---|
eventCorrelationId | string | The request id passed by NCMP |
|
| as above | responseStatus | string | The received status of the response |
|
|
| responseCode | string | The received code of the response |
|
|
| privateProperties | object | Contains the additional/extra properties. |
|
| existingJavaType has value which we
| agreedagree on the point 12 in the issues section | responseData | object | The data payload |
|
| contains payload of type object |
|