Fix loop submit bugs
[clamp.git] / src / test / resources / tosca / micro-service-policy-properties.json
index 6baa329..04fe0cc 100644 (file)
@@ -1,23 +1,25 @@
 {
-  "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"
-    }
-  ]
+  "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"
+      }
+    ]
+  }
 }