-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
None
PMSH - Policy Impact Investigation.
- Update to Create Subscription Event sent by PMSH to Policy over Dmaap.
- Update to Response Event received by PMSH after successful/failure creation of Subscription on Network Function.
New Create Subscription Event format:
- In this new format measurementGroups List is removed and only single measurementGroup Json object is sent with "measurementGroupName" as new attribute added to structure.
- Old request format can be found here.
- Old response format can be found here.
New Response Event format based on discussions is as follows:
- In request and response event only "measurementGroupName" is newly added attribute under status.
{ "nfName":"PNF104", "ipAddress":"10.12.13.12", "operationalPolicyName":"pmsh-operational-policy", "controlLoopName":"pmsh-control-loop" (*** optional value : blank value is sent if not present in API request), "blueprintName":"pm_control", "blueprintVersion":"1.2.4", "changeType":"CREATE", "subscription":{ "subscriptionName":"subscriptiona", "fileBasedGP":15, "fileLocation":"/pm/pm.xml", "measurementGroup":{ "measurementGroupName":"msg1", "measurementTypes":[ { "measurementType":"countera" }, { "measurementType":"counterb" } ], "managedObjectDNsBasic":[ { "DN":"dna" }, { "DN":"dnb" } ] } } }
{ "name":"ResponseEvent", "nameSpace":"org.onap.policy.apex.onap.pmcontrol", "source":"APEX", "target":"DCAE", "version":"0.0.1", "status":{ "subscriptionName":"subscriptiona", "measurementGroupName":"msg1", "nfName":"PNF104", "changeType":"CREATE", "message":"success" } }
As part of the DELETE event, we don't need to send the full payload again, only the following -
{ "nfName":"PNF104", "ipAddress":"10.12.13.12", "subscriptionName":"subscriptiona", "measurementGroupName":"msg1", "operationalPolicyName":"pmsh-operational-policy", "controlLoopName":"pmsh-control-loop", "blueprintName":"pm_control", "blueprintVersion":"1.2.4", "changeType":"DELETE" }
- blocks
-
DCAEGEN2-2802 Enhanced API for PMSH subscription management
- Closed