Versions Compared

Key

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

...

PlantUML Macro
titleSubscription Create
@startuml "Subsciption Create"

participant CLIENT
participant NCMP
participant DMI_PLUGIN

CLIENT -> NCMP: 1. Incoming subscriptionCreate event
NCMP -> NCMP: 2. NCMP to persist incoming subscription request.
NCMP -> DMI_PLUGIN: 3. ncmp to forward event to relevant dmi plugin
DMI_PLUGIN -> DMI_PLUGIN: 4. Apply the requested event and respond with the status
DMI_PLUGIN --> NCMP: 5. Status of the subscriptionCreate request whether accepted/rejected/pending
NCMP --> CLIENT: 6. Respond with the status(rejected/pending) that we received from dmi plugin

@enduml

...


DME to NCMP

Subscription Create Event (Schema 1)

Code Block
languagebash
titleSubscription Create Event (Schema 1)
topic subscription

id generated by client
source "SCO-9989752"
specversion  "1.0"
type subscriptionCreated
time
dataschema org.onap.ncmp.cm.subscription:1.0.0
data

{
  "data": {
    "subscription": {
      "clientID": "SCO-9989752",
      "name": "cm-subscription-001"
    },
    "dataType": {
      "dataspace": "ALL",
      "dataCategory": "CM",
      "dataProvider": "CM-SERVICE"
    },
    "predicates": {
                   “targets” :  [“cmHandle1”, “cmHandle2”, “cmHandle3”]     #  cmhandle targets
        "datastore": “passthrough-operational",
        "datastore-xpath-filter": "//_3gpp-nr-nrm-gnbdufunction:GNBDUFunction/ 
             _3gpp-nr-nrm-nrcelldu:NRCellDU/ | //_3gpp-nr-nrm-gnbcuupfunction:GNBCUUPFunction// |
            //_3gpp-nr-nrm-gnbcucpfunction:GNBCUCPFunction/_3gpp-nr-nrm-nrcelldu:NRCellCU// |
            //_3gpp-nr-nrm-nrsectorcarrier:NRSectorCarrier//”  
 
    }
}

"javaType": "org.onap.cps.ncmp.events.avcsubscription1_0_0.client_to_ncmp"

...