...
Usecase | Participants | Request Schema | Request Example |
---|
Register Subscriptions | ncmp → dmi | Protocol : REST Method : POST URI : /ncmpInventory/v1/subscriptions Async : true Request Body: { Code Block |
---|
language | xml |
---|
title | Request Body |
---|
collapse | true |
---|
| {
"subscriptions" : [ |
"cmhandleId" : "<cmhandle-id>", |
"subscriptionType": "subscriptionCreated | subscriptionUpdated | subscriptionDeleted", |
"existingSubscriptionId" : "<existing subscription-id on remote device>, |
optional, required for subscriptionUpdated | subscriptionDeleted", |
"schemaName": "<schema name>, default is org.onap.ncmp.cm-notification-event", |
"schemaVersion": "<schema version>, default is latest", |
"isTagged": "<yes|no>, optional parameter, default is no", |
"<parameter>": "<value>", |
<all-cmhandle-properties-as-per-normal-crud-request> |
Response : 202 Accepted { } | Protocol : REST Method : POST URI : /ncmpInventory/v1/subscriptions Async : true Request Body: { language | xml |
---|
title | Request Body |
---|
collapse | true |
---|
| {
"subscriptions" : [ |
"cmhandleId" : "e34553", (M) |
"subscriptionType": "create", (M) |
"schemaName": "org.onap.ncmp:cm-network-avc-event.rfc8641", (O) |
"schemaVersion": "1.0" (O) |
"datastore": “passthrough-operational", (O) |
"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//” |
"cmhandleProperties" : [ (M) |
<all the cmhandle properties> |
"cmhandleId" : "gg8769", (M) |
"subscriptionType": "update", (M) |
"existingSubscriptionId" : "6738462g3494hw9", (O) |
"schemaName": "org.onap.ncmp:cm-network-avc-event.rfc8641", (O) |
"schemaVersion": "1.0" (O) |
"datastore": “passthrough-operational", (O) |
"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//” |
"cmhandleProperties" : [ (M) |
<all the cmhandle properties> |
"cmhandleId" : "ff56743", (M) |
"subscriptionType": "delete", (M) |
"subscriptionId" : "6738462g3494hw9", (O but must be set for update or delete subscriptionType) |
"cmhandleProperties" : [ (M) |
<all the cmhandle properties> |
Response : 202 Accepted { } |
CM AVC Subscription Response - delete dmi subscription case
...