1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. Copyright (C) 2023 Nordix Foundation
5 .. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING
9 CM Handle Lifecycle Management (LCM) Events
10 ###########################################
18 LCM events for CM Handles are published when a CM Handle is created, deleted or another change in the cm handle state occurs.
20 **3 possible event types:**
26 CM Handle LCM Event Schema
27 ---------------------------
28 The current published LCM event is based on the following schema:
30 :download:`Life cycle management event schema <schemas/lcm-event-schema-v1.json>`
32 CM Handle LCM Event structure
33 -----------------------------
37 *Event header prototype for all event types*
43 "eventCorrelationId : "cmhandle-001",
44 "eventTime" : "2021-11-16T16:42:25-04:00",
45 "eventSource" : "org.onap.ncmp",
46 "eventType" : "org.onap.ncmp.cmhandle-lcm-event.create",
47 "eventSchema" : "org.onap.ncmp:cmhandle-lcm-event",
48 "eventSchemaVersion" : "1.0",
54 Event payload varies based on the type of event.
58 Event payload for this event contains the properties of the new cm handle created.
60 *Create event payload prototype*
65 "cmHandleId" : "cmhandle-001",
67 "cmHandleState" : "ADVISED",
68 "dataSyncEnabled" : "TRUE",
69 "cmhandleProperties" : [
80 Event payload for this event contains the difference in state and properties of the cm handle.
82 *Update event payload prototype*
87 "cmHandleId" : "cmhandle-001",
89 "cmHandleState" : "ADVISED",
90 "dataSyncEnabled" : "FALSE",
91 "cmhandleProperties" : [
96 "cmHandleState" : "READY",
97 "dataSyncEnabled" : "TRUE",
98 "cmhandleProperties" : [
99 "prop1" : "updatedval1",
100 "prop2" : "updatedval2"
109 Event payload for this event contains the identifier of the deleted cm handle.
111 *Delete event payload prototype*
116 "cmHandleId" : "cmhandle-001",