Versions Compared

Key

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

Table of Contents

References

Jira
serverONAP Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-1431

...

https://wiki.onap.org/display/DW/CPS-1065+Spike%3A+CM+data+notifications+from+NCMP+to+applications+including+subscriptions

Assumptions

#AssumptionNotes
1All information included in the subscription event will be forwarded
2org.onap.ncmp:cm-avc-subscription-event.response will be received from the DMI as per CPS-1065 Spike: CM data notifications from NCMP to applications including subscriptions#SubscriptionSteps

Events

Forward Subscription Event

  1. At the moment, it is up to the DMI Plugins to accept or reject
  2. NCMP has to reject if cached dataspace is used (Cached is currently not supported)

  3. Code Block
    titleAVC Subscription Forwarding
    collapsetrue
    {
    "$id": "urn:cps:org.onap.cps.ncmp.events:avc-subscription-event.forward:v1",
    "$timestamp": "0000"
    "$forwardedSubscriptionEvent":
    {
      "version": "1.0",
      "eventType": "subscriptionCreated",
      "event": {
        "subscription": {
          "clientID": "SCO-9989752",
          "name": "cm-subscription-001"
        },
        "dataType": {
          "dataspace": "ALL",
          "dataCategory": "CM",
          "dataProvider": "CM-SERVICE"
          "schemaName": "org.onap.ncmp:cm-network-avc-event.rfc8641"
          "schemaVersion": "1.0"
        },
        "predicates": {
            "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//”  
     
        }
    }
    } 	


Subscription Event Responses

  1. NCMP will be aware of the registered DMIs and the CMHandles registered to a given DMI
    1. Therefore will know how many DMIs to be waiting for a response from
    2. Wait for timeout before sending event outcome? (30s)

Subscription Event Outcome

  1. NCMP is to collate Event Responses from DMI and send.
  2. Wait for timeout,
    1. if all DMIs returned send full Event Outcome
    2. else partial event outcomes

Component Diagram

draw.io Diagram
bordertrue
diagramNameUntitled Diagram
simpleViewerfalse
width600
linksauto
tbstyletop
lboxtrue
diagramWidth1321
revision5

Issues & Decisions

#IssueNotes Decision
1Is the forwarding being done via an endpoint or an asynchronous kafka message
  1. Doing via endpoint will make it complicated to forward to multiple DMIs
  2. New endpoint will have to be implemented on DMI
  3. Propose org.onap.ncmp:cm-avc-subscription-event.forward


2Extra data needed for forwarded message? What is the schema
        1. ID?
        2. timestamp?
Code Block
titleAVC Subscription Forwarding
collapsetrue
{
"$id": "urn:cps:org.onap.cps.ncmp.events:avc-subscription-event.forward:v1",
"$timestamp": "0000"
"$forwardedSubscriptionEvent":
{
  "version": "1.0",
  "eventType": "subscriptionCreated",
  "event": {
    "subscription": {
      "clientID": "SCO-9989752",
      "name": "cm-subscription-001"
    },
    "dataType": {
      "dataspace": "ALL",
      "dataCategory": "CM",
      "dataProvider": "CM-SERVICE"
      "schemaName": "org.onap.ncmp:cm-network-avc-event.rfc8641"
      "schemaVersion": "1.0"
    },
    "predicates": {
        "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//”  
 
    }
}
} 	



Code Block
titleAVC Subscription Forwarding
collapsetrue
{
"$id": "urn:cps:org.onap.cps.ncmp.events:avc-subscription-event.forward:v1",
"$timestamp": "0000"
"$forwardedSubscriptionEvent":
{
  "version": "1.0",
  "eventType": "subscriptionCreated",
  "event": {
    "subscription": {
      "clientID": "SCO-9989752",
      "name": "cm-subscription-001"
    },
    "dataType": {
      "dataspace": "ALL",
      "dataCategory": "CM",
      "dataProvider": "CM-SERVICE"
      "schemaName": "org.onap.ncmp:cm-network-avc-event.rfc8641"
      "schemaVersion": "1.0"
    },
    "predicates": {
        "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//”  
 
    }
}
}  


3Error Scenarios
  1. DMI Rejects Predicates
  2. Error Codes

Not in scope: Future story for notifying clients that subscription failed to be created


4Review Diagram in CPS Data Notifications Overview

...