Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Proposal for Notification's Schema

kafka-key : cmHandleId ( *Note : when publishing the notification , use the cmHandleId as the key of the message. This will enable clients to read the most updated message/state when the compaction is triggered)

Cloud event Definition


Element

Name

Parent

Type

Mandatory

Description

Format

(example) Value

1Headerid
StringYesrandom id for cloud event header. UUID is suggested

2source
StringYessource of informationncmp.<cmhandle-id>ncmp.12ac34e43556e
3specversion
StringYescloud event version specfixed value1.0
4type
StringYestype of eventfixed valuetrustLevelChangeEvent
5dataschema
StringYesdata schemafixed valueorg.onap.cps.ncmp.events.cmhandle.TrustLevelChangeEvent:1.0.0
6correlationid
StringYesThe cmHandle which is been notified. The value will be similar as we have in the source field.<cmhandle-id>
7Payloaddata
ObjectYesThe actual data payload. Details will be provided below.3GPP TS 28.532 standard
8attributeNamedataStringYesThe attribute which has changed.<name>trustLevel
9oldAttributeValuedataStringNoThe old value of the attribute which has changed.
COMPLETE
10newAttributeValuedataStringNoThe new value of the attribute which has changed.
NONE

...