aboutsummaryrefslogtreecommitdiffstats
path: root/tests/policy/apex-pdp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/policy/apex-pdp')
-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"
}]
}