summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/definition-type
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-05-16 13:24:00 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-16 13:24:00 +0000
commit506d2649c48d3741b3b60b0f781e06f137af13ab (patch)
tree50243e28b44e30e640a42ffb89beb218e2bc49e2 /components/model-catalog/definition-type
parent072fae6223e59c03f62cc3bee79bdc16e8ae1f92 (diff)
parentbc91fee937f819dc86c33564a02f4699cd410fe7 (diff)
Merge "Fix: Enrichment fails for processor-db source"
Diffstat (limited to 'components/model-catalog/definition-type')
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/source-primary-db.json48
-rw-r--r--components/model-catalog/definition-type/starter-type/node_type/source-processor-db.json1
2 files changed, 1 insertions, 48 deletions
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": [
{