blob: 2533a54101b28a026f2f4623aaa53f195b7dfa19 [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",
xuegaoc405a832020-03-19 16:24:10 +01008 "type_version": "1.0.0",
sebdet0cb57982019-04-03 17:07:34 +02009 "version": "1.0.0",
10 "metadata": {
11 "policy-id": "testPolicy"
12 },
13 "properties": {
14 "tca_policy": {
15 "domain": "measurementsForVfScaling",
16 "metricsPerEventName": [
17 {
18 "policyVersion": "1.0.0",
19 "thresholds": [
20 {
21 "severity": "CRITICAL",
22 "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta",
23 "thresholdValue": 1,
24 "closedLoopEventStatus": "ONSET",
25 "closedLoopControlName": "test",
26 "version": "1.0.0",
27 "direction": "LESS"
28 }
29 ],
30 "policyName": "test",
31 "controlLoopSchemaType": "VM",
32 "policyScope": "test",
33 "eventName": "test"
34 }
35 ]
36 }
37 }
38 }
39 }
40 ]
41 }
42}