summaryrefslogtreecommitdiffstats
path: root/src/test/resources/example/tca-policy-req/tca-policy-expected.json
blob: ce230918f32817027e4264c338710053ae8b61d3 (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
{
  "cdap-tca-hi-lo_policy": {
    "domain": "measurementsForVfScaling",
    "metricsPerEventName": [
      {
        "eventName": "vFirewallBroadcastPackets",
        "policyScope": "DCAE",
        "policyName": "example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4",
        "policyVersion": "v0.0.1",
        "thresholds": [
          {
            "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_null",
            "controlLoopSchema": "VNF",
            "version": "1.0.2",
            "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta",
            "thresholdValue": 123,
            "direction": "GREATER_OR_EQUAL",
            "severity": "MAJOR",
            "closedLoopEventStatus": "ONSET"
          },
          {
            "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_null",
            "controlLoopSchema": "VNF",
            "version": "1.0.2",
            "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta",
            "thresholdValue": 123,
            "direction": "GREATER_OR_EQUAL",
            "severity": "MAJOR",
            "closedLoopEventStatus": "ONSET"
          }
        ]
      }
    ]
  }
}