@hpcc-js/comms 2.82.3 → 2.83.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es6.js +1093 -639
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +1091 -637
- 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 +1092 -638
- 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/ecl/dfuWorkunit.js +58 -1
- package/lib-es6/ecl/dfuWorkunit.js.map +1 -1
- package/lib-es6/ecl/query.js +102 -34
- package/lib-es6/ecl/query.js.map +1 -1
- package/lib-es6/ecl/workunit.js +9 -1
- package/lib-es6/ecl/workunit.js.map +1 -1
- package/lib-es6/services/fileSpray.js +5 -1
- package/lib-es6/services/fileSpray.js.map +1 -1
- package/lib-es6/services/wsdl/FileSpray/v1.25/FileSpray.js +116 -0
- package/lib-es6/services/wsdl/FileSpray/v1.25/FileSpray.js.map +1 -0
- package/package.json +2 -2
- package/src/__package__.ts +2 -2
- package/src/ecl/dfuWorkunit.ts +56 -3
- package/src/ecl/query.ts +65 -42
- package/src/ecl/workunit.ts +10 -1
- package/src/services/fileSpray.ts +11 -96
- package/src/services/wsdl/FileSpray/v1.25/FileSpray.ts +1040 -0
- package/types/__package__.d.ts +2 -2
- package/types/ecl/dfuWorkunit.d.ts +11 -3
- package/types/ecl/dfuWorkunit.d.ts.map +1 -1
- package/types/ecl/query.d.ts +5 -2
- package/types/ecl/query.d.ts.map +1 -1
- package/types/ecl/workunit.d.ts.map +1 -1
- package/types/services/fileSpray.d.ts +9 -95
- package/types/services/fileSpray.d.ts.map +1 -1
- package/types/services/wsdl/FileSpray/v1.25/FileSpray.d.ts +856 -0
- package/types/services/wsdl/FileSpray/v1.25/FileSpray.d.ts.map +1 -0
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/ecl/dfuWorkunit.d.ts +11 -3
- package/types-3.4/ecl/query.d.ts +5 -2
- package/types-3.4/services/fileSpray.d.ts +9 -95
- package/types-3.4/services/wsdl/FileSpray/v1.25/FileSpray.d.ts +856 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
export var FileSpray;
|
|
4
|
+
(function (FileSpray) {
|
|
5
|
+
var DFUWUActions;
|
|
6
|
+
(function (DFUWUActions) {
|
|
7
|
+
DFUWUActions["Delete"] = "Delete";
|
|
8
|
+
DFUWUActions["Protect"] = "Protect";
|
|
9
|
+
DFUWUActions["Unprotect"] = "Unprotect";
|
|
10
|
+
DFUWUActions["Restore"] = "Restore";
|
|
11
|
+
DFUWUActions["SetToFailed"] = "SetToFailed";
|
|
12
|
+
DFUWUActions["Archive"] = "Archive";
|
|
13
|
+
})(DFUWUActions = FileSpray.DFUWUActions || (FileSpray.DFUWUActions = {}));
|
|
14
|
+
})(FileSpray || (FileSpray = {}));
|
|
15
|
+
var FileSprayServiceBase = /** @class */ (function (_super) {
|
|
16
|
+
__extends(FileSprayServiceBase, _super);
|
|
17
|
+
function FileSprayServiceBase(optsConnection) {
|
|
18
|
+
return _super.call(this, optsConnection, "FileSpray", "1.25") || this;
|
|
19
|
+
}
|
|
20
|
+
FileSprayServiceBase.prototype.AbortDFUWorkunit = function (request) {
|
|
21
|
+
return this._connection.send("AbortDFUWorkunit", request, "json", false, undefined, "AbortDFUWorkunitResponse");
|
|
22
|
+
};
|
|
23
|
+
FileSprayServiceBase.prototype.Copy = function (request) {
|
|
24
|
+
return this._connection.send("Copy", request, "json", false, undefined, "CopyResponse");
|
|
25
|
+
};
|
|
26
|
+
FileSprayServiceBase.prototype.CreateDFUPublisherWorkunit = function (request) {
|
|
27
|
+
return this._connection.send("CreateDFUPublisherWorkunit", request, "json", false, undefined, "CreateDFUPublisherWorkunitResponse");
|
|
28
|
+
};
|
|
29
|
+
FileSprayServiceBase.prototype.CreateDFUWorkunit = function (request) {
|
|
30
|
+
return this._connection.send("CreateDFUWorkunit", request, "json", false, undefined, "CreateDFUWorkunitResponse");
|
|
31
|
+
};
|
|
32
|
+
FileSprayServiceBase.prototype.DFUWUFile = function (request) {
|
|
33
|
+
return this._connection.send("DFUWUFile", request, "json", false, undefined, "DFUWUFileResponse");
|
|
34
|
+
};
|
|
35
|
+
FileSprayServiceBase.prototype.DFUWUSearch = function (request) {
|
|
36
|
+
return this._connection.send("DFUWUSearch", request, "json", false, undefined, "DFUWUSearchResponse");
|
|
37
|
+
};
|
|
38
|
+
FileSprayServiceBase.prototype.DFUWorkunitsAction = function (request) {
|
|
39
|
+
return this._connection.send("DFUWorkunitsAction", request, "json", false, undefined, "DFUWorkunitsActionResponse");
|
|
40
|
+
};
|
|
41
|
+
FileSprayServiceBase.prototype.DeleteDFUWorkunit = function (request) {
|
|
42
|
+
return this._connection.send("DeleteDFUWorkunit", request, "json", false, undefined, "DeleteDFUWorkunitResponse");
|
|
43
|
+
};
|
|
44
|
+
FileSprayServiceBase.prototype.DeleteDFUWorkunits = function (request) {
|
|
45
|
+
return this._connection.send("DeleteDFUWorkunits", request, "json", false, undefined, "DeleteDFUWorkunitsResponse");
|
|
46
|
+
};
|
|
47
|
+
FileSprayServiceBase.prototype.DeleteDropZoneFiles = function (request) {
|
|
48
|
+
return this._connection.send("DeleteDropZoneFiles", request, "json", false, undefined, "DFUWorkunitsActionResponse");
|
|
49
|
+
};
|
|
50
|
+
FileSprayServiceBase.prototype.Despray = function (request) {
|
|
51
|
+
return this._connection.send("Despray", request, "json", false, undefined, "DesprayResponse");
|
|
52
|
+
};
|
|
53
|
+
FileSprayServiceBase.prototype.DfuMonitor = function (request) {
|
|
54
|
+
return this._connection.send("DfuMonitor", request, "json", false, undefined, "DfuMonitorResponse");
|
|
55
|
+
};
|
|
56
|
+
FileSprayServiceBase.prototype.DropZoneFileSearch = function (request) {
|
|
57
|
+
return this._connection.send("DropZoneFileSearch", request, "json", false, undefined, "DropZoneFileSearchResponse");
|
|
58
|
+
};
|
|
59
|
+
FileSprayServiceBase.prototype.DropZoneFiles = function (request) {
|
|
60
|
+
return this._connection.send("DropZoneFiles", request, "json", false, undefined, "DropZoneFilesResponse");
|
|
61
|
+
};
|
|
62
|
+
FileSprayServiceBase.prototype.EchoDateTime = function (request) {
|
|
63
|
+
return this._connection.send("EchoDateTime", request, "json", false, undefined, "EchoDateTimeResponse");
|
|
64
|
+
};
|
|
65
|
+
FileSprayServiceBase.prototype.FileList = function (request) {
|
|
66
|
+
return this._connection.send("FileList", request, "json", false, undefined, "FileListResponse");
|
|
67
|
+
};
|
|
68
|
+
FileSprayServiceBase.prototype.GetDFUExceptions = function (request) {
|
|
69
|
+
return this._connection.send("GetDFUExceptions", request, "json", false, undefined, "GetDFUExceptionsResponse");
|
|
70
|
+
};
|
|
71
|
+
FileSprayServiceBase.prototype.GetDFUProgress = function (request) {
|
|
72
|
+
return this._connection.send("GetDFUProgress", request, "json", false, undefined, "ProgressResponse");
|
|
73
|
+
};
|
|
74
|
+
FileSprayServiceBase.prototype.GetDFUServerQueues = function (request) {
|
|
75
|
+
return this._connection.send("GetDFUServerQueues", request, "json", false, undefined, "GetDFUServerQueuesResponse");
|
|
76
|
+
};
|
|
77
|
+
FileSprayServiceBase.prototype.GetDFUWorkunit = function (request) {
|
|
78
|
+
return this._connection.send("GetDFUWorkunit", request, "json", false, undefined, "GetDFUWorkunitResponse");
|
|
79
|
+
};
|
|
80
|
+
FileSprayServiceBase.prototype.GetDFUWorkunits = function (request) {
|
|
81
|
+
return this._connection.send("GetDFUWorkunits", request, "json", false, undefined, "GetDFUWorkunitsResponse");
|
|
82
|
+
};
|
|
83
|
+
FileSprayServiceBase.prototype.GetSprayTargets = function (request) {
|
|
84
|
+
return this._connection.send("GetSprayTargets", request, "json", false, undefined, "GetSprayTargetsResponse");
|
|
85
|
+
};
|
|
86
|
+
FileSprayServiceBase.prototype.OpenSave = function (request) {
|
|
87
|
+
return this._connection.send("OpenSave", request, "json", false, undefined, "OpenSaveResponse");
|
|
88
|
+
};
|
|
89
|
+
FileSprayServiceBase.prototype.Ping = function (request) {
|
|
90
|
+
return this._connection.send("Ping", request, "json", false, undefined, "FileSprayPingResponse");
|
|
91
|
+
};
|
|
92
|
+
FileSprayServiceBase.prototype.Rename = function (request) {
|
|
93
|
+
return this._connection.send("Rename", request, "json", false, undefined, "RenameResponse");
|
|
94
|
+
};
|
|
95
|
+
FileSprayServiceBase.prototype.Replicate = function (request) {
|
|
96
|
+
return this._connection.send("Replicate", request, "json", false, undefined, "ReplicateResponse");
|
|
97
|
+
};
|
|
98
|
+
FileSprayServiceBase.prototype.ShowResult = function (request) {
|
|
99
|
+
return this._connection.send("ShowResult", request, "json", false, undefined, "ShowResultResponse");
|
|
100
|
+
};
|
|
101
|
+
FileSprayServiceBase.prototype.SprayFixed = function (request) {
|
|
102
|
+
return this._connection.send("SprayFixed", request, "json", false, undefined, "SprayFixedResponse");
|
|
103
|
+
};
|
|
104
|
+
FileSprayServiceBase.prototype.SprayVariable = function (request) {
|
|
105
|
+
return this._connection.send("SprayVariable", request, "json", false, undefined, "SprayResponse");
|
|
106
|
+
};
|
|
107
|
+
FileSprayServiceBase.prototype.SubmitDFUWorkunit = function (request) {
|
|
108
|
+
return this._connection.send("SubmitDFUWorkunit", request, "json", false, undefined, "SubmitDFUWorkunitResponse");
|
|
109
|
+
};
|
|
110
|
+
FileSprayServiceBase.prototype.UpdateDFUWorkunit = function (request) {
|
|
111
|
+
return this._connection.send("UpdateDFUWorkunit", request, "json", false, undefined, "UpdateDFUWorkunitResponse");
|
|
112
|
+
};
|
|
113
|
+
return FileSprayServiceBase;
|
|
114
|
+
}(Service));
|
|
115
|
+
export { FileSprayServiceBase };
|
|
116
|
+
//# sourceMappingURL=FileSpray.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileSpray.js","source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
3
|
+
"version": "2.83.1",
|
|
4
4
|
"description": "hpcc-js - Communications",
|
|
5
5
|
"main": "dist/index.node.js",
|
|
6
6
|
"module": "dist/index.es6",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
93
93
|
},
|
|
94
94
|
"homepage": "https://github.com/hpcc-systems/Visualization",
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "21788a9e79b571818151a2b78a1a660de5572b2d"
|
|
96
96
|
}
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/comms";
|
|
2
|
-
export const PKG_VERSION = "2.
|
|
3
|
-
export const BUILD_VERSION = "2.104.
|
|
2
|
+
export const PKG_VERSION = "2.83.1";
|
|
3
|
+
export const BUILD_VERSION = "2.104.23";
|
package/src/ecl/dfuWorkunit.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Cache, IEvent, scopedLogger, StateCallback, StateEvents, StateObject, S
|
|
|
2
2
|
import { IConnection, IOptions } from "../connection";
|
|
3
3
|
import { ESPExceptions } from "../espConnection";
|
|
4
4
|
import { WsSMC } from "../services/wsSMC";
|
|
5
|
-
import { FileSpray,
|
|
5
|
+
import { FileSpray, FileSprayService, UpdateDFUWorkunitEx } from "../services/fileSpray";
|
|
6
6
|
import * as WsTopology from "../services/wsTopology";
|
|
7
7
|
|
|
8
8
|
const logger = scopedLogger("@hpcc-js/comms/dfuWorkunit.ts");
|
|
@@ -95,6 +95,8 @@ export class DFUWorkunit extends StateObject<UDFUWorkunitState, IDFUWorkunitStat
|
|
|
95
95
|
get expireDays(): number { return this.get("expireDays"); }
|
|
96
96
|
get PreserveFileParts(): boolean { return this.get("PreserveFileParts"); }
|
|
97
97
|
get FileAccessCost(): number { return this.get("FileAccessCost"); }
|
|
98
|
+
get KbPerSecAve(): number { return this.get("KbPerSecAve"); }
|
|
99
|
+
get KbPerSec(): number { return this.get("KbPerSec"); }
|
|
98
100
|
|
|
99
101
|
// Factories ---
|
|
100
102
|
static create(optsConnection: IOptions | IConnection, dfuServerQueue: string): Promise<DFUWorkunit> {
|
|
@@ -116,7 +118,7 @@ export class DFUWorkunit extends StateObject<UDFUWorkunitState, IDFUWorkunitStat
|
|
|
116
118
|
return retVal;
|
|
117
119
|
}
|
|
118
120
|
|
|
119
|
-
static sprayFixed(server: IOptions | IConnection, request: Partial<
|
|
121
|
+
static sprayFixed(server: IOptions | IConnection, request: Partial<FileSpray.SprayFixed>): Promise<DFUWorkunit> {
|
|
120
122
|
const service = new FileSprayService(server);
|
|
121
123
|
return service.SprayFixedEx({
|
|
122
124
|
...request
|
|
@@ -128,7 +130,7 @@ export class DFUWorkunit extends StateObject<UDFUWorkunitState, IDFUWorkunitStat
|
|
|
128
130
|
});
|
|
129
131
|
}
|
|
130
132
|
|
|
131
|
-
static sprayVariable(server: IOptions | IConnection, request: Partial<
|
|
133
|
+
static sprayVariable(server: IOptions | IConnection, request: Partial<FileSpray.SprayVariable>): Promise<DFUWorkunit> {
|
|
132
134
|
const service = new FileSprayService(server);
|
|
133
135
|
return service.SprayVariableEx({
|
|
134
136
|
...request
|
|
@@ -152,6 +154,21 @@ export class DFUWorkunit extends StateObject<UDFUWorkunitState, IDFUWorkunitStat
|
|
|
152
154
|
});
|
|
153
155
|
}
|
|
154
156
|
|
|
157
|
+
update(request: Partial<UpdateDFUWorkunitEx>): Promise<FileSpray.UpdateDFUWorkunitResponse> {
|
|
158
|
+
return this.connection.UpdateDFUWorkunitEx({
|
|
159
|
+
wu: {
|
|
160
|
+
JobName: request?.wu?.JobName ?? this.JobName,
|
|
161
|
+
isProtected: request?.wu?.isProtected ?? this.isProtected,
|
|
162
|
+
ID: this.ID,
|
|
163
|
+
State: this.State
|
|
164
|
+
},
|
|
165
|
+
ClusterOrig: this.ClusterName,
|
|
166
|
+
JobNameOrig: this.JobName,
|
|
167
|
+
isProtectedOrig: this.isProtected,
|
|
168
|
+
StateOrig: this.State
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
|
|
155
172
|
isComplete(): boolean {
|
|
156
173
|
switch (this.State) {
|
|
157
174
|
case States.Finished:
|
|
@@ -184,11 +201,23 @@ export class DFUWorkunit extends StateObject<UDFUWorkunitState, IDFUWorkunitStat
|
|
|
184
201
|
return !this.isComplete();
|
|
185
202
|
}
|
|
186
203
|
|
|
204
|
+
abort(): Promise<FileSpray.AbortDFUWorkunitResponse> {
|
|
205
|
+
return this.connection.AbortDFUWorkunit({ wuid: this.ID });
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
delete() {
|
|
209
|
+
return this.DFUWUAction(FileSpray.DFUWUActions.Delete);
|
|
210
|
+
}
|
|
211
|
+
|
|
187
212
|
async refresh(full: boolean = false): Promise<this> {
|
|
188
213
|
await this.GetDFUWorkunit();
|
|
189
214
|
return this;
|
|
190
215
|
}
|
|
191
216
|
|
|
217
|
+
fetchXML(callback?: void): Promise<FileSpray.DFUWUFileResponse> {
|
|
218
|
+
return this.DFUWUFile();
|
|
219
|
+
}
|
|
220
|
+
|
|
192
221
|
// Monitoring ---
|
|
193
222
|
protected _monitor(): void {
|
|
194
223
|
if (this.isComplete()) {
|
|
@@ -210,6 +239,30 @@ export class DFUWorkunit extends StateObject<UDFUWorkunitState, IDFUWorkunitStat
|
|
|
210
239
|
return retVal;
|
|
211
240
|
}
|
|
212
241
|
|
|
242
|
+
protected DFUWUFile(_request: Partial<FileSpray.DFUWUFileRequest> = {}): Promise<FileSpray.DFUWUFileResponse> {
|
|
243
|
+
return this.connection.DFUWUFile({
|
|
244
|
+
..._request, Wuid: this.ID
|
|
245
|
+
}).then(response => {
|
|
246
|
+
//TODO: additional processing?
|
|
247
|
+
return response;
|
|
248
|
+
}).catch((e: ESPExceptions) => {
|
|
249
|
+
return {} as FileSpray.DFUWUFileResponse;
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
protected DFUWUAction(actionType: FileSpray.DFUWUActions): Promise<FileSpray.DFUWorkunitsActionResponse> {
|
|
254
|
+
return this.connection.DFUWorkunitsAction({
|
|
255
|
+
wuids: { Item: [this.ID] },
|
|
256
|
+
Type: actionType
|
|
257
|
+
}).then((response) => {
|
|
258
|
+
if (actionType === FileSpray.DFUWUActions.Delete) return response;
|
|
259
|
+
return this.refresh().then(() => {
|
|
260
|
+
this._monitor();
|
|
261
|
+
return response;
|
|
262
|
+
});
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
|
|
213
266
|
// Events ---
|
|
214
267
|
on(eventID: DFUWorkunitEvents, propIDorCallback: StateCallback | keyof UDFUWorkunitState, callback?: StatePropCallback): this {
|
|
215
268
|
if (this.isCallback(propIDorCallback)) {
|
package/src/ecl/query.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { Cache, StateObject } from "@hpcc-js/util";
|
|
1
|
+
import { Cache, StateObject, scopedLogger } from "@hpcc-js/util";
|
|
2
2
|
import { IConnection, IOptions } from "../connection";
|
|
3
3
|
import { EclService, IWsEclRequest, IWsEclResponse, IWsEclResult } from "../services/wsEcl";
|
|
4
4
|
import { WorkunitsService, WUQueryDetails } from "../services/wsWorkunits";
|
|
5
|
+
import { Topology } from "./topology";
|
|
6
|
+
|
|
7
|
+
const logger = scopedLogger("@hpcc-js/comms/ecl/query.ts");
|
|
5
8
|
|
|
6
9
|
export interface QueryEx extends WUQueryDetails.Response {
|
|
7
10
|
BaseUrl: string;
|
|
@@ -17,11 +20,9 @@ class QueryCache extends Cache<QueryEx, Query> {
|
|
|
17
20
|
const _queries = new QueryCache();
|
|
18
21
|
|
|
19
22
|
export class Query extends StateObject<QueryEx, QueryEx> implements QueryEx {
|
|
20
|
-
protected
|
|
21
|
-
get BaseUrl() { return this.
|
|
22
|
-
|
|
23
|
-
protected _wsWorkunits: WorkunitsService;
|
|
24
|
-
// protected _wu: Workunit;
|
|
23
|
+
protected wsWorkunitsService: WorkunitsService;
|
|
24
|
+
get BaseUrl() { return this.wsWorkunitsService.baseUrl; }
|
|
25
|
+
protected topology: Topology;
|
|
25
26
|
protected _requestSchema: IWsEclRequest;
|
|
26
27
|
protected _responseSchema: IWsEclResponse;
|
|
27
28
|
|
|
@@ -51,17 +52,14 @@ export class Query extends StateObject<QueryEx, QueryEx> implements QueryEx {
|
|
|
51
52
|
get WUGraphs(): WUQueryDetails.WUGraphs { return this.get("WUGraphs"); }
|
|
52
53
|
get WUTimers(): WUQueryDetails.WUTimers { return this.get("WUTimers"); }
|
|
53
54
|
|
|
54
|
-
private constructor(optsConnection: IOptions | IConnection |
|
|
55
|
+
private constructor(optsConnection: IOptions | IConnection | WorkunitsService, querySet: string, queryID: string, queryDetails?: WUQueryDetails.Response) {
|
|
55
56
|
super();
|
|
56
|
-
if (optsConnection instanceof
|
|
57
|
-
this.
|
|
58
|
-
|
|
59
|
-
// this._topology = new Topology(this.connection.opts());
|
|
57
|
+
if (optsConnection instanceof WorkunitsService) {
|
|
58
|
+
this.wsWorkunitsService = optsConnection;
|
|
60
59
|
} else {
|
|
61
|
-
this.
|
|
62
|
-
// this._topology = new Topology(optsConnection);
|
|
60
|
+
this.wsWorkunitsService = new WorkunitsService(optsConnection);
|
|
63
61
|
}
|
|
64
|
-
this.
|
|
62
|
+
this.topology = Topology.attach(this.wsWorkunitsService.opts());
|
|
65
63
|
this.set({
|
|
66
64
|
QuerySet: querySet,
|
|
67
65
|
QueryId: queryID,
|
|
@@ -76,24 +74,56 @@ export class Query extends StateObject<QueryEx, QueryEx> implements QueryEx {
|
|
|
76
74
|
return retVal;
|
|
77
75
|
}
|
|
78
76
|
|
|
77
|
+
private _eclService: Promise<EclService>;
|
|
78
|
+
protected async wsEclService(): Promise<EclService | undefined> {
|
|
79
|
+
if (!this._eclService) {
|
|
80
|
+
this._eclService = this.topology.fetchServices({}).then(services => {
|
|
81
|
+
for (const espServer of services?.TpEspServers?.TpEspServer ?? []) {
|
|
82
|
+
for (const binding of espServer?.TpBindings?.TpBinding ?? []) {
|
|
83
|
+
if (binding?.Service === "ws_ecl") {
|
|
84
|
+
const baseUrl = `${binding.Protocol}://${globalThis.location.hostname}:${binding.Port}`;
|
|
85
|
+
return new EclService({ baseUrl });
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return undefined;
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
return this._eclService;
|
|
93
|
+
}
|
|
94
|
+
|
|
79
95
|
private async fetchDetails(): Promise<void> {
|
|
80
|
-
const queryDetails = await this.
|
|
96
|
+
const queryDetails = await this.wsWorkunitsService.WUQueryDetails({
|
|
81
97
|
QuerySet: this.QuerySet,
|
|
82
98
|
QueryId: this.QueryId,
|
|
83
|
-
IncludeStateOnClusters:
|
|
84
|
-
IncludeSuperFiles:
|
|
85
|
-
IncludeWsEclAddresses:
|
|
99
|
+
IncludeStateOnClusters: true,
|
|
100
|
+
IncludeSuperFiles: true,
|
|
101
|
+
IncludeWsEclAddresses: true,
|
|
86
102
|
CheckAllNodes: false
|
|
87
103
|
});
|
|
88
104
|
this.set({ ...queryDetails } as QueryEx);
|
|
89
105
|
}
|
|
90
106
|
|
|
91
107
|
private async fetchRequestSchema(): Promise<void> {
|
|
92
|
-
|
|
108
|
+
const wsEclService = await this.wsEclService();
|
|
109
|
+
try {
|
|
110
|
+
this._requestSchema = await wsEclService?.requestJson(this.QuerySet, this.QueryId) ?? [];
|
|
111
|
+
} catch (e) {
|
|
112
|
+
// See: https://track.hpccsystems.com/browse/HPCC-29827
|
|
113
|
+
logger.debug(e);
|
|
114
|
+
this._requestSchema = [];
|
|
115
|
+
}
|
|
93
116
|
}
|
|
94
117
|
|
|
95
118
|
private async fetchResponseSchema(): Promise<void> {
|
|
96
|
-
|
|
119
|
+
const wsEclService = await this.wsEclService();
|
|
120
|
+
try {
|
|
121
|
+
this._responseSchema = await wsEclService?.responseJson(this.QuerySet, this.QueryId) ?? {};
|
|
122
|
+
} catch (e) {
|
|
123
|
+
// See: https://track.hpccsystems.com/browse/HPCC-29827
|
|
124
|
+
logger.debug(e);
|
|
125
|
+
this._responseSchema = {};
|
|
126
|
+
}
|
|
97
127
|
}
|
|
98
128
|
|
|
99
129
|
private async fetchSchema(): Promise<void> {
|
|
@@ -101,16 +131,23 @@ export class Query extends StateObject<QueryEx, QueryEx> implements QueryEx {
|
|
|
101
131
|
}
|
|
102
132
|
|
|
103
133
|
fetchSummaryStats() {
|
|
104
|
-
return this.
|
|
134
|
+
return this.wsWorkunitsService.WUQueryGetSummaryStats({ Target: this.QuerySet, QueryId: this.QueryId });
|
|
105
135
|
}
|
|
106
136
|
|
|
107
|
-
submit(request: object): Promise<Array<{ [key: string]: object[] }>> {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
137
|
+
async submit(request: object): Promise<Array<{ [key: string]: object[] }>> {
|
|
138
|
+
const wsEclService = await this.wsEclService();
|
|
139
|
+
try {
|
|
140
|
+
return wsEclService?.submit(this.QuerySet, this.QueryId, request).then(results => {
|
|
141
|
+
for (const key in results) {
|
|
142
|
+
results[key] = results[key].Row;
|
|
143
|
+
}
|
|
144
|
+
return results;
|
|
145
|
+
}) ?? [];
|
|
146
|
+
} catch (e) {
|
|
147
|
+
// See: https://track.hpccsystems.com/browse/HPCC-29827
|
|
148
|
+
logger.debug(e);
|
|
149
|
+
return [];
|
|
150
|
+
}
|
|
114
151
|
}
|
|
115
152
|
|
|
116
153
|
async refresh(): Promise<this> {
|
|
@@ -143,18 +180,4 @@ export class Query extends StateObject<QueryEx, QueryEx> implements QueryEx {
|
|
|
143
180
|
if (!this._responseSchema[resultName]) return [];
|
|
144
181
|
return this._responseSchema[resultName];
|
|
145
182
|
}
|
|
146
|
-
|
|
147
|
-
/*
|
|
148
|
-
protected WUQueryDetails(): Promise<WUQueryDetails.Response> {
|
|
149
|
-
const request: WUQueryDetails.Request = {} as WUQueryDetails.Request;
|
|
150
|
-
request.QueryId = this.QueryId;
|
|
151
|
-
request.QuerySet = this.QuerySet;
|
|
152
|
-
request.IncludeSuperFiles = true;
|
|
153
|
-
request.IncludeStateOnClusters = true;
|
|
154
|
-
return this.connection.WUQueryDetails(request).then((response) => {
|
|
155
|
-
this.set(response);
|
|
156
|
-
return response;
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
*/
|
|
160
183
|
}
|
package/src/ecl/workunit.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Cache, deepMixinT, IEvent, scopedLogger, StateCallback, StateEvents, StateObject, StatePropCallback, StringAnyMap, XMLNode } from "@hpcc-js/util";
|
|
2
|
+
import { format as d3Format } from "d3-format";
|
|
2
3
|
import { utcFormat, utcParse } from "d3-time-format";
|
|
3
4
|
import { IConnection, IOptions } from "../connection";
|
|
4
5
|
import { ESPExceptions } from "../espConnection";
|
|
@@ -14,6 +15,14 @@ import { Timer } from "./timer";
|
|
|
14
15
|
|
|
15
16
|
const formatter = utcFormat("%Y-%m-%dT%H:%M:%S.%LZ");
|
|
16
17
|
const parser = utcParse("%Y-%m-%dT%H:%M:%S.%LZ");
|
|
18
|
+
const d3FormatNum = d3Format(",");
|
|
19
|
+
function formatNum(num: number | string): string {
|
|
20
|
+
if (num && !isNaN(+num)) {
|
|
21
|
+
return d3FormatNum(+num);
|
|
22
|
+
}
|
|
23
|
+
return num as string;
|
|
24
|
+
}
|
|
25
|
+
|
|
17
26
|
const logger = scopedLogger("workunit.ts");
|
|
18
27
|
|
|
19
28
|
const WUStateID = WsWorkunits.WUStateID;
|
|
@@ -567,7 +576,7 @@ export class Workunit extends StateObject<UWorkunitState, IWorkunitState> implem
|
|
|
567
576
|
default:
|
|
568
577
|
props[scopeProperty.Name] = scopeProperty.RawValue;
|
|
569
578
|
}
|
|
570
|
-
formattedProps[scopeProperty.Name] = scopeProperty.Formatted ?? props[scopeProperty.Name];
|
|
579
|
+
formattedProps[scopeProperty.Name] = formatNum(scopeProperty.Formatted ?? props[scopeProperty.Name]);
|
|
571
580
|
|
|
572
581
|
}
|
|
573
582
|
}
|
|
@@ -1,116 +1,31 @@
|
|
|
1
|
-
import { FileSprayServiceBase, FileSpray } from "./wsdl/FileSpray/v1.
|
|
1
|
+
import { FileSprayServiceBase, FileSpray } from "./wsdl/FileSpray/v1.25/FileSpray";
|
|
2
2
|
|
|
3
3
|
export {
|
|
4
4
|
FileSpray
|
|
5
5
|
};
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
sourcePlane?: string;
|
|
10
|
-
sourcePath?: string;
|
|
11
|
-
srcxml?: string;
|
|
12
|
-
sourceFormat?: string;
|
|
13
|
-
sourceRecordSize?: number;
|
|
14
|
-
destGroup?: string;
|
|
15
|
-
destLogicalName?: string;
|
|
16
|
-
overwrite?: boolean;
|
|
17
|
-
replicate?: boolean;
|
|
18
|
-
ReplicateOffset?: number;
|
|
19
|
-
maxConnections?: number;
|
|
20
|
-
throttle?: number;
|
|
21
|
-
transferBufferSize?: number;
|
|
22
|
-
prefix?: string;
|
|
23
|
-
nosplit?: boolean;
|
|
24
|
-
norecover?: boolean;
|
|
25
|
-
compress?: boolean;
|
|
26
|
-
push?: boolean;
|
|
27
|
-
pull?: boolean;
|
|
28
|
-
noCommon?: boolean;
|
|
29
|
-
encrypt?: string;
|
|
30
|
-
decrypt?: string;
|
|
31
|
-
wrap?: boolean;
|
|
32
|
-
failIfNoSourceFile?: boolean;
|
|
33
|
-
recordStructurePresent?: boolean;
|
|
34
|
-
quotedTerminator?: boolean;
|
|
35
|
-
expireDays?: number;
|
|
36
|
-
DFUServerQueue?: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface SprayVariableEx {
|
|
40
|
-
sourceIP?: string;
|
|
41
|
-
sourcePlane?: string;
|
|
42
|
-
sourcePath?: string;
|
|
43
|
-
srcxml?: string;
|
|
44
|
-
sourceMaxRecordSize?: number;
|
|
45
|
-
sourceFormat?: number;
|
|
46
|
-
NoSourceCsvSeparator?: boolean;
|
|
47
|
-
sourceCsvSeparate?: string;
|
|
48
|
-
sourceCsvTerminate?: string;
|
|
49
|
-
sourceCsvQuote?: string;
|
|
50
|
-
sourceCsvEscape?: string;
|
|
51
|
-
sourceRowTag?: string;
|
|
52
|
-
destGroup?: string;
|
|
53
|
-
destLogicalName?: string;
|
|
54
|
-
overwrite?: boolean;
|
|
55
|
-
replicate?: boolean;
|
|
56
|
-
ReplicateOffset?: number;
|
|
57
|
-
maxConnections?: number;
|
|
58
|
-
throttle?: number;
|
|
59
|
-
transferBufferSize?: number;
|
|
60
|
-
prefix?: string;
|
|
61
|
-
nosplit?: boolean;
|
|
62
|
-
norecover?: boolean;
|
|
63
|
-
compress?: boolean;
|
|
64
|
-
push?: boolean;
|
|
65
|
-
pull?: boolean;
|
|
66
|
-
noCommon?: boolean;
|
|
67
|
-
encrypt?: string;
|
|
68
|
-
decrypt?: string;
|
|
69
|
-
failIfNoSourceFile?: boolean;
|
|
70
|
-
recordStructurePresent?: boolean;
|
|
71
|
-
quotedTerminator?: boolean;
|
|
72
|
-
sourceRowPath?: string;
|
|
73
|
-
isJSON?: boolean;
|
|
74
|
-
expireDays?: number;
|
|
75
|
-
DFUServerQueue?: string;
|
|
76
|
-
srcUsername?: string;
|
|
77
|
-
srcPassword?: string;
|
|
78
|
-
}
|
|
7
|
+
type UpdateDFUWorkunitMinusWU = Omit<FileSpray.UpdateDFUWorkunit, "wu">;
|
|
8
|
+
type UpdateDFUWorkunitWU = FileSpray.UpdateDFUWorkunit["wu"];
|
|
79
9
|
|
|
80
|
-
export interface
|
|
81
|
-
|
|
82
|
-
sourceLogicalName?: string;
|
|
83
|
-
destIP?: string;
|
|
84
|
-
destPath?: string;
|
|
85
|
-
destPlane?: string;
|
|
86
|
-
dstxml?: string;
|
|
87
|
-
overwrite?: boolean;
|
|
88
|
-
maxConnections?: number;
|
|
89
|
-
throttle?: number;
|
|
90
|
-
transferBufferSize?: number;
|
|
91
|
-
splitprefix?: string;
|
|
92
|
-
norecover?: boolean;
|
|
93
|
-
wrap?: boolean;
|
|
94
|
-
multiCopy?: boolean;
|
|
95
|
-
SingleConnection?: boolean;
|
|
96
|
-
DFUServerQueue?: string;
|
|
97
|
-
compress?: boolean;
|
|
98
|
-
encrypt?: string;
|
|
99
|
-
decrypt?: string;
|
|
10
|
+
export interface UpdateDFUWorkunitEx extends UpdateDFUWorkunitMinusWU {
|
|
11
|
+
wu?: Partial<UpdateDFUWorkunitWU>
|
|
100
12
|
}
|
|
101
13
|
|
|
102
14
|
export class FileSprayService extends FileSprayServiceBase {
|
|
103
15
|
|
|
104
|
-
SprayFixedEx(request:
|
|
16
|
+
SprayFixedEx(request: Partial<FileSpray.SprayFixed>): Promise<FileSpray.SprayFixedResponse> {
|
|
105
17
|
return this._connection.send("SprayFixed", request);
|
|
106
18
|
}
|
|
107
19
|
|
|
108
|
-
SprayVariableEx(request:
|
|
20
|
+
SprayVariableEx(request: Partial<FileSpray.SprayVariable>): Promise<FileSpray.SprayResponse> {
|
|
109
21
|
return this._connection.send("SprayVariable", request, "json", false, null, "SprayResponse");
|
|
110
22
|
}
|
|
111
23
|
|
|
112
|
-
DesprayEx(request:
|
|
24
|
+
DesprayEx(request: Partial<FileSpray.Despray>): Promise<FileSpray.DesprayResponse> {
|
|
113
25
|
return this._connection.send("Despray", request);
|
|
114
26
|
}
|
|
115
27
|
|
|
28
|
+
UpdateDFUWorkunitEx(request: Partial<UpdateDFUWorkunitEx>): Promise<FileSpray.UpdateDFUWorkunitResponse> {
|
|
29
|
+
return this._connection.send("UpdateDFUWorkunit", request, "json", false, undefined, "UpdateDFUWorkunitResponse");
|
|
30
|
+
}
|
|
116
31
|
}
|