ad95c07b9e6f71d28b085c6c8cbdd358d4a0453c
[clamp.git] / src / test / resources / example / tca-policy-req / tca-policy-expected.json
1 {
2   "service": "policy_tosca_tca",
3   "version": "1.0.0",
4   "location": "SampleServiceLocation",
5   "configName": "SampleConfigName",
6   "uuid": "test",
7   "policyScope": "resource=SampleResource,service=SampleService,type=SampleType,closedLoopControlName=ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e",
8   "templateVersion": "OpenSource.version.1",
9   "policyName": "DCAE.Config_example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4",
10   "description": "MicroService vCPE Policy",
11   "priority": "1",
12   "riskType": "SampleRiskType",
13   "riskLevel": "1",
14   "guard": "False",
15   "content": {
16     "domain": "measurementsForVfScaling",
17     "metricsPerEventName": [
18       {
19         "eventName": "vFirewallBroadcastPackets",
20         "controlLoopSchemaType": "VNF",
21         "policyScope": "DCAE",
22         "policyName": "DCAE.Config_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 }