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",
} |
...
below actions will be performed when delta notification will be subscribed for the dataspace.
- schema set will be added to the dataspace when notification is subscribed.
- Subscription data will be added into fragment as per schema set.
schema yaml file to be used as below
Code Block | ||||
---|---|---|---|---|
| ||||
module notifications {
yang-version 1.1;
namespace "org:onap:ccsdk:sample";
prefix delta-notification;
revision "2024-01-10" {
description
"Sample Model";
}
container deltanotification {
leaf notification-subscription {
type string;
}
}
} |
Implementation details of delta notification
...