diff options
author | 2018-05-09 16:42:59 +0530 | |
---|---|---|
committer | 2018-05-14 17:13:24 +0530 | |
commit | abe0a3794cfdb28d2af70ce37a2b35c8a195aea4 (patch) | |
tree | afb381c229e6f9a4421432e219d7a9a5fd9a0f8d /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org | |
parent | 71bd1d935e56d8bac4677f840188ecb397da1b2a (diff) |
Nested Dependency issues
Remove nested depends On connectivity
Change-Id: I65bd9473f879fa72b453c2793f2b2406adde4513
Issue-ID: SDC-1315
Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org')
2 files changed, 0 insertions, 6 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/buildconsolidationdata/ConsolidationDataTestUtil.java b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/buildconsolidationdata/ConsolidationDataTestUtil.java index 5c7bc209c9..b32e30e615 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/buildconsolidationdata/ConsolidationDataTestUtil.java +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/buildconsolidationdata/ConsolidationDataTestUtil.java @@ -808,7 +808,6 @@ public class ConsolidationDataTestUtil { nestedTemplateConsolidationData.getNodesConnectedIn(); List<String> dependentNodes = new LinkedList<>(); dependentNodes.add("packet_mirror_network"); - validateNestedNodesConnectedInDependency(nodesConnectedIn, nestedNodeTemplateId, dependentNodes); //Validate get attribute in Map<String, List<GetAttrFuncData>> nodesGetAttrIn = @@ -852,7 +851,6 @@ public class ConsolidationDataTestUtil { nestedTemplateConsolidationData.getNodesConnectedIn(); List<String> dependentNodes = new LinkedList<>(); dependentNodes.add("packet_mirror_network"); - validateNestedNodesConnectedInDependency(nodesConnectedIn, nestedNodeTemplateId, dependentNodes); } else { Assert.assertNull(nestedTemplateConsolidationData.getNodesConnectedIn()); } @@ -920,7 +918,6 @@ public class ConsolidationDataTestUtil { nestedTemplateConsolidationData.getNodesConnectedIn(); List<String> dependentNodes = new LinkedList<>(); dependentNodes.add("packet_mirror_network"); - validateNestedNodesConnectedInDependency(nodesConnectedIn, nestedNodeTemplateId, dependentNodes); //Validate output parameter get attribute in List<GetAttrFuncData> getAttrFuncData = nestedTemplateConsolidationData.getNodesGetAttrIn().get("packet_mirror_network"); diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/resourcetranslation/ContrailV2VlanToInterfaceResourceConnectionTest.java b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/resourcetranslation/ContrailV2VlanToInterfaceResourceConnectionTest.java index 564cddb73c..4a0615da1c 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/resourcetranslation/ContrailV2VlanToInterfaceResourceConnectionTest.java +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/java/org/openecomp/sdc/translator/services/heattotosca/impl/resourcetranslation/ContrailV2VlanToInterfaceResourceConnectionTest.java @@ -92,9 +92,6 @@ public class ContrailV2VlanToInterfaceResourceConnectionTest extends BaseResourc SubInterfaceTemplateConsolidationData data = subInfList.get(0); Assert.assertEquals(NETWORK_ROLE_INOUT_ATTR_TEST, data.getNetworkRole()); - Assert.assertEquals(ONE, data.getNodesConnectedIn().size()); - Assert.assertEquals(ONE, data.getNodesConnectedOut().size()); - Assert.assertEquals(TWO, data.getNodesConnectedOut().get("control_int_net").size()); Assert.assertEquals(ONE, data.getNodesGetAttrIn().size()); Assert.assertEquals(ONE, data.getNodesGetAttrOut().size()); Assert.assertEquals(ONE, data.getOutputParametersGetAttrIn().size()); |