From bc91fee937f819dc86c33564a02f4699cd410fe7 Mon Sep 17 00:00:00 2001 From: Steve Siani Date: Wed, 15 May 2019 11:23:18 -0400 Subject: Fix: Enrichment fails for processor-db source Change-Id: I7a426323dc22cb19a1c3eb77f7f4f30cf7da32e0 Issue-ID: CCSDK-1324 Signed-off-by: Steve Siani --- .../starter-type/node_type/source-primary-db.json | 48 ---------------------- .../node_type/source-processor-db.json | 1 + 2 files changed, 1 insertion(+), 48 deletions(-) delete mode 100644 components/model-catalog/definition-type/starter-type/node_type/source-primary-db.json (limited to 'components/model-catalog/definition-type/starter-type') diff --git a/components/model-catalog/definition-type/starter-type/node_type/source-primary-db.json b/components/model-catalog/definition-type/starter-type/node_type/source-primary-db.json deleted file mode 100644 index 6f03dbfc4..000000000 --- a/components/model-catalog/definition-type/starter-type/node_type/source-primary-db.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "description": "This is Database Resource Source Node Type", - "version": "1.0.0", - "properties": { - "type": { - "required": true, - "default": "SQL", - "type": "string", - "constraints": [ - { - "valid_values": [ - "SQL" - ] - } - ] - }, - "endpoint-selector": { - "required": false, - "type": "string" - }, - "query": { - "required": true, - "type": "string" - }, - "input-key-mapping": { - "required": false, - "type": "map", - "entry_schema": { - "type": "string" - } - }, - "output-key-mapping": { - "required": false, - "type": "map", - "entry_schema": { - "type": "string" - } - }, - "key-dependencies": { - "required": true, - "type": "list", - "entry_schema": { - "type": "string" - } - } - }, - "derived_from": "tosca.nodes.ResourceSource" -} \ No newline at end of file diff --git a/components/model-catalog/definition-type/starter-type/node_type/source-processor-db.json b/components/model-catalog/definition-type/starter-type/node_type/source-processor-db.json index 702748f8a..02e403bc2 100644 --- a/components/model-catalog/definition-type/starter-type/node_type/source-processor-db.json +++ b/components/model-catalog/definition-type/starter-type/node_type/source-processor-db.json @@ -4,6 +4,7 @@ "properties": { "type": { "required": true, + "default": "SQL", "type": "string", "constraints": [ { -- cgit 1.2.3-korg