...
Proposal for Notification's Schema
kafka-key : cmHandleId/deviceId3GPP TS 28.532 standard
Cloud event Definition
Element | Name | Parent | Type | Mandatory | Description | Format | (example) Value | |
---|---|---|---|---|---|---|---|---|
1 | Header | id | String | Yes | random id for cloud event header. |
UUID is suggested. | |||||||
2 | source | String | Yes | source of information. value : | ncmp.<cmhandle-id> | ncmp.12ac34e43556e | |
3 | specversion | String | Yes | [fixed value] cloud event version spec. value | fixed value |
1.0 | ||||||
4 | type | String | Yes | type of event. value | fixed value |
trustLevelChangeEvent |
5 | dataschema | String | Yes | data schema. value |
fixed value |
org.onap.cps.ncmp.events.cmhandle.TrustLevelChangeEvent:1.0.0 |
6 | correlationid | String | Yes |
<cmhandle-id> |
7 | Payload | data | Object | Yes | The actual data payload. Details will be provided below. | 3GPP TS 28.532 standard | ||
8 | attributeName | data | String | Yes | The attribute which has changed. | <name> | trustLevel | |
9 | oldAttributeValue | data | String | No | The old value of the attribute which has changed. | COMPLETE | ||
10 | newAttributeValue | data | String | No | The new value of the attribute which has changed. | NONE |