summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-processor-db.json
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-05-16 13:44:11 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-16 13:44:11 +0000
commit1ba3e762e27b09465339f90f624faff3b58059d1 (patch)
tree53c266da117d43dc5466255239da97e006c0ae67 /ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-processor-db.json
parent3abe510d9436655e53a011c2bc8d445ae3aa0d9a (diff)
parentd9a1cb240a936b99833d56fea3ee688474724d0a (diff)
Merge "Fix: Enrichment fails for processor-db source" into dublin
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