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) 2022 Nordix Foundation
5 .. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING
14 Lifecycle Management (LCM) Event
15 ================================
20 LCM events for CM Handles are published when a CM Handle is created, deleted or another change in the cm handle state occurs.
22 **3 possible event types:**
30 The current published LCM event is based on the following schema:
32 :download:`Life cycle management event schema <schemas/lcm-event-schema-v1.json>`
39 *Event header prototype for all event types*
45 "eventCorrelationId : "cmhandle-001",
46 "eventTime" : "2021-11-16T16:42:25-04:00",
47 "eventSource" : "org.onap.ncmp",
48 "eventType" : "org.onap.ncmp.cmhandle-lcm-event.create",
49 "eventSchema" : "org.onap.ncmp:cmhandle-lcm-event",
50 "eventSchemaVersion" : "1.0"
56 Event payload varies based on the type of event.
60 Event payload for this event contains the properties of the new cm handle created.
62 *Create event payload prototype*
67 "cmHandleId" : "cmhandle-001",
69 "cmHandleState" : "ADVISED",
70 "dataSyncEnabled" : "TRUE",
71 "cmhandleProperties" : [
82 Event payload for this event contains the difference in state and properties of the cm handle.
84 *Update event payload prototype*
89 "cmHandleId" : "cmhandle-001",
91 "cmHandleState" : "ADVISED",
92 "dataSyncEnabled" : "FALSE",
93 "cmhandleProperties" : [
98 "cmHandleState" : "READY",
99 "dataSyncEnabled" : "TRUE",
100 "cmhandleProperties" : [
101 "prop1" : "updatedval1",
102 "prop2" : "updatedval2"
111 Event payload for this event contains the identifier of the deleted cm handle.
113 *Delete event payload prototype*
118 "cmHandleId" : "cmhandle-001",