@hpcc-js/comms 2.83.2 → 2.84.1
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/dist/index.es6.js +20468 -56
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +87 -29
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js +20576 -145
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js +4 -1
- package/dist/index.node.min.js.map +1 -1
- package/lib-es6/__package__.js +2 -2
- package/lib-es6/connection.js +9 -1
- package/lib-es6/connection.js.map +1 -1
- package/lib-es6/ecl/targetCluster.js.map +1 -1
- package/lib-es6/ecl/topology.js.map +1 -1
- package/lib-es6/index.node.js +16 -4
- package/lib-es6/index.node.js.map +1 -1
- package/lib-es6/services/wsTopology.js +5 -31
- package/lib-es6/services/wsTopology.js.map +1 -1
- package/lib-es6/services/wsWorkunits.js +1 -1
- package/lib-es6/services/wsWorkunits.js.map +1 -1
- package/lib-es6/services/wsdl/WsTopology/v1.31/WsTopology.js +29 -26
- package/lib-es6/services/wsdl/WsTopology/v1.31/WsTopology.js.map +1 -1
- package/package.json +9 -8
- package/src/__package__.ts +3 -3
- package/src/connection.ts +9 -1
- package/src/ecl/targetCluster.ts +11 -11
- package/src/ecl/topology.ts +9 -9
- package/src/index.node.ts +16 -5
- package/src/services/wsTopology.ts +7 -525
- package/src/services/wsWorkunits.ts +2 -2
- package/src/services/wsdl/WsTopology/v1.31/WsTopology.ts +685 -685
- package/types/__package__.d.ts +2 -2
- package/types/connection.d.ts.map +1 -1
- package/types/ecl/targetCluster.d.ts +8 -8
- package/types/ecl/targetCluster.d.ts.map +1 -1
- package/types/ecl/topology.d.ts +9 -9
- package/types/ecl/topology.d.ts.map +1 -1
- package/types/index.node.d.ts.map +1 -1
- package/types/services/wsTopology.d.ts +5 -434
- package/types/services/wsTopology.d.ts.map +1 -1
- package/types/services/wsdl/WsTopology/v1.31/WsTopology.d.ts +9 -10
- package/types/services/wsdl/WsTopology/v1.31/WsTopology.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/ecl/targetCluster.d.ts +8 -8
- package/types-3.4/ecl/topology.d.ts +9 -9
- package/types-3.4/services/wsTopology.d.ts +5 -434
- package/types-3.4/services/wsdl/WsTopology/v1.31/WsTopology.d.ts +9 -10
package/src/index.node.ts
CHANGED
|
@@ -5,8 +5,24 @@ root.DOMParser = DOMParser;
|
|
|
5
5
|
|
|
6
6
|
// fetch polyfill ---
|
|
7
7
|
import fetch from "node-fetch";
|
|
8
|
+
import * as https from "https";
|
|
9
|
+
import { Agent, setGlobalDispatcher } from "undici";
|
|
10
|
+
|
|
8
11
|
if (typeof root.fetch === "undefined") {
|
|
12
|
+
// NodeJS < v18 ---
|
|
9
13
|
root.fetch = fetch;
|
|
14
|
+
root.fetch.__rejectUnauthorizedAgent = new https.Agent({
|
|
15
|
+
rejectUnauthorized: false
|
|
16
|
+
});
|
|
17
|
+
} else {
|
|
18
|
+
// NodeJS >= v18 ---
|
|
19
|
+
root.fetch.__defaultAgent = new Agent();
|
|
20
|
+
root.fetch.__rejectUnauthorizedAgent = new Agent({
|
|
21
|
+
connect: {
|
|
22
|
+
rejectUnauthorized: false
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
root.fetch.__setGlobalDispatcher = setGlobalDispatcher;
|
|
10
26
|
}
|
|
11
27
|
|
|
12
28
|
// AbortController polyfill ---
|
|
@@ -15,13 +31,8 @@ if (typeof root.AbortController === "undefined") {
|
|
|
15
31
|
root.AbortController = AbortController;
|
|
16
32
|
}
|
|
17
33
|
|
|
18
|
-
import * as https from "https";
|
|
19
34
|
import { trustwave } from "./pem/trustwave";
|
|
20
35
|
|
|
21
|
-
root.fetch.__rejectUnauthorizedAgent = new https.Agent({
|
|
22
|
-
rejectUnauthorized: false
|
|
23
|
-
});
|
|
24
|
-
|
|
25
36
|
let globalCA = "";
|
|
26
37
|
if (https.globalAgent.options.ca !== undefined) {
|
|
27
38
|
if (Array.isArray(https.globalAgent.options.ca) && https.globalAgent.options.ca.length) {
|
|
@@ -1,513 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IOptions } from "../connection";
|
|
2
|
+
import { TopologyServiceBase, WsTopology } from "./wsdl/WsTopology/v1.31/WsTopology";
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* http://json2ts.com/
|
|
8
|
-
*/
|
|
4
|
+
export {
|
|
5
|
+
WsTopology
|
|
6
|
+
};
|
|
9
7
|
|
|
10
|
-
export
|
|
11
|
-
export enum RoxieQueueFilter {
|
|
12
|
-
All = "All",
|
|
13
|
-
QueriesOnly = "QueriesOnly",
|
|
14
|
-
WorkunitsOnly = "WorkunitsOnly"
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface Request {
|
|
18
|
-
EclServerQueue?: string;
|
|
19
|
-
RoxieQueueFilter?: RoxieQueueFilter;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface Exception {
|
|
23
|
-
Code: string;
|
|
24
|
-
Audience: string;
|
|
25
|
-
Source: string;
|
|
26
|
-
Message: string;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface Exceptions {
|
|
30
|
-
Source: string;
|
|
31
|
-
Exception: Exception[];
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface TpLogicalCluster {
|
|
35
|
-
Name: string;
|
|
36
|
-
Queue: string;
|
|
37
|
-
LanguageVersion: string;
|
|
38
|
-
Process: string;
|
|
39
|
-
Type: string;
|
|
40
|
-
QueriesOnly?: boolean;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface TpLogicalClusters {
|
|
44
|
-
TpLogicalCluster: TpLogicalCluster[];
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface Response {
|
|
48
|
-
Exceptions: Exceptions;
|
|
49
|
-
TpLogicalClusters: TpLogicalClusters;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export namespace TpServiceQuery {
|
|
54
|
-
export interface Request {
|
|
55
|
-
Type?: string;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface Exception {
|
|
59
|
-
Code: string;
|
|
60
|
-
Audience: string;
|
|
61
|
-
Source: string;
|
|
62
|
-
Message: string;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export interface Exceptions {
|
|
66
|
-
Source: string;
|
|
67
|
-
Exception: Exception[];
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export interface TpMachine {
|
|
71
|
-
Name: string;
|
|
72
|
-
Netaddress: string;
|
|
73
|
-
ConfigNetaddress: string;
|
|
74
|
-
Domain: string;
|
|
75
|
-
Directory: string;
|
|
76
|
-
Type: string;
|
|
77
|
-
Available: string;
|
|
78
|
-
OS: number;
|
|
79
|
-
Path: string;
|
|
80
|
-
Port: number;
|
|
81
|
-
ProcessNumber: number;
|
|
82
|
-
Channels: number;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export interface TpMachines {
|
|
86
|
-
TpMachine: TpMachine[];
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export interface TpDali {
|
|
90
|
-
Name: string;
|
|
91
|
-
Description: string;
|
|
92
|
-
Build: string;
|
|
93
|
-
BackupComputer: string;
|
|
94
|
-
BackupDirectory: string;
|
|
95
|
-
Type: string;
|
|
96
|
-
Path: string;
|
|
97
|
-
LogDirectory: string;
|
|
98
|
-
AuditLogDirectory: string;
|
|
99
|
-
TpMachines: TpMachines;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export interface TpDalis {
|
|
103
|
-
TpDali: TpDali[];
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export interface TpDfuServer {
|
|
107
|
-
Name: string;
|
|
108
|
-
Description: string;
|
|
109
|
-
Build: string;
|
|
110
|
-
Queue: string;
|
|
111
|
-
Type: string;
|
|
112
|
-
Path: string;
|
|
113
|
-
LogDirectory: string;
|
|
114
|
-
TpMachines: TpMachines;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
export interface TpDfuServers {
|
|
118
|
-
TpDfuServer: TpDfuServer[];
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export interface TpDkcSlave {
|
|
122
|
-
Name: string;
|
|
123
|
-
Description: string;
|
|
124
|
-
Build: string;
|
|
125
|
-
Path: string;
|
|
126
|
-
TpMachines: TpMachines;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export interface TpDkcSlaves {
|
|
130
|
-
TpDkcSlave: TpDkcSlave[];
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export interface TpDropZone {
|
|
134
|
-
Name: string;
|
|
135
|
-
Description: string;
|
|
136
|
-
Build: string;
|
|
137
|
-
Path: string;
|
|
138
|
-
ECLWatchVisible: boolean;
|
|
139
|
-
UMask: string;
|
|
140
|
-
TpMachines: TpMachines;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export interface TpDropZones {
|
|
144
|
-
TpDropZone: TpDropZone[];
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export interface TpEclAgent {
|
|
148
|
-
Name: string;
|
|
149
|
-
Description: string;
|
|
150
|
-
Build: string;
|
|
151
|
-
Type: string;
|
|
152
|
-
Path: string;
|
|
153
|
-
DaliServer: string;
|
|
154
|
-
LogDir: string;
|
|
155
|
-
TpMachines: TpMachines;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export interface TpEclAgents {
|
|
159
|
-
TpEclAgent: TpEclAgent[];
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export interface TpEclServer {
|
|
163
|
-
Name: string;
|
|
164
|
-
Description: string;
|
|
165
|
-
Build: string;
|
|
166
|
-
LogDirectory: string;
|
|
167
|
-
Type: string;
|
|
168
|
-
Path: string;
|
|
169
|
-
TpMachines: TpMachines;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export interface TpEclServers {
|
|
173
|
-
TpEclServer: TpEclServer[];
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
export interface TpEclCCServers {
|
|
177
|
-
TpEclServer: TpEclServer[];
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
export interface TpEclScheduler {
|
|
181
|
-
Name: string;
|
|
182
|
-
Description: string;
|
|
183
|
-
Build: string;
|
|
184
|
-
LogDirectory: string;
|
|
185
|
-
Type: string;
|
|
186
|
-
Path: string;
|
|
187
|
-
TpMachines: TpMachines;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
export interface TpEclSchedulers {
|
|
191
|
-
TpEclScheduler: TpEclScheduler[];
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
export interface TpBinding {
|
|
195
|
-
Name: string;
|
|
196
|
-
Service: string;
|
|
197
|
-
ServiceType: string;
|
|
198
|
-
BindingType: string;
|
|
199
|
-
ServiceBuildSet: string;
|
|
200
|
-
Port: string;
|
|
201
|
-
Protocol: string;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export interface TpBindings {
|
|
205
|
-
TpBinding: TpBinding[];
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export interface TpEspServer {
|
|
209
|
-
Name: string;
|
|
210
|
-
Description: string;
|
|
211
|
-
Build: string;
|
|
212
|
-
Type: string;
|
|
213
|
-
Path: string;
|
|
214
|
-
LogDirectory: string;
|
|
215
|
-
TpMachines: TpMachines;
|
|
216
|
-
TpBindings: TpBindings;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export interface TpEspServers {
|
|
220
|
-
TpEspServer: TpEspServer[];
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
export interface TpFTSlave {
|
|
224
|
-
Name: string;
|
|
225
|
-
Description: string;
|
|
226
|
-
Build: string;
|
|
227
|
-
Path: string;
|
|
228
|
-
TpMachines: TpMachines;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
export interface TpFTSlaves {
|
|
232
|
-
TpFTSlave: TpFTSlave[];
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
export interface TpGenesisServer {
|
|
236
|
-
Name: string;
|
|
237
|
-
Description: string;
|
|
238
|
-
Build: string;
|
|
239
|
-
Path: string;
|
|
240
|
-
TpMachines: TpMachines;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
export interface TpGenesisServers {
|
|
244
|
-
TpGenesisServer: TpGenesisServer[];
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
export interface TpLdapServer {
|
|
248
|
-
Name: string;
|
|
249
|
-
Description: string;
|
|
250
|
-
Build: string;
|
|
251
|
-
Path: string;
|
|
252
|
-
TpMachines: TpMachines;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
export interface TpLdapServers {
|
|
256
|
-
TpLdapServer: TpLdapServer[];
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
export interface TpMySqlServer {
|
|
260
|
-
Name: string;
|
|
261
|
-
Description: string;
|
|
262
|
-
Build: string;
|
|
263
|
-
Path: string;
|
|
264
|
-
TpMachines: TpMachines;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
export interface TpMySqlServers {
|
|
268
|
-
TpMySqlServer: TpMySqlServer[];
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
export interface TpSashaServer {
|
|
272
|
-
Name: string;
|
|
273
|
-
Description: string;
|
|
274
|
-
Build: string;
|
|
275
|
-
Path: string;
|
|
276
|
-
LogDirectory: string;
|
|
277
|
-
TpMachines: TpMachines;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
export interface TpSashaServers {
|
|
281
|
-
TpSashaServer: TpSashaServer[];
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
export interface TpSparkThor {
|
|
285
|
-
Name: string;
|
|
286
|
-
Build: string;
|
|
287
|
-
ThorClusterName: string;
|
|
288
|
-
ThorPath: string;
|
|
289
|
-
SparkExecutorCores: number;
|
|
290
|
-
SparkExecutorMemory: number;
|
|
291
|
-
SparkMasterPort: number;
|
|
292
|
-
SparkMasterWebUIPort: number;
|
|
293
|
-
SparkWorkerCores: number;
|
|
294
|
-
SparkWorkerMemory: number;
|
|
295
|
-
SparkWorkerPort: number;
|
|
296
|
-
LogDirectory: string;
|
|
297
|
-
Path: string;
|
|
298
|
-
TpMachines: TpMachines;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
export interface TpSparkThors {
|
|
302
|
-
TpSparkThor: TpSparkThor[];
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
export interface ServiceList {
|
|
306
|
-
TpDalis: TpDalis;
|
|
307
|
-
TpDfuServers: TpDfuServers;
|
|
308
|
-
TpDkcSlaves: TpDkcSlaves;
|
|
309
|
-
TpDropZones: TpDropZones;
|
|
310
|
-
TpEclAgents: TpEclAgents;
|
|
311
|
-
TpEclServers: TpEclServers;
|
|
312
|
-
TpEclCCServers: TpEclCCServers;
|
|
313
|
-
TpEclSchedulers: TpEclSchedulers;
|
|
314
|
-
TpEspServers: TpEspServers;
|
|
315
|
-
TpFTSlaves: TpFTSlaves;
|
|
316
|
-
TpGenesisServers: TpGenesisServers;
|
|
317
|
-
TpLdapServers: TpLdapServers;
|
|
318
|
-
TpMySqlServers: TpMySqlServers;
|
|
319
|
-
TpSashaServers: TpSashaServers;
|
|
320
|
-
TpSparkThors: TpSparkThors;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
export interface Response {
|
|
324
|
-
Exceptions: Exceptions;
|
|
325
|
-
MemThreshold: number;
|
|
326
|
-
DiskThreshold: number;
|
|
327
|
-
CpuThreshold: number;
|
|
328
|
-
EncapsulatedSystem: boolean;
|
|
329
|
-
EnableSNMP: boolean;
|
|
330
|
-
PreflightProcessFilter: string;
|
|
331
|
-
AcceptLanguage: string;
|
|
332
|
-
MemThresholdType: string;
|
|
333
|
-
DiskThresholdType: string;
|
|
334
|
-
ServiceList: ServiceList;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
export namespace TpTargetClusterQuery {
|
|
339
|
-
|
|
340
|
-
export interface Request {
|
|
341
|
-
Type?: string;
|
|
342
|
-
Name?: string;
|
|
343
|
-
ShowDetails?: boolean;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
export interface Exception {
|
|
347
|
-
Code: string;
|
|
348
|
-
Audience: string;
|
|
349
|
-
Source: string;
|
|
350
|
-
Message: string;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
export interface Exceptions {
|
|
354
|
-
Source: string;
|
|
355
|
-
Exception: Exception[];
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
export interface TpMachine {
|
|
359
|
-
Name: string;
|
|
360
|
-
Netaddress: string;
|
|
361
|
-
ConfigNetaddress: string;
|
|
362
|
-
Domain: string;
|
|
363
|
-
Directory: string;
|
|
364
|
-
Type: string;
|
|
365
|
-
Available: string;
|
|
366
|
-
OS: number;
|
|
367
|
-
Path: string;
|
|
368
|
-
Port: number;
|
|
369
|
-
ProcessNumber: number;
|
|
370
|
-
Channels: number;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
export interface TpMachines {
|
|
374
|
-
TpMachine: TpMachine[];
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
export interface TpCluster {
|
|
378
|
-
Type: string;
|
|
379
|
-
Name: string;
|
|
380
|
-
QueueName: string;
|
|
381
|
-
Build: string;
|
|
382
|
-
Directory: string;
|
|
383
|
-
LogDirectory: string;
|
|
384
|
-
Desc: string;
|
|
385
|
-
Path: string;
|
|
386
|
-
DataModel: string;
|
|
387
|
-
OS: number;
|
|
388
|
-
HasThorSpareProcess: boolean;
|
|
389
|
-
TpMachines: TpMachines;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
export interface TpClusters {
|
|
393
|
-
TpCluster: TpCluster[];
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
export interface TpEclServer {
|
|
397
|
-
Name: string;
|
|
398
|
-
Description: string;
|
|
399
|
-
Build: string;
|
|
400
|
-
LogDirectory: string;
|
|
401
|
-
Type: string;
|
|
402
|
-
Path: string;
|
|
403
|
-
TpMachines: TpMachines;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
export interface TpEclCCServers {
|
|
407
|
-
TpEclServer: TpEclServer[];
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
export interface TpEclServers {
|
|
411
|
-
TpEclServer: TpEclServer[];
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
export interface TpEclAgent {
|
|
415
|
-
Name: string;
|
|
416
|
-
Description: string;
|
|
417
|
-
Build: string;
|
|
418
|
-
Type: string;
|
|
419
|
-
Path: string;
|
|
420
|
-
DaliServer: string;
|
|
421
|
-
LogDir: string;
|
|
422
|
-
TpMachines: TpMachines;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
export interface TpEclAgents {
|
|
426
|
-
TpEclAgent: TpEclAgent[];
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
export interface TpEclScheduler {
|
|
430
|
-
Name: string;
|
|
431
|
-
Description: string;
|
|
432
|
-
Build: string;
|
|
433
|
-
LogDirectory: string;
|
|
434
|
-
Type: string;
|
|
435
|
-
Path: string;
|
|
436
|
-
TpMachines: TpMachines;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
export interface TpEclSchedulers {
|
|
440
|
-
TpEclScheduler: TpEclScheduler[];
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
export interface TpTargetCluster {
|
|
444
|
-
Name: string;
|
|
445
|
-
Prefix: string;
|
|
446
|
-
Type: string;
|
|
447
|
-
TpClusters: TpClusters;
|
|
448
|
-
TpEclCCServers: TpEclCCServers;
|
|
449
|
-
TpEclServers: TpEclServers;
|
|
450
|
-
TpEclAgents: TpEclAgents;
|
|
451
|
-
TpEclSchedulers: TpEclSchedulers;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
export interface TpTargetClusters {
|
|
455
|
-
TpTargetCluster: TpTargetCluster[];
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
export interface Response {
|
|
459
|
-
Exceptions: Exceptions;
|
|
460
|
-
ShowDetails: boolean;
|
|
461
|
-
MemThreshold: number;
|
|
462
|
-
DiskThreshold: number;
|
|
463
|
-
CpuThreshold: number;
|
|
464
|
-
MemThresholdType: string;
|
|
465
|
-
DiskThresholdType: string;
|
|
466
|
-
PreflightProcessFilter: string;
|
|
467
|
-
AcceptLanguage: string;
|
|
468
|
-
TpTargetClusters: TpTargetClusters;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
export namespace TpListTargetClusters {
|
|
473
|
-
|
|
474
|
-
export interface Request {
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
export interface Exception {
|
|
478
|
-
Code: string;
|
|
479
|
-
Audience: string;
|
|
480
|
-
Source: string;
|
|
481
|
-
Message: string;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
export interface Exceptions {
|
|
485
|
-
Source: string;
|
|
486
|
-
Exception: Exception[];
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
export interface TpClusterNameType {
|
|
490
|
-
Name: string;
|
|
491
|
-
Type: string;
|
|
492
|
-
IsDefault: boolean;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
export interface TargetClusters {
|
|
496
|
-
TpClusterNameType: TpClusterNameType[];
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
export interface Response {
|
|
500
|
-
Exceptions: Exceptions;
|
|
501
|
-
TargetClusters: TargetClusters;
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
export class TopologyService extends Service {
|
|
507
|
-
|
|
508
|
-
constructor(optsConnection: IOptions | IConnection) {
|
|
509
|
-
super(optsConnection, "WsTopology", "1.31");
|
|
510
|
-
}
|
|
8
|
+
export class TopologyService extends TopologyServiceBase {
|
|
511
9
|
|
|
512
10
|
connectionOptions(): IOptions {
|
|
513
11
|
return this._connection.opts();
|
|
@@ -524,11 +22,7 @@ export class TopologyService extends Service {
|
|
|
524
22
|
return parts2[0];
|
|
525
23
|
}
|
|
526
24
|
|
|
527
|
-
|
|
528
|
-
return this._connection.send("TpLogicalClusterQuery", request);
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
DefaultTpLogicalClusterQuery(request: TpLogicalClusterQuery.Request = {}): Promise<TpLogicalClusterQuery.TpLogicalCluster> {
|
|
25
|
+
DefaultTpLogicalClusterQuery(request: WsTopology.TpLogicalClusterQueryRequest = {}): Promise<WsTopology.TpLogicalCluster> {
|
|
532
26
|
return this.TpLogicalClusterQuery(request).then((response) => {
|
|
533
27
|
if ((response as any).default) {
|
|
534
28
|
return (response as any).default;
|
|
@@ -548,16 +42,4 @@ export class TopologyService extends Service {
|
|
|
548
42
|
return firstHThor || first;
|
|
549
43
|
});
|
|
550
44
|
}
|
|
551
|
-
|
|
552
|
-
TpServiceQuery(request: TpServiceQuery.Request): Promise<TpServiceQuery.Response> {
|
|
553
|
-
return this._connection.send("TpServiceQuery", request);
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
TpTargetClusterQuery(request: TpTargetClusterQuery.Request): Promise<TpTargetClusterQuery.Response> {
|
|
557
|
-
return this._connection.send("TpTargetClusterQuery", request);
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
TpListTargetClusters(request: TpListTargetClusters.Request): Promise<TpListTargetClusters.Response> {
|
|
561
|
-
return this._connection.send("TpListTargetClusters", request);
|
|
562
|
-
}
|
|
563
45
|
}
|
|
@@ -2664,8 +2664,8 @@ export class WorkunitsService extends Service {
|
|
|
2664
2664
|
IncludeECL: false,
|
|
2665
2665
|
IncludeHelpers: false,
|
|
2666
2666
|
IncludeAllowedClusters: false,
|
|
2667
|
-
IncludeTotalClusterTime:
|
|
2668
|
-
IncludeServiceNames:
|
|
2667
|
+
IncludeTotalClusterTime: false,
|
|
2668
|
+
IncludeServiceNames: false,
|
|
2669
2669
|
SuppressResultSchemas: true,
|
|
2670
2670
|
..._request
|
|
2671
2671
|
};
|