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",
} |
...
- schema set will be added to the dataspace when notification is subscribed.
- An Anchor will be added to dataspace for notification subscription.
- Subscription data will be added into fragment as per schema set.
schema yaml file to be used as below 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; } } } |
...