summaryrefslogtreecommitdiffstats
path: root/tests/policy/engine/oofpolicy_HPA_R1.template
diff options
context:
space:
mode:
authorYang Xu <yang.xu3@huawei.com>2019-04-19 14:13:54 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-19 14:13:54 +0000
commit2d3f0db728f0e4c24e4a5461edea4a4ffa97d97b (patch)
treeddda596c0a7c17d49cbe5e0bb92016af526dd717 /tests/policy/engine/oofpolicy_HPA_R1.template
parentd5a328362ad6e1ff2160d16d100a0b05960bc4e4 (diff)
parent3f9a0960ae775678d1e1d4b598b593b59146cb0f (diff)
Merge "Finish drools CSIT infra"
Diffstat (limited to 'tests/policy/engine/oofpolicy_HPA_R1.template')
-rw-r--r--tests/policy/engine/oofpolicy_HPA_R1.template6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/policy/engine/oofpolicy_HPA_R1.template b/tests/policy/engine/oofpolicy_HPA_R1.template
new file mode 100644
index 00000000..3a170b20
--- /dev/null
+++ b/tests/policy/engine/oofpolicy_HPA_R1.template
@@ -0,0 +1,6 @@
+{
+ "configBody": "{\"service\":\"hpaPolicy\",\"policyName\":\"testWorkingTOSCA\",\"description\":\"testing\",\"templateVersion\":\"OpenSource.version.1\",\"version\":\"CSIT\",\"priority\":\"5\",\"riskType\":\"SampleRiskType\",\"riskLevel\":\"3\",\"guard\":\"False\",\"content\":{\"identity\":\"testIdentity\",\"policyScope\":[\"test1\",\"test2\",\"test3\"],\"policyType\":\"hpaPolicy\",\"resources\":\"testResources1\",\"flavorFeatures\":[{\"flavorLabel\":\"testFlavor\",\"flavorProperties\":[{\"score\":\"testScore\",\"featureAttributes\":[{\"unit\":\"testUnit\",\"attribute\":\"teatFeatureAttribute\",\"value\":\"testValue\",\"operator\":\"any\"}],\"mandatory\":\"testMandatory\",\"hpaFeature\":\"testHAPFeature\",\"architecture\":\"testArch\"}]}]}}",
+ "policyConfigType": "Optimization",
+ "policyName": "${policy_name}",
+ "onapName": "OOF"
+}