summaryrefslogtreecommitdiffstats
path: root/vid-automation
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-12-09 21:30:17 +0200
committerIttay Stern <ittay.stern@att.com>2019-12-09 21:30:17 +0200
commit01c79e9b209089ebf4f7e95e86ae17df49a5017a (patch)
treea0b233f53d919ebad211d425fa2616781ff6e69d /vid-automation
parent5540d178ab3203ab2994b21ee3434cca73318aa3 (diff)
Enable InstantiationTemplatesApiTest with counter-maps
Change-Id: I57c09a6ae664517d01deb7b0d4f3e639f7a871a6 Issue-ID: VID-724 Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-automation')
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java2
-rw-r--r--vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json7
2 files changed, 7 insertions, 2 deletions
diff --git a/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java
index a14e81f44..f6fbd268d 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java
@@ -74,7 +74,7 @@ public class InstantiationTemplatesApiTest extends AsyncInstantiationBase {
return uri.toASCIIString() + "/asyncInstantiation/templateTopology/" + jobId;
}
- @Test(groups = "underDevelopment")
+ @Test
public void templateTopology_givenDeployFromCypressE2E_getTemplateTopologyDataIsEquivalent() throws IOException {
templateTopology_givenDeploy_templateTopologyIsEquivalent(objectMapper.readValue(
convertRequest(objectMapper, "asyncInstantiation/templates__instance_template.json"),
diff --git a/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json b/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json
index 5de1f4792..04b09616e 100644
--- a/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json
+++ b/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json
@@ -24,7 +24,12 @@
"isALaCarte": true,
"testApi": "GR_API",
"trackById": "36601560-f8e3-4020-bdef-3e4709c51e84",
- "existingVNFCounterMap": {"024a417d-ca46-40bf-95ce-809c6a269011": 1},
+ "existingVNFCounterMap": {
+ "024a417d-ca46-40bf-95ce-809c6a269011": 1
+ },
+ "existingVRFCounterMap": {},
+ "existingVnfGroupCounterMap": {},
+ "existingNetworksCounterMap": {},
"vnfs": {
"vProbe_NC_VNF 0": {
"modelInfo": {