...
PlantUML Macro | ||
---|---|---|
| ||
@startuml 'https://plantuml.com/activity-diagram-beta start : DME to send Cm Subscription Delete Request; : NCMP to extract out subscriptionId; : using subscriptionId , Query all the tracked Cm Subscriptions; : Populate details in Cm Notification Subscription Cache; if (all the Subscription predicates are part of ongoing Subscriptions ) then (trueYES) : directly delete the subscriptionId from the ongoing subscribers list from DB; : mark the subscription delete request as ACCEPTED in the cache; : respond back to the client with ACCEPTED ; else (falseNO) : for all the 'last lights out' predicate information call the DMI Plugin; if (DMI Plugin accepts the delete request) then (yesYES) : using the information present in cmNotificationSubscriptionCache, delete the records from DB; : mark the subscription delete request as ACCEPTED in the cache; : respond back to the client with ACCEPTED; else (noNO) : dont delete any records from DB; : mark the subscription delete request as REJECTED in the cache; : respond back to the client with REJECTED; endif endif : cleanup the cache; stop @enduml |
...