Versions Compared

Key

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

...

  • This page gives a description of CPS events including their fields
  • Events will be split into events and Kafka headers

Event Overview

#DescriptionSourceDestinationStatusNotesFull
SchemaName
Schema Name
1LCM EventNCMPExternal Client AppsIn UseLife Cycle Management Events, when cmHandles are added or removedcps:org.onap.ncmp.cmhandle.lcm-event:v1
"
2DMI Data AVC EventDMINCMPImplemented, Not in useAttribute Value Change in configuration management (CM) data.cps:org.onap.cps.ncmp.events:avc-event-schema:v1
3AVC Subscription Create EventExternal Client AppsNCMP - Fwd to DMIImplemented, Not in useCreate Event Only
SubscriptionEvent

cps:org.onap.cps.ncmp.events:avc-subscription-event:v1

4DMI Async Request Response EventDMINCMPIn UseDMI passes response onto Kafka topic specified by client.
DmiAsyncRequestResponseEvent

cps:org.onap.cps.ncmp.events:dmi-async-request-response-event-schema:v1

5NCMP Async Request Response EventNCMPExternal Client AppsIn UseForward No.4 to client specified topic
NcmpAsyncRequestResponseEvent

cps:org.onap.cps.ncmp.events:ncmp-async-request-response-event-schema:v1

6Bulk Response EventDMINCMPIn ProgressInternal Kafka topic
DmiAsyncBulkResponseEvent
cps:org.onap.cps.ncmp.event:dmi-async-bulk-response-event-schema:v1
7

Bulk Response to Client Topic Event

NCMPExternal Client AppsIn Progress
Error Message Reply to be decidedNcmpAsyncBulkResponseEvent

...

Forwarding the DMI responses to the client topiccps:org.onap.cps.ncmp.event:ncmp-async-bulk-response-event-schema:v1

aLCM Event

Description

LCM (Life Cycle Management) Event

Expand
titleLCM Event Details

Current LCM Event Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
eventIDstringThe unique id identifying the eventx
M
eventCorrelationIdstringThe id identifying the eventx
O
eventTimestringThe timestamp when original event occurredx
M
eventSourcestringThe source of the eventx
O
eventTypestringThe type of the eventx
M
eventSchemastringThe schema that this event adheres tox
O
eventSchemaVersionstring

The version of the schema that this event adheres to

x
O
eventEventThe payload of an event

cps:org.onap.ncmp.cmhandle.lcm-event:v1


Defined by event object below

ekiemcc : Suggest to add the full schema name for the LCM event body and the eventSchemaVersion

Type:Event

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
cmHandleIdstringcmHandle id
x
oldValuesValues

Values that represents the state of a cmHandle


xDefined by values object below
newValuesValuesValues that represents the state of a cmHandle
xDefined by values object below

Type:Values

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
dataSyncEnabledstringcmHandle id
x
cmHandleStatestring

State of cmHandle


xEnum: 

["ADVISED", "READY", "LOCKED", "DELETING", "DELETED"]

cmHandlePropertiesobjectcmHandle properties
xList of Java <String, String> Maps


...

Expand
titleAVC Event Details

AVC Event Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
eventIDstringThe unique id identifying the eventx

eventCorrelationIdstringThe id identifying the eventx

eventTimestringThe timestamp when original event occurredx

eventSourcestringThe source of the eventx

eventTypestringThe type of the eventx

eventSchemastringThe schema that this event adheres tox

eventSchemaVersionstring

The version of the schema that this event adheres to

x

eventEventThe payload of an event

cps:org.onap.cps.ncmp.events:avc-event-schema:v1

TODO : add table describing Type:Event

...

Expand
titleAVC Subscription Event

Subscription Event Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
versionstringThe event type version

ekiemcc : What is this version?  This should be covered in the header now?
eventTypeobjectstring

The event type



ekiemcc : This is now covered by the header?  Is this needed any longer in the body?

Enum: 

["CREATE"]

eventobjectEventThe payload for an event

Defined by event object below

Event Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
subscriptionobjectSubscriptionThe subscription details

Defined by subscription object below
dataTypeobjectDataType

The datatype content



Defined by dataType object below
predicatesobjectPredicates

Additional values to be added into the subscription



Defined by predicates object below

Type: Subscription

Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
clientIDstring

The client ID




namestring

The name of the subscription




isTaggedboolean

optional parameter, default is false



default: false

Type: DataType

Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
dataspacestring

The dataspace name




dataCategorystring

The category type of the data




dataProviderstring

The provider name of the data




schemaNamestring

The name of the schema




schemaVersionstring

The version of the schema




Type: Predicates

Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
targetsarray

CM Handles to be targeted by the subscription




datastorestring

datastore which is to be used by the subscription




xpath-filterstring

filter to be applied to the CM Handles through this event





...

Expand
titleDMI Async Request Response Event

DmiAsyncRequestResponse Event Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
eventIDstringThe unique id identifying the event generated by DMI


eventCorrelationIdstring

The request id passed by NCMP




eventTimestringThe timestamp when original event occurred


eventTargetstringThe target of the event


eventTypestringThe type of the event


eventSchemastring

The event schema for async request response events




eventSchemaVersionstring

The event schema version for async request response events




eventSourcestringThe source of the event


eventContentobjectEventContentThe payload of an event

cps:org.onap.cps.ncmp.events:dmi-async-request-response-event-schema:v1

Defined by eventContent object below

Type: EventContent

Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
repsonse-data-schemastring

The schema of response data




response-statusstring

The status of the response




response-codestring

The code of the response




response-dataobjectThe data payload

contains payload of type object


...

Expand
titleNCMP Async Request Response Event

NcmpAsyncRequestResponse Event Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
eventIDstringThe unique id identifying the event generated by DMI


eventCorrelationIdstring

The request id passed by NCMP




eventTimestringThe timestamp when original event occurred


eventTargetstringThe target of the event


eventTypestringThe type of the event


eventSchemastring

The event schema for async request response events




eventSchemaVersionstring

The event schema version for async request response events




eventobjectEventThe payload of an event

Defined by event object below
forwardedEventobjectForwardedEventThe payload of a forwarded event

Defined by forwardedEvent object below
Event Object

Type: Event 

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
eventIDstringThe unique id identifying the event generated by DMI


eventCorrelationIdstring

The request id passed by NCMP




eventTimestringThe timestamp when original event occurred


eventTargetstringThe target of the event


eventTypestringThe type of the event


eventSchemastring

The event schema for async request response events




eventSourcestring

The source of the event




response-data-schemastring

The received schema of response data




response-statusstring

The received status of the response




response-codestring

The received code of the response




response-dataobject

The data payload



contains payload of type object

Type: forwardedEvent

Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
eventIDstringThe unique id identifying the event generated by DMI


eventCorrelationIdstring

The request id passed by NCMP




eventTimestringThe timestamp when original event occurred


eventTargetstringThe target of the event


eventTypestringThe type of the event


eventSchemastring

The event schema for async request response events




eventSchemaVersionstring

The event schema version for async request response events




eventSourcestring

The source of the event




response-data-schemastring

The received schema of response data




response-statusstring

The received status of the response




response-codestring

The received code of the response




response-dataobject

The data payload



contains payload of type object


...