@hpcc-js/comms 3.9.3 → 3.10.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/browser/index.js +7600 -8191
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.umd.cjs +2 -2
- package/dist/browser/index.umd.cjs.map +1 -1
- package/dist/node/index.cjs +9 -9
- package/dist/node/index.cjs.map +3 -3
- package/dist/node/index.js +7 -7
- package/dist/node/index.js.map +3 -3
- package/package.json +5 -6
- package/src/__package__.ts +2 -2
- package/src/clienttools/eclcc.ts +2 -2
- package/src/services/wsDFUXRef.ts +115 -1
- package/types/__package__.d.ts +2 -2
- package/types/services/wsDFUXRef.d.ts +90 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/comms",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0",
|
|
4
4
|
"description": "hpcc-js - Communications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/node/index.cjs",
|
|
@@ -78,13 +78,12 @@
|
|
|
78
78
|
"@xmldom/xmldom": "0.9.8",
|
|
79
79
|
"abort-controller": "3.0.0",
|
|
80
80
|
"node-fetch": "3.3.2",
|
|
81
|
-
"tmp": "0.2.5",
|
|
82
81
|
"undici": "7.16.0"
|
|
83
82
|
},
|
|
84
83
|
"devDependencies": {
|
|
85
|
-
"@hpcc-js/ddl-shim": "^
|
|
84
|
+
"@hpcc-js/ddl-shim": "^2.24.0",
|
|
86
85
|
"@hpcc-js/esbuild-plugins": "^1.5.2",
|
|
87
|
-
"@kubernetes/client-node": "1.
|
|
86
|
+
"@kubernetes/client-node": "1.4.0",
|
|
88
87
|
"@types/d3-request": "1.0.9",
|
|
89
88
|
"@types/d3-time-format": "2.3.4",
|
|
90
89
|
"@types/node": "^18",
|
|
@@ -93,7 +92,7 @@
|
|
|
93
92
|
"d3-format": "^1",
|
|
94
93
|
"d3-time-format": "^2",
|
|
95
94
|
"data-uri-to-buffer": "6.0.2",
|
|
96
|
-
"soap": "1.
|
|
95
|
+
"soap": "1.5.0",
|
|
97
96
|
"typescript-formatter": "^7.2.2"
|
|
98
97
|
},
|
|
99
98
|
"repository": {
|
|
@@ -113,5 +112,5 @@
|
|
|
113
112
|
"esp",
|
|
114
113
|
"HPCC-Platform"
|
|
115
114
|
],
|
|
116
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "a35882216a554b24a2586f30ce829d511941aecd"
|
|
117
116
|
}
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/comms";
|
|
2
|
-
export const PKG_VERSION = "3.
|
|
3
|
-
export const BUILD_VERSION = "3.
|
|
2
|
+
export const PKG_VERSION = "3.10.0";
|
|
3
|
+
export const BUILD_VERSION = "3.13.0";
|
package/src/clienttools/eclcc.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as cp from "node:child_process";
|
|
2
|
+
import * as crypto from "node:crypto";
|
|
2
3
|
import * as fs from "node:fs";
|
|
3
4
|
import * as os from "node:os";
|
|
4
5
|
import * as path from "node:path";
|
|
5
|
-
import * as tmp from "tmp";
|
|
6
6
|
|
|
7
7
|
import { exists, scopedLogger, xml2json, XMLNode } from "@hpcc-js/util";
|
|
8
8
|
import { attachWorkspace, Workspace } from "./eclMeta.ts";
|
|
@@ -360,7 +360,7 @@ export class ClientTools {
|
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
createWU(filename: string): Promise<LocalWorkunit> {
|
|
363
|
-
const tmpName =
|
|
363
|
+
const tmpName = path.join(os.tmpdir(), `eclcc-wu-tmp-${crypto.randomBytes(8).toString("hex")}`);
|
|
364
364
|
const args = ["-o" + tmpName, "-wu"].concat([filename]);
|
|
365
365
|
return this.execFile(this.eclccPath, this.cwd, this.args(args), "eclcc", `Cannot find ${this.eclccPath}`).then((_response: IExecFile) => {
|
|
366
366
|
const xmlPath = path.normalize(tmpName + ".xml");
|
|
@@ -1,7 +1,121 @@
|
|
|
1
1
|
import { DFUXRefServiceBase, type WsDFUXRef } from "./wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts";
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export {
|
|
4
|
+
type WsDFUXRef
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export namespace WsDFUXRefEx {
|
|
8
|
+
|
|
9
|
+
export interface Request {
|
|
10
|
+
DFUXRefArrayActionRequest: WsDFUXRef.DFUXRefArrayActionRequest;
|
|
11
|
+
DFUXRefBuildRequest: WsDFUXRef.DFUXRefBuildRequest;
|
|
12
|
+
DFUXRefBuildCancelRequest: WsDFUXRef.DFUXRefBuildCancelRequest;
|
|
13
|
+
DFUXRefCleanDirectoriesRequest: WsDFUXRef.DFUXRefCleanDirectoriesRequest;
|
|
14
|
+
DFUXRefDirectoriesQueryRequest: WsDFUXRef.DFUXRefDirectoriesQueryRequest;
|
|
15
|
+
DFUXRefFoundFilesQueryRequest: WsDFUXRef.DFUXRefFoundFilesQueryRequest;
|
|
16
|
+
DFUXRefListRequest: WsDFUXRef.DFUXRefListRequest;
|
|
17
|
+
DFUXRefLostFilesQueryRequest: WsDFUXRef.DFUXRefLostFilesQueryRequest;
|
|
18
|
+
DFUXRefMessagesQueryRequest: WsDFUXRef.DFUXRefMessagesQueryRequest;
|
|
19
|
+
DFUXRefOrphanFilesQueryRequest: WsDFUXRef.DFUXRefOrphanFilesQueryRequest;
|
|
20
|
+
DFUXRefUnusedFilesRequest: WsDFUXRef.DFUXRefUnusedFilesRequest;
|
|
21
|
+
WsDFUXRefPingRequest: WsDFUXRef.WsDFUXRefPingRequest;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface Directory {
|
|
25
|
+
Num: string;
|
|
26
|
+
Name: string;
|
|
27
|
+
MaxSize: string;
|
|
28
|
+
MaxIP: string;
|
|
29
|
+
MinSize: string;
|
|
30
|
+
MinIP: string;
|
|
31
|
+
Size: string;
|
|
32
|
+
PositiveSkew: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface DFUXRefDirectoriesQueryResult {
|
|
36
|
+
Directory: Directory[];
|
|
37
|
+
Cluster: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface DFUXRefDirectoriesQueryResponseEx {
|
|
41
|
+
DFUXRefDirectoriesQueryResult: DFUXRefDirectoriesQueryResult;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface Part {
|
|
45
|
+
Num: string;
|
|
46
|
+
Node: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface DFUXRefFile {
|
|
50
|
+
Size: string;
|
|
51
|
+
Partmask: string;
|
|
52
|
+
Modified: Date;
|
|
53
|
+
Numparts: string;
|
|
54
|
+
Part: Part[];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface DFUXRefFoundFilesQueryResult {
|
|
58
|
+
File: DFUXRefFile[];
|
|
59
|
+
Cluster: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface XRefNode {
|
|
63
|
+
Name: string;
|
|
64
|
+
Modified: string;
|
|
65
|
+
Status: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface DFUXRefListResult {
|
|
69
|
+
XRefNode: XRefNode[];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface DFUXRefListResponseEx {
|
|
73
|
+
DFUXRefListResult: DFUXRefListResult;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface File2 {
|
|
77
|
+
Partslost: string;
|
|
78
|
+
Name: string;
|
|
79
|
+
Partmask: string;
|
|
80
|
+
Modified: Date;
|
|
81
|
+
Numparts: string;
|
|
82
|
+
Part: Part[];
|
|
83
|
+
Cluster: string;
|
|
84
|
+
Size: string;
|
|
85
|
+
Primarylost: string;
|
|
86
|
+
Replicatedlost: string;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface DFUXRefLostFilesQueryResult {
|
|
90
|
+
File: File2[];
|
|
91
|
+
Cluster: string;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface Warning {
|
|
95
|
+
Text: string;
|
|
96
|
+
File: string;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface DFUXRefMessagesQueryResult {
|
|
100
|
+
Warning: Warning[];
|
|
101
|
+
Cluster: string;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface DFUXRefOrphanFilesQueryResult {
|
|
105
|
+
File: DFUXRefFile[];
|
|
106
|
+
Cluster: string;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
}
|
|
4
110
|
|
|
5
111
|
export class DFUXRefService extends DFUXRefServiceBase {
|
|
6
112
|
|
|
113
|
+
DFUXRefDirectoriesEx(request: Partial<WsDFUXRef.DFUXRefDirectoriesQueryRequest>): Promise<WsDFUXRefEx.DFUXRefDirectoriesQueryResponseEx> {
|
|
114
|
+
return this._connection.send("DFUXRefDirectories", request, "json", false, undefined, "DFUXRefDirectoriesQueryResponse");
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
DFUXRefListEx(request: Partial<WsDFUXRef.DFUXRefListRequest>): Promise<WsDFUXRefEx.DFUXRefListResponseEx> {
|
|
118
|
+
return this._connection.send("DFUXRefList", request, "json", false, undefined, "DFUXRefListResponse");
|
|
119
|
+
}
|
|
120
|
+
|
|
7
121
|
}
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/comms";
|
|
2
|
-
export declare const PKG_VERSION = "3.9.
|
|
3
|
-
export declare const BUILD_VERSION = "3.12.
|
|
2
|
+
export declare const PKG_VERSION = "3.9.4";
|
|
3
|
+
export declare const BUILD_VERSION = "3.12.5";
|
|
@@ -1,4 +1,94 @@
|
|
|
1
1
|
import { DFUXRefServiceBase, type WsDFUXRef } from "./wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts";
|
|
2
2
|
export { type WsDFUXRef };
|
|
3
|
+
export declare namespace WsDFUXRefEx {
|
|
4
|
+
export interface Request {
|
|
5
|
+
DFUXRefArrayActionRequest: WsDFUXRef.DFUXRefArrayActionRequest;
|
|
6
|
+
DFUXRefBuildRequest: WsDFUXRef.DFUXRefBuildRequest;
|
|
7
|
+
DFUXRefBuildCancelRequest: WsDFUXRef.DFUXRefBuildCancelRequest;
|
|
8
|
+
DFUXRefCleanDirectoriesRequest: WsDFUXRef.DFUXRefCleanDirectoriesRequest;
|
|
9
|
+
DFUXRefDirectoriesQueryRequest: WsDFUXRef.DFUXRefDirectoriesQueryRequest;
|
|
10
|
+
DFUXRefFoundFilesQueryRequest: WsDFUXRef.DFUXRefFoundFilesQueryRequest;
|
|
11
|
+
DFUXRefListRequest: WsDFUXRef.DFUXRefListRequest;
|
|
12
|
+
DFUXRefLostFilesQueryRequest: WsDFUXRef.DFUXRefLostFilesQueryRequest;
|
|
13
|
+
DFUXRefMessagesQueryRequest: WsDFUXRef.DFUXRefMessagesQueryRequest;
|
|
14
|
+
DFUXRefOrphanFilesQueryRequest: WsDFUXRef.DFUXRefOrphanFilesQueryRequest;
|
|
15
|
+
DFUXRefUnusedFilesRequest: WsDFUXRef.DFUXRefUnusedFilesRequest;
|
|
16
|
+
WsDFUXRefPingRequest: WsDFUXRef.WsDFUXRefPingRequest;
|
|
17
|
+
}
|
|
18
|
+
export interface Directory {
|
|
19
|
+
Num: string;
|
|
20
|
+
Name: string;
|
|
21
|
+
MaxSize: string;
|
|
22
|
+
MaxIP: string;
|
|
23
|
+
MinSize: string;
|
|
24
|
+
MinIP: string;
|
|
25
|
+
Size: string;
|
|
26
|
+
PositiveSkew: string;
|
|
27
|
+
}
|
|
28
|
+
interface DFUXRefDirectoriesQueryResult {
|
|
29
|
+
Directory: Directory[];
|
|
30
|
+
Cluster: string;
|
|
31
|
+
}
|
|
32
|
+
export interface DFUXRefDirectoriesQueryResponseEx {
|
|
33
|
+
DFUXRefDirectoriesQueryResult: DFUXRefDirectoriesQueryResult;
|
|
34
|
+
}
|
|
35
|
+
export interface Part {
|
|
36
|
+
Num: string;
|
|
37
|
+
Node: string;
|
|
38
|
+
}
|
|
39
|
+
export interface DFUXRefFile {
|
|
40
|
+
Size: string;
|
|
41
|
+
Partmask: string;
|
|
42
|
+
Modified: Date;
|
|
43
|
+
Numparts: string;
|
|
44
|
+
Part: Part[];
|
|
45
|
+
}
|
|
46
|
+
export interface DFUXRefFoundFilesQueryResult {
|
|
47
|
+
File: DFUXRefFile[];
|
|
48
|
+
Cluster: string;
|
|
49
|
+
}
|
|
50
|
+
export interface XRefNode {
|
|
51
|
+
Name: string;
|
|
52
|
+
Modified: string;
|
|
53
|
+
Status: string;
|
|
54
|
+
}
|
|
55
|
+
export interface DFUXRefListResult {
|
|
56
|
+
XRefNode: XRefNode[];
|
|
57
|
+
}
|
|
58
|
+
export interface DFUXRefListResponseEx {
|
|
59
|
+
DFUXRefListResult: DFUXRefListResult;
|
|
60
|
+
}
|
|
61
|
+
export interface File2 {
|
|
62
|
+
Partslost: string;
|
|
63
|
+
Name: string;
|
|
64
|
+
Partmask: string;
|
|
65
|
+
Modified: Date;
|
|
66
|
+
Numparts: string;
|
|
67
|
+
Part: Part[];
|
|
68
|
+
Cluster: string;
|
|
69
|
+
Size: string;
|
|
70
|
+
Primarylost: string;
|
|
71
|
+
Replicatedlost: string;
|
|
72
|
+
}
|
|
73
|
+
export interface DFUXRefLostFilesQueryResult {
|
|
74
|
+
File: File2[];
|
|
75
|
+
Cluster: string;
|
|
76
|
+
}
|
|
77
|
+
export interface Warning {
|
|
78
|
+
Text: string;
|
|
79
|
+
File: string;
|
|
80
|
+
}
|
|
81
|
+
export interface DFUXRefMessagesQueryResult {
|
|
82
|
+
Warning: Warning[];
|
|
83
|
+
Cluster: string;
|
|
84
|
+
}
|
|
85
|
+
export interface DFUXRefOrphanFilesQueryResult {
|
|
86
|
+
File: DFUXRefFile[];
|
|
87
|
+
Cluster: string;
|
|
88
|
+
}
|
|
89
|
+
export {};
|
|
90
|
+
}
|
|
3
91
|
export declare class DFUXRefService extends DFUXRefServiceBase {
|
|
92
|
+
DFUXRefDirectoriesEx(request: Partial<WsDFUXRef.DFUXRefDirectoriesQueryRequest>): Promise<WsDFUXRefEx.DFUXRefDirectoriesQueryResponseEx>;
|
|
93
|
+
DFUXRefListEx(request: Partial<WsDFUXRef.DFUXRefListRequest>): Promise<WsDFUXRefEx.DFUXRefListResponseEx>;
|
|
4
94
|
}
|