From 41712e142c8d2b2bff9bc9e094f45306a60d7cb9 Mon Sep 17 00:00:00 2001 From: Brinda Santh Date: Thu, 26 Dec 2019 16:26:25 -0500 Subject: Relationship Type and Templates models Enrichment Support for Relationship Types and Templates. Relationship DSL support for ConnectTo connections ( RestClient, SshClient, MessageProducer, MessageConsume, Nats) Moved datatype map from collection to complex type Issue-ID: CCSDK-1054 Signed-off-by: Brinda Santh Change-Id: I0f18db2cb52e1e93dfab04498b8298587cba2540 --- .../utils/ResourceAssignmentUtilsTest.kt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'ms/blueprintsprocessor/functions/resource-resolution/src') diff --git a/ms/blueprintsprocessor/functions/resource-resolution/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/utils/ResourceAssignmentUtilsTest.kt b/ms/blueprintsprocessor/functions/resource-resolution/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/utils/ResourceAssignmentUtilsTest.kt index a358f6a23..3c0af04ff 100644 --- a/ms/blueprintsprocessor/functions/resource-resolution/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/utils/ResourceAssignmentUtilsTest.kt +++ b/ms/blueprintsprocessor/functions/resource-resolution/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/utils/ResourceAssignmentUtilsTest.kt @@ -204,16 +204,16 @@ class ResourceAssignmentUtilsTest { outcome, "unexpected outcome returned for list of String" ) - - outcome = prepareResponseNodeForTest( - "mapOfString", "map", "string", - inputMapToTestCollectionOfPrimitiveType - ) - assertEquals( - expectedValueToTesCollectionOfPrimitiveType, - outcome, - "unexpected outcome returned for map of String" - ) + // FIXME("Map is not collection type, It is known complex type") + // outcome = prepareResponseNodeForTest( + // "mapOfString", "map", "string", + // inputMapToTestCollectionOfPrimitiveType + // ) + // assertEquals( + // expectedValueToTesCollectionOfPrimitiveType, + // outcome, + // "unexpected outcome returned for map of String" + // ) } @Test @@ -360,7 +360,7 @@ class ResourceAssignmentUtilsTest { ): JsonNode { val resourceAssignment = when (sourceType) { - "list", "map" -> { + "list" -> { prepareRADataDictionaryCollection(dictionary_source, sourceType, entrySchema) } "string" -> { -- cgit 1.2.3-korg