Objective
As of current implementation in cps core, after the update operation, entire configuration is sent as Kafka Notification. we are proposing to send only changed configuration as delta report in notification. It will help to understand what configuration exactly changed for the anchor.
Issues & Decisions
# | Issue | Notes | Decision |
---|---|---|---|
1 | Do we need to update existing update notification to send delta notification or delta notification along with existing notification. | ||
Event Schema
For delta notification we can use the existing cps data update event schema (cps-data-update-event-schema.json).
# | ||
---|---|---|
1 | id | UUID of the event |
2 | source | urn:cps:org.onap.cps |
schema | urn:cps:org.onap.cps:data-updated-event-schema:v1 | |
type | org.onap.cps.data-updated-delta-event | |
content | { "operation": "UPDATE", { |