You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 30 Next »

Overview

CPS-1628 - Getting issue details... STATUS

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

Event Overview

#DescriptionSourceDestinationStatusNotesFull SchemaName
1LCM EventNCMPExternal Client AppsIn UseLife Cycle Management Events, when cmHandles are added or removed
cps: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

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

DmiAsyncRequestResponseEvent

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

NcmpAsyncRequestResponseEvent

6Bulk Response EventDMINCMPIn ProgressInternal Kafka topicDmiAsyncBulkResponseEvent
7

Bulk Response to Client Topic Event

NCMPExternal Client AppsIn ProgressError Message Reply to be decidedNcmpAsyncBulkResponseEvent

LCM Event

Description

LCM (Life Cycle Management) Event

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

AVC Event

Description

DMI AVC Event

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

AVC Subscription Event

Description

AVC 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?
eventTypeobject

The event type



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

Enum: 

["CREATE"]

eventobjectThe payload for an event

Defined by event object below

Event Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
subscriptionobjectThe subscription details

Defined by subscription object below
dataTypeobject

The datatype content



Defined by dataType object below
predicatesobject

Additional values to be added into the subscription



Defined by predicates object below

Subscription Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
clientIDstring

The client ID




namestring

The name of the subscription




isTaggedboolean

optional parameter, default is false



default: false

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




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




DMI Async Request Response Event

Description

DMI Asynchronous 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


eventContentobjectThe payload of an event

Defined by eventContent object below

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

NCMP Async Request Response Event

Description

NCMP Asynchronous 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




eventobjectThe payload of an event

Defined by event object below
forwardedEventobjectThe payload of a forwarded event

Defined by forwardedEvent object below

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




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

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

Bulk Response Event

Description

Bulk Response Event, uses event target for topic


BulkResponseEvent Object

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


eventCorrelationIdstring

The request id passed by NCMP




eventTargetstringThe destination topic of the client


eventTimestringThe timestamp when original event occurred


eventTypestringThe type of the event


eventSchemastring

The event schema for async request response events




eventSchemaVersionstring

The event schema version for async request response events




eventobjectThe payload of an event

java object not defined by schema

Bulk Response Event - Client Topic

Description

Bulk Response Event, uses client defined topic


BulkResponseEvent 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




eventobjectThe payload of an event

java object not defined by schema
  • No labels