n8n-nodes-dremio 2.0.2 → 2.0.3
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.
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DremioApi = void 0;
|
|
4
|
+
class DremioApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'dremioApi';
|
|
7
|
+
this.displayName = 'Dremio API';
|
|
8
|
+
this.properties = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Type',
|
|
11
|
+
name: 'type',
|
|
12
|
+
type: 'options',
|
|
13
|
+
options: [
|
|
14
|
+
{
|
|
15
|
+
name: 'Cloud',
|
|
16
|
+
value: 'cloud',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'Software',
|
|
20
|
+
value: 'software',
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
default: 'cloud',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
displayName: 'Base URL',
|
|
27
|
+
name: 'baseUrl',
|
|
28
|
+
type: 'string',
|
|
29
|
+
default: 'https://api.dremio.cloud',
|
|
30
|
+
placeholder: 'https://api.dremio.cloud',
|
|
31
|
+
description: 'The API base URL. For Software: https://<HOST>:9047/api/v3',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
displayName: 'Project ID',
|
|
35
|
+
name: 'projectId',
|
|
36
|
+
type: 'string',
|
|
37
|
+
default: '',
|
|
38
|
+
displayOptions: {
|
|
39
|
+
show: {
|
|
40
|
+
type: [
|
|
41
|
+
'cloud',
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
description: 'The Project ID (Required for Cloud)',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
displayName: 'Access Token',
|
|
49
|
+
name: 'token',
|
|
50
|
+
type: 'string',
|
|
51
|
+
typeOptions: {
|
|
52
|
+
password: true,
|
|
53
|
+
},
|
|
54
|
+
default: '',
|
|
55
|
+
description: 'Personal Access Token',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
displayName: 'Ignore SSL Issues',
|
|
59
|
+
name: 'ignoreSsl',
|
|
60
|
+
type: 'boolean',
|
|
61
|
+
default: false,
|
|
62
|
+
description: 'Whether to ignore SSL certificate validation (useful for self-signed certs)',
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
this.authenticate = {
|
|
66
|
+
type: 'generic',
|
|
67
|
+
properties: {
|
|
68
|
+
headers: {
|
|
69
|
+
'Authorization': '={{"Bearer " + $credentials.token}}',
|
|
70
|
+
'Content-Type': 'application/json',
|
|
71
|
+
'Accept': 'application/json'
|
|
72
|
+
},
|
|
73
|
+
rejectUnauthorized: '={{!$credentials.ignoreSsl}}'
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
this.test = {
|
|
77
|
+
request: {
|
|
78
|
+
baseURL: '={{$credentials.baseUrl}}',
|
|
79
|
+
url: '={{$credentials.type === "software" ? "/catalog" : "/v0/projects/" + $credentials.projectId + "/catalog"}}',
|
|
80
|
+
ignoreHttpStatusErrors: true,
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.DremioApi = DremioApi;
|
|
86
|
+
//# sourceMappingURL=DremioApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DremioApi.credentials.js","sourceRoot":"","sources":["../../credentials/DremioApi.credentials.ts"],"names":[],"mappings":";;;AAMA,MAAa,SAAS;IAAtB;QACI,SAAI,GAAG,WAAW,CAAC;QACnB,gBAAW,GAAG,YAAY,CAAC;QAC3B,eAAU,GAAsB;YAC5B;gBACI,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACL;wBACI,IAAI,EAAE,OAAO;wB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AAA;AAhFD,8BAgFC"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Dremio = void 0;
|
|
4
|
+
class Dremio {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.description = {
|
|
7
|
+
displayName: 'Dremio',
|
|
8
|
+
name: 'dremio',
|
|
9
|
+
icon: 'file:dremio.svg',
|
|
10
|
+
group: ['transform'],
|
|
11
|
+
version: 1,
|
|
12
|
+
description: 'Execute queries against Dremio Cloud or Software',
|
|
13
|
+
defaults: {
|
|
14
|
+
name: 'Dremio',
|
|
15
|
+
color: '#55C6E3',
|
|
16
|
+
},
|
|
17
|
+
inputs: ['main'],
|
|
18
|
+
outputs: ['main'],
|
|
19
|
+
credentials: [
|
|
20
|
+
{
|
|
21
|
+
name: 'dremioApi',
|
|
22
|
+
required: true,
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
properties: [
|
|
26
|
+
{
|
|
27
|
+
displayName: 'Resource',
|
|
28
|
+
name: 'resource',
|
|
29
|
+
type: 'options',
|
|
30
|
+
options: [
|
|
31
|
+
{
|
|
32
|
+
name: 'Query',
|
|
33
|
+
value: 'query',
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
default: 'query',
|
|
37
|
+
noDataExpression: true,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Operation',
|
|
41
|
+
name: 'operation',
|
|
42
|
+
type: 'options',
|
|
43
|
+
displayOptions: {
|
|
44
|
+
show: {
|
|
45
|
+
resource: [
|
|
46
|
+
'query',
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
options: [
|
|
51
|
+
{
|
|
52
|
+
name: 'Execute',
|
|
53
|
+
value: 'execute',
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
default: 'execute',
|
|
57
|
+
noDataExpression: true,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
displayName: 'SQL Query',
|
|
61
|
+
name: 'sql',
|
|
62
|
+
type: 'string',
|
|
63
|
+
default: '',
|
|
64
|
+
required: true,
|
|
65
|
+
displayOptions: {
|
|
66
|
+
show: {
|
|
67
|
+
resource: [
|
|
68
|
+
'query',
|
|
69
|
+
],
|
|
70
|
+
operation: [
|
|
71
|
+
'execute',
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
typeOptions: {
|
|
76
|
+
rows: 5,
|
|
77
|
+
},
|
|
78
|
+
description: 'The SQL query to execute',
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
async execute() {
|
|
84
|
+
const items = this.getInputData();
|
|
85
|
+
const returnData = [];
|
|
86
|
+
const resource = this.getNodeParameter('resource', 0);
|
|
87
|
+
const operation = this.getNodeParameter('operation', 0);
|
|
88
|
+
const credentials = await this.getCredentials('dremioApi');
|
|
89
|
+
const baseUrl = credentials.baseUrl;
|
|
90
|
+
const token = credentials.token;
|
|
91
|
+
const type = credentials.type;
|
|
92
|
+
const projectId = credentials.projectId;
|
|
93
|
+
const ignoreSsl = credentials.ignoreSsl;
|
|
94
|
+
const requestOptions = {
|
|
95
|
+
headers: {
|
|
96
|
+
'Authorization': `Bearer ${token}`,
|
|
97
|
+
'Content-Type': 'application/json',
|
|
98
|
+
'Accept': 'application/json',
|
|
99
|
+
},
|
|
100
|
+
json: true,
|
|
101
|
+
rejectUnauthorized: !ignoreSsl,
|
|
102
|
+
};
|
|
103
|
+
// Process each item
|
|
104
|
+
for (let i = 0; i < items.length; i++) {
|
|
105
|
+
try {
|
|
106
|
+
if (resource === 'query' && operation === 'execute') {
|
|
107
|
+
const sql = this.getNodeParameter('sql', i);
|
|
108
|
+
// 1. Submit Query
|
|
109
|
+
let cleanBaseUrl = baseUrl.replace(/\/$/, '');
|
|
110
|
+
let finalSubmitUrl;
|
|
111
|
+
if (type === 'software') {
|
|
112
|
+
finalSubmitUrl = `${cleanBaseUrl}/sql`;
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
// Cloud logic
|
|
116
|
+
if (!cleanBaseUrl.includes('/v0')) {
|
|
117
|
+
finalSubmitUrl = `${cleanBaseUrl}/v0/projects/${projectId}/sql`;
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
finalSubmitUrl = `${cleanBaseUrl}/projects/${projectId}/sql`;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
const submitBody = { sql };
|
|
124
|
+
// Use this.helpers.request
|
|
125
|
+
const submitRes = await this.helpers.request({
|
|
126
|
+
method: 'POST',
|
|
127
|
+
uri: finalSubmitUrl,
|
|
128
|
+
body: submitBody,
|
|
129
|
+
...requestOptions,
|
|
130
|
+
});
|
|
131
|
+
const jobId = submitRes.id;
|
|
132
|
+
// 2. Poll
|
|
133
|
+
let jobState = 'RUNNING';
|
|
134
|
+
let jobUrl;
|
|
135
|
+
// Basic polling loop with sleep
|
|
136
|
+
while (['RUNNING', 'ENQUEUED', 'STARTING', 'ENGINE_START', 'QUEUED', 'PLANNING'].includes(jobState)) {
|
|
137
|
+
await new Promise(resolve => setTimeout(resolve, 1000));
|
|
138
|
+
if (type === 'software') {
|
|
139
|
+
jobUrl = `${cleanBaseUrl}/job/${jobId}`;
|
|
140
|
+
}
|
|
141
|
+
else {
|
|
142
|
+
if (!cleanBaseUrl.includes('/v0')) {
|
|
143
|
+
jobUrl = `${cleanBaseUrl}/v0/projects/${projectId}/job/${jobId}`;
|
|
144
|
+
}
|
|
145
|
+
else {
|
|
146
|
+
jobUrl = `${cleanBaseUrl}/projects/${projectId}/job/${jobId}`;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
const jobRes = await this.helpers.request({
|
|
150
|
+
method: 'GET',
|
|
151
|
+
uri: jobUrl,
|
|
152
|
+
...requestOptions,
|
|
153
|
+
});
|
|
154
|
+
jobState = jobRes.jobState;
|
|
155
|
+
}
|
|
156
|
+
if (jobState !== 'COMPLETED') {
|
|
157
|
+
throw new Error(`Job failed with state: ${jobState}`);
|
|
158
|
+
}
|
|
159
|
+
// 3. Fetch Results
|
|
160
|
+
let resultsUrl;
|
|
161
|
+
if (type === 'software') {
|
|
162
|
+
resultsUrl = `${cleanBaseUrl}/job/${jobId}/results`;
|
|
163
|
+
}
|
|
164
|
+
else {
|
|
165
|
+
if (!cleanBaseUrl.includes('/v0')) {
|
|
166
|
+
resultsUrl = `${cleanBaseUrl}/v0/projects/${projectId}/job/${jobId}/results`;
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
resultsUrl = `${cleanBaseUrl}/projects/${projectId}/job/${jobId}/results`;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
const resultsRes = await this.helpers.request({
|
|
173
|
+
method: 'GET',
|
|
174
|
+
uri: resultsUrl,
|
|
175
|
+
...requestOptions,
|
|
176
|
+
});
|
|
177
|
+
const rows = resultsRes.rows || [];
|
|
178
|
+
// Add rows to return data
|
|
179
|
+
rows.forEach((row) => {
|
|
180
|
+
returnData.push({ json: row });
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
catch (error) {
|
|
185
|
+
if (this.continueOnFail()) {
|
|
186
|
+
returnData.push({ json: { error: error.message } });
|
|
187
|
+
continue;
|
|
188
|
+
}
|
|
189
|
+
throw error;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return [this.helpers.returnJsonArray(returnData)];
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
exports.Dremio = Dremio;
|
|
196
|
+
//# sourceMappingURL=Dremio.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dremio.node.js","sourceRoot":"","sources":["../../../nodes/Dremio/Dremio.node.ts"],"names":[],"mappings":";;;AAUA,MAAa,MAAM;IAAnB;QACI,gBAAW,GAAyB;YAChC,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ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B,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;oBACnC,CAAC,CAAC,CAAC;gBACP,CAAC;YACL,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACb,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBACxB,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;oBACpD,SAAS;gBACb,CAAC;gBACD,MAAM,KAAK,CAAC;YAChB,CAAC;QACL,CAAC;QAED,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,CAAC;IACtD,CAAC;CACJ;AAvMD,wBAuMC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 2L2 7V17L12 22L22 17V7L12 2ZM4 8.5L12 12.5L20 8.5L12 4.5L4 8.5ZM4 15.5V9.5L12 13.5L20 9.5V15.5L12 19.5L4 15.5Z" fill="#55C6E3"/>
|
|
3
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-dremio",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "n8n node for Dremio",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package"
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"@types/express": "^4.17.6",
|
|
38
38
|
"@types/request-promise-native": "^1.0.17",
|
|
39
39
|
"gulp": "^4.0.2",
|
|
40
|
-
"n8n-core": "^
|
|
41
|
-
"n8n-workflow": "^
|
|
40
|
+
"n8n-core": "^1.0.0",
|
|
41
|
+
"n8n-workflow": "^1.0.0",
|
|
42
42
|
"prettier": "^2.0.5",
|
|
43
43
|
"tslint": "^6.1.2",
|
|
44
|
-
"typescript": "^
|
|
44
|
+
"typescript": "^5.0.0"
|
|
45
45
|
}
|
|
46
46
|
}
|