aboutsummaryrefslogtreecommitdiffstats
path: root/components/resource-dict/load/model_type/node_type/source-primary-db.json
diff options
context:
space:
mode:
Diffstat (limited to 'components/resource-dict/load/model_type/node_type/source-primary-db.json')
-rw-r--r--components/resource-dict/load/model_type/node_type/source-primary-db.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/components/resource-dict/load/model_type/node_type/source-primary-db.json b/components/resource-dict/load/model_type/node_type/source-primary-db.json
new file mode 100644
index 000000000..661a9503b
--- /dev/null
+++ b/components/resource-dict/load/model_type/node_type/source-primary-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