summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-processor-db.json
diff options
context:
space:
mode:
authorSteve Siani <alphonse.steve.siani.djissitchi@ibm.com>2019-05-15 11:23:18 -0400
committerSteve Siani <alphonse.steve.siani.djissitchi@ibm.com>2019-05-15 15:28:49 -0400
commitbc91fee937f819dc86c33564a02f4699cd410fe7 (patch)
treedbeeb8cfddc70480964fb6af122836c70e0cf7ad /ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-processor-db.json
parent250b5b2a4ad4020df9c0dd053743d28616e28485 (diff)
Fix: Enrichment fails for processor-db source
Change-Id: I7a426323dc22cb19a1c3eb77f7f4f30cf7da32e0 Issue-ID: CCSDK-1324 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
Diffstat (limited to 'ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-processor-db.json')
-rw-r--r--ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-processor-db.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-processor-db.json b/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-processor-db.json
new file mode 100644
index 000000000..661a9503b
--- /dev/null
+++ b/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-processor-db.json
@@ -0,0 +1,44 @@
+{
+ "description": "This is Database Resource Source Node Type",
+ "version": "1.0.0",
+ "properties": {
+ "type": {
+ "required": true,
+ "type": "string",
+ "constraints": [
+ {
+ "valid_values": [
+ "SQL",
+ "PLSQL"
+ ]
+ }
+ ]
+ },
+ "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