aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/src/test/resources/example/policy/single-policy-enriched.json
blob: 66355e589e0ec3c195c0227524fd4fd827c222e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  "type": "onap.policies.monitoring.tcagen2",
  "type_version": "1.0.0",
  "properties": {
    "tca.policy": {
      "domain": "measurementsForVfScaling",
      "metricsPerEventName": [
        {
          "policyScope": "DCAE",
          "thresholds": [
            {
              "version": "1.0.2",
              "severity": "MAJOR",
              "thresholdValue": 200,
              "closedLoopEventStatus": "ONSET",
              "closedLoopControlName": "LOOP_test",
              "direction": "LESS_OR_EQUAL",
              "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta"
            }
          ],
          "eventName": "vLoadBalancer",
          "policyVersion": "v0.0.1",
          "controlLoopSchemaType": "VM",
          "policyName": "DCAE.Config_tca-hi-lo"
        }
      ]
    }
  },
  "name": "MICROSERVICE_vLoadBalancerMS_v1_0_tcagen2_1_0_0_AV0",
  "version": "1.0.0",
  "metadata": {
    "policy-id": "MICROSERVICE_vLoadBalancerMS_v1_0_tcagen2_1_0_0_AV0",
    "policy-version": "1.0.0"
  },
  "pdpGroupInfo": {
    "pdpGroup": "pdpGroup2",
    "pdpSubGroup": "subGroup2"
  },
  "supportedPdpGroups": [
    {
      "pdpGroup2": [
        "subGroup2",
        "subGroup3"
      ]
    }
  ]
}