@hpcc-js/comms 3.13.0 → 3.14.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/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.umd.cjs +1 -1
- package/dist/browser/index.umd.cjs.map +1 -1
- package/dist/node/index.cjs +10 -10
- package/dist/node/index.cjs.map +4 -4
- package/dist/node/index.js +10 -10
- package/dist/node/index.js.map +4 -4
- package/package.json +7 -9
- package/src/connection.ts +8 -15
- package/src/ecl/workunit.ts +1 -0
- package/src/index.node.ts +12 -29
- package/src/services/wsSMC.ts +1 -1
- package/src/services/wsWorkunits.ts +1 -1
- package/src/services/wsdl/WsSMC/v1.29/WsSMC.ts +660 -0
- package/src/services/wsdl/WsWorkunits/v2.03/WsWorkunits.ts +3164 -0
- package/types/ecl/workunit.d.ts +1 -0
- package/types/services/wsSMC.d.ts +1 -1
- package/types/services/wsWorkunits.d.ts +1 -1
- package/types/services/wsdl/WsSMC/{v1.28 → v1.29}/WsSMC.d.ts +10 -0
- package/types/services/wsdl/WsWorkunits/{v2.02 → v2.03}/WsWorkunits.d.ts +2 -0
package/types/ecl/workunit.d.ts
CHANGED
|
@@ -173,6 +173,7 @@ export declare class Workunit extends StateObject<UWorkunitState, IWorkunitState
|
|
|
173
173
|
get FileAccessCost(): number;
|
|
174
174
|
get NoAccess(): boolean;
|
|
175
175
|
get ECLWUProcessList(): WsWorkunits.ECLWUProcessList;
|
|
176
|
+
get CostSavingPotential(): number;
|
|
176
177
|
static create(optsConnection: IOptions | IConnection): Promise<Workunit>;
|
|
177
178
|
static attach(optsConnection: IOptions | IConnection, wuid: string, state?: IWorkunitState): Workunit;
|
|
178
179
|
static existsLocal(baseUrl: string, wuid: string): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { XMLNode } from "@hpcc-js/util";
|
|
2
|
-
import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.
|
|
2
|
+
import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.03/WsWorkunits.ts";
|
|
3
3
|
import { IConnection, IOptions } from "../connection.ts";
|
|
4
4
|
export { WsWorkunits };
|
|
5
5
|
export declare enum WUStateID {
|
|
@@ -367,6 +367,15 @@ export declare namespace WsSMC {
|
|
|
367
367
|
}
|
|
368
368
|
interface WsSMCPingResponse {
|
|
369
369
|
}
|
|
370
|
+
interface RecordGlobalMetrics {
|
|
371
|
+
Category: string;
|
|
372
|
+
Dimensions: Dimensions;
|
|
373
|
+
Stats: Stats;
|
|
374
|
+
}
|
|
375
|
+
interface RecordGlobalMetricsResponse {
|
|
376
|
+
Exceptions: Exceptions;
|
|
377
|
+
Result: string;
|
|
378
|
+
}
|
|
370
379
|
interface RemoveJob {
|
|
371
380
|
ClusterType: int;
|
|
372
381
|
Cluster: string;
|
|
@@ -470,6 +479,7 @@ export declare class SMCServiceBase extends Service {
|
|
|
470
479
|
NotInCommunityEdition(request: Partial<WsSMC.NotInCommunityEdition>): Promise<WsSMC.NotInCommunityEditionResponse>;
|
|
471
480
|
PauseQueue(request: Partial<WsSMC.PauseQueue>): Promise<WsSMC.SMCQueueResponse>;
|
|
472
481
|
Ping(request: Partial<WsSMC.Ping>): Promise<WsSMC.WsSMCPingResponse>;
|
|
482
|
+
RecordGlobalMetrics(request: Partial<WsSMC.RecordGlobalMetrics>): Promise<WsSMC.RecordGlobalMetricsResponse>;
|
|
473
483
|
RemoveJob(request: Partial<WsSMC.RemoveJob>): Promise<WsSMC.SMCJobResponse>;
|
|
474
484
|
ResumeQueue(request: Partial<WsSMC.ResumeQueue>): Promise<WsSMC.SMCQueueResponse>;
|
|
475
485
|
RoxieControlCmd(request: Partial<WsSMC.RoxieControlCmd>): Promise<WsSMC.RoxieControlCmdResponse>;
|
|
@@ -702,6 +702,7 @@ export declare namespace WsWorkunits {
|
|
|
702
702
|
ServiceNames: ServiceNames;
|
|
703
703
|
ExecuteCost: double;
|
|
704
704
|
FileAccessCost: double;
|
|
705
|
+
CostSavingPotential: double;
|
|
705
706
|
CompileCost: double;
|
|
706
707
|
NoAccess: boolean;
|
|
707
708
|
ECLWUProcessList: ECLWUProcessList;
|
|
@@ -1744,6 +1745,7 @@ export declare namespace WsWorkunits {
|
|
|
1744
1745
|
ServiceNames: ServiceNames;
|
|
1745
1746
|
ExecuteCost: double;
|
|
1746
1747
|
FileAccessCost: double;
|
|
1748
|
+
CostSavingPotential: double;
|
|
1747
1749
|
CompileCost: double;
|
|
1748
1750
|
NoAccess: boolean;
|
|
1749
1751
|
ECLWUProcessList: ECLWUProcessList;
|