Rollback policyScope
[clamp.git] / src / test / resources / example / tca-policy-req / tca-policy-expected.json
1 {
2   "service": "tca_policy",
3   "version": "1.1.0",
4   "location": "SampleServiceLocation",
5   "configName": "SampleConfigName",
6   "uuid": "test",
7   "templateVersion": "OpenSource.version.1",
8   "policyName": "example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4",
9   "description": "MicroService Policy",
10   "priority": "1",
11   "riskType": "SampleRiskType",
12   "riskLevel": "1",
13   "guard": "False",
14   "content": {
15     "tca_policy": {
16         "domain": "measurementsForVfScaling",
17         "metricsPerEventName": [
18         {
19           "eventName": "vFirewallBroadcastPackets",
20           "controlLoopSchemaType": "VNF",
21           "policyScope": "DCAE",
22           "policyName": "example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4",
23           "policyVersion": "v0.0.1",
24           "thresholds": [
25             {
26               "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_null",
27               "version": "1.0.2",
28               "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta",
29               "thresholdValue": 123,
30               "direction": "GREATER_OR_EQUAL",
31               "severity": "MAJOR",
32               "closedLoopEventStatus": "ONSET"
33             },
34             {
35               "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_null",
36               "version": "1.0.2",
37               "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta",
38               "thresholdValue": 123,
39               "direction": "GREATER_OR_EQUAL",
40               "severity": "MAJOR",
41               "closedLoopEventStatus": "ONSET"
42             }
43           ]
44         }
45       ]
46     }
47   }
48 }