blob: e2e0b2d76eb70c284c483e305c38ca8431208a68 [file] [log] [blame]
Ezhilarasi92b08d52019-04-17 18:29:25 +05301.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3.. Copyright (C) 2019 IBM.
4
5Source Primary DB Code:
6=======================
7
8{
9 "description": "This is Database Resource Source Node Type",
10 "version": "1.0.0",
11 "properties": {
12 "type": {
13 "required": true,
14 "type": "string",
15 "constraints": [
16 {
17 "valid_values": [
18 "SQL"
19 ]
20 }
21 ]
22 },
23 "endpoint-selector": {
24 "required": false,
25 "type": "string"
26 },
27 "query": {
28 "required": true,
29 "type": "string"
30 },
31 "input-key-mapping": {
32 "required": false,
33 "type": "map",
34 "entry_schema": {
35 "type": "string"
36 }
37 },
38 "output-key-mapping": {
39 "required": false,
40 "type": "map",
41 "entry_schema": {
42 "type": "string"
43 }
44 },
45 "key-dependencies": {
46 "required": true,
47 "type": "list",
48 "entry_schema": {
49 "type": "string"
50 }
51 }
52 },
53 "derived_from": "tosca.nodes.ResourceSource"
54}