From 01c79e9b209089ebf4f7e95e86ae17df49a5017a Mon Sep 17 00:00:00 2001 From: Ittay Stern Date: Mon, 9 Dec 2019 21:30:17 +0200 Subject: Enable InstantiationTemplatesApiTest with counter-maps Change-Id: I57c09a6ae664517d01deb7b0d4f3e639f7a871a6 Issue-ID: VID-724 Signed-off-by: Ittay Stern --- .../test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java | 2 +- .../resources/asyncInstantiation/templates__instance_template.json | 7 ++++++- 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": { -- cgit 1.2.3-korg