Update Policy committers in policy/xacml-pdp
[policy/xacml-pdp.git] / applications / monitoring / src / test / resources / vDNS.policy.input.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 topology_template:
3   policies:
4     -
5       onap.scaleout.tca:
6         type: onap.policies.monitoring.cdap.tca.hi.lo.app
7         type_version: 1.0.0
8         version: 1.0.0
9         metadata:
10           policy-id: onap.scaleout.tca
11           policy-version: 1
12         properties:
13           tca_policy:
14              domain: measurementsForVfScaling
15              metricsPerEventName:
16                -
17                  eventName: vLoadBalancer
18                  controlLoopSchemaType: VNF
19                  policyScope: "type=configuration"
20                  policyName: "onap.scaleout.tca"
21                  policyVersion: "v0.0.1"
22                  thresholds:
23                    - closedLoopControlName: "CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A"
24                      closedLoopEventStatus: ONSET
25                      version: "1.0.2"
26                      fieldPath: "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated"
27                      thresholdValue: 500
28                      direction: LESS_OR_EQUAL
29                      severity: MAJOR
30                    -
31                      closedLoopControlName: "CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B"
32                      closedLoopEventStatus: ONSET
33                      version: "1.0.2"
34                      fieldPath: "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated"
35                      thresholdValue: 5000
36                      direction: GREATER_OR_EQUAL
37                      severity: CRITICAL