-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent.json
80 lines (80 loc) · 2.26 KB
/
component.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"title": "JDBC Component (node.js)",
"description": "elastic.io JDBC Component (node.js)",
"language": "node",
"docsUrl": "https://github.com/elasticio/",
"credentials": {
"fields": {
"driverType": {
"label": "Database Engine",
"viewClass": "SelectView",
"required" : true,
"model": {
"SQLServerDriver": "Microsoft SQL Server",
"MySQLDriver": "MySQL",
"OracleDriver": "Oracle",
"PostgreSQLDriver": "PostgreSQL"
},
"prompt": "Choose an option"
},
"server": {
"label": "Server (for MSSQL you can use 'host\\instance' to connect to named instance)",
"required": true,
"viewClass": "TextFieldView",
"placeholder": "localhost"
},
"port": {
"label": "Port (for MSSQL don't set when connecting to named instance)",
"required": false,
"viewClass": "TextFieldView",
"placeholder": "1433"
},
"database": {
"label": "Database Name",
"required": true,
"viewClass": "TextFieldView",
"placeholder": "database"
},
"encrypt": {
"label": "Encrypt (check this option if you're using Windows Azure)",
"viewClass": "CheckBoxView"
},
"domain": {
"label": "Domain (driver will connect to SQL Server using domain login)",
"required": false,
"viewClass": "TextFieldView",
"placeholder": "domain"
},
"username": {
"label": "Username",
"required": true,
"viewClass": "TextFieldView",
"placeholder": "username"
},
"password": {
"label": "Password",
"required": true,
"viewClass": "PasswordFieldView",
"placeholder": "password"
}
}
},
"actions": {
"lookupRowByPrimaryKey": {
"main": "./lib/actions/lookupRowByPrimaryKey.js",
"title": "LookupRowByPrimaryKey",
"metadata": {
"in": {
"type": "object",
"properties": {
"query": {
"type": "string",
"title": "SQL Query",
"required": true
}
}
}
}
}
}
}