Versions Compared

Key

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

...


Element

Name

Parent

Type

Mandatory/
Optional

Description

Format

(example) Value

1Headerid
StringMandatoryrandom id for cloud event header. UUID
2source
StringMandatorysource of information.
ncmp or dmi
[ncmp | dmi ]ncmp
3specversion
StringMandatorycloud event version specfixed value1.0
4type
StringMandatorytype of eventfixed value

org.onap.cps.ncmp.events.async1_0_0.DataOperationEvent

5dataschema
StringMandatorydata schemafixed valueurn:cps:org.onap.cps.ncmp.events.async:data-operation-event-schema:1.0.0
6correlationid
StringMandatoryncmp generated request if. UUID
7Payloaddata
ObjectMandatoryThe actual data payload. Details will be provided below.

8responsesdataObject[]Mandatory

An array of batch responses which contains both success and failure



9operationIdresponses[i]StringMandatory

Used to distinguish multiple operations using same handle ids



10idsresponses[i]String[]Mandatory

Id's of the cmhandles.
If success contains a single element in the list.
For errors it can contain one or more id.



11resourceIdentifierresponses[i]StringOptional

Optional 'resource path' provided by the DMI Plugin

Depends on DMI Plugin Impl.
12optionsresponses[i]Map<String,Object>Optional

Additional 'options' provided by the DMI Plugin

Depends on DMI Plugin Impl.
13statusCoderesponses[i]IntegerMandatory


14statusMessageresponses[i]StringMandatory


15resultresponses[i]ObjectOptional
application/yang-data+json
16errorInforesponses[i]ObjectOptionaladditional error information for debug and retry purposes, present in case of failure error code<name>
17messageerrorInfoStringOptional message coming from EMS or node

18correctiveActionerrorInfoObjectOptionalkey-value pairs of possible recourse action the client can take in case of error

19retryAftercorrectiveActionIntegerOptionalseconds to wait before retry
60
20othercorrectiveAction<StringMap<String,object>Optionalnon-specific key-value pairs driven by ems or node

...