From 6d14307d6019369a808c2dddb0f75b12996391dc Mon Sep 17 00:00:00 2001 From: Steve Siani Date: Tue, 21 May 2019 15:56:25 -0400 Subject: Bug fix: Enrichment fails for processor-db source Issue-ID: CCSDK-1324 Signed-off-by: Steve Siani Change-Id: I21705485de9a11a65c1e032fc121c89917334104 --- .../starter-dictionary/private-prefix-id.json | 49 +++++++++++++--------- 1 file changed, 29 insertions(+), 20 deletions(-) (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/private-prefix-id.json') diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/private-prefix-id.json b/components/model-catalog/resource-dictionary/starter-dictionary/private-prefix-id.json index 3365d6685..31ab6a909 100755 --- a/components/model-catalog/resource-dictionary/starter-dictionary/private-prefix-id.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/private-prefix-id.json @@ -1,21 +1,30 @@ -{ - "name" : "private-prefix-id", - "tags" : "private-prefix-id", - "updated-by" : "Singal, Kapil ", - "property" : { - "description" : "private-prefix-id", - "type" : "string" - }, - "sources" : { - "processor-db" : { - "type" : "source-processor-db", - "properties" : { - "type" : "SQL", - "query" : "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private\"", - "output-key-mapping" : { - "private-prefix-id" : "prefix_id" - } - } - } - } +{ + "tags": "private-prefix-id", + "name": "private-prefix-id", + "property": { + "description": "private-prefix-id", + "type": "string" + }, + "updated-by": "MALAKOV, YURIY ", + "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 sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private\"", + "input-key-mapping": {}, + "output-key-mapping": { + "private-prefix-id": "prefix_id" + } + } + } + } } \ No newline at end of file -- cgit 1.2.3-korg