@hpcc-js/comms 3.8.1 → 3.9.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 +175 -86
- 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 +39 -42
- package/dist/node/index.cjs.map +4 -4
- package/dist/node/index.js +39 -42
- package/dist/node/index.js.map +4 -4
- package/package.json +4 -5
- package/src/__package__.ts +2 -2
- package/src/ecl/logicalFile.ts +1 -0
- package/src/ecl/store.ts +1 -1
- package/src/index.node.ts +1 -1
- package/src/services/fileSpray.ts +1 -1
- package/src/services/wsCodesign.ts +7 -83
- package/src/services/wsDFU.ts +1 -1
- package/src/services/wsDFUXRef.ts +3 -304
- package/src/services/wsMachine.ts +1 -1
- package/src/services/wsPackageProcess.ts +1 -1
- package/src/services/wsSMC.ts +1 -1
- package/src/services/wsStore.ts +7 -205
- package/src/services/wsTopology.ts +1 -1
- package/src/services/wsWorkunits.ts +0 -8
- package/src/services/wsdl/FileSpray/v1.27/FileSpray.ts +930 -0
- package/src/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts +227 -0
- package/src/services/wsdl/WsDfu/v1.66/WsDfu.ts +1267 -0
- package/src/services/wsdl/WsDfu/v1.67/WsDfu.ts +1268 -0
- package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +12 -15
- package/src/services/wsdl/WsPackageProcess/v1.07/WsPackageProcess.ts +500 -0
- package/src/services/wsdl/WsSMC/v1.27/WsSMC.ts +43 -122
- package/src/services/wsdl/WsSMC/v1.28/WsSMC.ts +645 -0
- package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +65 -164
- package/src/services/wsdl/WsTopology/v1.33/WsTopology.ts +835 -0
- package/src/services/wsdl/WsWorkunits/v2.02/WsWorkunits.ts +6 -1
- package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +15 -20
- package/src/services/wsdl/ws_elk/v1/ws_elk.ts +4 -4
- package/src/services/wsdl/ws_machine/v1.18/ws_machine.ts +497 -0
- package/src/services/wsdl/ws_machine/v1.19/ws_machine.ts +497 -0
- package/src/services/wsdl/wsstore/v1.02/wsstore.ts +29 -40
- package/types/__package__.d.ts +2 -2
- package/types/ecl/logicalFile.d.ts +1 -0
- package/types/services/fileSpray.d.ts +1 -1
- package/types/services/wsCodesign.d.ts +5 -55
- package/types/services/wsDFU.d.ts +1 -1
- package/types/services/wsDFUXRef.d.ts +3 -218
- package/types/services/wsMachine.d.ts +1 -1
- package/types/services/wsPackageProcess.d.ts +1 -1
- package/types/services/wsSMC.d.ts +1 -1
- package/types/services/wsStore.d.ts +5 -145
- package/types/services/wsTopology.d.ts +1 -1
- package/types/services/wsdl/FileSpray/{v1.26 → v1.27}/FileSpray.d.ts +1 -0
- package/types/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.d.ts +147 -0
- package/types/services/wsdl/WsDfu/{v1.65 → v1.67}/WsDfu.d.ts +16 -0
- package/types/services/wsdl/WsPackageProcess/{v1.04 → v1.07}/WsPackageProcess.d.ts +75 -95
- package/types/services/wsdl/WsSMC/{v1.27 → v1.28}/WsSMC.d.ts +84 -122
- package/types/services/wsdl/WsTopology/{v1.32 → v1.33}/WsTopology.d.ts +97 -164
- package/types/services/wsdl/WsWorkunits/v2.02/WsWorkunits.d.ts +6 -1
- package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +60 -0
- package/types/services/wsdl/ws_elk/v1/ws_elk.d.ts +2 -2
- package/types/services/wsdl/ws_machine/{v1.17 → v1.19}/ws_machine.d.ts +65 -138
- package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts +166 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/comms",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"description": "hpcc-js - Communications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/node/index.cjs",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"wsdl-all": "npm-run-all --aggregate-output -c --serial build --parallel wsdl-*"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@hpcc-js/util": "^3.3.
|
|
75
|
+
"@hpcc-js/util": "^3.3.12",
|
|
76
76
|
"@xmldom/xmldom": "0.9.8",
|
|
77
77
|
"abort-controller": "3.0.0",
|
|
78
78
|
"node-fetch": "3.3.2",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@hpcc-js/ddl-shim": "^3.0.0",
|
|
83
|
-
"@hpcc-js/esbuild-plugins": "^1.5.
|
|
83
|
+
"@hpcc-js/esbuild-plugins": "^1.5.2",
|
|
84
84
|
"@kubernetes/client-node": "1.3.0",
|
|
85
85
|
"@types/d3-request": "1.0.9",
|
|
86
86
|
"@types/d3-time-format": "2.3.4",
|
|
@@ -90,7 +90,6 @@
|
|
|
90
90
|
"d3-format": "^1",
|
|
91
91
|
"d3-time-format": "^2",
|
|
92
92
|
"data-uri-to-buffer": "6.0.2",
|
|
93
|
-
"safe-buffer": "5.2.1",
|
|
94
93
|
"soap": "1.4.1",
|
|
95
94
|
"tmp": "0.2.5",
|
|
96
95
|
"typescript-formatter": "^7.2.2"
|
|
@@ -112,5 +111,5 @@
|
|
|
112
111
|
"esp",
|
|
113
112
|
"HPCC-Platform"
|
|
114
113
|
],
|
|
115
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "0d1e42fc5b7abe6c486d1a2e11c1460596f7af55"
|
|
116
115
|
}
|
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.9.0";
|
|
3
|
+
export const BUILD_VERSION = "3.12.0";
|
package/src/ecl/logicalFile.ts
CHANGED
|
@@ -88,6 +88,7 @@ export class LogicalFile extends StateObject<FileDetailEx, FileDetailEx> impleme
|
|
|
88
88
|
get StateID(): number { return this.get("StateID"); }
|
|
89
89
|
get ExpirationDate(): string { return this.get("ExpirationDate"); }
|
|
90
90
|
get ExtendedIndexInfo(): WsDfu.ExtendedIndexInfo { return this.get("ExtendedIndexInfo"); }
|
|
91
|
+
get CompressionType(): string { return this.get("CompressionType"); }
|
|
91
92
|
|
|
92
93
|
get properties(): FileDetailEx { return this.get(); }
|
|
93
94
|
|
package/src/ecl/store.ts
CHANGED
|
@@ -61,7 +61,7 @@ export class Store {
|
|
|
61
61
|
private _knownValues: { [key: string]: any } = {};
|
|
62
62
|
|
|
63
63
|
protected create() {
|
|
64
|
-
this.connection.CreateStore({ Name: this.Name,
|
|
64
|
+
this.connection.CreateStore({ Name: this.Name, Type: "", Description: "" });
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
set(key: string, value: string, broadcast = true): Promise<void> {
|
package/src/index.node.ts
CHANGED
|
@@ -58,7 +58,7 @@ root.fetch.__trustwaveAgent = new https.Agent({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// btoa polyfill ---
|
|
61
|
-
import { Buffer } from "
|
|
61
|
+
import { Buffer } from "node:buffer";
|
|
62
62
|
if (typeof root.btoa === "undefined") {
|
|
63
63
|
root.btoa = function (str: string) {
|
|
64
64
|
return Buffer.from(str || "", "utf8").toString("base64");
|
|
@@ -1,94 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ESPConnection } from "../espConnection.ts";
|
|
1
|
+
import { CodesignServiceBase, WsCodesign } from "./wsdl/ws_codesign/v1.1/ws_codesign.ts";
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
Response structures generated via:
|
|
6
|
-
* http://localhost:8010/ws_codesign/?ver_=1.1&respjson_
|
|
7
|
-
* http://json2ts.com/
|
|
8
|
-
*/
|
|
9
|
-
export namespace WsCodesign {
|
|
3
|
+
export { WsCodesign };
|
|
10
4
|
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface WsCodesignPingRequest {
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface SignRequest {
|
|
18
|
-
SigningMethod?: string;
|
|
19
|
-
UserID: string;
|
|
20
|
-
KeyPass: string;
|
|
21
|
-
Text: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface VerifyRequest {
|
|
25
|
-
Text: string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface Exception {
|
|
29
|
-
Code: string;
|
|
30
|
-
Audience: string;
|
|
31
|
-
Source: string;
|
|
32
|
-
Message: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface Exceptions {
|
|
36
|
-
Source: string;
|
|
37
|
-
Exception: Exception[];
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface UserIDs {
|
|
41
|
-
Item: string[];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface ListUserIDsResponse {
|
|
45
|
-
Exceptions: Exceptions;
|
|
46
|
-
UserIDs: UserIDs;
|
|
47
|
-
}
|
|
5
|
+
export class CodesignService extends CodesignServiceBase {
|
|
48
6
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
export interface SignResponse {
|
|
53
|
-
Exceptions: Exceptions;
|
|
54
|
-
RetCode: number;
|
|
55
|
-
ErrMsg: string;
|
|
56
|
-
SignedText: string;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export interface VerifyResponse {
|
|
60
|
-
Exceptions: Exceptions;
|
|
61
|
-
RetCode: number;
|
|
62
|
-
ErrMsg: string;
|
|
63
|
-
IsVerified: boolean;
|
|
64
|
-
SignedBy: string;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export class CodesignService {
|
|
69
|
-
private _connection: ESPConnection;
|
|
70
|
-
|
|
71
|
-
constructor(optsConnection: IOptions | IConnection) {
|
|
72
|
-
this._connection = new ESPConnection(optsConnection, "ws_codesign", "1.1");
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
connectionOptions(): IOptions {
|
|
76
|
-
return this._connection.opts();
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
ListUserIDs(request: WsCodesign.ListUserIDsRequest): Promise<string[]> {
|
|
80
|
-
return this._connection.send("ListUserIDs", request).then((response: WsCodesign.ListUserIDsResponse) => {
|
|
7
|
+
ListUserIDsEx(request: Partial<WsCodesign.ListUserIDsRequest>): Promise<string[]> {
|
|
8
|
+
return super.ListUserIDs(request).then((response: WsCodesign.ListUserIDsResponse) => {
|
|
81
9
|
return response.UserIDs.Item;
|
|
82
10
|
}).catch(e => {
|
|
83
11
|
return [];
|
|
84
12
|
});
|
|
85
13
|
}
|
|
86
14
|
|
|
87
|
-
Sign(request: WsCodesign.SignRequest): Promise<WsCodesign.SignResponse> {
|
|
88
|
-
return
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
Verify(request: WsCodesign.VerifyRequest): Promise<WsCodesign.VerifyResponse> {
|
|
92
|
-
return this._connection.send("Verify", request);
|
|
15
|
+
Sign(request: Partial<WsCodesign.SignRequest>): Promise<WsCodesign.SignResponse> {
|
|
16
|
+
return super.Sign({ SigningMethod: WsCodesign.SigningMethodType.gpg, ...request });
|
|
93
17
|
}
|
|
94
18
|
}
|
package/src/services/wsDFU.ts
CHANGED
|
@@ -1,308 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Service } from "../espConnection.ts";
|
|
1
|
+
import { DFUXRefServiceBase, type WsDFUXRef } from "./wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts";
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
Response structures generated via:
|
|
6
|
-
* http://localhost:8010/WsDFUXRef/?ver_=1.01&reqjson_
|
|
7
|
-
* http://localhost:8010/WsDFUXRef/?ver_=1.01&respjson_
|
|
8
|
-
* http://json2ts.com/
|
|
9
|
-
*/
|
|
3
|
+
export { type WsDFUXRef };
|
|
10
4
|
|
|
11
|
-
export
|
|
5
|
+
export class DFUXRefService extends DFUXRefServiceBase {
|
|
12
6
|
|
|
13
|
-
export interface XRefFiles {
|
|
14
|
-
Item: string[];
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface DFUXRefArrayActionRequest {
|
|
18
|
-
Type: string;
|
|
19
|
-
Cluster: string;
|
|
20
|
-
Action: string;
|
|
21
|
-
XRefFiles: XRefFiles;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface DFUXRefBuildRequest {
|
|
25
|
-
Cluster: string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface DFUXRefBuildCancelRequest {
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface DFUXRefCleanDirectoriesRequest {
|
|
32
|
-
Cluster: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface DFUXRefDirectoriesQueryRequest {
|
|
36
|
-
Cluster: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface DFUXRefFoundFilesQueryRequest {
|
|
40
|
-
Cluster: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface DFUXRefListRequest {
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export interface DFUXRefLostFilesQueryRequest {
|
|
47
|
-
Cluster: string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export interface DFUXRefMessagesQueryRequest {
|
|
51
|
-
Cluster: string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface DFUXRefOrphanFilesQueryRequest {
|
|
55
|
-
Cluster: string;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface DFUXRefUnusedFilesRequest {
|
|
59
|
-
ProcessCluster: string;
|
|
60
|
-
CheckPackageMaps: boolean;
|
|
61
|
-
GetFileDetails: boolean;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export interface WsDFUXRefPingRequest {
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export interface Request {
|
|
68
|
-
DFUXRefArrayActionRequest: DFUXRefArrayActionRequest;
|
|
69
|
-
DFUXRefBuildRequest: DFUXRefBuildRequest;
|
|
70
|
-
DFUXRefBuildCancelRequest: DFUXRefBuildCancelRequest;
|
|
71
|
-
DFUXRefCleanDirectoriesRequest: DFUXRefCleanDirectoriesRequest;
|
|
72
|
-
DFUXRefDirectoriesQueryRequest: DFUXRefDirectoriesQueryRequest;
|
|
73
|
-
DFUXRefFoundFilesQueryRequest: DFUXRefFoundFilesQueryRequest;
|
|
74
|
-
DFUXRefListRequest: DFUXRefListRequest;
|
|
75
|
-
DFUXRefLostFilesQueryRequest: DFUXRefLostFilesQueryRequest;
|
|
76
|
-
DFUXRefMessagesQueryRequest: DFUXRefMessagesQueryRequest;
|
|
77
|
-
DFUXRefOrphanFilesQueryRequest: DFUXRefOrphanFilesQueryRequest;
|
|
78
|
-
DFUXRefUnusedFilesRequest: DFUXRefUnusedFilesRequest;
|
|
79
|
-
WsDFUXRefPingRequest: WsDFUXRefPingRequest;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export interface DFUXRefArrayActionResponse {
|
|
83
|
-
DFUXRefArrayActionResult: string;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export interface DFUXRefBuildResponse {
|
|
87
|
-
DFUXRefActionResult: string;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export interface DFUXRefBuildCancelResponse {
|
|
91
|
-
DFUXRefBuildCancelResult: string;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export interface Exception {
|
|
95
|
-
Code: string;
|
|
96
|
-
Audience: string;
|
|
97
|
-
Source: string;
|
|
98
|
-
Message: string;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export interface Exceptions {
|
|
102
|
-
Source: string;
|
|
103
|
-
Exception: Exception[];
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export interface Directory {
|
|
107
|
-
Num: string;
|
|
108
|
-
Name: string;
|
|
109
|
-
MaxSize: string;
|
|
110
|
-
MaxIP: string;
|
|
111
|
-
MinSize: string;
|
|
112
|
-
MinIP: string;
|
|
113
|
-
Size: string;
|
|
114
|
-
PositiveSkew: string;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
export interface DFUXRefDirectoriesQueryResult {
|
|
118
|
-
Directory: Directory[];
|
|
119
|
-
Cluster: string;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export interface DFUXRefDirectoriesQueryResponse {
|
|
123
|
-
DFUXRefDirectoriesQueryResult: DFUXRefDirectoriesQueryResult;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export interface Part {
|
|
127
|
-
Num: string;
|
|
128
|
-
Node: string;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export interface File {
|
|
132
|
-
Size: string;
|
|
133
|
-
Partmask: string;
|
|
134
|
-
Modified: Date;
|
|
135
|
-
Numparts: string;
|
|
136
|
-
Part: Part[];
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export interface DFUXRefFoundFilesQueryResult {
|
|
140
|
-
File: File[];
|
|
141
|
-
Cluster: string;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export interface DFUXRefFoundFilesQueryResponse {
|
|
145
|
-
DFUXRefFoundFilesQueryResult: DFUXRefFoundFilesQueryResult;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
export interface XRefNode {
|
|
149
|
-
Name: string;
|
|
150
|
-
Modified: string;
|
|
151
|
-
Status: string;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
export interface DFUXRefListResult {
|
|
155
|
-
XRefNode: XRefNode[];
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export interface DFUXRefListResponse {
|
|
159
|
-
DFUXRefListResult: DFUXRefListResult;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export interface File2 {
|
|
163
|
-
Partslost: string;
|
|
164
|
-
Name: string;
|
|
165
|
-
Partmask: string;
|
|
166
|
-
Modified: Date;
|
|
167
|
-
Numparts: string;
|
|
168
|
-
Part: any;
|
|
169
|
-
Cluster: string;
|
|
170
|
-
Size: string;
|
|
171
|
-
Primarylost: string;
|
|
172
|
-
Replicatedlost: string;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export interface DFUXRefLostFilesQueryResult {
|
|
176
|
-
File: File2[];
|
|
177
|
-
Cluster: string;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
export interface DFUXRefLostFilesQueryResponse {
|
|
181
|
-
DFUXRefLostFilesQueryResult: DFUXRefLostFilesQueryResult;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
export interface Warning {
|
|
185
|
-
Text: string;
|
|
186
|
-
File: string;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
export interface DFUXRefMessagesQueryResult {
|
|
190
|
-
Warning: Warning[];
|
|
191
|
-
Cluster: string;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
export interface DFUXRefMessagesQueryResponse {
|
|
195
|
-
DFUXRefMessagesQueryResult: DFUXRefMessagesQueryResult;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
export interface DFUXRefOrphanFilesQueryResult {
|
|
199
|
-
File: File[];
|
|
200
|
-
Cluster: string;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
export interface DFUXRefOrphanFilesQueryResponse {
|
|
204
|
-
DFUXRefOrphanFilesQueryResult: DFUXRefOrphanFilesQueryResult;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
export interface Exception2 {
|
|
208
|
-
Code: string;
|
|
209
|
-
Audience: string;
|
|
210
|
-
Source: string;
|
|
211
|
-
Message: string;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
export interface Exceptions2 {
|
|
215
|
-
Source: string;
|
|
216
|
-
Exception: Exception2[];
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export interface UnusedFiles {
|
|
220
|
-
File: string[];
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
export interface DFULogicalFile {
|
|
224
|
-
Prefix: string;
|
|
225
|
-
ClusterName: string;
|
|
226
|
-
Directory: string;
|
|
227
|
-
Description: string;
|
|
228
|
-
Parts: string;
|
|
229
|
-
Name: string;
|
|
230
|
-
Owner: string;
|
|
231
|
-
Totalsize: string;
|
|
232
|
-
RecordCount: string;
|
|
233
|
-
Modified: string;
|
|
234
|
-
LongSize: string;
|
|
235
|
-
LongRecordCount: string;
|
|
236
|
-
isSuperfile: boolean;
|
|
237
|
-
isZipfile: boolean;
|
|
238
|
-
isDirectory: boolean;
|
|
239
|
-
Replicate: boolean;
|
|
240
|
-
IntSize: number;
|
|
241
|
-
IntRecordCount: number;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
export interface UnusedFilesWithDetails {
|
|
245
|
-
DFULogicalFile: DFULogicalFile[];
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
export interface DFUXRefUnusedFilesResponse {
|
|
249
|
-
Exceptions: Exceptions2;
|
|
250
|
-
UnusedFileCount: number;
|
|
251
|
-
UnusedFiles: UnusedFiles;
|
|
252
|
-
UnusedFilesWithDetails: UnusedFilesWithDetails;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
export interface WsDFUXRefPingResponse {
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
export class DFUXRefService extends Service {
|
|
260
|
-
|
|
261
|
-
constructor(optsConnection: IOptions | IConnection) {
|
|
262
|
-
super(optsConnection, "WsDFUXRef", "1.01");
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
DFUXRefArrayAction(request: WsDFUXRef.DFUXRefArrayActionRequest): Promise<WsDFUXRef.DFUXRefArrayActionResponse> {
|
|
266
|
-
return this._connection.send("DFUXRefArrayAction", request);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
DFUXRefBuild(request: WsDFUXRef.DFUXRefBuildRequest): Promise<WsDFUXRef.DFUXRefBuildResponse> {
|
|
270
|
-
return this._connection.send("DFUXRefBuild", request);
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
DFUXRefBuildCancel(request: WsDFUXRef.DFUXRefBuildCancelRequest): Promise<WsDFUXRef.DFUXRefBuildCancelResponse> {
|
|
274
|
-
return this._connection.send("DFUXRefBuildCancel", request);
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
DFUXRefCleanDirectories(request: WsDFUXRef.DFUXRefCleanDirectoriesRequest): Promise<WsDFUXRef.DFUXRefDirectoriesQueryResponse> {
|
|
278
|
-
return this._connection.send("DFUXRefCleanDirectories", request);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
DFUXRefDirectories(request: WsDFUXRef.DFUXRefDirectoriesQueryRequest): Promise<WsDFUXRef.DFUXRefDirectoriesQueryResponse> {
|
|
282
|
-
return this._connection.send("DFUXRefDirectories", request, undefined, undefined, undefined, "DFUXRefDirectoriesQueryResponse");
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
DFUXRefFoundFiles(request: WsDFUXRef.DFUXRefFoundFilesQueryRequest): Promise<WsDFUXRef.DFUXRefFoundFilesQueryResponse> {
|
|
286
|
-
return this._connection.send("DFUXRefFoundFiles", request, undefined, undefined, undefined, "DFUXRefFoundFilesQueryResponse");
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
DFUXRefList(request: WsDFUXRef.DFUXRefListRequest = {}): Promise<WsDFUXRef.DFUXRefListResponse> {
|
|
290
|
-
return this._connection.send("DFUXRefList", request);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
DFUXRefLostFiles(request: WsDFUXRef.DFUXRefLostFilesQueryRequest): Promise<WsDFUXRef.DFUXRefLostFilesQueryResponse> {
|
|
294
|
-
return this._connection.send("DFUXRefLostFiles", request, undefined, undefined, undefined, "DFUXRefLostFilesQueryResponse");
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
DFUXRefMessages(request: WsDFUXRef.DFUXRefMessagesQueryRequest): Promise<WsDFUXRef.DFUXRefMessagesQueryResponse> {
|
|
298
|
-
return this._connection.send("DFUXRefMessages", request, undefined, undefined, undefined, "DFUXRefMessagesQueryResponse");
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
DFUXRefOrphanFiles(request: WsDFUXRef.DFUXRefOrphanFilesQueryRequest): Promise<WsDFUXRef.DFUXRefOrphanFilesQueryResponse> {
|
|
302
|
-
return this._connection.send("DFUXRefOrphanFiles", request, undefined, undefined, undefined, "DFUXRefOrphanFilesQueryResponse");
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
DFUXRefUnusedFiles(request: WsDFUXRef.DFUXRefUnusedFilesRequest): Promise<WsDFUXRef.DFUXRefUnusedFilesResponse> {
|
|
306
|
-
return this._connection.send("DFUXRefUnusedFiles", request);
|
|
307
|
-
}
|
|
308
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { exists } from "@hpcc-js/util";
|
|
2
2
|
import { max as d3Max, mean as d3Mean } from "d3-array";
|
|
3
3
|
|
|
4
|
-
import { MachineServiceBase, WsMachine } from "./wsdl/ws_machine/v1.
|
|
4
|
+
import { MachineServiceBase, WsMachine } from "./wsdl/ws_machine/v1.19/ws_machine.ts";
|
|
5
5
|
|
|
6
6
|
export {
|
|
7
7
|
type WsMachine
|
package/src/services/wsSMC.ts
CHANGED