From 0cb57989949080d6cc3853c432a233605c321388 Mon Sep 17 00:00:00 2001 From: sebdet Date: Wed, 3 Apr 2019 17:07:34 +0200 Subject: LoopLog repository Introduction of the loop log repo + refactoring Issue-ID: CLAMP-303 Change-Id: I3e806993d35f82fd9258e55592391a48eb7e199f Signed-off-by: sebdet --- .../tosca/micro-service-policy-properties.json | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/test/resources/tosca/micro-service-policy-properties.json (limited to 'src/test/resources/tosca/micro-service-policy-properties.json') diff --git a/src/test/resources/tosca/micro-service-policy-properties.json b/src/test/resources/tosca/micro-service-policy-properties.json new file mode 100644 index 000000000..6baa32942 --- /dev/null +++ b/src/test/resources/tosca/micro-service-policy-properties.json @@ -0,0 +1,23 @@ +{ + "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" + } + ] +} -- cgit 1.2.3-korg