Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

Version 1 Current »

References

CPS-2154 - Getting issue details... STATUS

Assumptions

#

Assumption

Notes

1

Issues & Decisions

#

Issue

Notes 

Decision

1Which Kafka topic should this proposed schema notify?
an existing Kafka topic, ncmp-async-m2m
2What should the event type be?

org.onap.cps.ncmp.events.async1_0_0.DataJobEvent (DataJobEvent)

3What should the event dataSchema be?
urn:cps:org.onap.cps.ncmp.events.async1_0_0.DataJobEvent:1.0.0

Cloud event Definition


ElementNameParentType   MandatoryDescriptionFormat(example) Value
1Headerheader
ObjectYesThe header of the cloud event. Header details provided below

2idheaderStringYesrandom id for cloud event header. UUID is suggested

3sourceheaderStringYessource of informationdmi.<datajobid>ncmp.12ac34e43556e
4specversionheaderStringYescloud event version specfixed value1.0
5typeheaderStringYestype of eventfixed valueorg.onap.cps.ncmp.events.async1_0_0.DataJobEvent
6dataschemaheaderStringYes

data schema

fixed valueurn:cps:org.onap.cps.ncmp.events.async1_0_0.DataJobEvent:1.0.0
7correlationidheaderStringYesThe dataJobId that this notification relates to<datajobid>12ac34e43556e
8destinationheaderStringYesThe client kafka topic.  The topic that the status will be sent to in the future<free text>result-topic
9Datadata
ObjectYesNote: treat result as data, don't validate, don't parse

"responses": [
    {
         "operationId": "1",
         "statusCode" : 0,
         "statusMessage" : "Successfully applied changes ",
         "request": {
             "op": "read",
             "path": " SubNetwork=Europe/SubNetwork=Ireland/MeContext=someContext",
             " attributes ": "userLabel",
             "scope": {
                 "scopeType" : BASE_ONLY
             }
         },
         "result" : {
             "SubNetwork":{
                 "id":"Europe",
                 "SubNetwork":{
                      "id":"Ireland",
                      "MeContext":{
                          "id":"someContext",
                          "attributes":{
                             "userLabel":null
                          }
                      }
                 }

             }
         }

    }

]

  • No labels