aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/micro-service-policy-properties.json
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-04-03 17:07:34 +0200
committersebdet <sebastien.determe@intl.att.com>2019-04-05 14:54:32 +0200
commit0cb57989949080d6cc3853c432a233605c321388 (patch)
treef2800aec37b1b2010cbfb70202c4a4925f3090eb /src/test/resources/tosca/micro-service-policy-properties.json
parent3772c8513f618f9b76fc7bfa55fa140eb60f2a4b (diff)
LoopLog repository
Introduction of the loop log repo + refactoring Issue-ID: CLAMP-303 Change-Id: I3e806993d35f82fd9258e55592391a48eb7e199f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/test/resources/tosca/micro-service-policy-properties.json')
-rw-r--r--src/test/resources/tosca/micro-service-policy-properties.json23
1 files changed, 23 insertions, 0 deletions
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"
+ }
+ ]
+}