Table of Contents |
---|
...
# | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | id | UUID of the event | |||||||||
2 | source | urn:cps:org.onap.cps | |||||||||
3 | schema | urn:cps:org.onap.cps:data-updated-event-schema:v1 | |||||||||
4 | type | org.onap.cps.data-updated-delta-event | |||||||||
5 | content | { "operation": "UPDATE",
} |
...
"subscribeDeltaNotification": true
}
]
Additional field will be added to Anchor table to persist delta notification
Table Name: AnchorForDeltaNotification
...
notification subscription. newly added field details are as below.
Updated Table | Anchor |
new field name | notification |
type | text |
example | true (string). change later. |
Open questions to be discussed:
Option | description | Decision |
---|---|---|
Is it OK to modify Postgres tables instead of using a yang modelled data approach... (this will require Liquibase steps) | TD : Toine Siebelink need to discuss with Architects and update | |
generic text field OK for future refinement, maybe consider json? |
Implementation details
- For data nodes update operation, generate delta report by comparing previous and current configuration after successful update.
- Process data update delta event and send notification as described in event schema above.