summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/functions/resource-resolution/src/test
diff options
context:
space:
mode:
authorBrinda Santh <bs2796@att.com>2019-12-26 16:26:25 -0500
committerKAPIL SINGAL <ks220y@att.com>2019-12-30 18:18:38 +0000
commit41712e142c8d2b2bff9bc9e094f45306a60d7cb9 (patch)
tree1a6578a40b45235c8486a179b84b2e5932d164cf /ms/blueprintsprocessor/functions/resource-resolution/src/test
parent730c940a84b9056fed993ccef08dc5ec4053db21 (diff)
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 <bs2796@att.com> Change-Id: I0f18db2cb52e1e93dfab04498b8298587cba2540
Diffstat (limited to 'ms/blueprintsprocessor/functions/resource-resolution/src/test')
-rw-r--r--ms/blueprintsprocessor/functions/resource-resolution/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/utils/ResourceAssignmentUtilsTest.kt22
1 files changed, 11 insertions, 11 deletions
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" -> {