summaryrefslogtreecommitdiffstats
path: root/models-tosca/src/test/java
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-03-16 19:46:42 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-16 19:46:42 +0000
commit4d2cc5fc6c1e5fc20abaeab60e8e198bf4c98c09 (patch)
treec32554d86b53bc55ad7d6eeb1dc2f9cd4aaa2c7a /models-tosca/src/test/java
parentc26eafbeeca62982b96f9e97452c30457f12eef8 (diff)
parente9a0a6ea09a9f6fa0048ab233e29fbdefd7dd242 (diff)
Merge "Update monitoring policies with tcaPolicy"
Diffstat (limited to 'models-tosca/src/test/java')
-rw-r--r--models-tosca/src/test/java/org/onap/policy/models/tosca/serialization/MonitoringPolicySerializationTest.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/models-tosca/src/test/java/org/onap/policy/models/tosca/serialization/MonitoringPolicySerializationTest.java b/models-tosca/src/test/java/org/onap/policy/models/tosca/serialization/MonitoringPolicySerializationTest.java
index 07f5bca7d..8d0c8d440 100644
--- a/models-tosca/src/test/java/org/onap/policy/models/tosca/serialization/MonitoringPolicySerializationTest.java
+++ b/models-tosca/src/test/java/org/onap/policy/models/tosca/serialization/MonitoringPolicySerializationTest.java
@@ -66,10 +66,10 @@ public class MonitoringPolicySerializationTest {
LOGGER.info(serviceTemplate.validate(new PfValidationResult()).toString());
assertTrue(serviceTemplate.validate(new PfValidationResult()).isValid());
- assertEquals("onap.vcpe.tca:1.0.0",
- serviceTemplate.getTopologyTemplate().getPolicies().get("onap.vcpe.tca").getId());
- assertEquals("onap.vcpe.tca:1.0.0",
- serviceTemplate.getTopologyTemplate().getPolicies().get("onap.vcpe.tca").getId());
+ assertEquals("onap.restart.tca:1.0.0",
+ serviceTemplate.getTopologyTemplate().getPolicies().get("onap.restart.tca").getId());
+ assertEquals("onap.restart.tca:1.0.0",
+ serviceTemplate.getTopologyTemplate().getPolicies().get("onap.restart.tca").getId());
}
@Test
@@ -86,9 +86,9 @@ public class MonitoringPolicySerializationTest {
LOGGER.info(serviceTemplate.validate(new PfValidationResult()).toString());
assertTrue(serviceTemplate.validate(new PfValidationResult()).isValid());
- assertEquals("onap.vcpe.tca:1.0.0",
- serviceTemplate.getTopologyTemplate().getPolicies().get("onap.vcpe.tca").getId());
- assertEquals("onap.vcpe.tca:1.0.0",
- serviceTemplate.getTopologyTemplate().getPolicies().get("onap.vcpe.tca").getId());
+ assertEquals("onap.restart.tca:1.0.0",
+ serviceTemplate.getTopologyTemplate().getPolicies().get("onap.restart.tca").getId());
+ assertEquals("onap.restart.tca:1.0.0",
+ serviceTemplate.getTopologyTemplate().getPolicies().get("onap.restart.tca").getId());
}
}