diff options
author | Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> | 2019-05-21 15:56:25 -0400 |
---|---|---|
committer | Gaurav Agrawal <gaurav.agrawal@huawei.com> | 2019-05-28 07:40:36 +0000 |
commit | 6d14307d6019369a808c2dddb0f75b12996391dc (patch) | |
tree | 1f9c236f39fdd7479ac9395f80f6e0af23a71d00 /components/model-catalog/resource-dictionary/starter-dictionary/vnfc-model-version.json | |
parent | 1f69e1c3569196305c23f085cfbc03bdba14f4e0 (diff) |
Bug fix: Enrichment fails for processor-db source
Issue-ID: CCSDK-1324
Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
Change-Id: I21705485de9a11a65c1e032fc121c89917334104
Diffstat (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/vnfc-model-version.json')
-rwxr-xr-x | components/model-catalog/resource-dictionary/starter-dictionary/vnfc-model-version.json | 58 |
1 files changed, 34 insertions, 24 deletions
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vnfc-model-version.json b/components/model-catalog/resource-dictionary/starter-dictionary/vnfc-model-version.json index 75bb2e5d2..b6027fef1 100755 --- a/components/model-catalog/resource-dictionary/starter-dictionary/vnfc-model-version.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vnfc-model-version.json @@ -1,25 +1,35 @@ -{ - "name" : "vnfc-model-version", - "tags" : "vnfc-model-version", - "updated-by" : "Singal, Kapil <ks220y@att.com>", - "property" : { - "description" : "vnfc-model-version for SRIOV VPE template", - "type" : "string" - }, - "sources" : { - "processor-db" : { - "type" : "source-processor-db", - "properties" : { - "type" : "SQL", - "query" : "select VFC_MODEL.version as vnfc_model_version from VFC_MODEL where customization_uuid=:vfccustomizationuuid", - "input-key-mapping" : { - "vfccustomizationuuid" : "vfccustomizationuuid" - }, - "output-key-mapping" : { - "vnfc-model-version" : "vnfc_model_version" - }, - "key-dependencies" : [ "vfccustomizationuuid" ] - } - } - } +{
+ "tags": "vnfc-model-version",
+ "name": "vnfc-model-version",
+ "property": {
+ "description": "vnfc-model-version",
+ "type": "string"
+ },
+ "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+ "sources": {
+ "input": {
+ "type": "source-input"
+ },
+ "default": {
+ "type": "source-default",
+ "properties": {}
+ },
+ "processor-db": {
+ "type": "source-processor-db",
+ "properties": {
+ "endpoint-selector": "dynamic-db-source",
+ "type": "SQL",
+ "query": "select VFC_MODEL.version as vnfc_model_version from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+ "input-key-mapping": {
+ "vfccustomizationuuid": "vfccustomizationuuid"
+ },
+ "output-key-mapping": {
+ "vnfc-model-version": "vnfc_model_version"
+ },
+ "key-dependencies": [
+ "vfccustomizationuuid"
+ ]
+ }
+ }
+ }
}
\ No newline at end of file |