aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/policy/suite1/configpolicy_vFW.template
diff options
context:
space:
mode:
authorma987d <ma987d@att.com>2017-09-28 16:33:03 -0500
committerma987d <ma987d@att.com>2017-09-29 18:03:47 -0500
commite38164bcd2a6d4e14c980fed52c510c8b6759f94 (patch)
tree2e8a695df90dd7b562d661ab0a30cb0bbabac0ae /test/csit/tests/policy/suite1/configpolicy_vFW.template
parent35921f6c42432336777607d1b2ff53191adaf420 (diff)
Policy CSIT test files with latest changes
Issue-Id: POLICY-77 Signed-off-by: ma987d <ma987d@att.com> Change-Id: I6704704b676c0c99817a61ca614e49ba980d79bd
Diffstat (limited to 'test/csit/tests/policy/suite1/configpolicy_vFW.template')
-rw-r--r--test/csit/tests/policy/suite1/configpolicy_vFW.template6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/csit/tests/policy/suite1/configpolicy_vFW.template b/test/csit/tests/policy/suite1/configpolicy_vFW.template
new file mode 100644
index 000000000..39e99e7b2
--- /dev/null
+++ b/test/csit/tests/policy/suite1/configpolicy_vFW.template
@@ -0,0 +1,6 @@
+{
+"configBody": "{\"service\": \"policy_tosca_tca\",\"location\": \"Ravi\",\"uuid\": \"/services/cdap-tca-hi-lo/instances/dfw1/configuration/metricsPerFunctionalRole/vFireWall\",\"policyName\": \"vFireWall\",\"description\": \"vFireWall\",\"configName\": \"TestConfigName\",\"templateVersion\": \"1607\",\"version\": \"8.7.6.5\",\"priority\": \"1\",\"policyScope\": \"resource=TestResource,service=TestService,type=TestType,closedLoopControlName=TestClosedLoop\",\"riskType\": \"test\",\"riskLevel\": \"2\",\"guard\": \"False\",\"content\": {\"policyVersion\": \"v0.0.1\",\"threshholds\": [{\"severity\": \"MAJOR\",\"fieldPath\": \"$$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\": \"4000\",\"closedLoopControlName\": \"CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8\",\"version\": \"1.0.2\",\"direction\": \"LESS_OR_EQUAL\"}, {\"severity\": \"CRITICAL\",\"fieldPath\": \"$$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\": \"20000\",\"closedLoopControlName\": \"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"version\": \"1.0.2\",\"direction\": \"GREATER_OR_EQUAL\"}],\"policyName\": \"configuration.ae.microservice.tca.xml\",\"functionalRole\": \"ClosedLoop_F5-d925ed73-8231-4d02-9545-db4e101f88f8\"}}",
+"policyConfigType": "MicroService",
+"policyName": "${policy_name}",
+"ecompName": "DCAE"
+} \ No newline at end of file