blob: 2de06b083a29ab1f934dd60e1f9cafe8f1c1ac76 [file] [log] [blame]
sebdet0cb57982019-04-03 17:07:34 +02001{
2 "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
3 "topology_template": {
4 "policies": [
5 {
6 "testPolicy": {
sebdet12700b02019-04-25 12:24:45 +02007 "type": "onap.policies.monitoring.cdap.tca.hi.lo.app",
sebdet0cb57982019-04-03 17:07:34 +02008 "version": "1.0.0",
9 "metadata": {
10 "policy-id": "testPolicy"
11 },
12 "properties": {
13 "tca_policy": {
14 "domain": "measurementsForVfScaling",
15 "metricsPerEventName": [
16 {
17 "policyVersion": "1.0.0",
18 "thresholds": [
19 {
20 "severity": "CRITICAL",
21 "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta",
22 "thresholdValue": 1,
23 "closedLoopEventStatus": "ONSET",
24 "closedLoopControlName": "test",
25 "version": "1.0.0",
26 "direction": "LESS"
27 }
28 ],
29 "policyName": "test",
30 "controlLoopSchemaType": "VM",
31 "policyScope": "test",
32 "eventName": "test"
33 }
34 ]
35 }
36 }
37 }
38 }
39 ]
40 }
41}