Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Next »

Key


Event 1Event 2
OwnerDMI ?NCMP
Repo & location

cps-events/src/main/resources/schemas/cps-async-request-response-event-schema.json *

* this may change once ownership is established

cps-events/src/main/resources/schemas/cps-async-request-response-event-with-origin-schema.json
TypeT1 = org.onap.???:async-request-response-event:v1T2 = org.onap.ncmp:async-request-response-event:v1
SchemaS1 = org.onap.???.async-request-response-eventS2 = org.onap.ncmp:async-request-response-event:v1
ProducerDMINCMP
ConsumerNCMPClient


Questions

#IssueAnswer
1

Which application owns which schemas?

Both are owned by NCMP and will live in an ncmp module. 
2Can different plugins use different schemas for event 1?!
Alternatively maybe agree a base event which can be extended?!
Yes, event 1 can be defined by dmi but prefer to use ncmp provided event
3

Where does the schemas reside exactly (related to #1)

new ncm-events module. update rtd with reference to event schemas
4

Does NCMP or DMI need to interpret the schema in any way?

    1. Or is it fir the client?
No
5

Should the eventSchema and eventType be the same in both events?

(e.g. S1 & T1)

They can be the same and different depending on the event and wrapper
6

What data exactly goes in the "event":  { ... } blocks?

if event origin is there use that, if not use event.

for this user story only forwardedEvent will be used. But the schema will contain both forwardedEvent and event.

(perhaps rename eventOrigin also - forwardedEvent, )

Notes

#Note
1

Event ids are different between ncmp-dmi and dmi-ncmp

2

Correlation event id remains the same for auditing

Overview

  • No labels