summaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/micro-service-policy-properties.json
blob: 04fe0cc7ff58ee05bb3a55ed0279de5288108ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  "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"
      }
    ]
  }
}