@hpcc-js/comms 3.15.4 → 3.15.6

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.
Files changed (130) hide show
  1. package/LICENSE +43 -43
  2. package/README.md +50 -50
  3. package/dist/browser/index.js +1 -1
  4. package/dist/browser/index.js.map +1 -1
  5. package/dist/browser/index.umd.cjs +1 -1
  6. package/dist/browser/index.umd.cjs.map +1 -1
  7. package/dist/node/index.cjs +10 -10
  8. package/dist/node/index.cjs.map +4 -4
  9. package/dist/node/index.js +9 -9
  10. package/dist/node/index.js.map +4 -4
  11. package/package.json +7 -7
  12. package/src/__package__.ts +3 -3
  13. package/src/clienttools/eclMeta.ts +506 -506
  14. package/src/clienttools/eclcc.ts +628 -628
  15. package/src/connection.ts +288 -288
  16. package/src/ecl/activity.ts +82 -82
  17. package/src/ecl/dfuWorkunit.ts +363 -363
  18. package/src/ecl/graph.ts +196 -196
  19. package/src/ecl/logicalFile.ts +196 -196
  20. package/src/ecl/machine.ts +63 -63
  21. package/src/ecl/query.ts +265 -265
  22. package/src/ecl/queryGraph.ts +813 -813
  23. package/src/ecl/resource.ts +39 -39
  24. package/src/ecl/result.ts +245 -245
  25. package/src/ecl/scope.ts +188 -188
  26. package/src/ecl/sourceFile.ts +34 -34
  27. package/src/ecl/store.ts +154 -154
  28. package/src/ecl/targetCluster.ts +149 -149
  29. package/src/ecl/timer.ts +42 -42
  30. package/src/ecl/topology.ts +131 -131
  31. package/src/ecl/workunit.ts +1340 -1340
  32. package/src/ecl/xsdParser.ts +267 -267
  33. package/src/espConnection.ts +164 -164
  34. package/src/index.browser.ts +1 -1
  35. package/src/index.common.ts +40 -40
  36. package/src/index.node.ts +48 -48
  37. package/src/pem/trustwave.ts +909 -909
  38. package/src/services/fileSpray.ts +73 -73
  39. package/src/services/wsAccess.ts +8 -8
  40. package/src/services/wsAccount.ts +27 -27
  41. package/src/services/wsCloud.ts +73 -73
  42. package/src/services/wsCodesign.ts +18 -18
  43. package/src/services/wsDFU.ts +34 -34
  44. package/src/services/wsDFUXRef.ts +121 -121
  45. package/src/services/wsDali.ts +8 -8
  46. package/src/services/wsEcl.ts +123 -123
  47. package/src/services/wsElk.ts +8 -8
  48. package/src/services/wsLogaccess.ts +270 -270
  49. package/src/services/wsMachine.ts +89 -89
  50. package/src/services/wsPackageProcess.ts +8 -8
  51. package/src/services/wsResources.ts +8 -8
  52. package/src/services/wsSMC.ts +80 -80
  53. package/src/services/wsSasha.ts +7 -7
  54. package/src/services/wsStore.ts +32 -32
  55. package/src/services/wsTopology.ts +45 -45
  56. package/src/services/wsWorkunits.ts +151 -151
  57. package/src/services/wsdl/FileSpray/v1.23/FileSpray.ts +1008 -1008
  58. package/src/services/wsdl/FileSpray/v1.25/FileSpray.ts +1040 -1040
  59. package/src/services/wsdl/FileSpray/v1.26/FileSpray.ts +929 -929
  60. package/src/services/wsdl/FileSpray/v1.27/FileSpray.ts +930 -930
  61. package/src/services/wsdl/WsCloud/v1/WsCloud.ts +38 -38
  62. package/src/services/wsdl/WsCloud/v1.02/WsCloud.ts +77 -77
  63. package/src/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.ts +224 -224
  64. package/src/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts +228 -227
  65. package/src/services/wsdl/WsDali/v1.04/WsDali.ts +216 -216
  66. package/src/services/wsdl/WsDali/v1.07/WsDali.ts +72 -72
  67. package/src/services/wsdl/WsDfu/v1.62/WsDfu.ts +1455 -1455
  68. package/src/services/wsdl/WsDfu/v1.63/WsDfu.ts +1465 -1465
  69. package/src/services/wsdl/WsDfu/v1.65/WsDfu.ts +1244 -1244
  70. package/src/services/wsdl/WsDfu/v1.66/WsDfu.ts +1267 -1267
  71. package/src/services/wsdl/WsDfu/v1.67/WsDfu.ts +1268 -1268
  72. package/src/services/wsdl/WsDfu/v1.68/WsDfu.ts +1301 -0
  73. package/src/services/wsdl/WsESDLConfig/v1.5/WsESDLConfig.ts +366 -0
  74. package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +104 -104
  75. package/src/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.ts +519 -519
  76. package/src/services/wsdl/WsPackageProcess/v1.07/WsPackageProcess.ts +500 -500
  77. package/src/services/wsdl/WsPackageProcess/v1.08/WsPackageProcess.ts +503 -0
  78. package/src/services/wsdl/WsResources/v1.01/WsResources.ts +119 -119
  79. package/src/services/wsdl/WsSMC/v1.24/WsSMC.ts +665 -665
  80. package/src/services/wsdl/WsSMC/v1.27/WsSMC.ts +591 -591
  81. package/src/services/wsdl/WsSMC/v1.28/WsSMC.ts +645 -645
  82. package/src/services/wsdl/WsSMC/v1.29/WsSMC.ts +660 -660
  83. package/src/services/wsdl/WsSasha/v1.01/WsSasha.ts +18 -18
  84. package/src/services/wsdl/WsTopology/v1.31/WsTopology.ts +856 -856
  85. package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +786 -786
  86. package/src/services/wsdl/WsTopology/v1.33/WsTopology.ts +835 -835
  87. package/src/services/wsdl/WsWorkunits/v1.88/WsWorkunits.ts +2944 -2944
  88. package/src/services/wsdl/WsWorkunits/v1.94/WsWorkunits.ts +3072 -3072
  89. package/src/services/wsdl/WsWorkunits/v1.95/WsWorkunits.ts +3073 -3073
  90. package/src/services/wsdl/WsWorkunits/v1.97/WsWorkunits.ts +3134 -3134
  91. package/src/services/wsdl/WsWorkunits/v1.98/WsWorkunits.ts +3182 -3182
  92. package/src/services/wsdl/WsWorkunits/v1.99/WsWorkunits.ts +3162 -3162
  93. package/src/services/wsdl/WsWorkunits/v2/WsWorkunits.ts +3153 -3153
  94. package/src/services/wsdl/WsWorkunits/v2.02/WsWorkunits.ts +3162 -3162
  95. package/src/services/wsdl/WsWorkunits/v2.03/WsWorkunits.ts +3164 -3164
  96. package/src/services/wsdl/WsWorkunits/v2.04/WsWorkunits.ts +3171 -3171
  97. package/src/services/wsdl/WsWorkunits/v2.05/WsWorkunits.ts +3177 -0
  98. package/src/services/wsdl/ws_access/v1.16/ws_access.ts +1086 -1086
  99. package/src/services/wsdl/ws_access/v1.17/ws_access.ts +1023 -1023
  100. package/src/services/wsdl/ws_account/v1.05/ws_account.ts +111 -111
  101. package/src/services/wsdl/ws_account/v1.06/ws_account.ts +109 -109
  102. package/src/services/wsdl/ws_account/v1.07/ws_account.ts +114 -114
  103. package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +95 -95
  104. package/src/services/wsdl/ws_elk/v1/ws_elk.ts +47 -47
  105. package/src/services/wsdl/ws_logaccess/v1/ws_logaccess.ts +83 -83
  106. package/src/services/wsdl/ws_logaccess/v1.02/ws_logaccess.ts +161 -161
  107. package/src/services/wsdl/ws_logaccess/v1.03/ws_logaccess.ts +190 -190
  108. package/src/services/wsdl/ws_logaccess/v1.04/ws_logaccess.ts +215 -215
  109. package/src/services/wsdl/ws_logaccess/v1.05/ws_logaccess.ts +219 -219
  110. package/src/services/wsdl/ws_logaccess/v1.08/ws_logaccess.ts +267 -267
  111. package/src/services/wsdl/ws_machine/v1.17/ws_machine.ts +567 -567
  112. package/src/services/wsdl/ws_machine/v1.18/ws_machine.ts +497 -497
  113. package/src/services/wsdl/ws_machine/v1.19/ws_machine.ts +497 -497
  114. package/src/services/wsdl/wsstore/v1.02/wsstore.ts +239 -239
  115. package/types/services/wsPackageProcess.d.ts +1 -1
  116. package/types/services/wsWorkunits.d.ts +1 -1
  117. package/types/services/wsdl/FileSpray/v1.27/FileSpray.d.ts +506 -506
  118. package/types/services/wsdl/WsCloud/v1.02/WsCloud.d.ts +18 -18
  119. package/types/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.d.ts +58 -57
  120. package/types/services/wsdl/WsDali/v1.07/WsDali.d.ts +42 -42
  121. package/types/services/wsdl/WsPackageProcess/{v1.07 → v1.08}/WsPackageProcess.d.ts +121 -118
  122. package/types/services/wsdl/WsSasha/v1.01/WsSasha.d.ts +13 -13
  123. package/types/services/wsdl/WsTopology/v1.33/WsTopology.d.ts +360 -360
  124. package/types/services/wsdl/WsWorkunits/v2.05/WsWorkunits.d.ts +2571 -0
  125. package/types/services/wsdl/ws_access/v1.17/ws_access.d.ts +268 -268
  126. package/types/services/wsdl/ws_account/v1.07/ws_account.d.ts +34 -34
  127. package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +22 -22
  128. package/types/services/wsdl/ws_elk/v1/ws_elk.d.ts +12 -12
  129. package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts +61 -61
  130. package/types/services/wsdl/WsWorkunits/v2.04/WsWorkunits.d.ts +0 -2565
@@ -1,786 +1,786 @@
1
- import { IConnection, IOptions } from "../../../../connection.ts";
2
- import { Service } from "../../../../espConnection.ts";
3
-
4
- export namespace WsTopology {
5
-
6
- export type int = number;
7
- export type base64Binary = string;
8
- export type unsignedInt = number;
9
- export type long = number;
10
-
11
- export enum RoxieQueueFilter {
12
- All = "All",
13
- QueriesOnly = "QueriesOnly",
14
- WorkunitsOnly = "WorkunitsOnly"
15
- }
16
-
17
- export enum TpMachineType {
18
- ALLNODES = "ALLNODES",
19
- THORMACHINES = "THORMACHINES",
20
- HOLEMACHINES = "HOLEMACHINES",
21
- ROXIEMACHINES = "ROXIEMACHINES",
22
- MACHINES = "MACHINES",
23
- AVAILABLEMACHINES = "AVAILABLEMACHINES",
24
- DROPZONE = "DROPZONE",
25
- STANDBYNNODE = "STANDBYNNODE",
26
- THORSPARENODES = "THORSPARENODES",
27
- HOLESTANDBYNODES = "HOLESTANDBYNODES"
28
- }
29
-
30
- export interface WsTopologyPingRequest {
31
-
32
- }
33
-
34
- export interface WsTopologyPingResponse {
35
-
36
- }
37
-
38
- export interface SystemLogRequest {
39
- Name?: string;
40
- Type?: string;
41
- Zip?: int;
42
- }
43
-
44
- export interface Exception {
45
- Code: string;
46
- Audience: string;
47
- Source: string;
48
- Message: string;
49
- }
50
-
51
- export interface Exceptions {
52
- Source: string;
53
- Exception: Exception[];
54
- }
55
-
56
- export interface SystemLogResponse {
57
- Exceptions: Exceptions;
58
- thefile: base64Binary;
59
- }
60
-
61
- export interface TpClusterInfoRequest {
62
- Name?: string;
63
- }
64
-
65
- export interface TpQueue {
66
- Name: string;
67
- WorkUnit: string;
68
- }
69
-
70
- export interface TpQueues {
71
- TpQueue: TpQueue[];
72
- }
73
-
74
- export interface TpClusterInfoResponse {
75
- Exceptions: Exceptions;
76
- Name: string;
77
- WorkUnit: string;
78
- TpQueues: TpQueues;
79
- }
80
-
81
- export interface TpClusterQueryRequest {
82
- Type?: string;
83
- }
84
-
85
- export interface TpMachine {
86
- Name: string;
87
- Netaddress: string;
88
- ConfigNetaddress: string;
89
- Domain: string;
90
- Directory: string;
91
- Type: string;
92
- Available: string;
93
- OS: int;
94
- Path: string;
95
- Port: int;
96
- ProcessNumber: int;
97
- Channels: unsignedInt;
98
- }
99
-
100
- export interface TpMachines {
101
- TpMachine: TpMachine[];
102
- }
103
-
104
- export interface TpCluster {
105
- Type: string;
106
- Name: string;
107
- QueueName: string;
108
- Build: string;
109
- Directory: string;
110
- LogDirectory: string;
111
- Desc: string;
112
- Path: string;
113
- DataModel: string;
114
- OS: int;
115
- HasThorSpareProcess: boolean;
116
- TpMachines: TpMachines;
117
- }
118
-
119
- export interface TpClusters {
120
- TpCluster: TpCluster[];
121
- }
122
-
123
- export interface TpClusterQueryResponse {
124
- Exceptions: Exceptions;
125
- EnableSNMP: boolean;
126
- AcceptLanguage: string;
127
- TpClusters: TpClusters;
128
- }
129
-
130
- export interface TpDropZoneQueryRequest {
131
- Name?: string;
132
- ECLWatchVisibleOnly?: boolean;
133
- }
134
-
135
- export interface TpDropZone {
136
- Name: string;
137
- Description: string;
138
- Build: string;
139
- Path: string;
140
- ECLWatchVisible: boolean;
141
- UMask: string;
142
- TpMachines: TpMachines;
143
- }
144
-
145
- export interface TpDropZones {
146
- TpDropZone: TpDropZone[];
147
- }
148
-
149
- export interface TpDropZoneQueryResponse {
150
- Exceptions: Exceptions;
151
- TpDropZones: TpDropZones;
152
- }
153
-
154
- export interface TpGetComponentFileRequest {
155
- CompType?: string;
156
- CompName?: string;
157
- NetAddress?: string;
158
- Directory?: string;
159
- FileType?: string;
160
- OsType?: int;
161
- PlainText?: string;
162
- }
163
-
164
- export interface TpGetComponentFileResponse {
165
- Exceptions: Exceptions;
166
- FileContents: base64Binary;
167
- }
168
-
169
- export interface TpGetServicePluginsRequest {
170
-
171
- }
172
-
173
- export interface Plugin {
174
- ShortName: string;
175
- LongName: string;
176
- FolderName: string;
177
- WidgetName: string;
178
- }
179
-
180
- export interface Plugins {
181
- Plugin: Plugin[];
182
- }
183
-
184
- export interface TpGetServicePluginsResponse {
185
- Exceptions: Exceptions;
186
- Plugins: Plugins;
187
- }
188
-
189
- export interface TpGroupQueryRequest {
190
- Kind?: string;
191
- }
192
-
193
- export interface TpGroup {
194
- Name: string;
195
- Kind: string;
196
- ReplicateOutputs: boolean;
197
- }
198
-
199
- export interface TpGroups {
200
- TpGroup: TpGroup[];
201
- }
202
-
203
- export interface TpGroupQueryResponse {
204
- Exceptions: Exceptions;
205
- TpGroups: TpGroups;
206
- }
207
-
208
- export interface TpListLogFilesRequest {
209
- NetworkAddress?: string;
210
- Path?: string;
211
- }
212
-
213
- export interface LogFileStruct {
214
- Name: string;
215
- Path: string;
216
- Host: string;
217
- IsDir: boolean;
218
- FileSize: long;
219
- Modifiedtime: string;
220
- }
221
-
222
- export interface Files {
223
- LogFileStruct: LogFileStruct[];
224
- }
225
-
226
- export interface TpListLogFilesResponse {
227
- Exceptions: Exceptions;
228
- Files: Files;
229
- }
230
-
231
- export interface TpListTargetClustersRequest {
232
-
233
- }
234
-
235
- export interface TpClusterNameType {
236
- Name: string;
237
- Type: string;
238
- IsDefault: boolean;
239
- }
240
-
241
- export interface TargetClusters {
242
- TpClusterNameType: TpClusterNameType[];
243
- }
244
-
245
- export interface TpListTargetClustersResponse {
246
- Exceptions: Exceptions;
247
- TargetClusters: TargetClusters;
248
- }
249
-
250
- export interface TpLogFileRequest {
251
- Name?: string;
252
- Type?: string;
253
- LastHours?: int;
254
- StartDate?: string;
255
- EndDate?: string;
256
- FirstRows?: int;
257
- LastRows?: int;
258
- FilterType?: int;
259
- Reversely?: boolean;
260
- Zip?: boolean;
261
- PageNumber?: int;
262
- LoadData?: boolean;
263
- IncludeLogFieldNames?: boolean;
264
- }
265
-
266
- export interface LogFieldNames {
267
- Item: string[];
268
- }
269
-
270
- export interface TpLogFileResponse {
271
- Exceptions: Exceptions;
272
- Name: string;
273
- Type: string;
274
- StartDate: string;
275
- EndDate: string;
276
- LastHours: int;
277
- FirstRows: int;
278
- LastRows: int;
279
- Reversely: boolean;
280
- Zip: boolean;
281
- FilterType: int;
282
- LogData: string;
283
- HasDate: boolean;
284
- FileSize: long;
285
- PageFrom: long;
286
- PageTo: long;
287
- PageNumber: int;
288
- PrevPage: int;
289
- NextPage: int;
290
- TotalPages: int;
291
- AcceptLanguage: string;
292
- LogFieldNames: LogFieldNames;
293
- }
294
-
295
- export interface TpLogicalClusterQueryRequest {
296
- EclServerQueue?: string;
297
- RoxieQueueFilter?: RoxieQueueFilter;
298
- }
299
-
300
- export interface TpLogicalCluster {
301
- Name: string;
302
- Queue: string;
303
- LanguageVersion: string;
304
- Process: string;
305
- Type: string;
306
- QueriesOnly: boolean;
307
- }
308
-
309
- export interface TpLogicalClusters {
310
- TpLogicalCluster: TpLogicalCluster[];
311
- }
312
-
313
- export interface TpLogicalClusterQueryResponse {
314
- Exceptions: Exceptions;
315
- TpLogicalClusters: TpLogicalClusters;
316
- }
317
-
318
- export interface TpMachineInfoRequest {
319
- Name?: string;
320
- NetAddress?: string;
321
- }
322
-
323
- export interface MachineInfo {
324
- Name: string;
325
- Netaddress: string;
326
- ConfigNetaddress: string;
327
- Domain: string;
328
- Directory: string;
329
- Type: string;
330
- Available: string;
331
- OS: int;
332
- Path: string;
333
- Port: int;
334
- ProcessNumber: int;
335
- Channels: unsignedInt;
336
- }
337
-
338
- export interface TpMachineInfoResponse {
339
- Exceptions: Exceptions;
340
- MachineInfo: MachineInfo;
341
- }
342
-
343
- export interface TpMachineQueryRequest {
344
- Type?: TpMachineType;
345
- Cluster?: string;
346
- OldIP?: string;
347
- Path?: string;
348
- Directory?: string;
349
- LogDirectory?: string;
350
- }
351
-
352
- export interface TpMachineQueryResponse {
353
- Exceptions: Exceptions;
354
- EnablePreflightInfo: boolean;
355
- HasThorSpareProcess: boolean;
356
- Type: TpMachineType;
357
- Cluster: string;
358
- OldIP: string;
359
- LogDirectory: string;
360
- Path: string;
361
- MemThreshold: int;
362
- DiskThreshold: int;
363
- CpuThreshold: int;
364
- MemThresholdType: string;
365
- DiskThresholdType: string;
366
- PreflightProcessFilter: string;
367
- EnableSNMP: boolean;
368
- AcceptLanguage: string;
369
- TpMachines: TpMachines;
370
- }
371
-
372
- export interface TpServiceQueryRequest {
373
- Type?: string;
374
- }
375
-
376
- export interface TpDali {
377
- Name: string;
378
- Description: string;
379
- Build: string;
380
- BackupComputer: string;
381
- BackupDirectory: string;
382
- Type: string;
383
- Path: string;
384
- LogDirectory: string;
385
- AuditLogDirectory: string;
386
- TpMachines: TpMachines;
387
- }
388
-
389
- export interface TpDalis {
390
- TpDali: TpDali[];
391
- }
392
-
393
- export interface TpDfuServer {
394
- Name: string;
395
- Description: string;
396
- Build: string;
397
- Queue: string;
398
- Type: string;
399
- Path: string;
400
- LogDirectory: string;
401
- TpMachines: TpMachines;
402
- }
403
-
404
- export interface TpDfuServers {
405
- TpDfuServer: TpDfuServer[];
406
- }
407
-
408
- export interface TpDkcSlave {
409
- Name: string;
410
- Description: string;
411
- Build: string;
412
- Path: string;
413
- TpMachines: TpMachines;
414
- }
415
-
416
- export interface TpDkcSlaves {
417
- TpDkcSlave: TpDkcSlave[];
418
- }
419
-
420
- export interface TpEclAgent {
421
- Name: string;
422
- Description: string;
423
- Build: string;
424
- Type: string;
425
- Path: string;
426
- DaliServer: string;
427
- LogDir: string;
428
- TpMachines: TpMachines;
429
- }
430
-
431
- export interface TpEclAgents {
432
- TpEclAgent: TpEclAgent[];
433
- }
434
-
435
- export interface TpEclServer {
436
- Name: string;
437
- Description: string;
438
- Build: string;
439
- LogDirectory: string;
440
- Type: string;
441
- Path: string;
442
- TpMachines: TpMachines;
443
- }
444
-
445
- export interface TpEclServers {
446
- TpEclServer: TpEclServer[];
447
- }
448
-
449
- export interface TpEclCCServers {
450
- TpEclServer: TpEclServer[];
451
- }
452
-
453
- export interface TpEclScheduler {
454
- Name: string;
455
- Description: string;
456
- Build: string;
457
- LogDirectory: string;
458
- Type: string;
459
- Path: string;
460
- TpMachines: TpMachines;
461
- }
462
-
463
- export interface TpEclSchedulers {
464
- TpEclScheduler: TpEclScheduler[];
465
- }
466
-
467
- export interface TpBinding {
468
- Name: string;
469
- Service: string;
470
- ServiceType: string;
471
- BindingType: string;
472
- ServiceBuildSet: string;
473
- Port: string;
474
- Protocol: string;
475
- }
476
-
477
- export interface TpBindings {
478
- TpBinding: TpBinding[];
479
- }
480
-
481
- export interface TpEspServer {
482
- Name: string;
483
- Description: string;
484
- Build: string;
485
- Type: string;
486
- Path: string;
487
- LogDirectory: string;
488
- TpMachines: TpMachines;
489
- TpBindings: TpBindings;
490
- }
491
-
492
- export interface TpEspServers {
493
- TpEspServer: TpEspServer[];
494
- }
495
-
496
- export interface TpFTSlave {
497
- Name: string;
498
- Description: string;
499
- Build: string;
500
- Path: string;
501
- TpMachines: TpMachines;
502
- }
503
-
504
- export interface TpFTSlaves {
505
- TpFTSlave: TpFTSlave[];
506
- }
507
-
508
- export interface TpGenesisServer {
509
- Name: string;
510
- Description: string;
511
- Build: string;
512
- Path: string;
513
- TpMachines: TpMachines;
514
- }
515
-
516
- export interface TpGenesisServers {
517
- TpGenesisServer: TpGenesisServer[];
518
- }
519
-
520
- export interface TpLdapServer {
521
- Name: string;
522
- Description: string;
523
- Build: string;
524
- Path: string;
525
- TpMachines: TpMachines;
526
- }
527
-
528
- export interface TpLdapServers {
529
- TpLdapServer: TpLdapServer[];
530
- }
531
-
532
- export interface TpMySqlServer {
533
- Name: string;
534
- Description: string;
535
- Build: string;
536
- Path: string;
537
- TpMachines: TpMachines;
538
- }
539
-
540
- export interface TpMySqlServers {
541
- TpMySqlServer: TpMySqlServer[];
542
- }
543
-
544
- export interface TpSashaServer {
545
- Name: string;
546
- Description: string;
547
- Build: string;
548
- Path: string;
549
- LogDirectory: string;
550
- TpMachines: TpMachines;
551
- }
552
-
553
- export interface TpSashaServers {
554
- TpSashaServer: TpSashaServer[];
555
- }
556
-
557
- export interface TpSparkThor {
558
- Name: string;
559
- Build: string;
560
- ThorClusterName: string;
561
- ThorPath: string;
562
- SparkExecutorCores: unsignedInt;
563
- SparkExecutorMemory: long;
564
- SparkMasterPort: unsignedInt;
565
- SparkMasterWebUIPort: unsignedInt;
566
- SparkWorkerCores: unsignedInt;
567
- SparkWorkerMemory: long;
568
- SparkWorkerPort: unsignedInt;
569
- LogDirectory: string;
570
- Path: string;
571
- TpMachines: TpMachines;
572
- }
573
-
574
- export interface TpSparkThors {
575
- TpSparkThor: TpSparkThor[];
576
- }
577
-
578
- export interface ServiceList {
579
- TpDalis: TpDalis;
580
- TpDfuServers: TpDfuServers;
581
- TpDkcSlaves: TpDkcSlaves;
582
- TpDropZones: TpDropZones;
583
- TpEclAgents: TpEclAgents;
584
- TpEclServers: TpEclServers;
585
- TpEclCCServers: TpEclCCServers;
586
- TpEclSchedulers: TpEclSchedulers;
587
- TpEspServers: TpEspServers;
588
- TpFTSlaves: TpFTSlaves;
589
- TpGenesisServers: TpGenesisServers;
590
- TpLdapServers: TpLdapServers;
591
- TpMySqlServers: TpMySqlServers;
592
- TpSashaServers: TpSashaServers;
593
- TpSparkThors: TpSparkThors;
594
- }
595
-
596
- export interface TpServiceQueryResponse {
597
- Exceptions: Exceptions;
598
- MemThreshold: int;
599
- DiskThreshold: int;
600
- CpuThreshold: int;
601
- EncapsulatedSystem: boolean;
602
- EnableSNMP: boolean;
603
- PreflightProcessFilter: string;
604
- AcceptLanguage: string;
605
- MemThresholdType: string;
606
- DiskThresholdType: string;
607
- ServiceList: ServiceList;
608
- }
609
-
610
- export interface TpSetMachineStatusRequest {
611
- MachinePath?: string;
612
- StatusValue?: string;
613
- }
614
-
615
- export interface TpSetMachineStatusResponse {
616
- Exceptions: Exceptions;
617
- TpSetMachineStatusResult: boolean;
618
- }
619
-
620
- export interface TpSwapNodeRequest {
621
- Cluster?: string;
622
- OldIP?: string;
623
- NewIP?: string;
624
- }
625
-
626
- export interface TpSwapNodeResponse {
627
- Exceptions: Exceptions;
628
- TpSwapNodeResult: boolean;
629
- }
630
-
631
- export interface TpTargetClusterQueryRequest {
632
- Type?: string;
633
- Name?: string;
634
- ShowDetails?: boolean;
635
- }
636
-
637
- export interface TpTargetCluster {
638
- Name: string;
639
- Prefix: string;
640
- Type: string;
641
- TpClusters: TpClusters;
642
- TpEclCCServers: TpEclCCServers;
643
- TpEclServers: TpEclServers;
644
- TpEclAgents: TpEclAgents;
645
- TpEclSchedulers: TpEclSchedulers;
646
- }
647
-
648
- export interface TpTargetClusters {
649
- TpTargetCluster: TpTargetCluster[];
650
- }
651
-
652
- export interface TpTargetClusterQueryResponse {
653
- Exceptions: Exceptions;
654
- ShowDetails: boolean;
655
- MemThreshold: int;
656
- DiskThreshold: int;
657
- CpuThreshold: int;
658
- MemThresholdType: string;
659
- DiskThresholdType: string;
660
- PreflightProcessFilter: string;
661
- AcceptLanguage: string;
662
- TpTargetClusters: TpTargetClusters;
663
- }
664
-
665
- export interface TpThorStatusRequest {
666
- Name?: string;
667
- }
668
-
669
- export interface TpThorStatusResponse {
670
- Exceptions: Exceptions;
671
- Name: string;
672
- Queue: string;
673
- Group: string;
674
- ThorMasterIPAddress: string;
675
- Port: int;
676
- StartTime: string;
677
- LogFile: string;
678
- Wuid: string;
679
- Graph: string;
680
- SubGraph: int;
681
- SubGraphDuration: int;
682
- AutoRefresh: int;
683
- }
684
-
685
- export interface TpXMLFileRequest {
686
- Name?: string;
687
- }
688
-
689
- export interface TpXMLFileResponse {
690
- Exceptions: Exceptions;
691
- thefile: base64Binary;
692
- }
693
-
694
- }
695
-
696
- export class TopologyServiceBase extends Service {
697
-
698
- constructor(optsConnection: IOptions | IConnection) {
699
- super(optsConnection, "WsTopology", "1.32");
700
- }
701
-
702
- Ping(request: Partial<WsTopology.WsTopologyPingRequest>): Promise<WsTopology.WsTopologyPingResponse> {
703
- return this._connection.send("Ping", request, "json", false, undefined, "WsTopologyPingResponse");
704
- }
705
-
706
- SystemLog(request: Partial<WsTopology.SystemLogRequest>): Promise<WsTopology.SystemLogResponse> {
707
- return this._connection.send("SystemLog", request, "json", false, undefined, "SystemLogResponse");
708
- }
709
-
710
- TpClusterInfo(request: Partial<WsTopology.TpClusterInfoRequest>): Promise<WsTopology.TpClusterInfoResponse> {
711
- return this._connection.send("TpClusterInfo", request, "json", false, undefined, "TpClusterInfoResponse");
712
- }
713
-
714
- TpClusterQuery(request: Partial<WsTopology.TpClusterQueryRequest>): Promise<WsTopology.TpClusterQueryResponse> {
715
- return this._connection.send("TpClusterQuery", request, "json", false, undefined, "TpClusterQueryResponse");
716
- }
717
-
718
- TpDropZoneQuery(request: Partial<WsTopology.TpDropZoneQueryRequest>): Promise<WsTopology.TpDropZoneQueryResponse> {
719
- return this._connection.send("TpDropZoneQuery", request, "json", false, undefined, "TpDropZoneQueryResponse");
720
- }
721
-
722
- TpGetComponentFile(request: Partial<WsTopology.TpGetComponentFileRequest>): Promise<WsTopology.TpGetComponentFileResponse> {
723
- return this._connection.send("TpGetComponentFile", request, "json", false, undefined, "TpGetComponentFileResponse");
724
- }
725
-
726
- TpGetServicePlugins(request: Partial<WsTopology.TpGetServicePluginsRequest>): Promise<WsTopology.TpGetServicePluginsResponse> {
727
- return this._connection.send("TpGetServicePlugins", request, "json", false, undefined, "TpGetServicePluginsResponse");
728
- }
729
-
730
- TpGroupQuery(request: Partial<WsTopology.TpGroupQueryRequest>): Promise<WsTopology.TpGroupQueryResponse> {
731
- return this._connection.send("TpGroupQuery", request, "json", false, undefined, "TpGroupQueryResponse");
732
- }
733
-
734
- TpListLogFiles(request: Partial<WsTopology.TpListLogFilesRequest>): Promise<WsTopology.TpListLogFilesResponse> {
735
- return this._connection.send("TpListLogFiles", request, "json", false, undefined, "TpListLogFilesResponse");
736
- }
737
-
738
- TpListTargetClusters(request: Partial<WsTopology.TpListTargetClustersRequest>): Promise<WsTopology.TpListTargetClustersResponse> {
739
- return this._connection.send("TpListTargetClusters", request, "json", false, undefined, "TpListTargetClustersResponse");
740
- }
741
-
742
- TpLogFile(request: Partial<WsTopology.TpLogFileRequest>): Promise<WsTopology.TpLogFileResponse> {
743
- return this._connection.send("TpLogFile", request, "json", false, undefined, "TpLogFileResponse");
744
- }
745
-
746
- TpLogFileDisplay(request: Partial<WsTopology.TpLogFileRequest>): Promise<WsTopology.TpLogFileResponse> {
747
- return this._connection.send("TpLogFileDisplay", request, "json", false, undefined, "TpLogFileResponse");
748
- }
749
-
750
- TpLogicalClusterQuery(request: Partial<WsTopology.TpLogicalClusterQueryRequest>): Promise<WsTopology.TpLogicalClusterQueryResponse> {
751
- return this._connection.send("TpLogicalClusterQuery", request, "json", false, undefined, "TpLogicalClusterQueryResponse");
752
- }
753
-
754
- TpMachineInfo(request: Partial<WsTopology.TpMachineInfoRequest>): Promise<WsTopology.TpMachineInfoResponse> {
755
- return this._connection.send("TpMachineInfo", request, "json", false, undefined, "TpMachineInfoResponse");
756
- }
757
-
758
- TpMachineQuery(request: Partial<WsTopology.TpMachineQueryRequest>): Promise<WsTopology.TpMachineQueryResponse> {
759
- return this._connection.send("TpMachineQuery", request, "json", false, undefined, "TpMachineQueryResponse");
760
- }
761
-
762
- TpServiceQuery(request: Partial<WsTopology.TpServiceQueryRequest>): Promise<WsTopology.TpServiceQueryResponse> {
763
- return this._connection.send("TpServiceQuery", request, "json", false, undefined, "TpServiceQueryResponse");
764
- }
765
-
766
- TpSetMachineStatus(request: Partial<WsTopology.TpSetMachineStatusRequest>): Promise<WsTopology.TpSetMachineStatusResponse> {
767
- return this._connection.send("TpSetMachineStatus", request, "json", false, undefined, "TpSetMachineStatusResponse");
768
- }
769
-
770
- TpSwapNode(request: Partial<WsTopology.TpSwapNodeRequest>): Promise<WsTopology.TpSwapNodeResponse> {
771
- return this._connection.send("TpSwapNode", request, "json", false, undefined, "TpSwapNodeResponse");
772
- }
773
-
774
- TpTargetClusterQuery(request: Partial<WsTopology.TpTargetClusterQueryRequest>): Promise<WsTopology.TpTargetClusterQueryResponse> {
775
- return this._connection.send("TpTargetClusterQuery", request, "json", false, undefined, "TpTargetClusterQueryResponse");
776
- }
777
-
778
- TpThorStatus(request: Partial<WsTopology.TpThorStatusRequest>): Promise<WsTopology.TpThorStatusResponse> {
779
- return this._connection.send("TpThorStatus", request, "json", false, undefined, "TpThorStatusResponse");
780
- }
781
-
782
- TpXMLFile(request: Partial<WsTopology.TpXMLFileRequest>): Promise<WsTopology.TpXMLFileResponse> {
783
- return this._connection.send("TpXMLFile", request, "json", false, undefined, "TpXMLFileResponse");
784
- }
785
-
786
- }
1
+ import { IConnection, IOptions } from "../../../../connection.ts";
2
+ import { Service } from "../../../../espConnection.ts";
3
+
4
+ export namespace WsTopology {
5
+
6
+ export type int = number;
7
+ export type base64Binary = string;
8
+ export type unsignedInt = number;
9
+ export type long = number;
10
+
11
+ export enum RoxieQueueFilter {
12
+ All = "All",
13
+ QueriesOnly = "QueriesOnly",
14
+ WorkunitsOnly = "WorkunitsOnly"
15
+ }
16
+
17
+ export enum TpMachineType {
18
+ ALLNODES = "ALLNODES",
19
+ THORMACHINES = "THORMACHINES",
20
+ HOLEMACHINES = "HOLEMACHINES",
21
+ ROXIEMACHINES = "ROXIEMACHINES",
22
+ MACHINES = "MACHINES",
23
+ AVAILABLEMACHINES = "AVAILABLEMACHINES",
24
+ DROPZONE = "DROPZONE",
25
+ STANDBYNNODE = "STANDBYNNODE",
26
+ THORSPARENODES = "THORSPARENODES",
27
+ HOLESTANDBYNODES = "HOLESTANDBYNODES"
28
+ }
29
+
30
+ export interface WsTopologyPingRequest {
31
+
32
+ }
33
+
34
+ export interface WsTopologyPingResponse {
35
+
36
+ }
37
+
38
+ export interface SystemLogRequest {
39
+ Name?: string;
40
+ Type?: string;
41
+ Zip?: int;
42
+ }
43
+
44
+ export interface Exception {
45
+ Code: string;
46
+ Audience: string;
47
+ Source: string;
48
+ Message: string;
49
+ }
50
+
51
+ export interface Exceptions {
52
+ Source: string;
53
+ Exception: Exception[];
54
+ }
55
+
56
+ export interface SystemLogResponse {
57
+ Exceptions: Exceptions;
58
+ thefile: base64Binary;
59
+ }
60
+
61
+ export interface TpClusterInfoRequest {
62
+ Name?: string;
63
+ }
64
+
65
+ export interface TpQueue {
66
+ Name: string;
67
+ WorkUnit: string;
68
+ }
69
+
70
+ export interface TpQueues {
71
+ TpQueue: TpQueue[];
72
+ }
73
+
74
+ export interface TpClusterInfoResponse {
75
+ Exceptions: Exceptions;
76
+ Name: string;
77
+ WorkUnit: string;
78
+ TpQueues: TpQueues;
79
+ }
80
+
81
+ export interface TpClusterQueryRequest {
82
+ Type?: string;
83
+ }
84
+
85
+ export interface TpMachine {
86
+ Name: string;
87
+ Netaddress: string;
88
+ ConfigNetaddress: string;
89
+ Domain: string;
90
+ Directory: string;
91
+ Type: string;
92
+ Available: string;
93
+ OS: int;
94
+ Path: string;
95
+ Port: int;
96
+ ProcessNumber: int;
97
+ Channels: unsignedInt;
98
+ }
99
+
100
+ export interface TpMachines {
101
+ TpMachine: TpMachine[];
102
+ }
103
+
104
+ export interface TpCluster {
105
+ Type: string;
106
+ Name: string;
107
+ QueueName: string;
108
+ Build: string;
109
+ Directory: string;
110
+ LogDirectory: string;
111
+ Desc: string;
112
+ Path: string;
113
+ DataModel: string;
114
+ OS: int;
115
+ HasThorSpareProcess: boolean;
116
+ TpMachines: TpMachines;
117
+ }
118
+
119
+ export interface TpClusters {
120
+ TpCluster: TpCluster[];
121
+ }
122
+
123
+ export interface TpClusterQueryResponse {
124
+ Exceptions: Exceptions;
125
+ EnableSNMP: boolean;
126
+ AcceptLanguage: string;
127
+ TpClusters: TpClusters;
128
+ }
129
+
130
+ export interface TpDropZoneQueryRequest {
131
+ Name?: string;
132
+ ECLWatchVisibleOnly?: boolean;
133
+ }
134
+
135
+ export interface TpDropZone {
136
+ Name: string;
137
+ Description: string;
138
+ Build: string;
139
+ Path: string;
140
+ ECLWatchVisible: boolean;
141
+ UMask: string;
142
+ TpMachines: TpMachines;
143
+ }
144
+
145
+ export interface TpDropZones {
146
+ TpDropZone: TpDropZone[];
147
+ }
148
+
149
+ export interface TpDropZoneQueryResponse {
150
+ Exceptions: Exceptions;
151
+ TpDropZones: TpDropZones;
152
+ }
153
+
154
+ export interface TpGetComponentFileRequest {
155
+ CompType?: string;
156
+ CompName?: string;
157
+ NetAddress?: string;
158
+ Directory?: string;
159
+ FileType?: string;
160
+ OsType?: int;
161
+ PlainText?: string;
162
+ }
163
+
164
+ export interface TpGetComponentFileResponse {
165
+ Exceptions: Exceptions;
166
+ FileContents: base64Binary;
167
+ }
168
+
169
+ export interface TpGetServicePluginsRequest {
170
+
171
+ }
172
+
173
+ export interface Plugin {
174
+ ShortName: string;
175
+ LongName: string;
176
+ FolderName: string;
177
+ WidgetName: string;
178
+ }
179
+
180
+ export interface Plugins {
181
+ Plugin: Plugin[];
182
+ }
183
+
184
+ export interface TpGetServicePluginsResponse {
185
+ Exceptions: Exceptions;
186
+ Plugins: Plugins;
187
+ }
188
+
189
+ export interface TpGroupQueryRequest {
190
+ Kind?: string;
191
+ }
192
+
193
+ export interface TpGroup {
194
+ Name: string;
195
+ Kind: string;
196
+ ReplicateOutputs: boolean;
197
+ }
198
+
199
+ export interface TpGroups {
200
+ TpGroup: TpGroup[];
201
+ }
202
+
203
+ export interface TpGroupQueryResponse {
204
+ Exceptions: Exceptions;
205
+ TpGroups: TpGroups;
206
+ }
207
+
208
+ export interface TpListLogFilesRequest {
209
+ NetworkAddress?: string;
210
+ Path?: string;
211
+ }
212
+
213
+ export interface LogFileStruct {
214
+ Name: string;
215
+ Path: string;
216
+ Host: string;
217
+ IsDir: boolean;
218
+ FileSize: long;
219
+ Modifiedtime: string;
220
+ }
221
+
222
+ export interface Files {
223
+ LogFileStruct: LogFileStruct[];
224
+ }
225
+
226
+ export interface TpListLogFilesResponse {
227
+ Exceptions: Exceptions;
228
+ Files: Files;
229
+ }
230
+
231
+ export interface TpListTargetClustersRequest {
232
+
233
+ }
234
+
235
+ export interface TpClusterNameType {
236
+ Name: string;
237
+ Type: string;
238
+ IsDefault: boolean;
239
+ }
240
+
241
+ export interface TargetClusters {
242
+ TpClusterNameType: TpClusterNameType[];
243
+ }
244
+
245
+ export interface TpListTargetClustersResponse {
246
+ Exceptions: Exceptions;
247
+ TargetClusters: TargetClusters;
248
+ }
249
+
250
+ export interface TpLogFileRequest {
251
+ Name?: string;
252
+ Type?: string;
253
+ LastHours?: int;
254
+ StartDate?: string;
255
+ EndDate?: string;
256
+ FirstRows?: int;
257
+ LastRows?: int;
258
+ FilterType?: int;
259
+ Reversely?: boolean;
260
+ Zip?: boolean;
261
+ PageNumber?: int;
262
+ LoadData?: boolean;
263
+ IncludeLogFieldNames?: boolean;
264
+ }
265
+
266
+ export interface LogFieldNames {
267
+ Item: string[];
268
+ }
269
+
270
+ export interface TpLogFileResponse {
271
+ Exceptions: Exceptions;
272
+ Name: string;
273
+ Type: string;
274
+ StartDate: string;
275
+ EndDate: string;
276
+ LastHours: int;
277
+ FirstRows: int;
278
+ LastRows: int;
279
+ Reversely: boolean;
280
+ Zip: boolean;
281
+ FilterType: int;
282
+ LogData: string;
283
+ HasDate: boolean;
284
+ FileSize: long;
285
+ PageFrom: long;
286
+ PageTo: long;
287
+ PageNumber: int;
288
+ PrevPage: int;
289
+ NextPage: int;
290
+ TotalPages: int;
291
+ AcceptLanguage: string;
292
+ LogFieldNames: LogFieldNames;
293
+ }
294
+
295
+ export interface TpLogicalClusterQueryRequest {
296
+ EclServerQueue?: string;
297
+ RoxieQueueFilter?: RoxieQueueFilter;
298
+ }
299
+
300
+ export interface TpLogicalCluster {
301
+ Name: string;
302
+ Queue: string;
303
+ LanguageVersion: string;
304
+ Process: string;
305
+ Type: string;
306
+ QueriesOnly: boolean;
307
+ }
308
+
309
+ export interface TpLogicalClusters {
310
+ TpLogicalCluster: TpLogicalCluster[];
311
+ }
312
+
313
+ export interface TpLogicalClusterQueryResponse {
314
+ Exceptions: Exceptions;
315
+ TpLogicalClusters: TpLogicalClusters;
316
+ }
317
+
318
+ export interface TpMachineInfoRequest {
319
+ Name?: string;
320
+ NetAddress?: string;
321
+ }
322
+
323
+ export interface MachineInfo {
324
+ Name: string;
325
+ Netaddress: string;
326
+ ConfigNetaddress: string;
327
+ Domain: string;
328
+ Directory: string;
329
+ Type: string;
330
+ Available: string;
331
+ OS: int;
332
+ Path: string;
333
+ Port: int;
334
+ ProcessNumber: int;
335
+ Channels: unsignedInt;
336
+ }
337
+
338
+ export interface TpMachineInfoResponse {
339
+ Exceptions: Exceptions;
340
+ MachineInfo: MachineInfo;
341
+ }
342
+
343
+ export interface TpMachineQueryRequest {
344
+ Type?: TpMachineType;
345
+ Cluster?: string;
346
+ OldIP?: string;
347
+ Path?: string;
348
+ Directory?: string;
349
+ LogDirectory?: string;
350
+ }
351
+
352
+ export interface TpMachineQueryResponse {
353
+ Exceptions: Exceptions;
354
+ EnablePreflightInfo: boolean;
355
+ HasThorSpareProcess: boolean;
356
+ Type: TpMachineType;
357
+ Cluster: string;
358
+ OldIP: string;
359
+ LogDirectory: string;
360
+ Path: string;
361
+ MemThreshold: int;
362
+ DiskThreshold: int;
363
+ CpuThreshold: int;
364
+ MemThresholdType: string;
365
+ DiskThresholdType: string;
366
+ PreflightProcessFilter: string;
367
+ EnableSNMP: boolean;
368
+ AcceptLanguage: string;
369
+ TpMachines: TpMachines;
370
+ }
371
+
372
+ export interface TpServiceQueryRequest {
373
+ Type?: string;
374
+ }
375
+
376
+ export interface TpDali {
377
+ Name: string;
378
+ Description: string;
379
+ Build: string;
380
+ BackupComputer: string;
381
+ BackupDirectory: string;
382
+ Type: string;
383
+ Path: string;
384
+ LogDirectory: string;
385
+ AuditLogDirectory: string;
386
+ TpMachines: TpMachines;
387
+ }
388
+
389
+ export interface TpDalis {
390
+ TpDali: TpDali[];
391
+ }
392
+
393
+ export interface TpDfuServer {
394
+ Name: string;
395
+ Description: string;
396
+ Build: string;
397
+ Queue: string;
398
+ Type: string;
399
+ Path: string;
400
+ LogDirectory: string;
401
+ TpMachines: TpMachines;
402
+ }
403
+
404
+ export interface TpDfuServers {
405
+ TpDfuServer: TpDfuServer[];
406
+ }
407
+
408
+ export interface TpDkcSlave {
409
+ Name: string;
410
+ Description: string;
411
+ Build: string;
412
+ Path: string;
413
+ TpMachines: TpMachines;
414
+ }
415
+
416
+ export interface TpDkcSlaves {
417
+ TpDkcSlave: TpDkcSlave[];
418
+ }
419
+
420
+ export interface TpEclAgent {
421
+ Name: string;
422
+ Description: string;
423
+ Build: string;
424
+ Type: string;
425
+ Path: string;
426
+ DaliServer: string;
427
+ LogDir: string;
428
+ TpMachines: TpMachines;
429
+ }
430
+
431
+ export interface TpEclAgents {
432
+ TpEclAgent: TpEclAgent[];
433
+ }
434
+
435
+ export interface TpEclServer {
436
+ Name: string;
437
+ Description: string;
438
+ Build: string;
439
+ LogDirectory: string;
440
+ Type: string;
441
+ Path: string;
442
+ TpMachines: TpMachines;
443
+ }
444
+
445
+ export interface TpEclServers {
446
+ TpEclServer: TpEclServer[];
447
+ }
448
+
449
+ export interface TpEclCCServers {
450
+ TpEclServer: TpEclServer[];
451
+ }
452
+
453
+ export interface TpEclScheduler {
454
+ Name: string;
455
+ Description: string;
456
+ Build: string;
457
+ LogDirectory: string;
458
+ Type: string;
459
+ Path: string;
460
+ TpMachines: TpMachines;
461
+ }
462
+
463
+ export interface TpEclSchedulers {
464
+ TpEclScheduler: TpEclScheduler[];
465
+ }
466
+
467
+ export interface TpBinding {
468
+ Name: string;
469
+ Service: string;
470
+ ServiceType: string;
471
+ BindingType: string;
472
+ ServiceBuildSet: string;
473
+ Port: string;
474
+ Protocol: string;
475
+ }
476
+
477
+ export interface TpBindings {
478
+ TpBinding: TpBinding[];
479
+ }
480
+
481
+ export interface TpEspServer {
482
+ Name: string;
483
+ Description: string;
484
+ Build: string;
485
+ Type: string;
486
+ Path: string;
487
+ LogDirectory: string;
488
+ TpMachines: TpMachines;
489
+ TpBindings: TpBindings;
490
+ }
491
+
492
+ export interface TpEspServers {
493
+ TpEspServer: TpEspServer[];
494
+ }
495
+
496
+ export interface TpFTSlave {
497
+ Name: string;
498
+ Description: string;
499
+ Build: string;
500
+ Path: string;
501
+ TpMachines: TpMachines;
502
+ }
503
+
504
+ export interface TpFTSlaves {
505
+ TpFTSlave: TpFTSlave[];
506
+ }
507
+
508
+ export interface TpGenesisServer {
509
+ Name: string;
510
+ Description: string;
511
+ Build: string;
512
+ Path: string;
513
+ TpMachines: TpMachines;
514
+ }
515
+
516
+ export interface TpGenesisServers {
517
+ TpGenesisServer: TpGenesisServer[];
518
+ }
519
+
520
+ export interface TpLdapServer {
521
+ Name: string;
522
+ Description: string;
523
+ Build: string;
524
+ Path: string;
525
+ TpMachines: TpMachines;
526
+ }
527
+
528
+ export interface TpLdapServers {
529
+ TpLdapServer: TpLdapServer[];
530
+ }
531
+
532
+ export interface TpMySqlServer {
533
+ Name: string;
534
+ Description: string;
535
+ Build: string;
536
+ Path: string;
537
+ TpMachines: TpMachines;
538
+ }
539
+
540
+ export interface TpMySqlServers {
541
+ TpMySqlServer: TpMySqlServer[];
542
+ }
543
+
544
+ export interface TpSashaServer {
545
+ Name: string;
546
+ Description: string;
547
+ Build: string;
548
+ Path: string;
549
+ LogDirectory: string;
550
+ TpMachines: TpMachines;
551
+ }
552
+
553
+ export interface TpSashaServers {
554
+ TpSashaServer: TpSashaServer[];
555
+ }
556
+
557
+ export interface TpSparkThor {
558
+ Name: string;
559
+ Build: string;
560
+ ThorClusterName: string;
561
+ ThorPath: string;
562
+ SparkExecutorCores: unsignedInt;
563
+ SparkExecutorMemory: long;
564
+ SparkMasterPort: unsignedInt;
565
+ SparkMasterWebUIPort: unsignedInt;
566
+ SparkWorkerCores: unsignedInt;
567
+ SparkWorkerMemory: long;
568
+ SparkWorkerPort: unsignedInt;
569
+ LogDirectory: string;
570
+ Path: string;
571
+ TpMachines: TpMachines;
572
+ }
573
+
574
+ export interface TpSparkThors {
575
+ TpSparkThor: TpSparkThor[];
576
+ }
577
+
578
+ export interface ServiceList {
579
+ TpDalis: TpDalis;
580
+ TpDfuServers: TpDfuServers;
581
+ TpDkcSlaves: TpDkcSlaves;
582
+ TpDropZones: TpDropZones;
583
+ TpEclAgents: TpEclAgents;
584
+ TpEclServers: TpEclServers;
585
+ TpEclCCServers: TpEclCCServers;
586
+ TpEclSchedulers: TpEclSchedulers;
587
+ TpEspServers: TpEspServers;
588
+ TpFTSlaves: TpFTSlaves;
589
+ TpGenesisServers: TpGenesisServers;
590
+ TpLdapServers: TpLdapServers;
591
+ TpMySqlServers: TpMySqlServers;
592
+ TpSashaServers: TpSashaServers;
593
+ TpSparkThors: TpSparkThors;
594
+ }
595
+
596
+ export interface TpServiceQueryResponse {
597
+ Exceptions: Exceptions;
598
+ MemThreshold: int;
599
+ DiskThreshold: int;
600
+ CpuThreshold: int;
601
+ EncapsulatedSystem: boolean;
602
+ EnableSNMP: boolean;
603
+ PreflightProcessFilter: string;
604
+ AcceptLanguage: string;
605
+ MemThresholdType: string;
606
+ DiskThresholdType: string;
607
+ ServiceList: ServiceList;
608
+ }
609
+
610
+ export interface TpSetMachineStatusRequest {
611
+ MachinePath?: string;
612
+ StatusValue?: string;
613
+ }
614
+
615
+ export interface TpSetMachineStatusResponse {
616
+ Exceptions: Exceptions;
617
+ TpSetMachineStatusResult: boolean;
618
+ }
619
+
620
+ export interface TpSwapNodeRequest {
621
+ Cluster?: string;
622
+ OldIP?: string;
623
+ NewIP?: string;
624
+ }
625
+
626
+ export interface TpSwapNodeResponse {
627
+ Exceptions: Exceptions;
628
+ TpSwapNodeResult: boolean;
629
+ }
630
+
631
+ export interface TpTargetClusterQueryRequest {
632
+ Type?: string;
633
+ Name?: string;
634
+ ShowDetails?: boolean;
635
+ }
636
+
637
+ export interface TpTargetCluster {
638
+ Name: string;
639
+ Prefix: string;
640
+ Type: string;
641
+ TpClusters: TpClusters;
642
+ TpEclCCServers: TpEclCCServers;
643
+ TpEclServers: TpEclServers;
644
+ TpEclAgents: TpEclAgents;
645
+ TpEclSchedulers: TpEclSchedulers;
646
+ }
647
+
648
+ export interface TpTargetClusters {
649
+ TpTargetCluster: TpTargetCluster[];
650
+ }
651
+
652
+ export interface TpTargetClusterQueryResponse {
653
+ Exceptions: Exceptions;
654
+ ShowDetails: boolean;
655
+ MemThreshold: int;
656
+ DiskThreshold: int;
657
+ CpuThreshold: int;
658
+ MemThresholdType: string;
659
+ DiskThresholdType: string;
660
+ PreflightProcessFilter: string;
661
+ AcceptLanguage: string;
662
+ TpTargetClusters: TpTargetClusters;
663
+ }
664
+
665
+ export interface TpThorStatusRequest {
666
+ Name?: string;
667
+ }
668
+
669
+ export interface TpThorStatusResponse {
670
+ Exceptions: Exceptions;
671
+ Name: string;
672
+ Queue: string;
673
+ Group: string;
674
+ ThorMasterIPAddress: string;
675
+ Port: int;
676
+ StartTime: string;
677
+ LogFile: string;
678
+ Wuid: string;
679
+ Graph: string;
680
+ SubGraph: int;
681
+ SubGraphDuration: int;
682
+ AutoRefresh: int;
683
+ }
684
+
685
+ export interface TpXMLFileRequest {
686
+ Name?: string;
687
+ }
688
+
689
+ export interface TpXMLFileResponse {
690
+ Exceptions: Exceptions;
691
+ thefile: base64Binary;
692
+ }
693
+
694
+ }
695
+
696
+ export class TopologyServiceBase extends Service {
697
+
698
+ constructor(optsConnection: IOptions | IConnection) {
699
+ super(optsConnection, "WsTopology", "1.32");
700
+ }
701
+
702
+ Ping(request: Partial<WsTopology.WsTopologyPingRequest>): Promise<WsTopology.WsTopologyPingResponse> {
703
+ return this._connection.send("Ping", request, "json", false, undefined, "WsTopologyPingResponse");
704
+ }
705
+
706
+ SystemLog(request: Partial<WsTopology.SystemLogRequest>): Promise<WsTopology.SystemLogResponse> {
707
+ return this._connection.send("SystemLog", request, "json", false, undefined, "SystemLogResponse");
708
+ }
709
+
710
+ TpClusterInfo(request: Partial<WsTopology.TpClusterInfoRequest>): Promise<WsTopology.TpClusterInfoResponse> {
711
+ return this._connection.send("TpClusterInfo", request, "json", false, undefined, "TpClusterInfoResponse");
712
+ }
713
+
714
+ TpClusterQuery(request: Partial<WsTopology.TpClusterQueryRequest>): Promise<WsTopology.TpClusterQueryResponse> {
715
+ return this._connection.send("TpClusterQuery", request, "json", false, undefined, "TpClusterQueryResponse");
716
+ }
717
+
718
+ TpDropZoneQuery(request: Partial<WsTopology.TpDropZoneQueryRequest>): Promise<WsTopology.TpDropZoneQueryResponse> {
719
+ return this._connection.send("TpDropZoneQuery", request, "json", false, undefined, "TpDropZoneQueryResponse");
720
+ }
721
+
722
+ TpGetComponentFile(request: Partial<WsTopology.TpGetComponentFileRequest>): Promise<WsTopology.TpGetComponentFileResponse> {
723
+ return this._connection.send("TpGetComponentFile", request, "json", false, undefined, "TpGetComponentFileResponse");
724
+ }
725
+
726
+ TpGetServicePlugins(request: Partial<WsTopology.TpGetServicePluginsRequest>): Promise<WsTopology.TpGetServicePluginsResponse> {
727
+ return this._connection.send("TpGetServicePlugins", request, "json", false, undefined, "TpGetServicePluginsResponse");
728
+ }
729
+
730
+ TpGroupQuery(request: Partial<WsTopology.TpGroupQueryRequest>): Promise<WsTopology.TpGroupQueryResponse> {
731
+ return this._connection.send("TpGroupQuery", request, "json", false, undefined, "TpGroupQueryResponse");
732
+ }
733
+
734
+ TpListLogFiles(request: Partial<WsTopology.TpListLogFilesRequest>): Promise<WsTopology.TpListLogFilesResponse> {
735
+ return this._connection.send("TpListLogFiles", request, "json", false, undefined, "TpListLogFilesResponse");
736
+ }
737
+
738
+ TpListTargetClusters(request: Partial<WsTopology.TpListTargetClustersRequest>): Promise<WsTopology.TpListTargetClustersResponse> {
739
+ return this._connection.send("TpListTargetClusters", request, "json", false, undefined, "TpListTargetClustersResponse");
740
+ }
741
+
742
+ TpLogFile(request: Partial<WsTopology.TpLogFileRequest>): Promise<WsTopology.TpLogFileResponse> {
743
+ return this._connection.send("TpLogFile", request, "json", false, undefined, "TpLogFileResponse");
744
+ }
745
+
746
+ TpLogFileDisplay(request: Partial<WsTopology.TpLogFileRequest>): Promise<WsTopology.TpLogFileResponse> {
747
+ return this._connection.send("TpLogFileDisplay", request, "json", false, undefined, "TpLogFileResponse");
748
+ }
749
+
750
+ TpLogicalClusterQuery(request: Partial<WsTopology.TpLogicalClusterQueryRequest>): Promise<WsTopology.TpLogicalClusterQueryResponse> {
751
+ return this._connection.send("TpLogicalClusterQuery", request, "json", false, undefined, "TpLogicalClusterQueryResponse");
752
+ }
753
+
754
+ TpMachineInfo(request: Partial<WsTopology.TpMachineInfoRequest>): Promise<WsTopology.TpMachineInfoResponse> {
755
+ return this._connection.send("TpMachineInfo", request, "json", false, undefined, "TpMachineInfoResponse");
756
+ }
757
+
758
+ TpMachineQuery(request: Partial<WsTopology.TpMachineQueryRequest>): Promise<WsTopology.TpMachineQueryResponse> {
759
+ return this._connection.send("TpMachineQuery", request, "json", false, undefined, "TpMachineQueryResponse");
760
+ }
761
+
762
+ TpServiceQuery(request: Partial<WsTopology.TpServiceQueryRequest>): Promise<WsTopology.TpServiceQueryResponse> {
763
+ return this._connection.send("TpServiceQuery", request, "json", false, undefined, "TpServiceQueryResponse");
764
+ }
765
+
766
+ TpSetMachineStatus(request: Partial<WsTopology.TpSetMachineStatusRequest>): Promise<WsTopology.TpSetMachineStatusResponse> {
767
+ return this._connection.send("TpSetMachineStatus", request, "json", false, undefined, "TpSetMachineStatusResponse");
768
+ }
769
+
770
+ TpSwapNode(request: Partial<WsTopology.TpSwapNodeRequest>): Promise<WsTopology.TpSwapNodeResponse> {
771
+ return this._connection.send("TpSwapNode", request, "json", false, undefined, "TpSwapNodeResponse");
772
+ }
773
+
774
+ TpTargetClusterQuery(request: Partial<WsTopology.TpTargetClusterQueryRequest>): Promise<WsTopology.TpTargetClusterQueryResponse> {
775
+ return this._connection.send("TpTargetClusterQuery", request, "json", false, undefined, "TpTargetClusterQueryResponse");
776
+ }
777
+
778
+ TpThorStatus(request: Partial<WsTopology.TpThorStatusRequest>): Promise<WsTopology.TpThorStatusResponse> {
779
+ return this._connection.send("TpThorStatus", request, "json", false, undefined, "TpThorStatusResponse");
780
+ }
781
+
782
+ TpXMLFile(request: Partial<WsTopology.TpXMLFileRequest>): Promise<WsTopology.TpXMLFileResponse> {
783
+ return this._connection.send("TpXMLFile", request, "json", false, undefined, "TpXMLFileResponse");
784
+ }
785
+
786
+ }