From 3395dfa1f31111bb4dd03e89a7e493a2850901f2 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Fri, 1 Jul 2022 09:04:36 +0000 Subject: [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 Change-Id: I616ca6fe1336427b0b603a0386878ba4c8ea5828 --- .../Definitions/resources_definition_types.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'components') diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/resources_definition_types.json b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/resources_definition_types.json index 523329d95..e679a9a22 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/resources_definition_types.json +++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/resources_definition_types.json @@ -38,6 +38,19 @@ }, "key-dependencies" : [] } + }, + "any-db": { + "type": "source-db", + "properties": { + "endpoint-selector": "dynamic-db-source", + "query": "SELECT artifact_name FROM sdnctl.BLUEPRINT_MODEL where artifact_version=\"1.0.0\"", + "input-key-mapping": { + }, + "output-key-mapping": { + "service-instance-id": "artifact_name" + }, + "key-dependencies" : [] + } } } }, -- cgit 1.2.3-korg