@hpcc-js/comms 3.14.4 → 3.15.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.
Files changed (109) 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 +8 -8
  8. package/dist/node/index.cjs.map +3 -3
  9. package/dist/node/index.js +7 -7
  10. package/dist/node/index.js.map +3 -3
  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 -48
  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 +267 -267
  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 +227 -227
  65. package/src/services/wsdl/WsDali/v1.04/WsDali.ts +216 -216
  66. package/src/services/wsdl/WsDfu/v1.62/WsDfu.ts +1455 -1455
  67. package/src/services/wsdl/WsDfu/v1.63/WsDfu.ts +1465 -1465
  68. package/src/services/wsdl/WsDfu/v1.65/WsDfu.ts +1244 -1244
  69. package/src/services/wsdl/WsDfu/v1.66/WsDfu.ts +1267 -1267
  70. package/src/services/wsdl/WsDfu/v1.67/WsDfu.ts +1268 -1268
  71. package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +104 -104
  72. package/src/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.ts +519 -519
  73. package/src/services/wsdl/WsPackageProcess/v1.07/WsPackageProcess.ts +500 -500
  74. package/src/services/wsdl/WsResources/v1.01/WsResources.ts +119 -119
  75. package/src/services/wsdl/WsSMC/v1.24/WsSMC.ts +665 -665
  76. package/src/services/wsdl/WsSMC/v1.27/WsSMC.ts +591 -591
  77. package/src/services/wsdl/WsSMC/v1.28/WsSMC.ts +645 -645
  78. package/src/services/wsdl/WsSMC/v1.29/WsSMC.ts +660 -660
  79. package/src/services/wsdl/WsTopology/v1.31/WsTopology.ts +856 -856
  80. package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +786 -786
  81. package/src/services/wsdl/WsTopology/v1.33/WsTopology.ts +835 -835
  82. package/src/services/wsdl/WsWorkunits/v1.88/WsWorkunits.ts +2944 -2944
  83. package/src/services/wsdl/WsWorkunits/v1.94/WsWorkunits.ts +3072 -3072
  84. package/src/services/wsdl/WsWorkunits/v1.95/WsWorkunits.ts +3073 -3073
  85. package/src/services/wsdl/WsWorkunits/v1.97/WsWorkunits.ts +3134 -3134
  86. package/src/services/wsdl/WsWorkunits/v1.98/WsWorkunits.ts +3182 -3182
  87. package/src/services/wsdl/WsWorkunits/v1.99/WsWorkunits.ts +3162 -3162
  88. package/src/services/wsdl/WsWorkunits/v2/WsWorkunits.ts +3153 -3153
  89. package/src/services/wsdl/WsWorkunits/v2.02/WsWorkunits.ts +3162 -3162
  90. package/src/services/wsdl/WsWorkunits/v2.03/WsWorkunits.ts +3164 -3164
  91. package/src/services/wsdl/WsWorkunits/v2.04/WsWorkunits.ts +3171 -3171
  92. package/src/services/wsdl/ws_access/v1.16/ws_access.ts +1086 -1086
  93. package/src/services/wsdl/ws_access/v1.17/ws_access.ts +1023 -1023
  94. package/src/services/wsdl/ws_account/v1.05/ws_account.ts +111 -111
  95. package/src/services/wsdl/ws_account/v1.06/ws_account.ts +109 -109
  96. package/src/services/wsdl/ws_account/v1.07/ws_account.ts +114 -114
  97. package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +95 -95
  98. package/src/services/wsdl/ws_elk/v1/ws_elk.ts +47 -47
  99. package/src/services/wsdl/ws_logaccess/v1/ws_logaccess.ts +83 -83
  100. package/src/services/wsdl/ws_logaccess/v1.02/ws_logaccess.ts +161 -161
  101. package/src/services/wsdl/ws_logaccess/v1.03/ws_logaccess.ts +190 -190
  102. package/src/services/wsdl/ws_logaccess/v1.04/ws_logaccess.ts +215 -215
  103. package/src/services/wsdl/ws_logaccess/v1.05/ws_logaccess.ts +219 -219
  104. package/src/services/wsdl/ws_logaccess/v1.08/ws_logaccess.ts +267 -267
  105. package/src/services/wsdl/ws_machine/v1.17/ws_machine.ts +567 -567
  106. package/src/services/wsdl/ws_machine/v1.18/ws_machine.ts +497 -497
  107. package/src/services/wsdl/ws_machine/v1.19/ws_machine.ts +497 -497
  108. package/src/services/wsdl/wsstore/v1.02/wsstore.ts +239 -239
  109. package/types/services/fileSpray.d.ts +13 -0
@@ -1,856 +1,856 @@
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 interface WsTopologyPingRequest {
18
-
19
- }
20
-
21
- export interface WsTopologyPingResponse {
22
-
23
- }
24
-
25
- export interface SystemLogRequest {
26
- Name?: string;
27
- Type?: string;
28
- Zip?: int;
29
- }
30
-
31
- export interface Exception {
32
- Code: string;
33
- Audience: string;
34
- Source: string;
35
- Message: string;
36
- }
37
-
38
- export interface Exceptions {
39
- Source: string;
40
- Exception: Exception[];
41
- }
42
-
43
- export interface SystemLogResponse {
44
- Exceptions: {
45
- Source: string;
46
- Exception: Exception[];
47
- };
48
- thefile: base64Binary;
49
- }
50
-
51
- export interface TpClusterInfoRequest {
52
- Name?: string;
53
- }
54
-
55
- export interface TpQueue {
56
- Name: string;
57
- WorkUnit: string;
58
- }
59
-
60
- export interface TpQueues {
61
- TpQueue: TpQueue[];
62
- }
63
-
64
- export interface TpClusterInfoResponse {
65
- Exceptions: Exceptions;
66
- Name: string;
67
- WorkUnit: string;
68
- TpQueues: {
69
- TpQueue: TpQueue[];
70
- };
71
- }
72
-
73
- export interface TpClusterQueryRequest {
74
- Type?: string;
75
- }
76
-
77
- export interface TpMachine {
78
- Name: string;
79
- Netaddress: string;
80
- ConfigNetaddress: string;
81
- Domain: string;
82
- Directory: string;
83
- Type: string;
84
- Available: string;
85
- OS: int;
86
- Path: string;
87
- Port: int;
88
- ProcessNumber: int;
89
- Channels: unsignedInt;
90
- }
91
-
92
- export interface TpMachines {
93
- TpMachine: TpMachine[];
94
- }
95
-
96
- export interface TpCluster {
97
- Type: string;
98
- Name: string;
99
- QueueName: string;
100
- Build: string;
101
- Directory: string;
102
- LogDirectory: string;
103
- Desc: string;
104
- Path: string;
105
- DataModel: string;
106
- OS: int;
107
- HasThorSpareProcess: boolean;
108
- TpMachines: {
109
- TpMachine: TpMachine[];
110
- };
111
- }
112
-
113
- export interface TpClusters {
114
- TpCluster: TpCluster[];
115
- }
116
-
117
- export interface TpClusterQueryResponse {
118
- Exceptions: Exceptions;
119
- EnableSNMP: boolean;
120
- AcceptLanguage: string;
121
- TpClusters: {
122
- TpCluster: TpCluster[];
123
- };
124
- }
125
-
126
- export interface TpDropZoneQueryRequest {
127
- Name?: string;
128
- ECLWatchVisibleOnly?: boolean;
129
- }
130
-
131
- export interface TpDropZone {
132
- Name: string;
133
- Description: string;
134
- Build: string;
135
- Path: string;
136
- ECLWatchVisible: boolean;
137
- UMask: string;
138
- TpMachines: TpMachines;
139
- }
140
-
141
- export interface TpDropZones {
142
- TpDropZone: TpDropZone[];
143
- }
144
-
145
- export interface TpDropZoneQueryResponse {
146
- Exceptions: Exceptions;
147
- TpDropZones: {
148
- TpDropZone: TpDropZone[];
149
- };
150
- }
151
-
152
- export interface TpGetComponentFileRequest {
153
- CompType?: string;
154
- CompName?: string;
155
- NetAddress?: string;
156
- Directory?: string;
157
- FileType?: string;
158
- OsType?: int;
159
- PlainText?: string;
160
- }
161
-
162
- export interface TpGetComponentFileResponse {
163
- Exceptions: Exceptions;
164
- FileContents: base64Binary;
165
- }
166
-
167
- export interface TpGetServicePluginsRequest {
168
-
169
- }
170
-
171
- export interface Plugin {
172
- ShortName: string;
173
- LongName: string;
174
- FolderName: string;
175
- WidgetName: string;
176
- }
177
-
178
- export interface Plugins {
179
- Plugin: Plugin[];
180
- }
181
-
182
- export interface TpGetServicePluginsResponse {
183
- Exceptions: Exceptions;
184
- Plugins: {
185
- Plugin: Plugin[];
186
- };
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: {
206
- TpGroup: TpGroup[];
207
- };
208
- }
209
-
210
- export interface TpListTargetClustersRequest {
211
-
212
- }
213
-
214
- export interface TpClusterNameType {
215
- Name: string;
216
- Type: string;
217
- IsDefault: boolean;
218
- }
219
-
220
- export interface TargetClusters {
221
- TpClusterNameType: TpClusterNameType[];
222
- }
223
-
224
- export interface TpListTargetClustersResponse {
225
- Exceptions: Exceptions;
226
- TargetClusters: {
227
- TpClusterNameType: TpClusterNameType[];
228
- };
229
- }
230
-
231
- export interface TpLogFileRequest {
232
- Name?: string;
233
- Type?: string;
234
- LastHours?: int;
235
- StartDate?: string;
236
- EndDate?: string;
237
- FirstRows?: int;
238
- LastRows?: int;
239
- FilterType?: int;
240
- Reversely?: boolean;
241
- Zip?: boolean;
242
- PageNumber?: int;
243
- LoadData?: boolean;
244
- IncludeLogFieldNames?: boolean;
245
- }
246
-
247
- export interface LogFieldNames {
248
- Item: string[];
249
- }
250
-
251
- export interface TpLogFileResponse {
252
- Exceptions: Exceptions;
253
- Name: string;
254
- Type: string;
255
- StartDate: string;
256
- EndDate: string;
257
- LastHours: int;
258
- FirstRows: int;
259
- LastRows: int;
260
- Reversely: boolean;
261
- Zip: boolean;
262
- FilterType: int;
263
- LogData: string;
264
- HasDate: boolean;
265
- FileSize: long;
266
- PageFrom: long;
267
- PageTo: long;
268
- PageNumber: int;
269
- PrevPage: int;
270
- NextPage: int;
271
- TotalPages: int;
272
- AcceptLanguage: string;
273
- LogFieldNames: {
274
- Item: string[];
275
- };
276
- }
277
-
278
- export interface TpLogicalClusterQueryRequest {
279
- EclServerQueue?: string;
280
- RoxieQueueFilter?: RoxieQueueFilter;
281
- }
282
-
283
- export interface TpLogicalCluster {
284
- Name: string;
285
- Queue: string;
286
- LanguageVersion: string;
287
- Process: string;
288
- Type: string;
289
- QueriesOnly: boolean;
290
- }
291
-
292
- export interface TpLogicalClusters {
293
- TpLogicalCluster: TpLogicalCluster[];
294
- }
295
-
296
- export interface TpLogicalClusterQueryResponse {
297
- Exceptions: Exceptions;
298
- TpLogicalClusters: {
299
- TpLogicalCluster: TpLogicalCluster[];
300
- };
301
- }
302
-
303
- export interface TpMachineInfoRequest {
304
- Name?: string;
305
- NetAddress?: string;
306
- }
307
-
308
- export interface MachineInfo {
309
- Name: string;
310
- Netaddress: string;
311
- ConfigNetaddress: string;
312
- Domain: string;
313
- Directory: string;
314
- Type: string;
315
- Available: string;
316
- OS: int;
317
- Path: string;
318
- Port: int;
319
- ProcessNumber: int;
320
- Channels: unsignedInt;
321
- }
322
-
323
- export interface TpMachineInfoResponse {
324
- Exceptions: Exceptions;
325
- MachineInfo: {
326
- Name: string;
327
- Netaddress: string;
328
- ConfigNetaddress: string;
329
- Domain: string;
330
- Directory: string;
331
- Type: string;
332
- Available: string;
333
- OS: int;
334
- Path: string;
335
- Port: int;
336
- ProcessNumber: int;
337
- Channels: unsignedInt;
338
- };
339
- }
340
-
341
- export interface TpMachineQueryRequest {
342
- Type?: string;
343
- Cluster?: string;
344
- OldIP?: string;
345
- Path?: string;
346
- Directory?: string;
347
- LogDirectory?: string;
348
- }
349
-
350
- export interface TpMachineQueryResponse {
351
- Exceptions: Exceptions;
352
- EnablePreflightInfo: boolean;
353
- HasThorSpareProcess: boolean;
354
- Type: string;
355
- Cluster: string;
356
- OldIP: string;
357
- LogDirectory: string;
358
- Path: string;
359
- MemThreshold: int;
360
- DiskThreshold: int;
361
- CpuThreshold: int;
362
- MemThresholdType: string;
363
- DiskThresholdType: string;
364
- PreflightProcessFilter: string;
365
- EnableSNMP: boolean;
366
- AcceptLanguage: string;
367
- TpMachines: TpMachines;
368
- }
369
-
370
- export interface TpServiceQueryRequest {
371
- Type?: string;
372
- }
373
-
374
- export interface TpDali {
375
- Name: string;
376
- Description: string;
377
- Build: string;
378
- BackupComputer: string;
379
- BackupDirectory: string;
380
- Type: string;
381
- Path: string;
382
- LogDirectory: string;
383
- AuditLogDirectory: string;
384
- TpMachines: TpMachines;
385
- }
386
-
387
- export interface TpDalis {
388
- TpDali: TpDali[];
389
- }
390
-
391
- export interface TpDfuServer {
392
- Name: string;
393
- Description: string;
394
- Build: string;
395
- Queue: string;
396
- Type: string;
397
- Path: string;
398
- LogDirectory: string;
399
- TpMachines: TpMachines;
400
- }
401
-
402
- export interface TpDfuServers {
403
- TpDfuServer: TpDfuServer[];
404
- }
405
-
406
- export interface TpDkcSlave {
407
- Name: string;
408
- Description: string;
409
- Build: string;
410
- Path: string;
411
- TpMachines: TpMachines;
412
- }
413
-
414
- export interface TpDkcSlaves {
415
- TpDkcSlave: TpDkcSlave[];
416
- }
417
-
418
- export interface TpEclAgent {
419
- Name: string;
420
- Description: string;
421
- Build: string;
422
- Type: string;
423
- Path: string;
424
- DaliServer: string;
425
- LogDir: string;
426
- TpMachines: TpMachines;
427
- }
428
-
429
- export interface TpEclAgents {
430
- TpEclAgent: TpEclAgent[];
431
- }
432
-
433
- export interface TpEclServer {
434
- Name: string;
435
- Description: string;
436
- Build: string;
437
- LogDirectory: string;
438
- Type: string;
439
- Path: string;
440
- TpMachines: TpMachines;
441
- }
442
-
443
- export interface TpEclServers {
444
- TpEclServer: TpEclServer[];
445
- }
446
-
447
- export interface TpEclCCServers {
448
- TpEclServer: TpEclServer[];
449
- }
450
-
451
- export interface TpEclScheduler {
452
- Name: string;
453
- Description: string;
454
- Build: string;
455
- LogDirectory: string;
456
- Type: string;
457
- Path: string;
458
- TpMachines: TpMachines;
459
- }
460
-
461
- export interface TpEclSchedulers {
462
- TpEclScheduler: TpEclScheduler[];
463
- }
464
-
465
- export interface TpBinding {
466
- Name: string;
467
- Service: string;
468
- ServiceType: string;
469
- BindingType: string;
470
- ServiceBuildSet: string;
471
- Port: string;
472
- Protocol: string;
473
- }
474
-
475
- export interface TpBindings {
476
- TpBinding: TpBinding[];
477
- }
478
-
479
- export interface TpEspServer {
480
- Name: string;
481
- Description: string;
482
- Build: string;
483
- Type: string;
484
- Path: string;
485
- LogDirectory: string;
486
- TpMachines: TpMachines;
487
- TpBindings: {
488
- TpBinding: TpBinding[];
489
- };
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: {
580
- TpDali: TpDali[];
581
- };
582
- TpDfuServers: {
583
- TpDfuServer: TpDfuServer[];
584
- };
585
- TpDkcSlaves: {
586
- TpDkcSlave: TpDkcSlave[];
587
- };
588
- TpDropZones: TpDropZones;
589
- TpEclAgents: {
590
- TpEclAgent: TpEclAgent[];
591
- };
592
- TpEclServers: {
593
- TpEclServer: TpEclServer[];
594
- };
595
- TpEclCCServers: {
596
- TpEclServer: TpEclServer[];
597
- };
598
- TpEclSchedulers: {
599
- TpEclScheduler: TpEclScheduler[];
600
- };
601
- TpEspServers: {
602
- TpEspServer: TpEspServer[];
603
- };
604
- TpFTSlaves: {
605
- TpFTSlave: TpFTSlave[];
606
- };
607
- TpGenesisServers: {
608
- TpGenesisServer: TpGenesisServer[];
609
- };
610
- TpLdapServers: {
611
- TpLdapServer: TpLdapServer[];
612
- };
613
- TpMySqlServers: {
614
- TpMySqlServer: TpMySqlServer[];
615
- };
616
- TpSashaServers: {
617
- TpSashaServer: TpSashaServer[];
618
- };
619
- TpSparkThors: {
620
- TpSparkThor: TpSparkThor[];
621
- };
622
- }
623
-
624
- export interface TpServiceQueryResponse {
625
- Exceptions: Exceptions;
626
- MemThreshold: int;
627
- DiskThreshold: int;
628
- CpuThreshold: int;
629
- EncapsulatedSystem: boolean;
630
- EnableSNMP: boolean;
631
- PreflightProcessFilter: string;
632
- AcceptLanguage: string;
633
- MemThresholdType: string;
634
- DiskThresholdType: string;
635
- ServiceList: {
636
- TpDalis: {
637
- TpDali: TpDali[];
638
- };
639
- TpDfuServers: {
640
- TpDfuServer: TpDfuServer[];
641
- };
642
- TpDkcSlaves: {
643
- TpDkcSlave: TpDkcSlave[];
644
- };
645
- TpDropZones: TpDropZones;
646
- TpEclAgents: {
647
- TpEclAgent: TpEclAgent[];
648
- };
649
- TpEclServers: {
650
- TpEclServer: TpEclServer[];
651
- };
652
- TpEclCCServers: {
653
- TpEclServer: TpEclServer[];
654
- };
655
- TpEclSchedulers: {
656
- TpEclScheduler: TpEclScheduler[];
657
- };
658
- TpEspServers: {
659
- TpEspServer: TpEspServer[];
660
- };
661
- TpFTSlaves: {
662
- TpFTSlave: TpFTSlave[];
663
- };
664
- TpGenesisServers: {
665
- TpGenesisServer: TpGenesisServer[];
666
- };
667
- TpLdapServers: {
668
- TpLdapServer: TpLdapServer[];
669
- };
670
- TpMySqlServers: {
671
- TpMySqlServer: TpMySqlServer[];
672
- };
673
- TpSashaServers: {
674
- TpSashaServer: TpSashaServer[];
675
- };
676
- TpSparkThors: {
677
- TpSparkThor: TpSparkThor[];
678
- };
679
- };
680
- }
681
-
682
- export interface TpSetMachineStatusRequest {
683
- MachinePath?: string;
684
- StatusValue?: string;
685
- }
686
-
687
- export interface TpSetMachineStatusResponse {
688
- Exceptions: Exceptions;
689
- TpSetMachineStatusResult: boolean;
690
- }
691
-
692
- export interface TpSwapNodeRequest {
693
- Cluster?: string;
694
- OldIP?: string;
695
- NewIP?: string;
696
- }
697
-
698
- export interface TpSwapNodeResponse {
699
- Exceptions: Exceptions;
700
- TpSwapNodeResult: boolean;
701
- }
702
-
703
- export interface TpTargetClusterQueryRequest {
704
- Type?: string;
705
- Name?: string;
706
- ShowDetails?: boolean;
707
- }
708
-
709
- export interface TpTargetCluster {
710
- Name: string;
711
- Prefix: string;
712
- Type: string;
713
- TpClusters: TpClusters;
714
- TpEclCCServers: TpEclCCServers;
715
- TpEclServers: TpEclServers;
716
- TpEclAgents: TpEclAgents;
717
- TpEclSchedulers: TpEclSchedulers;
718
- }
719
-
720
- export interface TpTargetClusters {
721
- TpTargetCluster: TpTargetCluster[];
722
- }
723
-
724
- export interface TpTargetClusterQueryResponse {
725
- Exceptions: Exceptions;
726
- ShowDetails: boolean;
727
- MemThreshold: int;
728
- DiskThreshold: int;
729
- CpuThreshold: int;
730
- MemThresholdType: string;
731
- DiskThresholdType: string;
732
- PreflightProcessFilter: string;
733
- AcceptLanguage: string;
734
- TpTargetClusters: {
735
- TpTargetCluster: TpTargetCluster[];
736
- };
737
- }
738
-
739
- export interface TpThorStatusRequest {
740
- Name?: string;
741
- }
742
-
743
- export interface TpThorStatusResponse {
744
- Exceptions: Exceptions;
745
- Name: string;
746
- Queue: string;
747
- Group: string;
748
- ThorMasterIPAddress: string;
749
- Port: int;
750
- StartTime: string;
751
- LogFile: string;
752
- Wuid: string;
753
- Graph: string;
754
- SubGraph: int;
755
- SubGraphDuration: int;
756
- AutoRefresh: int;
757
- }
758
-
759
- export interface TpXMLFileRequest {
760
- Name?: string;
761
- }
762
-
763
- export interface TpXMLFileResponse {
764
- Exceptions: Exceptions;
765
- thefile: base64Binary;
766
- }
767
-
768
- }
769
-
770
- export class TopologyServiceBase extends Service {
771
-
772
- constructor(optsConnection: IOptions | IConnection) {
773
- super(optsConnection, "WsTopology", "1.31");
774
- }
775
-
776
- Ping(request: WsTopology.WsTopologyPingRequest): Promise<WsTopology.WsTopologyPingResponse> {
777
- return this._connection.send("Ping", request, "json", false, undefined, "WsTopologyPingResponse");
778
- }
779
-
780
- SystemLog(request: WsTopology.SystemLogRequest): Promise<WsTopology.SystemLogResponse> {
781
- return this._connection.send("SystemLog", request, "json", false, undefined, "SystemLogResponse");
782
- }
783
-
784
- TpClusterInfo(request: WsTopology.TpClusterInfoRequest): Promise<WsTopology.TpClusterInfoResponse> {
785
- return this._connection.send("TpClusterInfo", request, "json", false, undefined, "TpClusterInfoResponse");
786
- }
787
-
788
- TpClusterQuery(request: WsTopology.TpClusterQueryRequest): Promise<WsTopology.TpClusterQueryResponse> {
789
- return this._connection.send("TpClusterQuery", request, "json", false, undefined, "TpClusterQueryResponse");
790
- }
791
-
792
- TpDropZoneQuery(request: WsTopology.TpDropZoneQueryRequest): Promise<WsTopology.TpDropZoneQueryResponse> {
793
- return this._connection.send("TpDropZoneQuery", request, "json", false, undefined, "TpDropZoneQueryResponse");
794
- }
795
-
796
- TpGetComponentFile(request: WsTopology.TpGetComponentFileRequest): Promise<WsTopology.TpGetComponentFileResponse> {
797
- return this._connection.send("TpGetComponentFile", request, "json", false, undefined, "TpGetComponentFileResponse");
798
- }
799
-
800
- TpGetServicePlugins(request: WsTopology.TpGetServicePluginsRequest): Promise<WsTopology.TpGetServicePluginsResponse> {
801
- return this._connection.send("TpGetServicePlugins", request, "json", false, undefined, "TpGetServicePluginsResponse");
802
- }
803
-
804
- TpGroupQuery(request: WsTopology.TpGroupQueryRequest): Promise<WsTopology.TpGroupQueryResponse> {
805
- return this._connection.send("TpGroupQuery", request, "json", false, undefined, "TpGroupQueryResponse");
806
- }
807
-
808
- TpListTargetClusters(request: WsTopology.TpListTargetClustersRequest): Promise<WsTopology.TpListTargetClustersResponse> {
809
- return this._connection.send("TpListTargetClusters", request, "json", false, undefined, "TpListTargetClustersResponse");
810
- }
811
-
812
- TpLogFile(request: WsTopology.TpLogFileRequest): Promise<WsTopology.TpLogFileResponse> {
813
- return this._connection.send("TpLogFile", request, "json", false, undefined, "TpLogFileResponse");
814
- }
815
-
816
- TpLogFileDisplay(request: WsTopology.TpLogFileRequest): Promise<WsTopology.TpLogFileResponse> {
817
- return this._connection.send("TpLogFileDisplay", request, "json", false, undefined, "TpLogFileResponse");
818
- }
819
-
820
- TpLogicalClusterQuery(request: WsTopology.TpLogicalClusterQueryRequest): Promise<WsTopology.TpLogicalClusterQueryResponse> {
821
- return this._connection.send("TpLogicalClusterQuery", request, "json", false, undefined, "TpLogicalClusterQueryResponse");
822
- }
823
-
824
- TpMachineInfo(request: WsTopology.TpMachineInfoRequest): Promise<WsTopology.TpMachineInfoResponse> {
825
- return this._connection.send("TpMachineInfo", request, "json", false, undefined, "TpMachineInfoResponse");
826
- }
827
-
828
- TpMachineQuery(request: WsTopology.TpMachineQueryRequest): Promise<WsTopology.TpMachineQueryResponse> {
829
- return this._connection.send("TpMachineQuery", request, "json", false, undefined, "TpMachineQueryResponse");
830
- }
831
-
832
- TpServiceQuery(request: WsTopology.TpServiceQueryRequest): Promise<WsTopology.TpServiceQueryResponse> {
833
- return this._connection.send("TpServiceQuery", request, "json", false, undefined, "TpServiceQueryResponse");
834
- }
835
-
836
- TpSetMachineStatus(request: WsTopology.TpSetMachineStatusRequest): Promise<WsTopology.TpSetMachineStatusResponse> {
837
- return this._connection.send("TpSetMachineStatus", request, "json", false, undefined, "TpSetMachineStatusResponse");
838
- }
839
-
840
- TpSwapNode(request: WsTopology.TpSwapNodeRequest): Promise<WsTopology.TpSwapNodeResponse> {
841
- return this._connection.send("TpSwapNode", request, "json", false, undefined, "TpSwapNodeResponse");
842
- }
843
-
844
- TpTargetClusterQuery(request: WsTopology.TpTargetClusterQueryRequest): Promise<WsTopology.TpTargetClusterQueryResponse> {
845
- return this._connection.send("TpTargetClusterQuery", request, "json", false, undefined, "TpTargetClusterQueryResponse");
846
- }
847
-
848
- TpThorStatus(request: WsTopology.TpThorStatusRequest): Promise<WsTopology.TpThorStatusResponse> {
849
- return this._connection.send("TpThorStatus", request, "json", false, undefined, "TpThorStatusResponse");
850
- }
851
-
852
- TpXMLFile(request: WsTopology.TpXMLFileRequest): Promise<WsTopology.TpXMLFileResponse> {
853
- return this._connection.send("TpXMLFile", request, "json", false, undefined, "TpXMLFileResponse");
854
- }
855
-
856
- }
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 interface WsTopologyPingRequest {
18
+
19
+ }
20
+
21
+ export interface WsTopologyPingResponse {
22
+
23
+ }
24
+
25
+ export interface SystemLogRequest {
26
+ Name?: string;
27
+ Type?: string;
28
+ Zip?: int;
29
+ }
30
+
31
+ export interface Exception {
32
+ Code: string;
33
+ Audience: string;
34
+ Source: string;
35
+ Message: string;
36
+ }
37
+
38
+ export interface Exceptions {
39
+ Source: string;
40
+ Exception: Exception[];
41
+ }
42
+
43
+ export interface SystemLogResponse {
44
+ Exceptions: {
45
+ Source: string;
46
+ Exception: Exception[];
47
+ };
48
+ thefile: base64Binary;
49
+ }
50
+
51
+ export interface TpClusterInfoRequest {
52
+ Name?: string;
53
+ }
54
+
55
+ export interface TpQueue {
56
+ Name: string;
57
+ WorkUnit: string;
58
+ }
59
+
60
+ export interface TpQueues {
61
+ TpQueue: TpQueue[];
62
+ }
63
+
64
+ export interface TpClusterInfoResponse {
65
+ Exceptions: Exceptions;
66
+ Name: string;
67
+ WorkUnit: string;
68
+ TpQueues: {
69
+ TpQueue: TpQueue[];
70
+ };
71
+ }
72
+
73
+ export interface TpClusterQueryRequest {
74
+ Type?: string;
75
+ }
76
+
77
+ export interface TpMachine {
78
+ Name: string;
79
+ Netaddress: string;
80
+ ConfigNetaddress: string;
81
+ Domain: string;
82
+ Directory: string;
83
+ Type: string;
84
+ Available: string;
85
+ OS: int;
86
+ Path: string;
87
+ Port: int;
88
+ ProcessNumber: int;
89
+ Channels: unsignedInt;
90
+ }
91
+
92
+ export interface TpMachines {
93
+ TpMachine: TpMachine[];
94
+ }
95
+
96
+ export interface TpCluster {
97
+ Type: string;
98
+ Name: string;
99
+ QueueName: string;
100
+ Build: string;
101
+ Directory: string;
102
+ LogDirectory: string;
103
+ Desc: string;
104
+ Path: string;
105
+ DataModel: string;
106
+ OS: int;
107
+ HasThorSpareProcess: boolean;
108
+ TpMachines: {
109
+ TpMachine: TpMachine[];
110
+ };
111
+ }
112
+
113
+ export interface TpClusters {
114
+ TpCluster: TpCluster[];
115
+ }
116
+
117
+ export interface TpClusterQueryResponse {
118
+ Exceptions: Exceptions;
119
+ EnableSNMP: boolean;
120
+ AcceptLanguage: string;
121
+ TpClusters: {
122
+ TpCluster: TpCluster[];
123
+ };
124
+ }
125
+
126
+ export interface TpDropZoneQueryRequest {
127
+ Name?: string;
128
+ ECLWatchVisibleOnly?: boolean;
129
+ }
130
+
131
+ export interface TpDropZone {
132
+ Name: string;
133
+ Description: string;
134
+ Build: string;
135
+ Path: string;
136
+ ECLWatchVisible: boolean;
137
+ UMask: string;
138
+ TpMachines: TpMachines;
139
+ }
140
+
141
+ export interface TpDropZones {
142
+ TpDropZone: TpDropZone[];
143
+ }
144
+
145
+ export interface TpDropZoneQueryResponse {
146
+ Exceptions: Exceptions;
147
+ TpDropZones: {
148
+ TpDropZone: TpDropZone[];
149
+ };
150
+ }
151
+
152
+ export interface TpGetComponentFileRequest {
153
+ CompType?: string;
154
+ CompName?: string;
155
+ NetAddress?: string;
156
+ Directory?: string;
157
+ FileType?: string;
158
+ OsType?: int;
159
+ PlainText?: string;
160
+ }
161
+
162
+ export interface TpGetComponentFileResponse {
163
+ Exceptions: Exceptions;
164
+ FileContents: base64Binary;
165
+ }
166
+
167
+ export interface TpGetServicePluginsRequest {
168
+
169
+ }
170
+
171
+ export interface Plugin {
172
+ ShortName: string;
173
+ LongName: string;
174
+ FolderName: string;
175
+ WidgetName: string;
176
+ }
177
+
178
+ export interface Plugins {
179
+ Plugin: Plugin[];
180
+ }
181
+
182
+ export interface TpGetServicePluginsResponse {
183
+ Exceptions: Exceptions;
184
+ Plugins: {
185
+ Plugin: Plugin[];
186
+ };
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: {
206
+ TpGroup: TpGroup[];
207
+ };
208
+ }
209
+
210
+ export interface TpListTargetClustersRequest {
211
+
212
+ }
213
+
214
+ export interface TpClusterNameType {
215
+ Name: string;
216
+ Type: string;
217
+ IsDefault: boolean;
218
+ }
219
+
220
+ export interface TargetClusters {
221
+ TpClusterNameType: TpClusterNameType[];
222
+ }
223
+
224
+ export interface TpListTargetClustersResponse {
225
+ Exceptions: Exceptions;
226
+ TargetClusters: {
227
+ TpClusterNameType: TpClusterNameType[];
228
+ };
229
+ }
230
+
231
+ export interface TpLogFileRequest {
232
+ Name?: string;
233
+ Type?: string;
234
+ LastHours?: int;
235
+ StartDate?: string;
236
+ EndDate?: string;
237
+ FirstRows?: int;
238
+ LastRows?: int;
239
+ FilterType?: int;
240
+ Reversely?: boolean;
241
+ Zip?: boolean;
242
+ PageNumber?: int;
243
+ LoadData?: boolean;
244
+ IncludeLogFieldNames?: boolean;
245
+ }
246
+
247
+ export interface LogFieldNames {
248
+ Item: string[];
249
+ }
250
+
251
+ export interface TpLogFileResponse {
252
+ Exceptions: Exceptions;
253
+ Name: string;
254
+ Type: string;
255
+ StartDate: string;
256
+ EndDate: string;
257
+ LastHours: int;
258
+ FirstRows: int;
259
+ LastRows: int;
260
+ Reversely: boolean;
261
+ Zip: boolean;
262
+ FilterType: int;
263
+ LogData: string;
264
+ HasDate: boolean;
265
+ FileSize: long;
266
+ PageFrom: long;
267
+ PageTo: long;
268
+ PageNumber: int;
269
+ PrevPage: int;
270
+ NextPage: int;
271
+ TotalPages: int;
272
+ AcceptLanguage: string;
273
+ LogFieldNames: {
274
+ Item: string[];
275
+ };
276
+ }
277
+
278
+ export interface TpLogicalClusterQueryRequest {
279
+ EclServerQueue?: string;
280
+ RoxieQueueFilter?: RoxieQueueFilter;
281
+ }
282
+
283
+ export interface TpLogicalCluster {
284
+ Name: string;
285
+ Queue: string;
286
+ LanguageVersion: string;
287
+ Process: string;
288
+ Type: string;
289
+ QueriesOnly: boolean;
290
+ }
291
+
292
+ export interface TpLogicalClusters {
293
+ TpLogicalCluster: TpLogicalCluster[];
294
+ }
295
+
296
+ export interface TpLogicalClusterQueryResponse {
297
+ Exceptions: Exceptions;
298
+ TpLogicalClusters: {
299
+ TpLogicalCluster: TpLogicalCluster[];
300
+ };
301
+ }
302
+
303
+ export interface TpMachineInfoRequest {
304
+ Name?: string;
305
+ NetAddress?: string;
306
+ }
307
+
308
+ export interface MachineInfo {
309
+ Name: string;
310
+ Netaddress: string;
311
+ ConfigNetaddress: string;
312
+ Domain: string;
313
+ Directory: string;
314
+ Type: string;
315
+ Available: string;
316
+ OS: int;
317
+ Path: string;
318
+ Port: int;
319
+ ProcessNumber: int;
320
+ Channels: unsignedInt;
321
+ }
322
+
323
+ export interface TpMachineInfoResponse {
324
+ Exceptions: Exceptions;
325
+ MachineInfo: {
326
+ Name: string;
327
+ Netaddress: string;
328
+ ConfigNetaddress: string;
329
+ Domain: string;
330
+ Directory: string;
331
+ Type: string;
332
+ Available: string;
333
+ OS: int;
334
+ Path: string;
335
+ Port: int;
336
+ ProcessNumber: int;
337
+ Channels: unsignedInt;
338
+ };
339
+ }
340
+
341
+ export interface TpMachineQueryRequest {
342
+ Type?: string;
343
+ Cluster?: string;
344
+ OldIP?: string;
345
+ Path?: string;
346
+ Directory?: string;
347
+ LogDirectory?: string;
348
+ }
349
+
350
+ export interface TpMachineQueryResponse {
351
+ Exceptions: Exceptions;
352
+ EnablePreflightInfo: boolean;
353
+ HasThorSpareProcess: boolean;
354
+ Type: string;
355
+ Cluster: string;
356
+ OldIP: string;
357
+ LogDirectory: string;
358
+ Path: string;
359
+ MemThreshold: int;
360
+ DiskThreshold: int;
361
+ CpuThreshold: int;
362
+ MemThresholdType: string;
363
+ DiskThresholdType: string;
364
+ PreflightProcessFilter: string;
365
+ EnableSNMP: boolean;
366
+ AcceptLanguage: string;
367
+ TpMachines: TpMachines;
368
+ }
369
+
370
+ export interface TpServiceQueryRequest {
371
+ Type?: string;
372
+ }
373
+
374
+ export interface TpDali {
375
+ Name: string;
376
+ Description: string;
377
+ Build: string;
378
+ BackupComputer: string;
379
+ BackupDirectory: string;
380
+ Type: string;
381
+ Path: string;
382
+ LogDirectory: string;
383
+ AuditLogDirectory: string;
384
+ TpMachines: TpMachines;
385
+ }
386
+
387
+ export interface TpDalis {
388
+ TpDali: TpDali[];
389
+ }
390
+
391
+ export interface TpDfuServer {
392
+ Name: string;
393
+ Description: string;
394
+ Build: string;
395
+ Queue: string;
396
+ Type: string;
397
+ Path: string;
398
+ LogDirectory: string;
399
+ TpMachines: TpMachines;
400
+ }
401
+
402
+ export interface TpDfuServers {
403
+ TpDfuServer: TpDfuServer[];
404
+ }
405
+
406
+ export interface TpDkcSlave {
407
+ Name: string;
408
+ Description: string;
409
+ Build: string;
410
+ Path: string;
411
+ TpMachines: TpMachines;
412
+ }
413
+
414
+ export interface TpDkcSlaves {
415
+ TpDkcSlave: TpDkcSlave[];
416
+ }
417
+
418
+ export interface TpEclAgent {
419
+ Name: string;
420
+ Description: string;
421
+ Build: string;
422
+ Type: string;
423
+ Path: string;
424
+ DaliServer: string;
425
+ LogDir: string;
426
+ TpMachines: TpMachines;
427
+ }
428
+
429
+ export interface TpEclAgents {
430
+ TpEclAgent: TpEclAgent[];
431
+ }
432
+
433
+ export interface TpEclServer {
434
+ Name: string;
435
+ Description: string;
436
+ Build: string;
437
+ LogDirectory: string;
438
+ Type: string;
439
+ Path: string;
440
+ TpMachines: TpMachines;
441
+ }
442
+
443
+ export interface TpEclServers {
444
+ TpEclServer: TpEclServer[];
445
+ }
446
+
447
+ export interface TpEclCCServers {
448
+ TpEclServer: TpEclServer[];
449
+ }
450
+
451
+ export interface TpEclScheduler {
452
+ Name: string;
453
+ Description: string;
454
+ Build: string;
455
+ LogDirectory: string;
456
+ Type: string;
457
+ Path: string;
458
+ TpMachines: TpMachines;
459
+ }
460
+
461
+ export interface TpEclSchedulers {
462
+ TpEclScheduler: TpEclScheduler[];
463
+ }
464
+
465
+ export interface TpBinding {
466
+ Name: string;
467
+ Service: string;
468
+ ServiceType: string;
469
+ BindingType: string;
470
+ ServiceBuildSet: string;
471
+ Port: string;
472
+ Protocol: string;
473
+ }
474
+
475
+ export interface TpBindings {
476
+ TpBinding: TpBinding[];
477
+ }
478
+
479
+ export interface TpEspServer {
480
+ Name: string;
481
+ Description: string;
482
+ Build: string;
483
+ Type: string;
484
+ Path: string;
485
+ LogDirectory: string;
486
+ TpMachines: TpMachines;
487
+ TpBindings: {
488
+ TpBinding: TpBinding[];
489
+ };
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: {
580
+ TpDali: TpDali[];
581
+ };
582
+ TpDfuServers: {
583
+ TpDfuServer: TpDfuServer[];
584
+ };
585
+ TpDkcSlaves: {
586
+ TpDkcSlave: TpDkcSlave[];
587
+ };
588
+ TpDropZones: TpDropZones;
589
+ TpEclAgents: {
590
+ TpEclAgent: TpEclAgent[];
591
+ };
592
+ TpEclServers: {
593
+ TpEclServer: TpEclServer[];
594
+ };
595
+ TpEclCCServers: {
596
+ TpEclServer: TpEclServer[];
597
+ };
598
+ TpEclSchedulers: {
599
+ TpEclScheduler: TpEclScheduler[];
600
+ };
601
+ TpEspServers: {
602
+ TpEspServer: TpEspServer[];
603
+ };
604
+ TpFTSlaves: {
605
+ TpFTSlave: TpFTSlave[];
606
+ };
607
+ TpGenesisServers: {
608
+ TpGenesisServer: TpGenesisServer[];
609
+ };
610
+ TpLdapServers: {
611
+ TpLdapServer: TpLdapServer[];
612
+ };
613
+ TpMySqlServers: {
614
+ TpMySqlServer: TpMySqlServer[];
615
+ };
616
+ TpSashaServers: {
617
+ TpSashaServer: TpSashaServer[];
618
+ };
619
+ TpSparkThors: {
620
+ TpSparkThor: TpSparkThor[];
621
+ };
622
+ }
623
+
624
+ export interface TpServiceQueryResponse {
625
+ Exceptions: Exceptions;
626
+ MemThreshold: int;
627
+ DiskThreshold: int;
628
+ CpuThreshold: int;
629
+ EncapsulatedSystem: boolean;
630
+ EnableSNMP: boolean;
631
+ PreflightProcessFilter: string;
632
+ AcceptLanguage: string;
633
+ MemThresholdType: string;
634
+ DiskThresholdType: string;
635
+ ServiceList: {
636
+ TpDalis: {
637
+ TpDali: TpDali[];
638
+ };
639
+ TpDfuServers: {
640
+ TpDfuServer: TpDfuServer[];
641
+ };
642
+ TpDkcSlaves: {
643
+ TpDkcSlave: TpDkcSlave[];
644
+ };
645
+ TpDropZones: TpDropZones;
646
+ TpEclAgents: {
647
+ TpEclAgent: TpEclAgent[];
648
+ };
649
+ TpEclServers: {
650
+ TpEclServer: TpEclServer[];
651
+ };
652
+ TpEclCCServers: {
653
+ TpEclServer: TpEclServer[];
654
+ };
655
+ TpEclSchedulers: {
656
+ TpEclScheduler: TpEclScheduler[];
657
+ };
658
+ TpEspServers: {
659
+ TpEspServer: TpEspServer[];
660
+ };
661
+ TpFTSlaves: {
662
+ TpFTSlave: TpFTSlave[];
663
+ };
664
+ TpGenesisServers: {
665
+ TpGenesisServer: TpGenesisServer[];
666
+ };
667
+ TpLdapServers: {
668
+ TpLdapServer: TpLdapServer[];
669
+ };
670
+ TpMySqlServers: {
671
+ TpMySqlServer: TpMySqlServer[];
672
+ };
673
+ TpSashaServers: {
674
+ TpSashaServer: TpSashaServer[];
675
+ };
676
+ TpSparkThors: {
677
+ TpSparkThor: TpSparkThor[];
678
+ };
679
+ };
680
+ }
681
+
682
+ export interface TpSetMachineStatusRequest {
683
+ MachinePath?: string;
684
+ StatusValue?: string;
685
+ }
686
+
687
+ export interface TpSetMachineStatusResponse {
688
+ Exceptions: Exceptions;
689
+ TpSetMachineStatusResult: boolean;
690
+ }
691
+
692
+ export interface TpSwapNodeRequest {
693
+ Cluster?: string;
694
+ OldIP?: string;
695
+ NewIP?: string;
696
+ }
697
+
698
+ export interface TpSwapNodeResponse {
699
+ Exceptions: Exceptions;
700
+ TpSwapNodeResult: boolean;
701
+ }
702
+
703
+ export interface TpTargetClusterQueryRequest {
704
+ Type?: string;
705
+ Name?: string;
706
+ ShowDetails?: boolean;
707
+ }
708
+
709
+ export interface TpTargetCluster {
710
+ Name: string;
711
+ Prefix: string;
712
+ Type: string;
713
+ TpClusters: TpClusters;
714
+ TpEclCCServers: TpEclCCServers;
715
+ TpEclServers: TpEclServers;
716
+ TpEclAgents: TpEclAgents;
717
+ TpEclSchedulers: TpEclSchedulers;
718
+ }
719
+
720
+ export interface TpTargetClusters {
721
+ TpTargetCluster: TpTargetCluster[];
722
+ }
723
+
724
+ export interface TpTargetClusterQueryResponse {
725
+ Exceptions: Exceptions;
726
+ ShowDetails: boolean;
727
+ MemThreshold: int;
728
+ DiskThreshold: int;
729
+ CpuThreshold: int;
730
+ MemThresholdType: string;
731
+ DiskThresholdType: string;
732
+ PreflightProcessFilter: string;
733
+ AcceptLanguage: string;
734
+ TpTargetClusters: {
735
+ TpTargetCluster: TpTargetCluster[];
736
+ };
737
+ }
738
+
739
+ export interface TpThorStatusRequest {
740
+ Name?: string;
741
+ }
742
+
743
+ export interface TpThorStatusResponse {
744
+ Exceptions: Exceptions;
745
+ Name: string;
746
+ Queue: string;
747
+ Group: string;
748
+ ThorMasterIPAddress: string;
749
+ Port: int;
750
+ StartTime: string;
751
+ LogFile: string;
752
+ Wuid: string;
753
+ Graph: string;
754
+ SubGraph: int;
755
+ SubGraphDuration: int;
756
+ AutoRefresh: int;
757
+ }
758
+
759
+ export interface TpXMLFileRequest {
760
+ Name?: string;
761
+ }
762
+
763
+ export interface TpXMLFileResponse {
764
+ Exceptions: Exceptions;
765
+ thefile: base64Binary;
766
+ }
767
+
768
+ }
769
+
770
+ export class TopologyServiceBase extends Service {
771
+
772
+ constructor(optsConnection: IOptions | IConnection) {
773
+ super(optsConnection, "WsTopology", "1.31");
774
+ }
775
+
776
+ Ping(request: WsTopology.WsTopologyPingRequest): Promise<WsTopology.WsTopologyPingResponse> {
777
+ return this._connection.send("Ping", request, "json", false, undefined, "WsTopologyPingResponse");
778
+ }
779
+
780
+ SystemLog(request: WsTopology.SystemLogRequest): Promise<WsTopology.SystemLogResponse> {
781
+ return this._connection.send("SystemLog", request, "json", false, undefined, "SystemLogResponse");
782
+ }
783
+
784
+ TpClusterInfo(request: WsTopology.TpClusterInfoRequest): Promise<WsTopology.TpClusterInfoResponse> {
785
+ return this._connection.send("TpClusterInfo", request, "json", false, undefined, "TpClusterInfoResponse");
786
+ }
787
+
788
+ TpClusterQuery(request: WsTopology.TpClusterQueryRequest): Promise<WsTopology.TpClusterQueryResponse> {
789
+ return this._connection.send("TpClusterQuery", request, "json", false, undefined, "TpClusterQueryResponse");
790
+ }
791
+
792
+ TpDropZoneQuery(request: WsTopology.TpDropZoneQueryRequest): Promise<WsTopology.TpDropZoneQueryResponse> {
793
+ return this._connection.send("TpDropZoneQuery", request, "json", false, undefined, "TpDropZoneQueryResponse");
794
+ }
795
+
796
+ TpGetComponentFile(request: WsTopology.TpGetComponentFileRequest): Promise<WsTopology.TpGetComponentFileResponse> {
797
+ return this._connection.send("TpGetComponentFile", request, "json", false, undefined, "TpGetComponentFileResponse");
798
+ }
799
+
800
+ TpGetServicePlugins(request: WsTopology.TpGetServicePluginsRequest): Promise<WsTopology.TpGetServicePluginsResponse> {
801
+ return this._connection.send("TpGetServicePlugins", request, "json", false, undefined, "TpGetServicePluginsResponse");
802
+ }
803
+
804
+ TpGroupQuery(request: WsTopology.TpGroupQueryRequest): Promise<WsTopology.TpGroupQueryResponse> {
805
+ return this._connection.send("TpGroupQuery", request, "json", false, undefined, "TpGroupQueryResponse");
806
+ }
807
+
808
+ TpListTargetClusters(request: WsTopology.TpListTargetClustersRequest): Promise<WsTopology.TpListTargetClustersResponse> {
809
+ return this._connection.send("TpListTargetClusters", request, "json", false, undefined, "TpListTargetClustersResponse");
810
+ }
811
+
812
+ TpLogFile(request: WsTopology.TpLogFileRequest): Promise<WsTopology.TpLogFileResponse> {
813
+ return this._connection.send("TpLogFile", request, "json", false, undefined, "TpLogFileResponse");
814
+ }
815
+
816
+ TpLogFileDisplay(request: WsTopology.TpLogFileRequest): Promise<WsTopology.TpLogFileResponse> {
817
+ return this._connection.send("TpLogFileDisplay", request, "json", false, undefined, "TpLogFileResponse");
818
+ }
819
+
820
+ TpLogicalClusterQuery(request: WsTopology.TpLogicalClusterQueryRequest): Promise<WsTopology.TpLogicalClusterQueryResponse> {
821
+ return this._connection.send("TpLogicalClusterQuery", request, "json", false, undefined, "TpLogicalClusterQueryResponse");
822
+ }
823
+
824
+ TpMachineInfo(request: WsTopology.TpMachineInfoRequest): Promise<WsTopology.TpMachineInfoResponse> {
825
+ return this._connection.send("TpMachineInfo", request, "json", false, undefined, "TpMachineInfoResponse");
826
+ }
827
+
828
+ TpMachineQuery(request: WsTopology.TpMachineQueryRequest): Promise<WsTopology.TpMachineQueryResponse> {
829
+ return this._connection.send("TpMachineQuery", request, "json", false, undefined, "TpMachineQueryResponse");
830
+ }
831
+
832
+ TpServiceQuery(request: WsTopology.TpServiceQueryRequest): Promise<WsTopology.TpServiceQueryResponse> {
833
+ return this._connection.send("TpServiceQuery", request, "json", false, undefined, "TpServiceQueryResponse");
834
+ }
835
+
836
+ TpSetMachineStatus(request: WsTopology.TpSetMachineStatusRequest): Promise<WsTopology.TpSetMachineStatusResponse> {
837
+ return this._connection.send("TpSetMachineStatus", request, "json", false, undefined, "TpSetMachineStatusResponse");
838
+ }
839
+
840
+ TpSwapNode(request: WsTopology.TpSwapNodeRequest): Promise<WsTopology.TpSwapNodeResponse> {
841
+ return this._connection.send("TpSwapNode", request, "json", false, undefined, "TpSwapNodeResponse");
842
+ }
843
+
844
+ TpTargetClusterQuery(request: WsTopology.TpTargetClusterQueryRequest): Promise<WsTopology.TpTargetClusterQueryResponse> {
845
+ return this._connection.send("TpTargetClusterQuery", request, "json", false, undefined, "TpTargetClusterQueryResponse");
846
+ }
847
+
848
+ TpThorStatus(request: WsTopology.TpThorStatusRequest): Promise<WsTopology.TpThorStatusResponse> {
849
+ return this._connection.send("TpThorStatus", request, "json", false, undefined, "TpThorStatusResponse");
850
+ }
851
+
852
+ TpXMLFile(request: WsTopology.TpXMLFileRequest): Promise<WsTopology.TpXMLFileResponse> {
853
+ return this._connection.send("TpXMLFile", request, "json", false, undefined, "TpXMLFileResponse");
854
+ }
855
+
856
+ }