aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/test/resources/policies
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-08-19 18:39:14 -0400
committerPamela Dragosh <pdragosh@research.att.com>2020-08-19 18:39:18 -0400
commitcab983fd09411170fdde17227c3bfec8e72e9aa6 (patch)
tree2955e10bcbbad9877057e1645cc73d568e521439 /main/src/test/resources/policies
parent2db0f6ed167167a6f3825e5c77ec0e9e25342385 (diff)
Updates tests for new tcagen2 policy type
Forgot to include these. Once models got merged api failed. Issue-ID: POLICY-2772 Change-Id: Iae64effcba71ecbfbf6ab253de91842a9271c207 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'main/src/test/resources/policies')
-rw-r--r--main/src/test/resources/policies/vDNS.policy.monitoring.input.tosca.v2.yaml4
-rw-r--r--main/src/test/resources/policies/vFirewall.policy.monitoring.input.tosca.v2.yaml4
2 files changed, 4 insertions, 4 deletions
diff --git a/main/src/test/resources/policies/vDNS.policy.monitoring.input.tosca.v2.yaml b/main/src/test/resources/policies/vDNS.policy.monitoring.input.tosca.v2.yaml
index 03ad85f7..f7bd691d 100644
--- a/main/src/test/resources/policies/vDNS.policy.monitoring.input.tosca.v2.yaml
+++ b/main/src/test/resources/policies/vDNS.policy.monitoring.input.tosca.v2.yaml
@@ -2,13 +2,13 @@ tosca_definitions_version: tosca_simple_yaml_1_1_0
topology_template:
policies:
- onap.scaleout.tca:
- type: onap.policies.monitoring.cdap.tca.hi.lo.app
+ type: onap.policies.monitoring.tcagen2
type_version: 1.0.0
version: 2.0.0
metadata:
policy-id: onap.scaleout.tca
properties:
- tca_policy:
+ tca.policy:
domain: measurementsForVfScaling
metricsPerEventName:
- eventName: vLoadBalancer
diff --git a/main/src/test/resources/policies/vFirewall.policy.monitoring.input.tosca.v2.yaml b/main/src/test/resources/policies/vFirewall.policy.monitoring.input.tosca.v2.yaml
index 780b4321..bd543fce 100644
--- a/main/src/test/resources/policies/vFirewall.policy.monitoring.input.tosca.v2.yaml
+++ b/main/src/test/resources/policies/vFirewall.policy.monitoring.input.tosca.v2.yaml
@@ -3,12 +3,12 @@ topology_template:
policies:
-
onap.vfirewall.tca:
- type: onap.policies.monitoring.cdap.tca.hi.lo.app
+ type: onap.policies.monitoring.tcagen2
version: 2.0.0
metadata:
policy-id: onap.vfirewall.tca
properties:
- tca_policy:
+ tca.policy:
domain: measurementsForVfScaling
metricsPerEventName:
-