diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2022-07-01 09:04:36 +0000 |
---|---|---|
committer | KAPIL SINGAL <ks220y@att.com> | 2022-08-22 16:09:10 +0000 |
commit | 4326f62b48d2309f4626d778fc5ffbb45ec1627d (patch) | |
tree | 016556d53c166596c7b324fe693904fc0dca70e2 /components | |
parent | 9eb67111794a2a10bc9776775aced9ef9b84345b (diff) |
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)
Diffstat (limited to 'components')
-rw-r--r-- | components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Definitions/resources_definition_types.json | 13 |
1 files changed, 13 insertions, 0 deletions
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" : [] + } } } }, |