aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2020-03-20 18:46:50 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-20 18:46:50 +0000
commita00e89e8b7f7ccc703d4b2c1211477cb9040717b (patch)
tree581236751878254bf1e577e1bdcf3f41585c5829 /tests
parentf909189e3d3cc4cc8a91fb499459d8f84c0e3fc5 (diff)
parent81b94381d9ee1aa89b513db342047ec8e71717e9 (diff)
Merge "Fixing APEX and Distribution csit failures due to invalid key name in policy"
Diffstat (limited to 'tests')
-rw-r--r--tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.tosca.json7
-rw-r--r--tests/policy/apex-pdp/data/pdp_update.json2
2 files changed, 6 insertions, 3 deletions
diff --git a/tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.tosca.json b/tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.tosca.json
index 07118ac3..179bbea2 100644
--- a/tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.tosca.json
+++ b/tests/policy/apex-pdp/data/onap.policies.controlloop.operational.Apex.tosca.json
@@ -3,11 +3,14 @@
"topology_template": {
"policies": [
{
- "operational.sampledomain": {
+ "operational.apex.sampledomain": {
"type": "onap.policies.controlloop.operational.Apex",
"type_version": "1.0.0",
- "name": "onap.policies.controlloop.Operational.apex.sampledomain",
"version": "1.0.0",
+ "metadata": {
+ "policy-id": "operational.apex.sampledomain",
+ "policy-version": 1
+ },
"properties": {
"engineServiceParameters": {
"name": "MyApexEngine",
diff --git a/tests/policy/apex-pdp/data/pdp_update.json b/tests/policy/apex-pdp/data/pdp_update.json
index e880d5ed..5b4dfde7 100644
--- a/tests/policy/apex-pdp/data/pdp_update.json
+++ b/tests/policy/apex-pdp/data/pdp_update.json
@@ -7,7 +7,7 @@
"pdpType": "apex",
"action": "POST",
"policies": [{
- "name": "onap.policies.controlloop.Operational.apex.sampledomain",
+ "name": "operational.apex.sampledomain",
"version": "1.0.0"
}]
}