...
References
Jira Legacy server ONAP System Jira columnIds issuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 425b2b0a4733707d-557c2057-3c0c3a0f-b515ae5e-579789cceedb4fd8aff50176 key CPS-1104 - CPS-858 Define Notifications on CM Handle Add (Ready) & Delete
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "eventId" : "00001", "eventCorrelationId : "cmhandle-001", "eventTime" : "2021-11-16T16:42:25-04:00", "eventSource" : "org.onap.ncmp", "eventType" : "org.onap.ncmp.cmhandle-lcm-event", ”eventSchema” : “org.onap.ncmp:cmhandle-lcm-event:v1", "event": { “cmhandle-state” : “READY”, "cmHandleId" : "cmhandle-001", “cmhandle-properties” : [ {“public-property-name-1” : “public-property-value-1”}, {“public-property-name-2” : “public-property-value-2”} ] } } |
Proposed
...
events
Code Block | ||||
---|---|---|---|---|
| ||||
{ "eventId" : "00001", "eventCorrelationId eventCorrelationId : "cmhandle-001", "eventTime" : "2021-11-16T16:42:25-04:00", "eventSource" : "org.onap.ncmp", "eventType" : "org.onap.ncmp.cmhandle-lcm-event.create", ”eventSchema” ”eventSchema” : “org.onap.ncmp:cmhandle-lcm-event:v1", "event": { “cmhandle-state” : “READY”, "cmHandleId" : "cmhandle-001", “cmhandle-properties” : [ {“public-property-name-1” : “public-property-value-1”}, {“public-property-name-2” : “public-property-value-2”} ], "detail": { "detailMessage" : "sample message about the event", "lastCmHandleState" : "ADVISED" } “cmhandleId” : “cmhandle-id-001”, "newValues" : { # include ALL cmhandle metadata attribute values “cmhandle-state” : “READY”, “dataSyncEnabled” : “TRUE”, ... } } } |
Code Block | ||||
---|---|---|---|---|
| ||||
{{ "eventId" : "00001", "eventCorrelationId eventCorrelationId : "cmhandle-001", "eventTime" : "2021-11-16T16:42:25-04:00", "eventSource" : "org.onap.ncmp", "eventType" : "org.onap.ncmp.cmhandle-lcm-event.update", ”eventSchema” ”eventSchema” : “org.onap.ncmp:cmhandle-lcm-event:v1", "event": { “cmhandle-state” : “READY”, "last-cmhandle-state" : "ADVISED", "cmHandleId" : "cmhandle-001", “cmhandle-properties” : [ {“public-property-name-1” : “public-property-value-1”}, {“public-property-name-2” : “public-property-value-2”} ] } } | ||||
Code Block | ||||
title | Option #3 'Details' consist of a property map
“cmhandleId” : “cmhandle-id-001”
"oldValues" : {
“dataSyncEnabled” : “FALSE”,
“cmHandleDescription” : “Some description”
“cmhandleProperties” : [
“someProperty-0” : “ This property will be updated”,
“someProperty-1” : “ This property will be deleted”,
}
"newValues" : {
“dataSyncEnabled” : “TRUE”,
“cmhandleProperties” : [
“someProperty-0” : “ This property has been updated”,
“someProperty-2” : “ This property is newly added to the cmhandle”
]
}
]
}
}
|
Code Block | ||||
---|---|---|---|---|
| ||||
{ "eventId" : "00001", "eventCorrelationId : "cmhandle-001", "eventTime" : "2021-11-16T16:42:25-04:00", "eventSource" : "org.onap.ncmp", "eventType" : "org.onap.ncmp.cmhandle-lcm-event", ”eventSchema” : “org.onap.ncmp:cmhandle-lcm-event:v1", "event": { “cmhandle-state” : “READY”, "cmHandleId"“cmhandleId” : "cmhandle-001", “cmhandle-properties” : [ {“public-property-name-1” : “public-property-value-1”}, {“public-property-name-2” : “public-property-value-2”} ],“cmhandle-id-001” “detail” : [ {“lastCmHandleState” : “ADVISED”}, {“sampleMessage” : “some message”} ] } } |