@tablecraft-app/plugin-oracle 0.0.0-stage → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +9 -2
- package/index.js +47268 -0
- package/package.json +27 -4
- package/table-craft-plugin.json +209 -0
package/package.json
CHANGED
|
@@ -1,6 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tablecraft-app/plugin-oracle",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.11.0",
|
|
4
|
+
"description": "The Oracle datasource plugin for TableCraft, downloaded by the app when a data source needs it.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "index.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"index.js",
|
|
10
|
+
"table-craft-plugin.json"
|
|
11
|
+
],
|
|
12
|
+
"keywords": [
|
|
13
|
+
"table-craft-plugin",
|
|
14
|
+
"tablecraft",
|
|
15
|
+
"oracle"
|
|
16
|
+
],
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/tranphucbol/table-craft.git",
|
|
20
|
+
"directory": "plugins/oracle"
|
|
21
|
+
},
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"tableCraft": {
|
|
26
|
+
"id": "oracle",
|
|
27
|
+
"apiVersion": "1.5.0"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "oracle",
|
|
3
|
+
"name": "Oracle",
|
|
4
|
+
"version": "1.11.0",
|
|
5
|
+
"apiVersion": "1.5.0",
|
|
6
|
+
"entry": "index.js",
|
|
7
|
+
"capabilities": [
|
|
8
|
+
"sql",
|
|
9
|
+
"cancel",
|
|
10
|
+
"schemaTree",
|
|
11
|
+
"transactions",
|
|
12
|
+
"ddl",
|
|
13
|
+
"explain",
|
|
14
|
+
"explainAnalyze",
|
|
15
|
+
"currentNamespace",
|
|
16
|
+
"keepAlive",
|
|
17
|
+
"bulkInsert",
|
|
18
|
+
"objects",
|
|
19
|
+
"serverMessages",
|
|
20
|
+
"sessions",
|
|
21
|
+
"routineCall"
|
|
22
|
+
],
|
|
23
|
+
"highlight": "plsql",
|
|
24
|
+
"connection": {
|
|
25
|
+
"fields": [
|
|
26
|
+
{
|
|
27
|
+
"key": "host",
|
|
28
|
+
"label": "Host",
|
|
29
|
+
"kind": "text",
|
|
30
|
+
"default": "localhost",
|
|
31
|
+
"required": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "port",
|
|
35
|
+
"label": "Port",
|
|
36
|
+
"kind": "number",
|
|
37
|
+
"default": 1521,
|
|
38
|
+
"required": true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"key": "connectBy",
|
|
42
|
+
"label": "Connect by",
|
|
43
|
+
"kind": "select",
|
|
44
|
+
"default": "serviceName",
|
|
45
|
+
"options": [
|
|
46
|
+
{
|
|
47
|
+
"value": "serviceName",
|
|
48
|
+
"label": "Service name"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"value": "sid",
|
|
52
|
+
"label": "SID"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"key": "service",
|
|
58
|
+
"label": "Service",
|
|
59
|
+
"kind": "text",
|
|
60
|
+
"placeholder": "FREEPDB1",
|
|
61
|
+
"required": true
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"key": "user",
|
|
65
|
+
"label": "User",
|
|
66
|
+
"kind": "text",
|
|
67
|
+
"required": true
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"key": "password",
|
|
71
|
+
"label": "Password",
|
|
72
|
+
"kind": "password",
|
|
73
|
+
"secret": true
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"key": "role",
|
|
77
|
+
"label": "Role",
|
|
78
|
+
"kind": "select",
|
|
79
|
+
"default": "none",
|
|
80
|
+
"group": "advanced",
|
|
81
|
+
"options": [
|
|
82
|
+
{
|
|
83
|
+
"value": "none",
|
|
84
|
+
"label": "Default"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"value": "SYSDBA",
|
|
88
|
+
"label": "SYSDBA"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"value": "SYSOPER",
|
|
92
|
+
"label": "SYSOPER"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"value": "SYSBACKUP",
|
|
96
|
+
"label": "SYSBACKUP"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"key": "sslMode",
|
|
102
|
+
"label": "SSL mode",
|
|
103
|
+
"kind": "select",
|
|
104
|
+
"default": "disable",
|
|
105
|
+
"group": "advanced",
|
|
106
|
+
"options": [
|
|
107
|
+
{
|
|
108
|
+
"value": "disable",
|
|
109
|
+
"label": "Disable"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"value": "verify-ca",
|
|
113
|
+
"label": "Verify CA"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"value": "verify-full",
|
|
117
|
+
"label": "Verify full"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"key": "sslRootCert",
|
|
123
|
+
"label": "SSL root certificate",
|
|
124
|
+
"kind": "file",
|
|
125
|
+
"group": "advanced"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"key": "connectTimeout",
|
|
129
|
+
"label": "Connect timeout (s)",
|
|
130
|
+
"kind": "number",
|
|
131
|
+
"default": 10,
|
|
132
|
+
"group": "advanced"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"key": "applicationName",
|
|
136
|
+
"label": "Application name",
|
|
137
|
+
"kind": "text",
|
|
138
|
+
"default": "TableCraft",
|
|
139
|
+
"group": "advanced"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"url": {
|
|
143
|
+
"schemes": [
|
|
144
|
+
"oracle"
|
|
145
|
+
],
|
|
146
|
+
"form": "server",
|
|
147
|
+
"parts": {
|
|
148
|
+
"host": "host",
|
|
149
|
+
"port": "port",
|
|
150
|
+
"database": "service",
|
|
151
|
+
"user": "user",
|
|
152
|
+
"password": "password"
|
|
153
|
+
},
|
|
154
|
+
"params": [
|
|
155
|
+
{
|
|
156
|
+
"name": "connect_by",
|
|
157
|
+
"key": "connectBy",
|
|
158
|
+
"values": {
|
|
159
|
+
"service_name": "serviceName",
|
|
160
|
+
"sid": "sid"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "role",
|
|
165
|
+
"key": "role",
|
|
166
|
+
"values": {
|
|
167
|
+
"sysdba": "SYSDBA",
|
|
168
|
+
"sysoper": "SYSOPER",
|
|
169
|
+
"sysbackup": "SYSBACKUP"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "sslmode",
|
|
174
|
+
"key": "sslMode",
|
|
175
|
+
"values": {
|
|
176
|
+
"disable": "disable",
|
|
177
|
+
"verify-ca": "verify-ca",
|
|
178
|
+
"verify-full": "verify-full"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "sslrootcert",
|
|
183
|
+
"key": "sslRootCert"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "connect_timeout",
|
|
187
|
+
"key": "connectTimeout"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "application_name",
|
|
191
|
+
"key": "applicationName"
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
"network": {
|
|
196
|
+
"host": "host",
|
|
197
|
+
"port": "port",
|
|
198
|
+
"connectTimeout": "connectTimeout"
|
|
199
|
+
},
|
|
200
|
+
"tls": {
|
|
201
|
+
"mode": "sslMode",
|
|
202
|
+
"verifyModes": [
|
|
203
|
+
"verify-ca",
|
|
204
|
+
"verify-full"
|
|
205
|
+
],
|
|
206
|
+
"caFile": "sslRootCert"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|