diff options
author | Dan Timoney <dtimoney@att.com> | 2019-03-06 21:03:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-06 21:03:25 +0000 |
commit | 62919a6dfa67efce97c09325b2f75a33f3bc4518 (patch) | |
tree | d4981b77ced1c64f3fabb373c959cd615f37de95 /components/model-catalog/resource-dictionary | |
parent | 5fb3b435cae97ebe1d2766a515edda016b246f64 (diff) | |
parent | 4a53e10178116152fd5f945d0a544775f5ab2cb1 (diff) |
Merge "Ressource resolution using configurable database"
Diffstat (limited to 'components/model-catalog/resource-dictionary')
-rwxr-xr-x | components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json b/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json index 37b98687..cb970435 100755 --- a/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json @@ -10,6 +10,28 @@ "input" : { "type" : "source-input", "properties" : { } + }, + "any-db": { + "type": "source-primary-db", + "properties": { + "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"", + "input-key-mapping": { + }, + "output-key-mapping": { + "service-instance-id": "artifact_name" + } + } + }, + "primary-db": { + "type": "source-primary-db", + "properties": { + "query": "SELECT artifact_name FROM BLUEPRINT_RUNTIME where artifact_version=\"1.0.0\"", + "input-key-mapping": { + }, + "output-key-mapping": { + "service-instance-id": "artifact_name" + } + } } } }
\ No newline at end of file |