aboutsummaryrefslogtreecommitdiffstats
path: root/tests/policy/pap/data
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-08-19 16:18:52 -0400
committerPamela Dragosh <pdragosh@research.att.com>2020-08-19 18:58:52 -0400
commitbd5f1dc0e617f25ce38ae0723710c43619ec6fd8 (patch)
tree74866e753b678bcbffdcd479b839feb2b8be2f5e /tests/policy/pap/data
parent3a52015d20454d68dced8aef5a65a8377d2cac4a (diff)
Update to new tcagen2 policy type
Replacing deprecated tca policy type with new tcagen2 policy type. Issue-ID: POLICY-2772 Change-Id: Id53e61caf9675e0080274784870970c7ea2575f8 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'tests/policy/pap/data')
-rw-r--r--tests/policy/pap/data/create.group.request.json4
-rw-r--r--tests/policy/pap/data/vCPE.policy.monitoring.input.tosca.json4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/policy/pap/data/create.group.request.json b/tests/policy/pap/data/create.group.request.json
index ea04c0e5..1b63563f 100644
--- a/tests/policy/pap/data/create.group.request.json
+++ b/tests/policy/pap/data/create.group.request.json
@@ -13,7 +13,7 @@
"properties": {},
"supportedPolicyTypes": [
{
- "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
+ "name": "onap.policies.monitoring.tcagen2",
"version": "1.0.0"
}
],
@@ -25,7 +25,7 @@
"properties": {},
"supportedPolicyTypes": [
{
- "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
+ "name": "onap.policies.monitoring.tcagen2",
"version": "1.0.0"
}
],
diff --git a/tests/policy/pap/data/vCPE.policy.monitoring.input.tosca.json b/tests/policy/pap/data/vCPE.policy.monitoring.input.tosca.json
index 3003d9a8..8ec03fe5 100644
--- a/tests/policy/pap/data/vCPE.policy.monitoring.input.tosca.json
+++ b/tests/policy/pap/data/vCPE.policy.monitoring.input.tosca.json
@@ -4,14 +4,14 @@
"policies": [
{
"onap.restart.tca": {
- "type": "onap.policies.monitoring.cdap.tca.hi.lo.app",
+ "type": "onap.policies.monitoring.tcagen2",
"version": "1.0.0",
"type_version": "1.0.0",
"metadata": {
"policy-id": "onap.restart.tca"
},
"properties": {
- "tca_policy": {
+ "tca.policy": {
"domain": "measurementsForVfScaling",
"metricsPerEventName": [
{