@hpcc-js/comms 2.68.0 → 2.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es6.js +331 -25
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +334 -25
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js +334 -25
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js +1 -1
- package/dist/index.node.min.js.map +1 -1
- package/lib-es6/__package__.js +2 -2
- package/lib-es6/__package__.js.map +1 -1
- package/lib-es6/ecl/machine.js +13 -3
- package/lib-es6/ecl/machine.js.map +1 -1
- package/lib-es6/ecl/targetCluster.js +4 -4
- package/lib-es6/ecl/targetCluster.js.map +1 -1
- package/lib-es6/ecl/workunit.js +3 -0
- package/lib-es6/ecl/workunit.js.map +1 -1
- package/lib-es6/index-common.js +3 -0
- package/lib-es6/index-common.js.map +1 -1
- package/lib-es6/services/wsAccess.js +11 -0
- package/lib-es6/services/wsAccess.js.map +1 -0
- package/lib-es6/services/wsDFU.js +1 -1
- package/lib-es6/services/wsDFU.js.map +1 -1
- package/lib-es6/services/wsLogaccess.js +11 -0
- package/lib-es6/services/wsLogaccess.js.map +1 -0
- package/lib-es6/services/wsMachine.js +12 -23
- package/lib-es6/services/wsMachine.js.map +1 -1
- package/lib-es6/services/wsResources.js +11 -0
- package/lib-es6/services/wsResources.js.map +1 -0
- package/lib-es6/services/wsdl/WsLogaccess/v1/WsLogaccess.js +28 -0
- package/lib-es6/services/wsdl/WsLogaccess/v1/WsLogaccess.js.map +1 -0
- package/lib-es6/services/wsdl/WsResources/v1.01/WsResources.js +20 -0
- package/lib-es6/services/wsdl/WsResources/v1.01/WsResources.js.map +1 -0
- package/lib-es6/services/wsdl/ws_access/v1.16/ws_access.js +203 -0
- package/lib-es6/services/wsdl/ws_access/v1.16/ws_access.js.map +1 -0
- package/lib-es6/services/wsdl/ws_machine/v1.17/ws_machine.js +41 -0
- package/lib-es6/services/wsdl/ws_machine/v1.17/ws_machine.js.map +1 -0
- package/package.json +20 -6
- package/src/__package__.ts +2 -2
- package/src/ecl/machine.ts +15 -13
- package/src/ecl/targetCluster.ts +10 -10
- package/src/ecl/workunit.ts +3 -0
- package/src/index-common.ts +3 -0
- package/src/services/wsAccess.ts +8 -0
- package/src/services/wsDFU.ts +3 -2
- package/src/services/wsLogaccess.ts +8 -0
- package/src/services/wsMachine.ts +17 -293
- package/src/services/wsResources.ts +8 -0
- package/src/services/wsdl/WsLogaccess/v1/WsLogaccess.ts +78 -0
- package/src/services/wsdl/WsResources/v1.01/WsResources.ts +119 -0
- package/src/services/wsdl/ws_access/v1.16/ws_access.ts +1086 -0
- package/src/services/wsdl/ws_machine/v1.17/ws_machine.ts +567 -0
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types/ecl/machine.d.ts +12 -10
- package/types/ecl/machine.d.ts.map +1 -1
- package/types/ecl/targetCluster.d.ts +6 -6
- package/types/ecl/targetCluster.d.ts.map +1 -1
- package/types/ecl/workunit.d.ts.map +1 -1
- package/types/index-common.d.ts +3 -0
- package/types/index-common.d.ts.map +1 -1
- package/types/services/wsAccess.d.ts +5 -0
- package/types/services/wsAccess.d.ts.map +1 -0
- package/types/services/wsDFU.d.ts +2 -1
- package/types/services/wsDFU.d.ts.map +1 -1
- package/types/services/wsLogaccess.d.ts +5 -0
- package/types/services/wsLogaccess.d.ts.map +1 -0
- package/types/services/wsMachine.d.ts +9 -235
- package/types/services/wsMachine.d.ts.map +1 -1
- package/types/services/wsResources.d.ts +5 -0
- package/types/services/wsResources.d.ts.map +1 -0
- package/types/services/wsdl/WsLogaccess/v1/WsLogaccess.d.ts +51 -0
- package/types/services/wsdl/WsLogaccess/v1/WsLogaccess.d.ts.map +1 -0
- package/types/services/wsdl/WsResources/v1.01/WsResources.d.ts +85 -0
- package/types/services/wsdl/WsResources/v1.01/WsResources.d.ts.map +1 -0
- package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts +778 -0
- package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts.map +1 -0
- package/types/services/wsdl/ws_machine/v1.17/ws_machine.d.ts +470 -0
- package/types/services/wsdl/ws_machine/v1.17/ws_machine.d.ts.map +1 -0
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/ecl/machine.d.ts +12 -10
- package/types-3.4/ecl/targetCluster.d.ts +6 -6
- package/types-3.4/index-common.d.ts +3 -0
- package/types-3.4/services/wsAccess.d.ts +5 -0
- package/types-3.4/services/wsDFU.d.ts +2 -1
- package/types-3.4/services/wsLogaccess.d.ts +5 -0
- package/types-3.4/services/wsMachine.d.ts +9 -235
- package/types-3.4/services/wsResources.d.ts +5 -0
- package/types-3.4/services/wsdl/WsLogaccess/v1/WsLogaccess.d.ts +51 -0
- package/types-3.4/services/wsdl/WsResources/v1.01/WsResources.d.ts +85 -0
- package/types-3.4/services/wsdl/ws_access/v1.16/ws_access.d.ts +778 -0
- package/types-3.4/services/wsdl/ws_machine/v1.17/ws_machine.d.ts +470 -0
|
@@ -0,0 +1,567 @@
|
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
|
|
4
|
+
type int = number;
|
|
5
|
+
type long = number;
|
|
6
|
+
type unsignedInt = number;
|
|
7
|
+
|
|
8
|
+
export namespace WsMachine {
|
|
9
|
+
|
|
10
|
+
export interface GetComponentStatusRequest {
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface Exception {
|
|
15
|
+
Code: string;
|
|
16
|
+
Audience: string;
|
|
17
|
+
Source: string;
|
|
18
|
+
Message: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface Exceptions {
|
|
22
|
+
Source: string;
|
|
23
|
+
Exception: Exception[];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface StatusReport {
|
|
27
|
+
StatusID: int;
|
|
28
|
+
Status: string;
|
|
29
|
+
StatusDetails: string;
|
|
30
|
+
Reporter: string;
|
|
31
|
+
TimeReported: long;
|
|
32
|
+
TimeReportedStr: string;
|
|
33
|
+
TimeCached: string;
|
|
34
|
+
URL: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface StatusReports {
|
|
38
|
+
StatusReport: StatusReport[];
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface ComponentStatus {
|
|
42
|
+
ComponentTypeID: int;
|
|
43
|
+
ComponentType: string;
|
|
44
|
+
EndPoint: string;
|
|
45
|
+
StatusID: int;
|
|
46
|
+
Status: string;
|
|
47
|
+
TimeReported: long;
|
|
48
|
+
TimeReportedStr: string;
|
|
49
|
+
Reporter: string;
|
|
50
|
+
StatusReports: {
|
|
51
|
+
StatusReport: StatusReport[];
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface ComponentStatusList {
|
|
56
|
+
ComponentStatus: ComponentStatus[];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface GetComponentStatusResponse {
|
|
60
|
+
Exceptions: {
|
|
61
|
+
Source: string;
|
|
62
|
+
Exception: Exception[];
|
|
63
|
+
};
|
|
64
|
+
StatusCode: int;
|
|
65
|
+
Status: string;
|
|
66
|
+
ComponentType: string;
|
|
67
|
+
EndPoint: string;
|
|
68
|
+
ComponentStatusID: int;
|
|
69
|
+
ComponentStatus: string;
|
|
70
|
+
TimeReported: long;
|
|
71
|
+
TimeReportedStr: string;
|
|
72
|
+
Reporter: string;
|
|
73
|
+
StatusReport: {
|
|
74
|
+
StatusID: int;
|
|
75
|
+
Status: string;
|
|
76
|
+
StatusDetails: string;
|
|
77
|
+
Reporter: string;
|
|
78
|
+
TimeReported: long;
|
|
79
|
+
TimeReportedStr: string;
|
|
80
|
+
TimeCached: string;
|
|
81
|
+
URL: string;
|
|
82
|
+
};
|
|
83
|
+
ComponentStatusList: {
|
|
84
|
+
ComponentStatus: ComponentStatus[];
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export interface Component {
|
|
89
|
+
Type: string;
|
|
90
|
+
Name: string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export interface Components {
|
|
94
|
+
Component: Component[];
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface GetComponentUsageRequest {
|
|
98
|
+
Components?: {
|
|
99
|
+
Component?: Component[];
|
|
100
|
+
};
|
|
101
|
+
BypassCachedResult?: boolean;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface DiskUsage {
|
|
105
|
+
Name: string;
|
|
106
|
+
Path: string;
|
|
107
|
+
Description: string;
|
|
108
|
+
InUse: long;
|
|
109
|
+
Available: long;
|
|
110
|
+
PercentAvailable: int;
|
|
111
|
+
Exception: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface DiskUsages {
|
|
115
|
+
DiskUsage: DiskUsage[];
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export interface MachineUsage {
|
|
119
|
+
Name: string;
|
|
120
|
+
NetAddress: string;
|
|
121
|
+
Description: string;
|
|
122
|
+
Exception: string;
|
|
123
|
+
DiskUsages: {
|
|
124
|
+
DiskUsage: DiskUsage[];
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export interface MachineUsages {
|
|
129
|
+
MachineUsage: MachineUsage[];
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export interface ComponentUsage {
|
|
133
|
+
Type: string;
|
|
134
|
+
Name: string;
|
|
135
|
+
Description: string;
|
|
136
|
+
Exception: string;
|
|
137
|
+
MachineUsages: {
|
|
138
|
+
MachineUsage: MachineUsage[];
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface ComponentUsages {
|
|
143
|
+
ComponentUsage: ComponentUsage[];
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export interface GetComponentUsageResponse {
|
|
147
|
+
Exceptions: Exceptions;
|
|
148
|
+
ComponentUsages: {
|
|
149
|
+
ComponentUsage: ComponentUsage[];
|
|
150
|
+
};
|
|
151
|
+
UsageTime: string;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export interface Addresses {
|
|
155
|
+
Item: string[];
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export interface GetMachineInfoRequest {
|
|
159
|
+
Addresses?: {
|
|
160
|
+
Item?: string[];
|
|
161
|
+
};
|
|
162
|
+
ClusterType?: string;
|
|
163
|
+
Cluster?: string;
|
|
164
|
+
OldIP?: string;
|
|
165
|
+
Path?: string;
|
|
166
|
+
AddProcessesToFilter?: string;
|
|
167
|
+
ApplyProcessFilter?: boolean;
|
|
168
|
+
GetProcessorInfo?: boolean;
|
|
169
|
+
GetStorageInfo?: boolean;
|
|
170
|
+
LocalFileSystemsOnly?: boolean;
|
|
171
|
+
GetSoftwareInfo?: boolean;
|
|
172
|
+
MemThreshold?: int;
|
|
173
|
+
DiskThreshold?: int;
|
|
174
|
+
CpuThreshold?: int;
|
|
175
|
+
AutoRefresh?: int;
|
|
176
|
+
MemThresholdType?: string;
|
|
177
|
+
DiskThresholdType?: string;
|
|
178
|
+
UserName?: string;
|
|
179
|
+
Password?: string;
|
|
180
|
+
SecurityString?: string;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export interface RequestInfo {
|
|
184
|
+
Addresses: Addresses;
|
|
185
|
+
ClusterType: string;
|
|
186
|
+
Cluster: string;
|
|
187
|
+
OldIP: string;
|
|
188
|
+
Path: string;
|
|
189
|
+
AddProcessesToFilter: string;
|
|
190
|
+
ApplyProcessFilter: boolean;
|
|
191
|
+
GetProcessorInfo: boolean;
|
|
192
|
+
GetStorageInfo: boolean;
|
|
193
|
+
LocalFileSystemsOnly: boolean;
|
|
194
|
+
GetSoftwareInfo: boolean;
|
|
195
|
+
MemThreshold: int;
|
|
196
|
+
DiskThreshold: int;
|
|
197
|
+
CpuThreshold: int;
|
|
198
|
+
AutoRefresh: int;
|
|
199
|
+
MemThresholdType: string;
|
|
200
|
+
DiskThresholdType: string;
|
|
201
|
+
SecurityString: string;
|
|
202
|
+
UserName: string;
|
|
203
|
+
Password: string;
|
|
204
|
+
EnableSNMP: boolean;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export interface Columns {
|
|
208
|
+
Item: string[];
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export interface ProcessorInfo {
|
|
212
|
+
Type: string;
|
|
213
|
+
Load: int;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export interface Processors {
|
|
217
|
+
ProcessorInfo: ProcessorInfo[];
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export interface StorageInfo {
|
|
221
|
+
Description: string;
|
|
222
|
+
Type: string;
|
|
223
|
+
Available: long;
|
|
224
|
+
PercentAvail: int;
|
|
225
|
+
Total: long;
|
|
226
|
+
Failures: int;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export interface Storage {
|
|
230
|
+
StorageInfo: StorageInfo[];
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export interface SWRunInfo {
|
|
234
|
+
Name: string;
|
|
235
|
+
Instances: int;
|
|
236
|
+
State: int;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export interface Running {
|
|
240
|
+
SWRunInfo: SWRunInfo[];
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export interface PhysicalMemory {
|
|
244
|
+
Description: string;
|
|
245
|
+
Type: string;
|
|
246
|
+
Available: long;
|
|
247
|
+
PercentAvail: int;
|
|
248
|
+
Total: long;
|
|
249
|
+
Failures: int;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export interface VirtualMemory {
|
|
253
|
+
Description: string;
|
|
254
|
+
Type: string;
|
|
255
|
+
Available: long;
|
|
256
|
+
PercentAvail: int;
|
|
257
|
+
Total: long;
|
|
258
|
+
Failures: int;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export interface ComponentInfo {
|
|
262
|
+
Condition: int;
|
|
263
|
+
State: int;
|
|
264
|
+
UpTime: string;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export interface MachineInfoEx {
|
|
268
|
+
Address: string;
|
|
269
|
+
ConfigAddress: string;
|
|
270
|
+
Name: string;
|
|
271
|
+
ProcessType: string;
|
|
272
|
+
DisplayType: string;
|
|
273
|
+
Description: string;
|
|
274
|
+
AgentVersion: string;
|
|
275
|
+
Contact: string;
|
|
276
|
+
Location: string;
|
|
277
|
+
UpTime: string;
|
|
278
|
+
ComponentName: string;
|
|
279
|
+
ComponentPath: string;
|
|
280
|
+
RoxieState: string;
|
|
281
|
+
RoxieStateDetails: string;
|
|
282
|
+
OS: int;
|
|
283
|
+
ProcessNumber: int;
|
|
284
|
+
Channels: unsignedInt;
|
|
285
|
+
Processors: {
|
|
286
|
+
ProcessorInfo: ProcessorInfo[];
|
|
287
|
+
};
|
|
288
|
+
Storage: {
|
|
289
|
+
StorageInfo: StorageInfo[];
|
|
290
|
+
};
|
|
291
|
+
Running: {
|
|
292
|
+
SWRunInfo: SWRunInfo[];
|
|
293
|
+
};
|
|
294
|
+
PhysicalMemory: {
|
|
295
|
+
Description: string;
|
|
296
|
+
Type: string;
|
|
297
|
+
Available: long;
|
|
298
|
+
PercentAvail: int;
|
|
299
|
+
Total: long;
|
|
300
|
+
Failures: int;
|
|
301
|
+
};
|
|
302
|
+
VirtualMemory: {
|
|
303
|
+
Description: string;
|
|
304
|
+
Type: string;
|
|
305
|
+
Available: long;
|
|
306
|
+
PercentAvail: int;
|
|
307
|
+
Total: long;
|
|
308
|
+
Failures: int;
|
|
309
|
+
};
|
|
310
|
+
ComponentInfo: {
|
|
311
|
+
Condition: int;
|
|
312
|
+
State: int;
|
|
313
|
+
UpTime: string;
|
|
314
|
+
};
|
|
315
|
+
Exception: string;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export interface Machines {
|
|
319
|
+
MachineInfoEx: MachineInfoEx[];
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export interface GetMachineInfoResponse {
|
|
323
|
+
Exceptions: Exceptions;
|
|
324
|
+
RequestInfo: {
|
|
325
|
+
Addresses: Addresses;
|
|
326
|
+
ClusterType: string;
|
|
327
|
+
Cluster: string;
|
|
328
|
+
OldIP: string;
|
|
329
|
+
Path: string;
|
|
330
|
+
AddProcessesToFilter: string;
|
|
331
|
+
ApplyProcessFilter: boolean;
|
|
332
|
+
GetProcessorInfo: boolean;
|
|
333
|
+
GetStorageInfo: boolean;
|
|
334
|
+
LocalFileSystemsOnly: boolean;
|
|
335
|
+
GetSoftwareInfo: boolean;
|
|
336
|
+
MemThreshold: int;
|
|
337
|
+
DiskThreshold: int;
|
|
338
|
+
CpuThreshold: int;
|
|
339
|
+
AutoRefresh: int;
|
|
340
|
+
MemThresholdType: string;
|
|
341
|
+
DiskThresholdType: string;
|
|
342
|
+
SecurityString: string;
|
|
343
|
+
UserName: string;
|
|
344
|
+
Password: string;
|
|
345
|
+
EnableSNMP: boolean;
|
|
346
|
+
};
|
|
347
|
+
Columns: {
|
|
348
|
+
Item: string[];
|
|
349
|
+
};
|
|
350
|
+
Machines: {
|
|
351
|
+
MachineInfoEx: MachineInfoEx[];
|
|
352
|
+
};
|
|
353
|
+
TimeStamp: string;
|
|
354
|
+
UserName: string;
|
|
355
|
+
Password: string;
|
|
356
|
+
AcceptLanguage: string;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export interface GetMachineInfoRequestEx {
|
|
360
|
+
Addresses: Addresses;
|
|
361
|
+
ClusterType: string;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export interface GetMachineInfoResponseEx {
|
|
365
|
+
Exceptions: Exceptions;
|
|
366
|
+
AcceptLanguage: string;
|
|
367
|
+
Machines: Machines;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export interface ShowColumns {
|
|
371
|
+
Item: string[];
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export interface MetricsRequest {
|
|
375
|
+
SecurityString?: string;
|
|
376
|
+
Addresses?: Addresses;
|
|
377
|
+
ShowColumns?: {
|
|
378
|
+
Item?: string[];
|
|
379
|
+
};
|
|
380
|
+
AutoRefresh?: int;
|
|
381
|
+
SelectAllChecked?: boolean;
|
|
382
|
+
Cluster?: string;
|
|
383
|
+
AutoUpdate?: boolean;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export interface MetricsResponse {
|
|
387
|
+
Exceptions: Exceptions;
|
|
388
|
+
FieldInformation: string;
|
|
389
|
+
Metrics: string;
|
|
390
|
+
AutoRefresh: int;
|
|
391
|
+
Cluster: string;
|
|
392
|
+
SelectAllChecked: boolean;
|
|
393
|
+
AutoUpdate: boolean;
|
|
394
|
+
AcceptLanguage: string;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export interface NodeGroups {
|
|
398
|
+
Item: string[];
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export interface GetNodeGroupUsageRequest {
|
|
402
|
+
NodeGroups?: {
|
|
403
|
+
Item?: string[];
|
|
404
|
+
};
|
|
405
|
+
BypassCachedResult?: boolean;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export interface NodeGroupUsage {
|
|
409
|
+
Name: string;
|
|
410
|
+
Description: string;
|
|
411
|
+
Exception: string;
|
|
412
|
+
ComponentUsages: ComponentUsages;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export interface NodeGroupUsages {
|
|
416
|
+
NodeGroupUsage: NodeGroupUsage[];
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export interface GetNodeGroupUsageResponse {
|
|
420
|
+
Exceptions: Exceptions;
|
|
421
|
+
NodeGroupUsages: {
|
|
422
|
+
NodeGroupUsage: NodeGroupUsage[];
|
|
423
|
+
};
|
|
424
|
+
UsageTime: string;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
export interface TargetClusters {
|
|
428
|
+
Item: string[];
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export interface GetTargetClusterInfoRequest {
|
|
432
|
+
TargetClusters?: {
|
|
433
|
+
Item?: string[];
|
|
434
|
+
};
|
|
435
|
+
AddProcessesToFilter?: string;
|
|
436
|
+
ApplyProcessFilter?: boolean;
|
|
437
|
+
GetProcessorInfo?: boolean;
|
|
438
|
+
GetStorageInfo?: boolean;
|
|
439
|
+
LocalFileSystemsOnly?: boolean;
|
|
440
|
+
GetSoftwareInfo?: boolean;
|
|
441
|
+
MemThreshold?: int;
|
|
442
|
+
DiskThreshold?: int;
|
|
443
|
+
CpuThreshold?: int;
|
|
444
|
+
AutoRefresh?: int;
|
|
445
|
+
MemThresholdType?: string;
|
|
446
|
+
DiskThresholdType?: string;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export interface Processes {
|
|
450
|
+
MachineInfoEx: MachineInfoEx[];
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export interface TargetClusterInfo {
|
|
454
|
+
Name: string;
|
|
455
|
+
Type: string;
|
|
456
|
+
Processes: {
|
|
457
|
+
MachineInfoEx: MachineInfoEx[];
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
export interface TargetClusterInfoList {
|
|
462
|
+
TargetClusterInfo: TargetClusterInfo[];
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export interface GetTargetClusterInfoResponse {
|
|
466
|
+
Exceptions: Exceptions;
|
|
467
|
+
Columns: Columns;
|
|
468
|
+
RequestInfo: RequestInfo;
|
|
469
|
+
TargetClusterInfoList: {
|
|
470
|
+
TargetClusterInfo: TargetClusterInfo[];
|
|
471
|
+
};
|
|
472
|
+
TimeStamp: string;
|
|
473
|
+
AcceptLanguage: string;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export interface GetTargetClusterUsageRequest {
|
|
477
|
+
TargetClusters?: TargetClusters;
|
|
478
|
+
BypassCachedResult?: boolean;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export interface TargetClusterUsage {
|
|
482
|
+
Name: string;
|
|
483
|
+
Description: string;
|
|
484
|
+
Exception: string;
|
|
485
|
+
ComponentUsages: ComponentUsages;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export interface TargetClusterUsages {
|
|
489
|
+
TargetClusterUsage: TargetClusterUsage[];
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export interface GetTargetClusterUsageResponse {
|
|
493
|
+
Exceptions: Exceptions;
|
|
494
|
+
TargetClusterUsages: {
|
|
495
|
+
TargetClusterUsage: TargetClusterUsage[];
|
|
496
|
+
};
|
|
497
|
+
UsageTime: string;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export interface ws_machinePingRequest {
|
|
501
|
+
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export interface ws_machinePingResponse {
|
|
505
|
+
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export interface UpdateComponentStatusRequest {
|
|
509
|
+
Reporter?: string;
|
|
510
|
+
ComponentStatusList?: ComponentStatusList;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
export interface UpdateComponentStatusResponse {
|
|
514
|
+
Exceptions: Exceptions;
|
|
515
|
+
StatusCode: int;
|
|
516
|
+
Status: string;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export class MachineService extends Service {
|
|
522
|
+
|
|
523
|
+
constructor(optsConnection: IOptions | IConnection) {
|
|
524
|
+
super(optsConnection, "ws_machine", "1.17");
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
GetComponentStatus(request: WsMachine.GetComponentStatusRequest): Promise<WsMachine.GetComponentStatusResponse> {
|
|
528
|
+
return this._connection.send("GetComponentStatus", request);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
GetComponentUsage(request: WsMachine.GetComponentUsageRequest): Promise<WsMachine.GetComponentUsageResponse> {
|
|
532
|
+
return this._connection.send("GetComponentUsage", request);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
GetMachineInfo(request: WsMachine.GetMachineInfoRequest): Promise<WsMachine.GetMachineInfoResponse> {
|
|
536
|
+
return this._connection.send("GetMachineInfo", request);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
GetMachineInfoEx(request: WsMachine.GetMachineInfoRequestEx): Promise<WsMachine.GetMachineInfoResponseEx> {
|
|
540
|
+
return this._connection.send("GetMachineInfoEx", request);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
GetMetrics(request: WsMachine.MetricsRequest): Promise<WsMachine.MetricsResponse> {
|
|
544
|
+
return this._connection.send("GetMetrics", request);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
GetNodeGroupUsage(request: WsMachine.GetNodeGroupUsageRequest): Promise<WsMachine.GetNodeGroupUsageResponse> {
|
|
548
|
+
return this._connection.send("GetNodeGroupUsage", request);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
GetTargetClusterInfo(request: WsMachine.GetTargetClusterInfoRequest): Promise<WsMachine.GetTargetClusterInfoResponse> {
|
|
552
|
+
return this._connection.send("GetTargetClusterInfo", request);
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
GetTargetClusterUsage(request: WsMachine.GetTargetClusterUsageRequest): Promise<WsMachine.GetTargetClusterUsageResponse> {
|
|
556
|
+
return this._connection.send("GetTargetClusterUsage", request);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
Ping(request: WsMachine.ws_machinePingRequest): Promise<WsMachine.ws_machinePingResponse> {
|
|
560
|
+
return this._connection.send("Ping", request);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
UpdateComponentStatus(request: WsMachine.UpdateComponentStatusRequest): Promise<WsMachine.UpdateComponentStatusResponse> {
|
|
564
|
+
return this._connection.send("UpdateComponentStatus", request);
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
}
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/comms";
|
|
2
|
-
export declare const PKG_VERSION = "2.
|
|
3
|
-
export declare const BUILD_VERSION = "2.
|
|
2
|
+
export declare const PKG_VERSION = "2.72.0";
|
|
3
|
+
export declare const BUILD_VERSION = "2.101.2";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__package__.d.ts","sourceRoot":"","sources":["../src/__package__.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,mBAAmB,CAAC;AACzC,eAAO,MAAM,WAAW,WAAW,CAAC;AACpC,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"__package__.d.ts","sourceRoot":"","sources":["../src/__package__.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,mBAAmB,CAAC;AACzC,eAAO,MAAM,WAAW,WAAW,CAAC;AACpC,eAAO,MAAM,aAAa,YAAY,CAAC"}
|
package/types/ecl/machine.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Cache, StateObject } from "@hpcc-js/util";
|
|
2
2
|
import { IConnection, IOptions } from "../connection";
|
|
3
|
-
import {
|
|
3
|
+
import { WsMachine, MachineServiceEx } from "../services/wsMachine";
|
|
4
4
|
export declare class MachineCache extends Cache<{
|
|
5
5
|
Address: string;
|
|
6
6
|
}, Machine> {
|
|
7
7
|
constructor();
|
|
8
8
|
}
|
|
9
|
-
export interface MachineInfoEx extends
|
|
9
|
+
export interface MachineInfoEx extends WsMachine.MachineInfoEx {
|
|
10
10
|
}
|
|
11
11
|
export declare class Machine extends StateObject<MachineInfoEx, MachineInfoEx> implements MachineInfoEx {
|
|
12
|
-
protected connection:
|
|
12
|
+
protected connection: MachineServiceEx;
|
|
13
13
|
get Address(): string;
|
|
14
14
|
get ConfigAddress(): string;
|
|
15
15
|
get Name(): string;
|
|
@@ -26,13 +26,15 @@ export declare class Machine extends StateObject<MachineInfoEx, MachineInfoEx> i
|
|
|
26
26
|
get RoxieStateDetails(): string;
|
|
27
27
|
get OS(): number;
|
|
28
28
|
get ProcessNumber(): number;
|
|
29
|
-
get
|
|
30
|
-
get
|
|
31
|
-
get
|
|
32
|
-
get
|
|
33
|
-
get
|
|
34
|
-
get
|
|
35
|
-
|
|
29
|
+
get Channels(): number;
|
|
30
|
+
get Processors(): WsMachine.Processors;
|
|
31
|
+
get Storage(): WsMachine.Storage;
|
|
32
|
+
get Running(): WsMachine.Running;
|
|
33
|
+
get PhysicalMemory(): WsMachine.PhysicalMemory;
|
|
34
|
+
get VirtualMemory(): WsMachine.VirtualMemory;
|
|
35
|
+
get ComponentInfo(): WsMachine.ComponentInfo;
|
|
36
|
+
get Exception(): string;
|
|
37
|
+
static attach(optsConnection: IOptions | IConnection | MachineServiceEx, address: string, state?: WsMachine.MachineInfoEx): Machine;
|
|
36
38
|
private constructor();
|
|
37
39
|
}
|
|
38
40
|
//# sourceMappingURL=machine.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"machine.d.ts","sourceRoot":"","sources":["../../src/ecl/machine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"machine.d.ts","sourceRoot":"","sources":["../../src/ecl/machine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEpE,qBAAa,YAAa,SAAQ,KAAK,CAAC;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,E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,GAAG,WAAW,GAAG,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,SAAS,CAAC,aAAa,GAAG,OAAO;IAUnI,OAAO;CAQV"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Cache, StateObject } from "@hpcc-js/util";
|
|
2
2
|
import { IConnection, IOptions } from "../connection";
|
|
3
|
-
import {
|
|
3
|
+
import { WsMachine, WsMachineEx, MachineServiceEx } from "../services/wsMachine";
|
|
4
4
|
import { TopologyService, TpListTargetClusters, TpTargetClusterQuery } from "../services/wsTopology";
|
|
5
5
|
import { Machine } from "./machine";
|
|
6
6
|
export declare class TargetClusterCache extends Cache<{
|
|
@@ -10,13 +10,13 @@ export declare class TargetClusterCache extends Cache<{
|
|
|
10
10
|
constructor();
|
|
11
11
|
}
|
|
12
12
|
export interface TpTargetClusterEx {
|
|
13
|
-
MachineInfoEx:
|
|
13
|
+
MachineInfoEx: WsMachine.MachineInfoEx[];
|
|
14
14
|
}
|
|
15
15
|
export declare type UTargetClusterState = TpTargetClusterQuery.TpTargetCluster & TpListTargetClusters.TpClusterNameType & TpTargetClusterEx;
|
|
16
16
|
export declare type ITargetClusterState = TpTargetClusterQuery.TpTargetCluster | TpListTargetClusters.TpClusterNameType | TpTargetClusterEx;
|
|
17
17
|
export declare class TargetCluster extends StateObject<UTargetClusterState, ITargetClusterState> implements UTargetClusterState {
|
|
18
18
|
protected connection: TopologyService;
|
|
19
|
-
protected machineConnection:
|
|
19
|
+
protected machineConnection: MachineServiceEx;
|
|
20
20
|
get BaseUrl(): string;
|
|
21
21
|
get Name(): string;
|
|
22
22
|
get Prefix(): string;
|
|
@@ -27,16 +27,16 @@ export declare class TargetCluster extends StateObject<UTargetClusterState, ITar
|
|
|
27
27
|
get TpEclServers(): TpTargetClusterQuery.TpEclServers;
|
|
28
28
|
get TpEclAgents(): TpTargetClusterQuery.TpEclAgents;
|
|
29
29
|
get TpEclSchedulers(): TpTargetClusterQuery.TpEclSchedulers;
|
|
30
|
-
get MachineInfoEx():
|
|
30
|
+
get MachineInfoEx(): WsMachine.MachineInfoEx[];
|
|
31
31
|
get CMachineInfoEx(): Machine[];
|
|
32
32
|
static attach(optsConnection: IOptions | IConnection | TopologyService, name: string, state?: ITargetClusterState): TargetCluster;
|
|
33
33
|
protected constructor(optsConnection: IOptions | IConnection | TopologyService, name: string);
|
|
34
|
-
fetchMachines(request?:
|
|
34
|
+
fetchMachines(request?: WsMachine.GetTargetClusterInfoRequest): Promise<Machine[]>;
|
|
35
35
|
machineStats(): {
|
|
36
36
|
maxDisk: number;
|
|
37
37
|
meanDisk: number;
|
|
38
38
|
};
|
|
39
|
-
fetchUsage(): Promise<
|
|
39
|
+
fetchUsage(): Promise<WsMachineEx.TargetClusterUsage[]>;
|
|
40
40
|
}
|
|
41
41
|
export declare function targetClusters(optsConnection: IOptions | IConnection | TopologyService): Promise<TargetCluster[]>;
|
|
42
42
|
export declare function defaultTargetCluster(optsConnection: IOptions | IConnection | TopologyService): Promise<TargetCluster>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"targetCluster.d.ts","sourceRoot":"","sources":["../../src/ecl/targetCluster.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"targetCluster.d.ts","sourceRoot":"","sources":["../../src/ecl/targetCluster.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,oBAAoB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