aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/micro-service-policy-properties.json
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2020-03-19 16:24:10 +0100
committerxuegao <xg353y@intl.att.com>2020-03-19 17:01:59 +0100
commitc405a83ec84c2bc1c090f06f9ac6207469e09cbb (patch)
treefc1a74f824cf69380bedb65b739ab33fdfeaf902 /src/test/resources/tosca/micro-service-policy-properties.json
parenta2625fe6c6819fc41a6f4f5a9625cd9ba753bc72 (diff)
Fix loop submit bugs
Update the payload for policy creation and pdp group activation and update the policy url accordingly. Issue-ID: CLAMP-787 Change-Id: If39eeaccf780f1222b99ffc4dd5d7ef1460c4962 Signed-off-by: xuegao <xg353y@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.json44
1 files changed, 23 insertions, 21 deletions
diff --git a/src/test/resources/tosca/micro-service-policy-properties.json b/src/test/resources/tosca/micro-service-policy-properties.json
index 6baa32942..04fe0cc7f 100644
--- a/src/test/resources/tosca/micro-service-policy-properties.json
+++ b/src/test/resources/tosca/micro-service-policy-properties.json
@@ -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"
+ }
+ ]
+ }
}