...
# | Interface | Requirement | Additional Information |
---|
1 | CPS-E-08 | Event from clients to delete an ongoing subscription |
|
|
|
|
|
Error Handling
# | Error Scenario | Expected behavior |
---|
|
|
|
...
# | Issue | Notes | Decisions |
---|
1 | Delete the subscription from the database? | - When do we actually delete the subscription from CPS DB ? We plan to do it when we receive response from the DMI plugins and the underlying subscriptions from the devices are deleted.
|
|
2 | What do we need to send to the DMI Plugin so that they are able to decide that how to delete the ongoing subscription. | - subscription name + client id
- + cmhandle ids?
- + cmhandle properties?
- + datastore?
|
|
...
topic subscription
id generated by client
source "SCO-9989752"
specversion "1.0"
type subscriptionDeleted
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":{
"datastore":"passthrough-running"
}
}
"javaType" : "org.onap.cps.ncmp.events.avcsubscription1_0_0.client_to_ncmp"
|
NCMP to DMI-Plugins
...
Produced by NCMP and Consumed by DMI Plugins
...