Fix sub-attribute parsing for accessing resolved values 00/108400/2
authorJozsef Csongvai <jozsef.csongvai@bell.ca>
Mon, 25 May 2020 15:23:21 +0000 (11:23 -0400)
committerKAPIL SINGAL <ks220y@att.com>
Thu, 28 May 2020 12:20:40 +0000 (12:20 +0000)
commit696e0d2a4db883e0534dea0d94148eb8ec35e5f2
tree337217ad1b96f13ea64577ed779cc0f9fb16580e
parent7dc2dead4c31886e18c7a43eff25e8f81766b638
Fix sub-attribute parsing for accessing resolved values

Added assignment-map attribute to ResourceResolutionComponent.
This attribute will hold a json object with the resolved values
for each artifact-prefix. It will enable accessing any resolved
value, using get_attribute with JsonPath.

Issue-ID: CCSDK-2389
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: I3441569d9766fbd79703d2f224de448edd56dbb2
components/model-catalog/definition-type/starter-type/node_type/component-resource-resolution.json
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/ResourceResolutionComponent.kt
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/ResourceResolutionComponentDSL.kt
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/ResourceResolutionConstants.kt
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/ResourceResolutionService.kt
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/utils/ResourceAssignmentUtils.kt
ms/blueprintsprocessor/functions/resource-resolution/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/utils/ResourceAssignmentUtilsTest.kt