{
  "name": "CreateSubscriptionRequestEvent",
  "version": "0.0.1",
  "nameSpace": "org.onap.policy.apex.onap.pmcontrol",
  "source": "APEX",
  "target": "APEX",
  "toscaPolicyState": "",
  "actionIdentifiers": {
    "mode": "sync",
    "blueprintName": "pm_control",
    "blueprintVersion": "1.0.0",
    "actionName": "create-subscription"
  },
  "commonHeader": {
    "subRequestId": "sub-123456-1000",
    "requestId": "123456-1000",
    "originatorId": "sdnc"
  },
  "payload": {
    "create-subscription-request": {
      "create-subscription-properties": {
        "nfName": "pnf300",
        "administrativeState": "UNLOCKED",
        "subscriptionName": "testPolicyB",
        "measurementGroups": [
          {
            "measurementGroup": {
              "measurementTypes": [
                {
                  "measurementType": "countera"
                },
                {
                  "measurementType": "counterb"
                }
              ],
              "managedObjectDNsBasic": [
                {
                  "DN": "dna"
                },
                {
                  "DN": "dnb"
                }
              ]
            }
          },
          {
            "measurementGroup": {
              "measurementTypes": [
                {
                  "measurementType": "counterc"
                },
                {
                  "measurementType": "counterd"
                }
              ],
              "managedObjectDNsBasic": [
                {
                  "DN": "dnc"
                },
                {
                  "DN": "dnd"
                }
              ]
            }
          }
        ],
        "fileBasedGP": "15.0",
        "fileLocation": "/pm/pm.xml"
      }
    }
  }
}
{
  "name": "CDSResponseStatusEvent",
  "version": "0.0.1",
  "nameSpace": "org.onap.policy.apex.onap.pmcontrol",
  "source": "APEX",
  "target": "DCAE",
  "toscaPolicyState": "EXIT_SUCCESS",
  "status": {
    "nfName": "pnf300",
    "subscriptionName": "testPolicyB",
    "changeType": "CREATE",
    "message": "success"
  }
}
{
  "name": "LogEvent",
  "version": "0.0.1",
  "nameSpace": "org.onap.policy.apex.onap.pmcontrol",
  "source": "APEX",
  "target": "DCAE",
  "toscaPolicyState": "",
  "final_status": "FINAL_SUCCESS",
  "message": "Operation successfully completed."
}
{
  "name": "CreateSubscriptionRequestEvent",
  "version": "0.0.1",
  "nameSpace": "org.onap.policy.apex.onap.pmcontrol",
  "source": "APEX",
  "target": "APEX",
  "toscaPolicyState": "",
  "actionIdentifiers": {
    "mode": "sync",
    "blueprintName": "pm_control",
    "blueprintVersion": "1.0.0",
    "actionName": "create-subscription"
  },
  "commonHeader": {
    "subRequestId": "sub-123456-1000",
    "requestId": "123456-1000",
    "originatorId": "sdnc"
  },
  "payload": {
    "create-subscription-request": {
      "create-subscription-properties": {
        "nfName": "pnf300",
        "administrativeState": "UNLOCKED",
        "subscriptionName": "testPolicyB",
        "measurementGroups": [
          {
            "measurementGroup": {
              "measurementTypes": [
                {
                  "measurementType": "countera"
                },
                {
                  "measurementType": "counterb"
                }
              ],
              "managedObjectDNsBasic": [
                {
                  "DN": "dna"
                },
                {
                  "DN": "dnb"
                }
              ]
            }
          },
          {
            "measurementGroup": {
              "measurementTypes": [
                {
                  "measurementType": "counterc"
                },
                {
                  "measurementType": "counterd"
                }
              ],
              "managedObjectDNsBasic": [
                {
                  "DN": "dnc"
                },
                {
                  "DN": "dnd"
                }
              ]
            }
          }
        ],
        "fileBasedGP": "15.0",
        "fileLocation": "/pm/pm.xml"
      }
    }
  }
}
{
  "name": "CDSResponseStatusEvent",
  "version": "0.0.1",
  "nameSpace": "org.onap.policy.apex.onap.pmcontrol",
  "source": "APEX",
  "target": "DCAE",
  "toscaPolicyState": "EXIT_SUCCESS",
  "status": {
    "nfName": "pnf300",
    "subscriptionName": "testPolicyB",
    "changeType": "CREATE",
    "message": "success"
  }
}
{
  "name": "LogEvent",
  "version": "0.0.1",
  "nameSpace": "org.onap.policy.apex.onap.pmcontrol",
  "source": "APEX",
  "target": "DCAE",
  "toscaPolicyState": "",
  "final_status": "FINAL_SUCCESS",
  "message": "Operation successfully completed."
}
