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