Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
draw.io Diagram | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Key
Event 1 | Event 2 | |
---|---|---|
Owner | DMI ? | 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 |
Type | T1 = org.onap.???:async-request-response-event:v1 | T2 = org.onap.ncmp:async-request-response-event:v1 |
Schema | S1 = org.onap.???.async-request-response-event | S2 = org.onap.ncmp:async-request-response-event:v1 |
Producer | DMI | NCMP |
Consumer | NCMP | Client |
Questions
# | Issue | Answer |
---|---|---|
1 | Which application owns which schemas? | Both are owned by NCMP and will live in an ncmp module. |
2 | Can 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?
| 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
View file | ||||
---|---|---|---|---|
|