[Blueprintsprocessor] Use all source-db resources instead of only processor-db 30/129730/8
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Fri, 1 Jul 2022 09:04:36 +0000 (09:04 +0000)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Tue, 19 Jul 2022 06:59:13 +0000 (06:59 +0000)
commit3395dfa1f31111bb4dd03e89a7e493a2850901f2
treea63b65c204ca88dfc349adefaef2a448d4baa39b
parentea1c8b477e615f4dd45204b221fe7eacfe5474af
[Blueprintsprocessor] 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
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