@hpcc-js/comms 2.102.2 → 2.102.4

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 (105) hide show
  1. package/LICENSE +43 -43
  2. package/README.md +50 -50
  3. package/dist/index.es6.js +2 -2
  4. package/dist/index.es6.js.map +1 -1
  5. package/dist/index.js +2 -2
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.min.js +1 -1
  8. package/dist/index.min.js.map +1 -1
  9. package/dist/index.node.js +2 -2
  10. package/dist/index.node.js.map +1 -1
  11. package/dist/index.node.min.js +1 -1
  12. package/dist/index.node.min.js.map +1 -1
  13. package/lib-es6/__package__.js +2 -2
  14. package/lib-es6/__package__.js.map +1 -1
  15. package/package.json +5 -5
  16. package/src/__package__.ts +3 -3
  17. package/src/__tests__/dfuXRef.ts +22 -22
  18. package/src/__tests__/https.ts +69 -69
  19. package/src/__tests__/workunit.ts +35 -35
  20. package/src/clienttools/eclMeta.ts +506 -506
  21. package/src/clienttools/eclcc.ts +628 -628
  22. package/src/connection.ts +295 -295
  23. package/src/ecl/activity.ts +82 -82
  24. package/src/ecl/dfuWorkunit.ts +363 -363
  25. package/src/ecl/graph.ts +196 -196
  26. package/src/ecl/logicalFile.ts +195 -195
  27. package/src/ecl/machine.ts +63 -63
  28. package/src/ecl/query.ts +252 -252
  29. package/src/ecl/queryGraph.ts +813 -813
  30. package/src/ecl/resource.ts +39 -39
  31. package/src/ecl/result.ts +236 -236
  32. package/src/ecl/scope.ts +192 -192
  33. package/src/ecl/sourceFile.ts +34 -34
  34. package/src/ecl/store.ts +154 -154
  35. package/src/ecl/targetCluster.ts +149 -149
  36. package/src/ecl/timer.ts +42 -42
  37. package/src/ecl/topology.ts +131 -131
  38. package/src/ecl/workunit.ts +1314 -1314
  39. package/src/ecl/xsdParser.ts +268 -268
  40. package/src/espConnection.ts +172 -172
  41. package/src/index-common.ts +41 -41
  42. package/src/index.node.ts +68 -68
  43. package/src/index.ts +3 -3
  44. package/src/pem/trustwave.ts +909 -909
  45. package/src/services/fileSpray.ts +48 -48
  46. package/src/services/wsAccess.ts +8 -8
  47. package/src/services/wsAccount.ts +27 -27
  48. package/src/services/wsCloud.ts +73 -73
  49. package/src/services/wsCodesign.ts +94 -94
  50. package/src/services/wsDFU.ts +34 -34
  51. package/src/services/wsDFUXRef.ts +308 -308
  52. package/src/services/wsDali.ts +40 -40
  53. package/src/services/wsEcl.ts +123 -123
  54. package/src/services/wsElk.ts +8 -8
  55. package/src/services/wsLogaccess.ts +263 -263
  56. package/src/services/wsMachine.ts +89 -89
  57. package/src/services/wsPackageProcess.ts +8 -8
  58. package/src/services/wsResources.ts +8 -8
  59. package/src/services/wsSMC.ts +24 -24
  60. package/src/services/wsSasha.ts +7 -7
  61. package/src/services/wsStore.ts +230 -230
  62. package/src/services/wsTopology.ts +45 -45
  63. package/src/services/wsWorkunits.ts +160 -160
  64. package/src/services/wsdl/FileSpray/v1.23/FileSpray.ts +1008 -1008
  65. package/src/services/wsdl/FileSpray/v1.25/FileSpray.ts +1040 -1040
  66. package/src/services/wsdl/FileSpray/v1.26/FileSpray.ts +929 -929
  67. package/src/services/wsdl/WsCloud/v1/WsCloud.ts +38 -38
  68. package/src/services/wsdl/WsCloud/v1.02/WsCloud.ts +77 -77
  69. package/src/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.ts +224 -224
  70. package/src/services/wsdl/WsDali/v1.04/WsDali.ts +216 -216
  71. package/src/services/wsdl/WsDfu/v1.62/WsDfu.ts +1455 -1455
  72. package/src/services/wsdl/WsDfu/v1.63/WsDfu.ts +1465 -1465
  73. package/src/services/wsdl/WsDfu/v1.65/WsDfu.ts +1244 -1244
  74. package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +107 -107
  75. package/src/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.ts +519 -519
  76. package/src/services/wsdl/WsResources/v1.01/WsResources.ts +119 -119
  77. package/src/services/wsdl/WsSMC/v1.24/WsSMC.ts +665 -665
  78. package/src/services/wsdl/WsSMC/v1.27/WsSMC.ts +670 -670
  79. package/src/services/wsdl/WsTopology/v1.31/WsTopology.ts +856 -856
  80. package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +885 -885
  81. package/src/services/wsdl/WsWorkunits/v1.88/WsWorkunits.ts +2944 -2944
  82. package/src/services/wsdl/WsWorkunits/v1.94/WsWorkunits.ts +3072 -3072
  83. package/src/services/wsdl/WsWorkunits/v1.95/WsWorkunits.ts +3073 -3073
  84. package/src/services/wsdl/WsWorkunits/v1.97/WsWorkunits.ts +3134 -3134
  85. package/src/services/wsdl/WsWorkunits/v1.98/WsWorkunits.ts +3182 -3182
  86. package/src/services/wsdl/WsWorkunits/v1.99/WsWorkunits.ts +3162 -3162
  87. package/src/services/wsdl/WsWorkunits/v2/WsWorkunits.ts +3153 -3153
  88. package/src/services/wsdl/WsWorkunits/v2.02/WsWorkunits.ts +3157 -3157
  89. package/src/services/wsdl/ws_access/v1.16/ws_access.ts +1086 -1086
  90. package/src/services/wsdl/ws_access/v1.17/ws_access.ts +1023 -1023
  91. package/src/services/wsdl/ws_account/v1.05/ws_account.ts +111 -111
  92. package/src/services/wsdl/ws_account/v1.06/ws_account.ts +109 -109
  93. package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +100 -100
  94. package/src/services/wsdl/ws_elk/v1/ws_elk.ts +47 -47
  95. package/src/services/wsdl/ws_logaccess/v1/ws_logaccess.ts +83 -83
  96. package/src/services/wsdl/ws_logaccess/v1.02/ws_logaccess.ts +161 -161
  97. package/src/services/wsdl/ws_logaccess/v1.03/ws_logaccess.ts +190 -190
  98. package/src/services/wsdl/ws_logaccess/v1.04/ws_logaccess.ts +215 -215
  99. package/src/services/wsdl/ws_logaccess/v1.05/ws_logaccess.ts +219 -219
  100. package/src/services/wsdl/ws_logaccess/v1.08/ws_logaccess.ts +267 -267
  101. package/src/services/wsdl/ws_machine/v1.17/ws_machine.ts +567 -567
  102. package/src/services/wsdl/wsstore/v1.02/wsstore.ts +250 -250
  103. package/types/__package__.d.ts +2 -2
  104. package/types/__package__.d.ts.map +1 -1
  105. package/types-3.4/__package__.d.ts +2 -2
@@ -1,885 +1,885 @@
1
- import { IConnection, IOptions } from "../../../../connection";
2
- import { Service } from "../../../../espConnection";
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 TpListLogFilesRequest {
211
- NetworkAddress?: string;
212
- Path?: string;
213
- }
214
-
215
- export interface LogFileStruct {
216
- Name: string;
217
- Path: string;
218
- Host: string;
219
- IsDir: boolean;
220
- FileSize: long;
221
- Modifiedtime: string;
222
- }
223
-
224
- export interface Files {
225
- LogFileStruct: LogFileStruct[];
226
- }
227
-
228
- export interface TpListLogFilesResponse {
229
- Exceptions: Exceptions;
230
- Files: {
231
- LogFileStruct: LogFileStruct[];
232
- };
233
- }
234
-
235
- export interface TpListTargetClustersRequest {
236
-
237
- }
238
-
239
- export interface TpClusterNameType {
240
- Name: string;
241
- Type: string;
242
- IsDefault: boolean;
243
- }
244
-
245
- export interface TargetClusters {
246
- TpClusterNameType: TpClusterNameType[];
247
- }
248
-
249
- export interface TpListTargetClustersResponse {
250
- Exceptions: Exceptions;
251
- TargetClusters: {
252
- TpClusterNameType: TpClusterNameType[];
253
- };
254
- }
255
-
256
- export interface TpLogFileRequest {
257
- Name?: string;
258
- Type?: string;
259
- LastHours?: int;
260
- StartDate?: string;
261
- EndDate?: string;
262
- FirstRows?: int;
263
- LastRows?: int;
264
- FilterType?: int;
265
- Reversely?: boolean;
266
- Zip?: boolean;
267
- PageNumber?: int;
268
- LoadData?: boolean;
269
- IncludeLogFieldNames?: boolean;
270
- }
271
-
272
- export interface LogFieldNames {
273
- Item: string[];
274
- }
275
-
276
- export interface TpLogFileResponse {
277
- Exceptions: Exceptions;
278
- Name: string;
279
- Type: string;
280
- StartDate: string;
281
- EndDate: string;
282
- LastHours: int;
283
- FirstRows: int;
284
- LastRows: int;
285
- Reversely: boolean;
286
- Zip: boolean;
287
- FilterType: int;
288
- LogData: string;
289
- HasDate: boolean;
290
- FileSize: long;
291
- PageFrom: long;
292
- PageTo: long;
293
- PageNumber: int;
294
- PrevPage: int;
295
- NextPage: int;
296
- TotalPages: int;
297
- AcceptLanguage: string;
298
- LogFieldNames: {
299
- Item: string[];
300
- };
301
- }
302
-
303
- export interface TpLogicalClusterQueryRequest {
304
- EclServerQueue?: string;
305
- RoxieQueueFilter?: RoxieQueueFilter;
306
- }
307
-
308
- export interface TpLogicalCluster {
309
- Name: string;
310
- Queue: string;
311
- LanguageVersion: string;
312
- Process: string;
313
- Type: string;
314
- QueriesOnly: boolean;
315
- }
316
-
317
- export interface TpLogicalClusters {
318
- TpLogicalCluster: TpLogicalCluster[];
319
- }
320
-
321
- export interface TpLogicalClusterQueryResponse {
322
- Exceptions: Exceptions;
323
- TpLogicalClusters: {
324
- TpLogicalCluster: TpLogicalCluster[];
325
- };
326
- }
327
-
328
- export interface TpMachineInfoRequest {
329
- Name?: string;
330
- NetAddress?: string;
331
- }
332
-
333
- export interface MachineInfo {
334
- Name: string;
335
- Netaddress: string;
336
- ConfigNetaddress: string;
337
- Domain: string;
338
- Directory: string;
339
- Type: string;
340
- Available: string;
341
- OS: int;
342
- Path: string;
343
- Port: int;
344
- ProcessNumber: int;
345
- Channels: unsignedInt;
346
- }
347
-
348
- export interface TpMachineInfoResponse {
349
- Exceptions: Exceptions;
350
- MachineInfo: {
351
- Name: string;
352
- Netaddress: string;
353
- ConfigNetaddress: string;
354
- Domain: string;
355
- Directory: string;
356
- Type: string;
357
- Available: string;
358
- OS: int;
359
- Path: string;
360
- Port: int;
361
- ProcessNumber: int;
362
- Channels: unsignedInt;
363
- };
364
- }
365
-
366
- export interface TpMachineQueryRequest {
367
- Type?: string;
368
- Cluster?: string;
369
- OldIP?: string;
370
- Path?: string;
371
- Directory?: string;
372
- LogDirectory?: string;
373
- }
374
-
375
- export interface TpMachineQueryResponse {
376
- Exceptions: Exceptions;
377
- EnablePreflightInfo: boolean;
378
- HasThorSpareProcess: boolean;
379
- Type: string;
380
- Cluster: string;
381
- OldIP: string;
382
- LogDirectory: string;
383
- Path: string;
384
- MemThreshold: int;
385
- DiskThreshold: int;
386
- CpuThreshold: int;
387
- MemThresholdType: string;
388
- DiskThresholdType: string;
389
- PreflightProcessFilter: string;
390
- EnableSNMP: boolean;
391
- AcceptLanguage: string;
392
- TpMachines: TpMachines;
393
- }
394
-
395
- export interface TpServiceQueryRequest {
396
- Type?: string;
397
- }
398
-
399
- export interface TpDali {
400
- Name: string;
401
- Description: string;
402
- Build: string;
403
- BackupComputer: string;
404
- BackupDirectory: string;
405
- Type: string;
406
- Path: string;
407
- LogDirectory: string;
408
- AuditLogDirectory: string;
409
- TpMachines: TpMachines;
410
- }
411
-
412
- export interface TpDalis {
413
- TpDali: TpDali[];
414
- }
415
-
416
- export interface TpDfuServer {
417
- Name: string;
418
- Description: string;
419
- Build: string;
420
- Queue: string;
421
- Type: string;
422
- Path: string;
423
- LogDirectory: string;
424
- TpMachines: TpMachines;
425
- }
426
-
427
- export interface TpDfuServers {
428
- TpDfuServer: TpDfuServer[];
429
- }
430
-
431
- export interface TpDkcSlave {
432
- Name: string;
433
- Description: string;
434
- Build: string;
435
- Path: string;
436
- TpMachines: TpMachines;
437
- }
438
-
439
- export interface TpDkcSlaves {
440
- TpDkcSlave: TpDkcSlave[];
441
- }
442
-
443
- export interface TpEclAgent {
444
- Name: string;
445
- Description: string;
446
- Build: string;
447
- Type: string;
448
- Path: string;
449
- DaliServer: string;
450
- LogDir: string;
451
- TpMachines: TpMachines;
452
- }
453
-
454
- export interface TpEclAgents {
455
- TpEclAgent: TpEclAgent[];
456
- }
457
-
458
- export interface TpEclServer {
459
- Name: string;
460
- Description: string;
461
- Build: string;
462
- LogDirectory: string;
463
- Type: string;
464
- Path: string;
465
- TpMachines: TpMachines;
466
- }
467
-
468
- export interface TpEclServers {
469
- TpEclServer: TpEclServer[];
470
- }
471
-
472
- export interface TpEclCCServers {
473
- TpEclServer: TpEclServer[];
474
- }
475
-
476
- export interface TpEclScheduler {
477
- Name: string;
478
- Description: string;
479
- Build: string;
480
- LogDirectory: string;
481
- Type: string;
482
- Path: string;
483
- TpMachines: TpMachines;
484
- }
485
-
486
- export interface TpEclSchedulers {
487
- TpEclScheduler: TpEclScheduler[];
488
- }
489
-
490
- export interface TpBinding {
491
- Name: string;
492
- Service: string;
493
- ServiceType: string;
494
- BindingType: string;
495
- ServiceBuildSet: string;
496
- Port: string;
497
- Protocol: string;
498
- }
499
-
500
- export interface TpBindings {
501
- TpBinding: TpBinding[];
502
- }
503
-
504
- export interface TpEspServer {
505
- Name: string;
506
- Description: string;
507
- Build: string;
508
- Type: string;
509
- Path: string;
510
- LogDirectory: string;
511
- TpMachines: TpMachines;
512
- TpBindings: {
513
- TpBinding: TpBinding[];
514
- };
515
- }
516
-
517
- export interface TpEspServers {
518
- TpEspServer: TpEspServer[];
519
- }
520
-
521
- export interface TpFTSlave {
522
- Name: string;
523
- Description: string;
524
- Build: string;
525
- Path: string;
526
- TpMachines: TpMachines;
527
- }
528
-
529
- export interface TpFTSlaves {
530
- TpFTSlave: TpFTSlave[];
531
- }
532
-
533
- export interface TpGenesisServer {
534
- Name: string;
535
- Description: string;
536
- Build: string;
537
- Path: string;
538
- TpMachines: TpMachines;
539
- }
540
-
541
- export interface TpGenesisServers {
542
- TpGenesisServer: TpGenesisServer[];
543
- }
544
-
545
- export interface TpLdapServer {
546
- Name: string;
547
- Description: string;
548
- Build: string;
549
- Path: string;
550
- TpMachines: TpMachines;
551
- }
552
-
553
- export interface TpLdapServers {
554
- TpLdapServer: TpLdapServer[];
555
- }
556
-
557
- export interface TpMySqlServer {
558
- Name: string;
559
- Description: string;
560
- Build: string;
561
- Path: string;
562
- TpMachines: TpMachines;
563
- }
564
-
565
- export interface TpMySqlServers {
566
- TpMySqlServer: TpMySqlServer[];
567
- }
568
-
569
- export interface TpSashaServer {
570
- Name: string;
571
- Description: string;
572
- Build: string;
573
- Path: string;
574
- LogDirectory: string;
575
- TpMachines: TpMachines;
576
- }
577
-
578
- export interface TpSashaServers {
579
- TpSashaServer: TpSashaServer[];
580
- }
581
-
582
- export interface TpSparkThor {
583
- Name: string;
584
- Build: string;
585
- ThorClusterName: string;
586
- ThorPath: string;
587
- SparkExecutorCores: unsignedInt;
588
- SparkExecutorMemory: long;
589
- SparkMasterPort: unsignedInt;
590
- SparkMasterWebUIPort: unsignedInt;
591
- SparkWorkerCores: unsignedInt;
592
- SparkWorkerMemory: long;
593
- SparkWorkerPort: unsignedInt;
594
- LogDirectory: string;
595
- Path: string;
596
- TpMachines: TpMachines;
597
- }
598
-
599
- export interface TpSparkThors {
600
- TpSparkThor: TpSparkThor[];
601
- }
602
-
603
- export interface ServiceList {
604
- TpDalis: {
605
- TpDali: TpDali[];
606
- };
607
- TpDfuServers: {
608
- TpDfuServer: TpDfuServer[];
609
- };
610
- TpDkcSlaves: {
611
- TpDkcSlave: TpDkcSlave[];
612
- };
613
- TpDropZones: TpDropZones;
614
- TpEclAgents: {
615
- TpEclAgent: TpEclAgent[];
616
- };
617
- TpEclServers: {
618
- TpEclServer: TpEclServer[];
619
- };
620
- TpEclCCServers: {
621
- TpEclServer: TpEclServer[];
622
- };
623
- TpEclSchedulers: {
624
- TpEclScheduler: TpEclScheduler[];
625
- };
626
- TpEspServers: {
627
- TpEspServer: TpEspServer[];
628
- };
629
- TpFTSlaves: {
630
- TpFTSlave: TpFTSlave[];
631
- };
632
- TpGenesisServers: {
633
- TpGenesisServer: TpGenesisServer[];
634
- };
635
- TpLdapServers: {
636
- TpLdapServer: TpLdapServer[];
637
- };
638
- TpMySqlServers: {
639
- TpMySqlServer: TpMySqlServer[];
640
- };
641
- TpSashaServers: {
642
- TpSashaServer: TpSashaServer[];
643
- };
644
- TpSparkThors: {
645
- TpSparkThor: TpSparkThor[];
646
- };
647
- }
648
-
649
- export interface TpServiceQueryResponse {
650
- Exceptions: Exceptions;
651
- MemThreshold: int;
652
- DiskThreshold: int;
653
- CpuThreshold: int;
654
- EncapsulatedSystem: boolean;
655
- EnableSNMP: boolean;
656
- PreflightProcessFilter: string;
657
- AcceptLanguage: string;
658
- MemThresholdType: string;
659
- DiskThresholdType: string;
660
- ServiceList: {
661
- TpDalis: {
662
- TpDali: TpDali[];
663
- };
664
- TpDfuServers: {
665
- TpDfuServer: TpDfuServer[];
666
- };
667
- TpDkcSlaves: {
668
- TpDkcSlave: TpDkcSlave[];
669
- };
670
- TpDropZones: TpDropZones;
671
- TpEclAgents: {
672
- TpEclAgent: TpEclAgent[];
673
- };
674
- TpEclServers: {
675
- TpEclServer: TpEclServer[];
676
- };
677
- TpEclCCServers: {
678
- TpEclServer: TpEclServer[];
679
- };
680
- TpEclSchedulers: {
681
- TpEclScheduler: TpEclScheduler[];
682
- };
683
- TpEspServers: {
684
- TpEspServer: TpEspServer[];
685
- };
686
- TpFTSlaves: {
687
- TpFTSlave: TpFTSlave[];
688
- };
689
- TpGenesisServers: {
690
- TpGenesisServer: TpGenesisServer[];
691
- };
692
- TpLdapServers: {
693
- TpLdapServer: TpLdapServer[];
694
- };
695
- TpMySqlServers: {
696
- TpMySqlServer: TpMySqlServer[];
697
- };
698
- TpSashaServers: {
699
- TpSashaServer: TpSashaServer[];
700
- };
701
- TpSparkThors: {
702
- TpSparkThor: TpSparkThor[];
703
- };
704
- };
705
- }
706
-
707
- export interface TpSetMachineStatusRequest {
708
- MachinePath?: string;
709
- StatusValue?: string;
710
- }
711
-
712
- export interface TpSetMachineStatusResponse {
713
- Exceptions: Exceptions;
714
- TpSetMachineStatusResult: boolean;
715
- }
716
-
717
- export interface TpSwapNodeRequest {
718
- Cluster?: string;
719
- OldIP?: string;
720
- NewIP?: string;
721
- }
722
-
723
- export interface TpSwapNodeResponse {
724
- Exceptions: Exceptions;
725
- TpSwapNodeResult: boolean;
726
- }
727
-
728
- export interface TpTargetClusterQueryRequest {
729
- Type?: string;
730
- Name?: string;
731
- ShowDetails?: boolean;
732
- }
733
-
734
- export interface TpTargetCluster {
735
- Name: string;
736
- Prefix: string;
737
- Type: string;
738
- TpClusters: TpClusters;
739
- TpEclCCServers: TpEclCCServers;
740
- TpEclServers: TpEclServers;
741
- TpEclAgents: TpEclAgents;
742
- TpEclSchedulers: TpEclSchedulers;
743
- }
744
-
745
- export interface TpTargetClusters {
746
- TpTargetCluster: TpTargetCluster[];
747
- }
748
-
749
- export interface TpTargetClusterQueryResponse {
750
- Exceptions: Exceptions;
751
- ShowDetails: boolean;
752
- MemThreshold: int;
753
- DiskThreshold: int;
754
- CpuThreshold: int;
755
- MemThresholdType: string;
756
- DiskThresholdType: string;
757
- PreflightProcessFilter: string;
758
- AcceptLanguage: string;
759
- TpTargetClusters: {
760
- TpTargetCluster: TpTargetCluster[];
761
- };
762
- }
763
-
764
- export interface TpThorStatusRequest {
765
- Name?: string;
766
- }
767
-
768
- export interface TpThorStatusResponse {
769
- Exceptions: Exceptions;
770
- Name: string;
771
- Queue: string;
772
- Group: string;
773
- ThorMasterIPAddress: string;
774
- Port: int;
775
- StartTime: string;
776
- LogFile: string;
777
- Wuid: string;
778
- Graph: string;
779
- SubGraph: int;
780
- SubGraphDuration: int;
781
- AutoRefresh: int;
782
- }
783
-
784
- export interface TpXMLFileRequest {
785
- Name?: string;
786
- }
787
-
788
- export interface TpXMLFileResponse {
789
- Exceptions: Exceptions;
790
- thefile: base64Binary;
791
- }
792
-
793
- }
794
-
795
- export class TopologyServiceBase extends Service {
796
-
797
- constructor(optsConnection: IOptions | IConnection) {
798
- super(optsConnection, "WsTopology", "1.32");
799
- }
800
-
801
- Ping(request: WsTopology.WsTopologyPingRequest): Promise<WsTopology.WsTopologyPingResponse> {
802
- return this._connection.send("Ping", request, "json", false, undefined, "WsTopologyPingResponse");
803
- }
804
-
805
- SystemLog(request: WsTopology.SystemLogRequest): Promise<WsTopology.SystemLogResponse> {
806
- return this._connection.send("SystemLog", request, "json", false, undefined, "SystemLogResponse");
807
- }
808
-
809
- TpClusterInfo(request: WsTopology.TpClusterInfoRequest): Promise<WsTopology.TpClusterInfoResponse> {
810
- return this._connection.send("TpClusterInfo", request, "json", false, undefined, "TpClusterInfoResponse");
811
- }
812
-
813
- TpClusterQuery(request: WsTopology.TpClusterQueryRequest): Promise<WsTopology.TpClusterQueryResponse> {
814
- return this._connection.send("TpClusterQuery", request, "json", false, undefined, "TpClusterQueryResponse");
815
- }
816
-
817
- TpDropZoneQuery(request: WsTopology.TpDropZoneQueryRequest): Promise<WsTopology.TpDropZoneQueryResponse> {
818
- return this._connection.send("TpDropZoneQuery", request, "json", false, undefined, "TpDropZoneQueryResponse");
819
- }
820
-
821
- TpGetComponentFile(request: WsTopology.TpGetComponentFileRequest): Promise<WsTopology.TpGetComponentFileResponse> {
822
- return this._connection.send("TpGetComponentFile", request, "json", false, undefined, "TpGetComponentFileResponse");
823
- }
824
-
825
- TpGetServicePlugins(request: WsTopology.TpGetServicePluginsRequest): Promise<WsTopology.TpGetServicePluginsResponse> {
826
- return this._connection.send("TpGetServicePlugins", request, "json", false, undefined, "TpGetServicePluginsResponse");
827
- }
828
-
829
- TpGroupQuery(request: WsTopology.TpGroupQueryRequest): Promise<WsTopology.TpGroupQueryResponse> {
830
- return this._connection.send("TpGroupQuery", request, "json", false, undefined, "TpGroupQueryResponse");
831
- }
832
-
833
- TpListLogFiles(request: WsTopology.TpListLogFilesRequest): Promise<WsTopology.TpListLogFilesResponse> {
834
- return this._connection.send("TpListLogFiles", request, "json", false, undefined, "TpListLogFilesResponse");
835
- }
836
-
837
- TpListTargetClusters(request: WsTopology.TpListTargetClustersRequest): Promise<WsTopology.TpListTargetClustersResponse> {
838
- return this._connection.send("TpListTargetClusters", request, "json", false, undefined, "TpListTargetClustersResponse");
839
- }
840
-
841
- TpLogFile(request: WsTopology.TpLogFileRequest): Promise<WsTopology.TpLogFileResponse> {
842
- return this._connection.send("TpLogFile", request, "json", false, undefined, "TpLogFileResponse");
843
- }
844
-
845
- TpLogFileDisplay(request: WsTopology.TpLogFileRequest): Promise<WsTopology.TpLogFileResponse> {
846
- return this._connection.send("TpLogFileDisplay", request, "json", false, undefined, "TpLogFileResponse");
847
- }
848
-
849
- TpLogicalClusterQuery(request: WsTopology.TpLogicalClusterQueryRequest): Promise<WsTopology.TpLogicalClusterQueryResponse> {
850
- return this._connection.send("TpLogicalClusterQuery", request, "json", false, undefined, "TpLogicalClusterQueryResponse");
851
- }
852
-
853
- TpMachineInfo(request: WsTopology.TpMachineInfoRequest): Promise<WsTopology.TpMachineInfoResponse> {
854
- return this._connection.send("TpMachineInfo", request, "json", false, undefined, "TpMachineInfoResponse");
855
- }
856
-
857
- TpMachineQuery(request: WsTopology.TpMachineQueryRequest): Promise<WsTopology.TpMachineQueryResponse> {
858
- return this._connection.send("TpMachineQuery", request, "json", false, undefined, "TpMachineQueryResponse");
859
- }
860
-
861
- TpServiceQuery(request: WsTopology.TpServiceQueryRequest): Promise<WsTopology.TpServiceQueryResponse> {
862
- return this._connection.send("TpServiceQuery", request, "json", false, undefined, "TpServiceQueryResponse");
863
- }
864
-
865
- TpSetMachineStatus(request: WsTopology.TpSetMachineStatusRequest): Promise<WsTopology.TpSetMachineStatusResponse> {
866
- return this._connection.send("TpSetMachineStatus", request, "json", false, undefined, "TpSetMachineStatusResponse");
867
- }
868
-
869
- TpSwapNode(request: WsTopology.TpSwapNodeRequest): Promise<WsTopology.TpSwapNodeResponse> {
870
- return this._connection.send("TpSwapNode", request, "json", false, undefined, "TpSwapNodeResponse");
871
- }
872
-
873
- TpTargetClusterQuery(request: WsTopology.TpTargetClusterQueryRequest): Promise<WsTopology.TpTargetClusterQueryResponse> {
874
- return this._connection.send("TpTargetClusterQuery", request, "json", false, undefined, "TpTargetClusterQueryResponse");
875
- }
876
-
877
- TpThorStatus(request: WsTopology.TpThorStatusRequest): Promise<WsTopology.TpThorStatusResponse> {
878
- return this._connection.send("TpThorStatus", request, "json", false, undefined, "TpThorStatusResponse");
879
- }
880
-
881
- TpXMLFile(request: WsTopology.TpXMLFileRequest): Promise<WsTopology.TpXMLFileResponse> {
882
- return this._connection.send("TpXMLFile", request, "json", false, undefined, "TpXMLFileResponse");
883
- }
884
-
885
- }
1
+ import { IConnection, IOptions } from "../../../../connection";
2
+ import { Service } from "../../../../espConnection";
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 TpListLogFilesRequest {
211
+ NetworkAddress?: string;
212
+ Path?: string;
213
+ }
214
+
215
+ export interface LogFileStruct {
216
+ Name: string;
217
+ Path: string;
218
+ Host: string;
219
+ IsDir: boolean;
220
+ FileSize: long;
221
+ Modifiedtime: string;
222
+ }
223
+
224
+ export interface Files {
225
+ LogFileStruct: LogFileStruct[];
226
+ }
227
+
228
+ export interface TpListLogFilesResponse {
229
+ Exceptions: Exceptions;
230
+ Files: {
231
+ LogFileStruct: LogFileStruct[];
232
+ };
233
+ }
234
+
235
+ export interface TpListTargetClustersRequest {
236
+
237
+ }
238
+
239
+ export interface TpClusterNameType {
240
+ Name: string;
241
+ Type: string;
242
+ IsDefault: boolean;
243
+ }
244
+
245
+ export interface TargetClusters {
246
+ TpClusterNameType: TpClusterNameType[];
247
+ }
248
+
249
+ export interface TpListTargetClustersResponse {
250
+ Exceptions: Exceptions;
251
+ TargetClusters: {
252
+ TpClusterNameType: TpClusterNameType[];
253
+ };
254
+ }
255
+
256
+ export interface TpLogFileRequest {
257
+ Name?: string;
258
+ Type?: string;
259
+ LastHours?: int;
260
+ StartDate?: string;
261
+ EndDate?: string;
262
+ FirstRows?: int;
263
+ LastRows?: int;
264
+ FilterType?: int;
265
+ Reversely?: boolean;
266
+ Zip?: boolean;
267
+ PageNumber?: int;
268
+ LoadData?: boolean;
269
+ IncludeLogFieldNames?: boolean;
270
+ }
271
+
272
+ export interface LogFieldNames {
273
+ Item: string[];
274
+ }
275
+
276
+ export interface TpLogFileResponse {
277
+ Exceptions: Exceptions;
278
+ Name: string;
279
+ Type: string;
280
+ StartDate: string;
281
+ EndDate: string;
282
+ LastHours: int;
283
+ FirstRows: int;
284
+ LastRows: int;
285
+ Reversely: boolean;
286
+ Zip: boolean;
287
+ FilterType: int;
288
+ LogData: string;
289
+ HasDate: boolean;
290
+ FileSize: long;
291
+ PageFrom: long;
292
+ PageTo: long;
293
+ PageNumber: int;
294
+ PrevPage: int;
295
+ NextPage: int;
296
+ TotalPages: int;
297
+ AcceptLanguage: string;
298
+ LogFieldNames: {
299
+ Item: string[];
300
+ };
301
+ }
302
+
303
+ export interface TpLogicalClusterQueryRequest {
304
+ EclServerQueue?: string;
305
+ RoxieQueueFilter?: RoxieQueueFilter;
306
+ }
307
+
308
+ export interface TpLogicalCluster {
309
+ Name: string;
310
+ Queue: string;
311
+ LanguageVersion: string;
312
+ Process: string;
313
+ Type: string;
314
+ QueriesOnly: boolean;
315
+ }
316
+
317
+ export interface TpLogicalClusters {
318
+ TpLogicalCluster: TpLogicalCluster[];
319
+ }
320
+
321
+ export interface TpLogicalClusterQueryResponse {
322
+ Exceptions: Exceptions;
323
+ TpLogicalClusters: {
324
+ TpLogicalCluster: TpLogicalCluster[];
325
+ };
326
+ }
327
+
328
+ export interface TpMachineInfoRequest {
329
+ Name?: string;
330
+ NetAddress?: string;
331
+ }
332
+
333
+ export interface MachineInfo {
334
+ Name: string;
335
+ Netaddress: string;
336
+ ConfigNetaddress: string;
337
+ Domain: string;
338
+ Directory: string;
339
+ Type: string;
340
+ Available: string;
341
+ OS: int;
342
+ Path: string;
343
+ Port: int;
344
+ ProcessNumber: int;
345
+ Channels: unsignedInt;
346
+ }
347
+
348
+ export interface TpMachineInfoResponse {
349
+ Exceptions: Exceptions;
350
+ MachineInfo: {
351
+ Name: string;
352
+ Netaddress: string;
353
+ ConfigNetaddress: string;
354
+ Domain: string;
355
+ Directory: string;
356
+ Type: string;
357
+ Available: string;
358
+ OS: int;
359
+ Path: string;
360
+ Port: int;
361
+ ProcessNumber: int;
362
+ Channels: unsignedInt;
363
+ };
364
+ }
365
+
366
+ export interface TpMachineQueryRequest {
367
+ Type?: string;
368
+ Cluster?: string;
369
+ OldIP?: string;
370
+ Path?: string;
371
+ Directory?: string;
372
+ LogDirectory?: string;
373
+ }
374
+
375
+ export interface TpMachineQueryResponse {
376
+ Exceptions: Exceptions;
377
+ EnablePreflightInfo: boolean;
378
+ HasThorSpareProcess: boolean;
379
+ Type: string;
380
+ Cluster: string;
381
+ OldIP: string;
382
+ LogDirectory: string;
383
+ Path: string;
384
+ MemThreshold: int;
385
+ DiskThreshold: int;
386
+ CpuThreshold: int;
387
+ MemThresholdType: string;
388
+ DiskThresholdType: string;
389
+ PreflightProcessFilter: string;
390
+ EnableSNMP: boolean;
391
+ AcceptLanguage: string;
392
+ TpMachines: TpMachines;
393
+ }
394
+
395
+ export interface TpServiceQueryRequest {
396
+ Type?: string;
397
+ }
398
+
399
+ export interface TpDali {
400
+ Name: string;
401
+ Description: string;
402
+ Build: string;
403
+ BackupComputer: string;
404
+ BackupDirectory: string;
405
+ Type: string;
406
+ Path: string;
407
+ LogDirectory: string;
408
+ AuditLogDirectory: string;
409
+ TpMachines: TpMachines;
410
+ }
411
+
412
+ export interface TpDalis {
413
+ TpDali: TpDali[];
414
+ }
415
+
416
+ export interface TpDfuServer {
417
+ Name: string;
418
+ Description: string;
419
+ Build: string;
420
+ Queue: string;
421
+ Type: string;
422
+ Path: string;
423
+ LogDirectory: string;
424
+ TpMachines: TpMachines;
425
+ }
426
+
427
+ export interface TpDfuServers {
428
+ TpDfuServer: TpDfuServer[];
429
+ }
430
+
431
+ export interface TpDkcSlave {
432
+ Name: string;
433
+ Description: string;
434
+ Build: string;
435
+ Path: string;
436
+ TpMachines: TpMachines;
437
+ }
438
+
439
+ export interface TpDkcSlaves {
440
+ TpDkcSlave: TpDkcSlave[];
441
+ }
442
+
443
+ export interface TpEclAgent {
444
+ Name: string;
445
+ Description: string;
446
+ Build: string;
447
+ Type: string;
448
+ Path: string;
449
+ DaliServer: string;
450
+ LogDir: string;
451
+ TpMachines: TpMachines;
452
+ }
453
+
454
+ export interface TpEclAgents {
455
+ TpEclAgent: TpEclAgent[];
456
+ }
457
+
458
+ export interface TpEclServer {
459
+ Name: string;
460
+ Description: string;
461
+ Build: string;
462
+ LogDirectory: string;
463
+ Type: string;
464
+ Path: string;
465
+ TpMachines: TpMachines;
466
+ }
467
+
468
+ export interface TpEclServers {
469
+ TpEclServer: TpEclServer[];
470
+ }
471
+
472
+ export interface TpEclCCServers {
473
+ TpEclServer: TpEclServer[];
474
+ }
475
+
476
+ export interface TpEclScheduler {
477
+ Name: string;
478
+ Description: string;
479
+ Build: string;
480
+ LogDirectory: string;
481
+ Type: string;
482
+ Path: string;
483
+ TpMachines: TpMachines;
484
+ }
485
+
486
+ export interface TpEclSchedulers {
487
+ TpEclScheduler: TpEclScheduler[];
488
+ }
489
+
490
+ export interface TpBinding {
491
+ Name: string;
492
+ Service: string;
493
+ ServiceType: string;
494
+ BindingType: string;
495
+ ServiceBuildSet: string;
496
+ Port: string;
497
+ Protocol: string;
498
+ }
499
+
500
+ export interface TpBindings {
501
+ TpBinding: TpBinding[];
502
+ }
503
+
504
+ export interface TpEspServer {
505
+ Name: string;
506
+ Description: string;
507
+ Build: string;
508
+ Type: string;
509
+ Path: string;
510
+ LogDirectory: string;
511
+ TpMachines: TpMachines;
512
+ TpBindings: {
513
+ TpBinding: TpBinding[];
514
+ };
515
+ }
516
+
517
+ export interface TpEspServers {
518
+ TpEspServer: TpEspServer[];
519
+ }
520
+
521
+ export interface TpFTSlave {
522
+ Name: string;
523
+ Description: string;
524
+ Build: string;
525
+ Path: string;
526
+ TpMachines: TpMachines;
527
+ }
528
+
529
+ export interface TpFTSlaves {
530
+ TpFTSlave: TpFTSlave[];
531
+ }
532
+
533
+ export interface TpGenesisServer {
534
+ Name: string;
535
+ Description: string;
536
+ Build: string;
537
+ Path: string;
538
+ TpMachines: TpMachines;
539
+ }
540
+
541
+ export interface TpGenesisServers {
542
+ TpGenesisServer: TpGenesisServer[];
543
+ }
544
+
545
+ export interface TpLdapServer {
546
+ Name: string;
547
+ Description: string;
548
+ Build: string;
549
+ Path: string;
550
+ TpMachines: TpMachines;
551
+ }
552
+
553
+ export interface TpLdapServers {
554
+ TpLdapServer: TpLdapServer[];
555
+ }
556
+
557
+ export interface TpMySqlServer {
558
+ Name: string;
559
+ Description: string;
560
+ Build: string;
561
+ Path: string;
562
+ TpMachines: TpMachines;
563
+ }
564
+
565
+ export interface TpMySqlServers {
566
+ TpMySqlServer: TpMySqlServer[];
567
+ }
568
+
569
+ export interface TpSashaServer {
570
+ Name: string;
571
+ Description: string;
572
+ Build: string;
573
+ Path: string;
574
+ LogDirectory: string;
575
+ TpMachines: TpMachines;
576
+ }
577
+
578
+ export interface TpSashaServers {
579
+ TpSashaServer: TpSashaServer[];
580
+ }
581
+
582
+ export interface TpSparkThor {
583
+ Name: string;
584
+ Build: string;
585
+ ThorClusterName: string;
586
+ ThorPath: string;
587
+ SparkExecutorCores: unsignedInt;
588
+ SparkExecutorMemory: long;
589
+ SparkMasterPort: unsignedInt;
590
+ SparkMasterWebUIPort: unsignedInt;
591
+ SparkWorkerCores: unsignedInt;
592
+ SparkWorkerMemory: long;
593
+ SparkWorkerPort: unsignedInt;
594
+ LogDirectory: string;
595
+ Path: string;
596
+ TpMachines: TpMachines;
597
+ }
598
+
599
+ export interface TpSparkThors {
600
+ TpSparkThor: TpSparkThor[];
601
+ }
602
+
603
+ export interface ServiceList {
604
+ TpDalis: {
605
+ TpDali: TpDali[];
606
+ };
607
+ TpDfuServers: {
608
+ TpDfuServer: TpDfuServer[];
609
+ };
610
+ TpDkcSlaves: {
611
+ TpDkcSlave: TpDkcSlave[];
612
+ };
613
+ TpDropZones: TpDropZones;
614
+ TpEclAgents: {
615
+ TpEclAgent: TpEclAgent[];
616
+ };
617
+ TpEclServers: {
618
+ TpEclServer: TpEclServer[];
619
+ };
620
+ TpEclCCServers: {
621
+ TpEclServer: TpEclServer[];
622
+ };
623
+ TpEclSchedulers: {
624
+ TpEclScheduler: TpEclScheduler[];
625
+ };
626
+ TpEspServers: {
627
+ TpEspServer: TpEspServer[];
628
+ };
629
+ TpFTSlaves: {
630
+ TpFTSlave: TpFTSlave[];
631
+ };
632
+ TpGenesisServers: {
633
+ TpGenesisServer: TpGenesisServer[];
634
+ };
635
+ TpLdapServers: {
636
+ TpLdapServer: TpLdapServer[];
637
+ };
638
+ TpMySqlServers: {
639
+ TpMySqlServer: TpMySqlServer[];
640
+ };
641
+ TpSashaServers: {
642
+ TpSashaServer: TpSashaServer[];
643
+ };
644
+ TpSparkThors: {
645
+ TpSparkThor: TpSparkThor[];
646
+ };
647
+ }
648
+
649
+ export interface TpServiceQueryResponse {
650
+ Exceptions: Exceptions;
651
+ MemThreshold: int;
652
+ DiskThreshold: int;
653
+ CpuThreshold: int;
654
+ EncapsulatedSystem: boolean;
655
+ EnableSNMP: boolean;
656
+ PreflightProcessFilter: string;
657
+ AcceptLanguage: string;
658
+ MemThresholdType: string;
659
+ DiskThresholdType: string;
660
+ ServiceList: {
661
+ TpDalis: {
662
+ TpDali: TpDali[];
663
+ };
664
+ TpDfuServers: {
665
+ TpDfuServer: TpDfuServer[];
666
+ };
667
+ TpDkcSlaves: {
668
+ TpDkcSlave: TpDkcSlave[];
669
+ };
670
+ TpDropZones: TpDropZones;
671
+ TpEclAgents: {
672
+ TpEclAgent: TpEclAgent[];
673
+ };
674
+ TpEclServers: {
675
+ TpEclServer: TpEclServer[];
676
+ };
677
+ TpEclCCServers: {
678
+ TpEclServer: TpEclServer[];
679
+ };
680
+ TpEclSchedulers: {
681
+ TpEclScheduler: TpEclScheduler[];
682
+ };
683
+ TpEspServers: {
684
+ TpEspServer: TpEspServer[];
685
+ };
686
+ TpFTSlaves: {
687
+ TpFTSlave: TpFTSlave[];
688
+ };
689
+ TpGenesisServers: {
690
+ TpGenesisServer: TpGenesisServer[];
691
+ };
692
+ TpLdapServers: {
693
+ TpLdapServer: TpLdapServer[];
694
+ };
695
+ TpMySqlServers: {
696
+ TpMySqlServer: TpMySqlServer[];
697
+ };
698
+ TpSashaServers: {
699
+ TpSashaServer: TpSashaServer[];
700
+ };
701
+ TpSparkThors: {
702
+ TpSparkThor: TpSparkThor[];
703
+ };
704
+ };
705
+ }
706
+
707
+ export interface TpSetMachineStatusRequest {
708
+ MachinePath?: string;
709
+ StatusValue?: string;
710
+ }
711
+
712
+ export interface TpSetMachineStatusResponse {
713
+ Exceptions: Exceptions;
714
+ TpSetMachineStatusResult: boolean;
715
+ }
716
+
717
+ export interface TpSwapNodeRequest {
718
+ Cluster?: string;
719
+ OldIP?: string;
720
+ NewIP?: string;
721
+ }
722
+
723
+ export interface TpSwapNodeResponse {
724
+ Exceptions: Exceptions;
725
+ TpSwapNodeResult: boolean;
726
+ }
727
+
728
+ export interface TpTargetClusterQueryRequest {
729
+ Type?: string;
730
+ Name?: string;
731
+ ShowDetails?: boolean;
732
+ }
733
+
734
+ export interface TpTargetCluster {
735
+ Name: string;
736
+ Prefix: string;
737
+ Type: string;
738
+ TpClusters: TpClusters;
739
+ TpEclCCServers: TpEclCCServers;
740
+ TpEclServers: TpEclServers;
741
+ TpEclAgents: TpEclAgents;
742
+ TpEclSchedulers: TpEclSchedulers;
743
+ }
744
+
745
+ export interface TpTargetClusters {
746
+ TpTargetCluster: TpTargetCluster[];
747
+ }
748
+
749
+ export interface TpTargetClusterQueryResponse {
750
+ Exceptions: Exceptions;
751
+ ShowDetails: boolean;
752
+ MemThreshold: int;
753
+ DiskThreshold: int;
754
+ CpuThreshold: int;
755
+ MemThresholdType: string;
756
+ DiskThresholdType: string;
757
+ PreflightProcessFilter: string;
758
+ AcceptLanguage: string;
759
+ TpTargetClusters: {
760
+ TpTargetCluster: TpTargetCluster[];
761
+ };
762
+ }
763
+
764
+ export interface TpThorStatusRequest {
765
+ Name?: string;
766
+ }
767
+
768
+ export interface TpThorStatusResponse {
769
+ Exceptions: Exceptions;
770
+ Name: string;
771
+ Queue: string;
772
+ Group: string;
773
+ ThorMasterIPAddress: string;
774
+ Port: int;
775
+ StartTime: string;
776
+ LogFile: string;
777
+ Wuid: string;
778
+ Graph: string;
779
+ SubGraph: int;
780
+ SubGraphDuration: int;
781
+ AutoRefresh: int;
782
+ }
783
+
784
+ export interface TpXMLFileRequest {
785
+ Name?: string;
786
+ }
787
+
788
+ export interface TpXMLFileResponse {
789
+ Exceptions: Exceptions;
790
+ thefile: base64Binary;
791
+ }
792
+
793
+ }
794
+
795
+ export class TopologyServiceBase extends Service {
796
+
797
+ constructor(optsConnection: IOptions | IConnection) {
798
+ super(optsConnection, "WsTopology", "1.32");
799
+ }
800
+
801
+ Ping(request: WsTopology.WsTopologyPingRequest): Promise<WsTopology.WsTopologyPingResponse> {
802
+ return this._connection.send("Ping", request, "json", false, undefined, "WsTopologyPingResponse");
803
+ }
804
+
805
+ SystemLog(request: WsTopology.SystemLogRequest): Promise<WsTopology.SystemLogResponse> {
806
+ return this._connection.send("SystemLog", request, "json", false, undefined, "SystemLogResponse");
807
+ }
808
+
809
+ TpClusterInfo(request: WsTopology.TpClusterInfoRequest): Promise<WsTopology.TpClusterInfoResponse> {
810
+ return this._connection.send("TpClusterInfo", request, "json", false, undefined, "TpClusterInfoResponse");
811
+ }
812
+
813
+ TpClusterQuery(request: WsTopology.TpClusterQueryRequest): Promise<WsTopology.TpClusterQueryResponse> {
814
+ return this._connection.send("TpClusterQuery", request, "json", false, undefined, "TpClusterQueryResponse");
815
+ }
816
+
817
+ TpDropZoneQuery(request: WsTopology.TpDropZoneQueryRequest): Promise<WsTopology.TpDropZoneQueryResponse> {
818
+ return this._connection.send("TpDropZoneQuery", request, "json", false, undefined, "TpDropZoneQueryResponse");
819
+ }
820
+
821
+ TpGetComponentFile(request: WsTopology.TpGetComponentFileRequest): Promise<WsTopology.TpGetComponentFileResponse> {
822
+ return this._connection.send("TpGetComponentFile", request, "json", false, undefined, "TpGetComponentFileResponse");
823
+ }
824
+
825
+ TpGetServicePlugins(request: WsTopology.TpGetServicePluginsRequest): Promise<WsTopology.TpGetServicePluginsResponse> {
826
+ return this._connection.send("TpGetServicePlugins", request, "json", false, undefined, "TpGetServicePluginsResponse");
827
+ }
828
+
829
+ TpGroupQuery(request: WsTopology.TpGroupQueryRequest): Promise<WsTopology.TpGroupQueryResponse> {
830
+ return this._connection.send("TpGroupQuery", request, "json", false, undefined, "TpGroupQueryResponse");
831
+ }
832
+
833
+ TpListLogFiles(request: WsTopology.TpListLogFilesRequest): Promise<WsTopology.TpListLogFilesResponse> {
834
+ return this._connection.send("TpListLogFiles", request, "json", false, undefined, "TpListLogFilesResponse");
835
+ }
836
+
837
+ TpListTargetClusters(request: WsTopology.TpListTargetClustersRequest): Promise<WsTopology.TpListTargetClustersResponse> {
838
+ return this._connection.send("TpListTargetClusters", request, "json", false, undefined, "TpListTargetClustersResponse");
839
+ }
840
+
841
+ TpLogFile(request: WsTopology.TpLogFileRequest): Promise<WsTopology.TpLogFileResponse> {
842
+ return this._connection.send("TpLogFile", request, "json", false, undefined, "TpLogFileResponse");
843
+ }
844
+
845
+ TpLogFileDisplay(request: WsTopology.TpLogFileRequest): Promise<WsTopology.TpLogFileResponse> {
846
+ return this._connection.send("TpLogFileDisplay", request, "json", false, undefined, "TpLogFileResponse");
847
+ }
848
+
849
+ TpLogicalClusterQuery(request: WsTopology.TpLogicalClusterQueryRequest): Promise<WsTopology.TpLogicalClusterQueryResponse> {
850
+ return this._connection.send("TpLogicalClusterQuery", request, "json", false, undefined, "TpLogicalClusterQueryResponse");
851
+ }
852
+
853
+ TpMachineInfo(request: WsTopology.TpMachineInfoRequest): Promise<WsTopology.TpMachineInfoResponse> {
854
+ return this._connection.send("TpMachineInfo", request, "json", false, undefined, "TpMachineInfoResponse");
855
+ }
856
+
857
+ TpMachineQuery(request: WsTopology.TpMachineQueryRequest): Promise<WsTopology.TpMachineQueryResponse> {
858
+ return this._connection.send("TpMachineQuery", request, "json", false, undefined, "TpMachineQueryResponse");
859
+ }
860
+
861
+ TpServiceQuery(request: WsTopology.TpServiceQueryRequest): Promise<WsTopology.TpServiceQueryResponse> {
862
+ return this._connection.send("TpServiceQuery", request, "json", false, undefined, "TpServiceQueryResponse");
863
+ }
864
+
865
+ TpSetMachineStatus(request: WsTopology.TpSetMachineStatusRequest): Promise<WsTopology.TpSetMachineStatusResponse> {
866
+ return this._connection.send("TpSetMachineStatus", request, "json", false, undefined, "TpSetMachineStatusResponse");
867
+ }
868
+
869
+ TpSwapNode(request: WsTopology.TpSwapNodeRequest): Promise<WsTopology.TpSwapNodeResponse> {
870
+ return this._connection.send("TpSwapNode", request, "json", false, undefined, "TpSwapNodeResponse");
871
+ }
872
+
873
+ TpTargetClusterQuery(request: WsTopology.TpTargetClusterQueryRequest): Promise<WsTopology.TpTargetClusterQueryResponse> {
874
+ return this._connection.send("TpTargetClusterQuery", request, "json", false, undefined, "TpTargetClusterQueryResponse");
875
+ }
876
+
877
+ TpThorStatus(request: WsTopology.TpThorStatusRequest): Promise<WsTopology.TpThorStatusResponse> {
878
+ return this._connection.send("TpThorStatus", request, "json", false, undefined, "TpThorStatusResponse");
879
+ }
880
+
881
+ TpXMLFile(request: WsTopology.TpXMLFileRequest): Promise<WsTopology.TpXMLFileResponse> {
882
+ return this._connection.send("TpXMLFile", request, "json", false, undefined, "TpXMLFileResponse");
883
+ }
884
+
885
+ }