diff options
author | Brian Freeman <bf1936@att.com> | 2019-05-08 20:49:45 -0500 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2019-05-09 04:27:13 +0000 |
commit | 55b96e22063f3aa011d589a9cec23c7f86a5f6f1 (patch) | |
tree | c59f3ab9f82fd96dba758f0436b8f108ea143b69 /robot/assets/templates | |
parent | 36758c03ef0baadd235f3a32c503c656a9405334 (diff) |
Fix space on Log To Console
fix template $
change POST to Policy Api, Pap
Added Validate
Issue-ID: INT-1071
Change-Id: I8bd51341221e3dd2fb000ae1c5686760a279413e
Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/assets/templates')
-rw-r--r-- | robot/assets/templates/policy/closedloop_configpolicy.template | 2 | ||||
-rw-r--r-- | robot/assets/templates/policy/vFirewall_policy_monitoring_input_tosca.template | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/robot/assets/templates/policy/closedloop_configpolicy.template b/robot/assets/templates/policy/closedloop_configpolicy.template index a77a0caa..3f3575b4 100644 --- a/robot/assets/templates/policy/closedloop_configpolicy.template +++ b/robot/assets/templates/policy/closedloop_configpolicy.template @@ -24,7 +24,7 @@ "thresholds": [{ "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", "version": "1.0.2", - "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].receivedTotalPacketsDelta", + "fieldPath": "$$.event.measurementsForVfScalingFields.vNicUsageArray[*].receivedTotalPacketsDelta", "thresholdValue": 300, "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", diff --git a/robot/assets/templates/policy/vFirewall_policy_monitoring_input_tosca.template b/robot/assets/templates/policy/vFirewall_policy_monitoring_input_tosca.template index d1e65222..8ac5a9ed 100644 --- a/robot/assets/templates/policy/vFirewall_policy_monitoring_input_tosca.template +++ b/robot/assets/templates/policy/vFirewall_policy_monitoring_input_tosca.template @@ -24,7 +24,7 @@ "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "closedLoopEventStatus": "ONSET", "version": "1.0.2", - "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", + "fieldPath": "$$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "thresholdValue": 300, "direction": "LESS_OR_EQUAL", "severity": "MAJOR" @@ -33,7 +33,7 @@ "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "closedLoopEventStatus": "ONSET", "version": "1.0.2", - "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", + "fieldPath": "$$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "thresholdValue": 700, "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL" |