aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/src/test/resources/tosca/micro-service-policy-properties.json
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/src/test/resources/tosca/micro-service-policy-properties.json')
-rw-r--r--runtime/src/test/resources/tosca/micro-service-policy-properties.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/runtime/src/test/resources/tosca/micro-service-policy-properties.json b/runtime/src/test/resources/tosca/micro-service-policy-properties.json
new file mode 100644
index 000000000..04fe0cc7f
--- /dev/null
+++ b/runtime/src/test/resources/tosca/micro-service-policy-properties.json
@@ -0,0 +1,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"
+ }
+ ]
+ }
+}