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

Compare with Current View Page History

« Previous Version 34 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

Issues & Decisions:

#DescriptionNotesDecision
1No Event properties defined for (

DMI AVC Event, Bulk Response Events[Internal & client] 



2


Event Overview

#DescriptionSourceDestinationStatusNotesFull 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

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

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

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

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

6Bulk Response Event (Internal)DMINCMPIn ProgressInternal Kafka topiccps:org.onap.cps.ncmp.event:dmi-async-bulk-response-event-schema:v1
7

Bulk Response Event (Client)

NCMPExternal Client AppsIn ProgressForwarding the DMI responses to the client topiccps:org.onap.cps.ncmp.event:ncmp-async-bulk-response-event-schema:v1

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

DMI 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

Type: Event

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
No Properties defined (Entire event treated as single object)

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?
eventTypestring

The event type



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

Enum: 

["CREATE"]

eventEventThe payload for an event

Defined by event object below

Event Object

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
subscriptionSubscriptionThe subscription details
xDefined by subscription object below
dataTypeDataType

The datatype content


xDefined by dataType object below
predicatesPredicates

Additional values to be added into the subscription


xDefined by predicates object below

Type: Subscription

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
clientIDstring

The client ID


x
namestring

The name of the subscription


x
isTaggedboolean

optional parameter, default is false


xdefault: false

Type: DataType

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
dataspacestring

The dataspace name


x
dataCategorystring

The category type of the data


x
dataProviderstring

The provider name of the data


x
schemaNamestring

The name of the schema


x
schemaVersionstring

The version of the schema


x

Type: Predicates

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
targetsarray

CM Handles to be targeted by the subscription


x
datastorestring

datastore which is to be used by the subscription


x
xpath-filterstring

filter to be applied to the CM Handles through this event


x

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 DMIx

eventCorrelationIdstring

The request id passed by NCMP

x

eventTimestringThe timestamp when original event occurredx

eventTargetstringThe target of the eventx

eventTypestringThe type of the eventx

eventSchemastring

The event schema for async request response events

x

eventSchemaVersionstring

The event schema version for async request response events

x

eventSourcestringThe source of the eventx

eventContentEventContentThe payload of an event

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

Defined by eventContent object below

Type: EventContent

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
repsonse-data-schemastring

The schema of response data


x
response-statusstring

The status of the response


x
response-codestring

The code of the response


x
response-dataobjectThe data payload
xcontains 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 DMIx

eventCorrelationIdstring

The request id passed by NCMP

x

eventTimestringThe timestamp when original event occurredx

eventTargetstringThe target of the eventx

eventTypestringThe type of the eventx

eventSchemastring

The event schema for async request response events

x

eventSchemaVersionstring

The event schema version for async request response events

x

eventEventThe payload of an event

Defined by event object below
forwardedEventForwardedEventThe payload of a forwarded event

Defined by forwardedEvent object below

ekiemcc: This is a sub-element of 'event' payload as I recall which woulld be defined by the 'eventSchema'?

Type: Event 

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
eventIDstringThe unique id identifying the event generated by DMI
xOnly in payload in v1 of the payload schema.  To be removed in v2 version (will be in the header only)
eventCorrelationIdstring

The request id passed by NCMP


xas above
eventTimestringThe timestamp when original event occurred
xas above
eventTargetstringThe target of the event
xas above
eventTypestringThe type of the event
xas above
eventSchemastring

The event schema for async request response events


xas above
eventSourcestring

The source of the event


x
response-data-schemastring

The received schema of response data


x
response-statusstring

The received status of the response


x


response-codestring

The received code of the response


x
response-dataobject

The data payload


xcontains payload of type object

Type: forwardedEvent

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
eventIDstringThe unique id identifying the event generated by DMI
?Can NCMP put these in the header and remove them from the 'forwardedEvent'
eventCorrelationIdstring

The request id passed by NCMP


?as above
eventTimestringThe timestamp when original event occurred
?as above
eventTargetstringThe target of the event
?as above
eventTypestringThe type of the event
?as above
eventSchemastring

The event schema for async request response events


?as above
eventSchemaVersionstring

The event schema version for async request response events


?as above
eventSourcestring

The source of the event


?as above
response-data-schemastring

The received schema of response data


x
response-statusstring

The received status of the response


x


response-codestring

The received code of the response


x
response-dataobject

The data payload


xcontains payload of type object

Bulk Response Event (Internal)

Description

Bulk Response Event, uses event target for topic


BulkResponseEvent Object

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

eventCorrelationIdstring

The request id passed by NCMP

x

eventTargetstringThe destination topic of the clientx

eventTimestringThe timestamp when original event occurredx

eventTypestringThe type of the eventx

eventSchemastring

The event schema for async request response events

x

eventSchemaVersionstring

The event schema version for async request response events

x

eventEventThe payload of an event
xjava object not defined by schema

Type: Event

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
No Properties defined (Entire event treated as single object)

Bulk Response Event (Client)

Description

Bulk Response Event, uses client defined topic


BulkResponseEvent Object

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

eventCorrelationIdstring

The request id passed by NCMP

x

eventTimestringThe timestamp when original event occurredx

eventTypestringThe type of the eventx

eventSchemastring

The event schema for async request response events

x

eventSchemaVersionstring

The event schema version for async request response events

x

eventEventThe payload of an event
xjava object not defined by schema

Type: Event

FieldTypeDescriptionKafka HeaderEvent Payload FieldNotes
No Properties defined (Entire event treated as single object)
  • No labels