From cab983fd09411170fdde17227c3bfec8e72e9aa6 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Wed, 19 Aug 2020 18:39:14 -0400 Subject: 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 --- .../resources/policies/vDNS.policy.monitoring.input.tosca.v2.yaml | 4 ++-- .../policies/vFirewall.policy.monitoring.input.tosca.v2.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'main/src/test/resources') 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: - -- cgit 1.2.3-korg