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 Async events are triggered when a valid topic has been detected in a passthrough operation.
16 :download:`NCMP request response event schema <schemas/ncmp-async-request-response-event-schema-v1.json>`
25 "eventCorrelationId" : "cps-001",
26 "eventTime" : "2022-09-28T12:24:21.003+0000",
27 "eventTarget" : "test-topic",
28 "eventType" : "org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent",
29 "eventSchema" : "urn:cps:org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent:v1",
30 "forwarded-Event" : { }
33 Forwarded-Event Payload
34 ^^^^^^^^^^^^^^^^^^^^^^^
40 "eventCorrelationId" : "cps-001",
41 "eventTime" : "2022-09-28T12:24:18.340+0000",
42 "eventTarget" : "test-topic",
43 "eventType" : "org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent",
44 "eventSchema" : "urn:cps:org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent:v1",
45 "eventSource" : "org.onap.cps.ncmp.dmi",
46 "response-data-schema" : "urn:cps:org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent:v1",
47 "response-status" : "OK",
48 "response-code" : "200",
53 Lifecycle Management (LCM) Event
54 ================================
59 LCM events for CM Handles are published when a CM Handle is created, deleted or another change in the cm handle state occurs.
61 **3 possible event types:**
69 The current published LCM event is based on the following schema:
71 :download:`Life cycle management event schema <schemas/lcm-event-schema-v1.json>`
78 *Event header prototype for all event types*
84 "eventCorrelationId : "cmhandle-001",
85 "eventTime" : "2021-11-16T16:42:25-04:00",
86 "eventSource" : "org.onap.ncmp",
87 "eventType" : "org.onap.ncmp.cmhandle-lcm-event.create",
88 "eventSchema" : "org.onap.ncmp:cmhandle-lcm-event",
89 "eventSchemaVersion" : "1.0",
95 Event payload varies based on the type of event.
99 Event payload for this event contains the properties of the new cm handle created.
101 *Create event payload prototype*
106 "cmHandleId" : "cmhandle-001",
108 "cmHandleState" : "ADVISED",
109 "dataSyncEnabled" : "TRUE",
110 "cmhandleProperties" : [
121 Event payload for this event contains the difference in state and properties of the cm handle.
123 *Update event payload prototype*
128 "cmHandleId" : "cmhandle-001",
130 "cmHandleState" : "ADVISED",
131 "dataSyncEnabled" : "FALSE",
132 "cmhandleProperties" : [
137 "cmHandleState" : "READY",
138 "dataSyncEnabled" : "TRUE",
139 "cmhandleProperties" : [
140 "prop1" : "updatedval1",
141 "prop2" : "updatedval2"
150 Event payload for this event contains the identifier of the deleted cm handle.
152 *Delete event payload prototype*
157 "cmHandleId" : "cmhandle-001",