blob: 2de06b083a29ab1f934dd60e1f9cafe8f1c1ac76 [file] [log] [blame]
{
"tosca_definitions_version": "tosca_simple_yaml_1_0_0",
"topology_template": {
"policies": [
{
"testPolicy": {
"type": "onap.policies.monitoring.cdap.tca.hi.lo.app",
"version": "1.0.0",
"metadata": {
"policy-id": "testPolicy"
},
"properties": {
"tca_policy": {
"domain": "measurementsForVfScaling",
"metricsPerEventName": [
{
"policyVersion": "1.0.0",
"thresholds": [
{
"severity": "CRITICAL",
"fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta",
"thresholdValue": 1,
"closedLoopEventStatus": "ONSET",
"closedLoopControlName": "test",
"version": "1.0.0",
"direction": "LESS"
}
],
"policyName": "test",
"controlLoopSchemaType": "VM",
"policyScope": "test",
"eventName": "test"
}
]
}
}
}
}
]
}
}