Versions Compared

Key

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

...

Info
iconfalse
titleDMI Event sent to NCMP

{

  "eventId"                    : "9999",                                                                      # some generic event uuid generated by DMI Plugin
  “eventCorrelationId” : “request-009995”,                                                      # for event correlation - acts as the request Id when
                                                                                                                        # eventType=org.onap.ncmp.async-request-response-event
  "eventTime"             : "2021-11-16T16:42:25-04:00", (kieran mccarthy is this format agreed?)
  "eventSource"          : "org.onap.ncmp",                                                        # ??? Is this needed?
Joseph Keenan will use dmiAsyncRequestResponseEvent.setEventSource(Application.class.getPackageName());  "eventType"             : "org.onap.ncmp.async-request-response-event",       # event type for async request response events (kieran mccarthy Who owns this schema? How do the schemas relate?)
  ”eventSchema”        : “org.onap.ncmp:async-request-response-event:v1",  # event schema for async request response events  (who owns this? table with owner, repo, color coded)
  “eventTarget”            : “topic:client-application-topic”,                                 # indicates where to route the event - ‘topic’ is default target type (kieran mccarthy will it be in format of topic:<topic> always or could it be extended e.g. ip:<ip-address>?)


  "event": {
     “response-data-schema” : “org.onap.cps.yang-patch-json:v1”,
     “response-status” : “SUCCESS”,
     “response-code”   : “201”,
     “response-data” : {
            …
           <response-data-payload>
           …
     }
  }
}

...