Use all source-db resources instead of only processor-db 48/129748/4
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Fri, 1 Jul 2022 09:04:36 +0000 (09:04 +0000)
committerKAPIL SINGAL <ks220y@att.com>
Mon, 22 Aug 2022 16:09:10 +0000 (16:09 +0000)
commit4326f62b48d2309f4626d778fc5ffbb45ec1627d
tree016556d53c166596c7b324fe693904fc0dca70e2
parent9eb67111794a2a10bc9776775aced9ef9b84345b
Use all source-db resources instead of only processor-db

In DatabaseResourceAssignmentProcessor class filter resourceSourceMappings to get all source-db resources instead of using only one: processor-db

Issue-ID: CCSDK-3699
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I616ca6fe1336427b0b603a0386878ba4c8ea5828
(cherry picked from commit 3395dfa1f31111bb4dd03e89a7e493a2850901f2)
components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/resources_definition_types.json
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/processor/DatabaseResourceAssignmentProcessor.kt
ms/blueprintsprocessor/functions/resource-resolution/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/processor/DatabaseResourceResolutionProcessorTest.kt
ms/blueprintsprocessor/functions/resource-resolution/src/test/resources/application-test.properties