New Files added for future unit tests
[clamp.git] / src / test / resources / example / tca-policy-req / tca-policy-expected.json
1 {
2   "cdap-tca-hi-lo_policy": {
3     "domain": "measurementsForVfScaling",
4     "metricsPerEventName": [
5       {
6         "eventName": "vFirewallBroadcastPackets",
7         "policyScope": "DCAE",
8         "policyName": "example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4",
9         "policyVersion": "v0.0.1",
10         "thresholds": [
11           {
12             "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_null",
13             "controlLoopSchema": "VNF",
14             "version": "1.0.2",
15             "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta",
16             "thresholdValue": 123,
17             "direction": "GREATER_OR_EQUAL",
18             "severity": "MAJOR",
19             "closedLoopEventStatus": "ONSET"
20           },
21           {
22             "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_null",
23             "controlLoopSchema": "VNF",
24             "version": "1.0.2",
25             "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta",
26             "thresholdValue": 123,
27             "direction": "GREATER_OR_EQUAL",
28             "severity": "MAJOR",
29             "closedLoopEventStatus": "ONSET"
30           }
31         ]
32       }
33     ]
34   }
35 }