Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-2888

[PMSH] Policy Impact Investigation.

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • Jakarta Release
    • None
    • None

    Description

      PMSH - Policy Impact Investigation.

      1. Update to Create Subscription Event sent by PMSH to Policy over Dmaap.
      2. Update to Response Event received by PMSH after successful/failure creation of Subscription on Network Function.

      New Create Subscription Event format:

      1. In this new format measurementGroups List is removed and only single measurementGroup Json object is sent with "measurementGroupName" as new attribute added to structure.
      2. Old request format can be found here
      3. Old response format can be found here

      New Response Event format based on discussions is as follows:

      1. 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"
      } 

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              SagarS Sagar Shetty
              ajay_dp001 Ajay Deep Singh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: