Fix duplicate thresholds
Fix issue detected when publishing multiple thresholds in the TCA UI
Issue-ID: CLAMP-165
Change-Id: I748f145c275a9e084effee451379e8c0615201d2
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
diff --git a/src/test/resources/example/tca-policy-req/tca-policy-expected.json b/src/test/resources/example/tca-policy-req/tca-policy-expected.json
index 5bf007b..6e302dd 100644
--- a/src/test/resources/example/tca-policy-req/tca-policy-expected.json
+++ b/src/test/resources/example/tca-policy-req/tca-policy-expected.json
@@ -28,9 +28,9 @@
"version": "1.0.2",
"fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value",
"thresholdValue": 123,
- "direction": "GREATER_OR_EQUAL",
+ "direction": "LESS_OR_EQUAL",
"severity": "MAJOR",
- "closedLoopEventStatus": "ONSET"
+ "closedLoopEventStatus": "ABATED"
},
{
"closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_0",