@hpcc-js/comms 3.20.1 → 3.22.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/comms",
3
- "version": "3.20.1",
3
+ "version": "3.22.0",
4
4
  "description": "hpcc-js - Communications",
5
5
  "type": "module",
6
6
  "main": "./dist/node/index.cjs",
@@ -76,13 +76,13 @@
76
76
  "wsdl-all": "npm-run-all --aggregate-output -c --serial build --parallel wsdl-*"
77
77
  },
78
78
  "dependencies": {
79
- "@hpcc-js/util": "^3.7.2",
79
+ "@hpcc-js/util": "^3.8.0",
80
80
  "@xmldom/xmldom": "0.9.12",
81
81
  "undici": "8.10.2"
82
82
  },
83
83
  "devDependencies": {
84
- "@hpcc-js/ddl-shim": "^3.5.2",
85
- "@hpcc-js/vite-plugins": "^1.4.1",
84
+ "@hpcc-js/ddl-shim": "^3.5.3",
85
+ "@hpcc-js/vite-plugins": "^1.5.0",
86
86
  "@kubernetes/client-node": "2.0.0",
87
87
  "@types/d3-time-format": "4.0.3",
88
88
  "@types/node": "^26",
@@ -111,5 +111,5 @@
111
111
  "esp",
112
112
  "HPCC-Platform"
113
113
  ],
114
- "gitHead": "f2f54184e334591caa8d02ae9384a50e0c206b15"
114
+ "gitHead": "78c0ce98c907ecca74c22e40d04980331f72dfa8"
115
115
  }
@@ -1,4 +1,4 @@
1
- import { ResourcesServiceBase, WsResources } from "./wsdl/WsResources/v1.01/WsResources.ts";
1
+ import { ResourcesServiceBase, WsResources } from "./wsdl/WsResources/v1.04/WsResources.ts";
2
2
 
3
3
  export {
4
4
  type WsResources
@@ -1,5 +1,5 @@
1
1
  import { deepMixin, xml2json, XMLNode } from "@hpcc-js/util";
2
- import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.10/WsWorkunits.ts";
2
+ import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.11/WsWorkunits.ts";
3
3
  import { IConnection, IOptions } from "../connection.ts";
4
4
  import { type ESPResponseType } from "../espConnection.ts";
5
5
 
@@ -0,0 +1,178 @@
1
+ import { IConnection, IOptions } from "../../../../connection.ts";
2
+ import { Service } from "../../../../espConnection.ts";
3
+
4
+ export namespace WsResources {
5
+
6
+ export type unsignedInt = number;
7
+
8
+ export enum HPCCQueueType {
9
+ Thor = "Thor",
10
+ HThor = "HThor",
11
+ Roxie = "Roxie",
12
+ All = "All"
13
+ }
14
+
15
+ export enum ExternalIPStatus {
16
+ Unknown = "Unknown",
17
+ None = "None",
18
+ Pending = "Pending"
19
+ }
20
+
21
+ export enum ResourceType {
22
+ UNKNOWN = "UNKNOWN",
23
+ TRACES = "TRACES",
24
+ LOGS = "LOGS",
25
+ METRICS = "METRICS"
26
+ }
27
+
28
+ export interface WsResourcesPingRequest {
29
+
30
+ }
31
+
32
+ export interface WsResourcesPingResponse {
33
+
34
+ }
35
+
36
+ export interface ServiceQueryRequest {
37
+ Type?: string;
38
+ Name?: string;
39
+ }
40
+
41
+ export interface Exception {
42
+ Code?: string;
43
+ Audience?: string;
44
+ Source?: string;
45
+ Message?: string;
46
+ }
47
+
48
+ export interface Exceptions {
49
+ Source?: string;
50
+ Exception?: Exception[];
51
+ }
52
+
53
+ export interface Service {
54
+ Name?: string;
55
+ Type?: string;
56
+ Port?: unsignedInt;
57
+ TLSSecure?: boolean;
58
+ }
59
+
60
+ export interface Services {
61
+ Service?: Service[];
62
+ }
63
+
64
+ export interface ServiceQueryResponse {
65
+ Exceptions?: Exceptions;
66
+ Services?: Services;
67
+ }
68
+
69
+ export interface TargetQueryRequest {
70
+ Type?: HPCCQueueType;
71
+ }
72
+
73
+ export interface HPCCQueue {
74
+ Name?: string;
75
+ Type?: HPCCQueueType;
76
+ }
77
+
78
+ export interface Queues {
79
+ HPCCQueue?: HPCCQueue[];
80
+ }
81
+
82
+ export interface Roxies {
83
+ Item?: string[];
84
+ }
85
+
86
+ export interface TargetQueryResponse {
87
+ Exceptions?: Exceptions;
88
+ Queues?: Queues;
89
+ Roxies?: Roxies;
90
+ }
91
+
92
+ export interface WebLinksQueryRequest {
93
+
94
+ }
95
+
96
+ export interface NamedValue {
97
+ Name?: string;
98
+ Value?: string;
99
+ }
100
+
101
+ export interface Annotations {
102
+ NamedValue?: NamedValue[];
103
+ }
104
+
105
+ export interface ExternalIPs {
106
+ Item?: string[];
107
+ }
108
+
109
+ export interface ServicePorts {
110
+ Name?: string;
111
+ Protocol?: string;
112
+ Port?: unsignedInt;
113
+ }
114
+
115
+ export interface Ports {
116
+ ServicePorts?: ServicePorts[];
117
+ }
118
+
119
+ export interface Connection {
120
+ Type?: string;
121
+ ExternalIPs?: ExternalIPs;
122
+ ExternalIPStatus?: ExternalIPStatus;
123
+ Ports?: Ports;
124
+ }
125
+
126
+ export interface DiscoveredWebLink {
127
+ ServiceName?: string;
128
+ NameSpace?: string;
129
+ Annotations?: Annotations;
130
+ Connection?: Connection;
131
+ }
132
+
133
+ export interface DiscoveredWebLinks {
134
+ DiscoveredWebLink?: DiscoveredWebLink[];
135
+ }
136
+
137
+ export interface ConfiguredWebLink {
138
+ Name?: string;
139
+ Description?: string;
140
+ URL?: string;
141
+ ResourceType?: ResourceType;
142
+ }
143
+
144
+ export interface ConfiguredWebLinks {
145
+ ConfiguredWebLink?: ConfiguredWebLink[];
146
+ }
147
+
148
+ export interface WebLinksQueryResponse {
149
+ Exceptions?: Exceptions;
150
+ DiscoveredWebLinks?: DiscoveredWebLinks;
151
+ ConfiguredWebLinks?: ConfiguredWebLinks;
152
+ }
153
+
154
+ }
155
+
156
+ export class ResourcesServiceBase extends Service {
157
+
158
+ constructor(optsConnection: IOptions | IConnection) {
159
+ super(optsConnection, "WsResources", "1.04");
160
+ }
161
+
162
+ Ping(request: WsResources.WsResourcesPingRequest, abortSignal?: AbortSignal): Promise<WsResources.WsResourcesPingResponse> {
163
+ return this._connection.send("Ping", request, "json", false, abortSignal, "WsResourcesPingResponse");
164
+ }
165
+
166
+ ServiceQuery(request: WsResources.ServiceQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.ServiceQueryResponse> {
167
+ return this._connection.send("ServiceQuery", request, "json", false, abortSignal, "ServiceQueryResponse");
168
+ }
169
+
170
+ TargetQuery(request: WsResources.TargetQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.TargetQueryResponse> {
171
+ return this._connection.send("TargetQuery", request, "json", false, abortSignal, "TargetQueryResponse");
172
+ }
173
+
174
+ WebLinksQuery(request: WsResources.WebLinksQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.WebLinksQueryResponse> {
175
+ return this._connection.send("WebLinksQuery", request, "json", false, abortSignal, "WebLinksQueryResponse");
176
+ }
177
+
178
+ }
@@ -0,0 +1,178 @@
1
+ import { IConnection, IOptions } from "../../../../connection.ts";
2
+ import { Service } from "../../../../espConnection.ts";
3
+
4
+ export namespace WsResources {
5
+
6
+ export type unsignedInt = number;
7
+
8
+ export enum HPCCQueueType {
9
+ Thor = "Thor",
10
+ HThor = "HThor",
11
+ Roxie = "Roxie",
12
+ All = "All"
13
+ }
14
+
15
+ export enum ExternalIPStatus {
16
+ Unknown = "Unknown",
17
+ None = "None",
18
+ Pending = "Pending"
19
+ }
20
+
21
+ export enum ResourceType {
22
+ UNKNOWN = "UNKNOWN",
23
+ TRACES = "TRACES",
24
+ LOGS = "LOGS",
25
+ METRICS = "METRICS"
26
+ }
27
+
28
+ export interface WsResourcesPingRequest {
29
+
30
+ }
31
+
32
+ export interface WsResourcesPingResponse {
33
+
34
+ }
35
+
36
+ export interface ServiceQueryRequest {
37
+ Type?: string;
38
+ Name?: string;
39
+ }
40
+
41
+ export interface Exception {
42
+ Code?: string;
43
+ Audience?: string;
44
+ Source?: string;
45
+ Message?: string;
46
+ }
47
+
48
+ export interface Exceptions {
49
+ Source?: string;
50
+ Exception?: Exception[];
51
+ }
52
+
53
+ export interface Service {
54
+ Name?: string;
55
+ Type?: string;
56
+ Port?: unsignedInt;
57
+ TLSSecure?: boolean;
58
+ }
59
+
60
+ export interface Services {
61
+ Service?: Service[];
62
+ }
63
+
64
+ export interface ServiceQueryResponse {
65
+ Exceptions?: Exceptions;
66
+ Services?: Services;
67
+ }
68
+
69
+ export interface TargetQueryRequest {
70
+ Type?: HPCCQueueType;
71
+ }
72
+
73
+ export interface HPCCQueue {
74
+ Name?: string;
75
+ Type?: HPCCQueueType;
76
+ }
77
+
78
+ export interface Queues {
79
+ HPCCQueue?: HPCCQueue[];
80
+ }
81
+
82
+ export interface Roxies {
83
+ Item?: string[];
84
+ }
85
+
86
+ export interface TargetQueryResponse {
87
+ Exceptions?: Exceptions;
88
+ Queues?: Queues;
89
+ Roxies?: Roxies;
90
+ }
91
+
92
+ export interface WebLinksQueryRequest {
93
+
94
+ }
95
+
96
+ export interface NamedValue {
97
+ Name?: string;
98
+ Value?: string;
99
+ }
100
+
101
+ export interface Annotations {
102
+ NamedValue?: NamedValue[];
103
+ }
104
+
105
+ export interface ExternalIPs {
106
+ Item?: string[];
107
+ }
108
+
109
+ export interface ServicePorts {
110
+ Name?: string;
111
+ Protocol?: string;
112
+ Port?: unsignedInt;
113
+ }
114
+
115
+ export interface Ports {
116
+ ServicePorts?: ServicePorts[];
117
+ }
118
+
119
+ export interface Connection {
120
+ Type?: string;
121
+ ExternalIPs?: ExternalIPs;
122
+ ExternalIPStatus?: ExternalIPStatus;
123
+ Ports?: Ports;
124
+ }
125
+
126
+ export interface DiscoveredWebLink {
127
+ ServiceName?: string;
128
+ NameSpace?: string;
129
+ Annotations?: Annotations;
130
+ Connection?: Connection;
131
+ }
132
+
133
+ export interface DiscoveredWebLinks {
134
+ DiscoveredWebLink?: DiscoveredWebLink[];
135
+ }
136
+
137
+ export interface ConfiguredWebLink {
138
+ Name?: string;
139
+ Description?: string;
140
+ URL?: string;
141
+ ResourceType?: ResourceType;
142
+ }
143
+
144
+ export interface ConfiguredWebLinks {
145
+ ConfiguredWebLink?: ConfiguredWebLink[];
146
+ }
147
+
148
+ export interface WebLinksQueryResponse {
149
+ Exceptions?: Exceptions;
150
+ DiscoveredWebLinks?: DiscoveredWebLinks;
151
+ ConfiguredWebLinks?: ConfiguredWebLinks;
152
+ }
153
+
154
+ }
155
+
156
+ export class ResourcesServiceBase extends Service {
157
+
158
+ constructor(optsConnection: IOptions | IConnection) {
159
+ super(optsConnection, "WsResources", "1.04");
160
+ }
161
+
162
+ Ping(request: WsResources.WsResourcesPingRequest, abortSignal?: AbortSignal): Promise<WsResources.WsResourcesPingResponse> {
163
+ return this._connection.send("Ping", request, "json", false, abortSignal, "WsResourcesPingResponse");
164
+ }
165
+
166
+ ServiceQuery(request: WsResources.ServiceQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.ServiceQueryResponse> {
167
+ return this._connection.send("ServiceQuery", request, "json", false, abortSignal, "ServiceQueryResponse");
168
+ }
169
+
170
+ TargetQuery(request: WsResources.TargetQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.TargetQueryResponse> {
171
+ return this._connection.send("TargetQuery", request, "json", false, abortSignal, "TargetQueryResponse");
172
+ }
173
+
174
+ WebLinksQuery(request: WsResources.WebLinksQueryRequest, abortSignal?: AbortSignal): Promise<WsResources.WebLinksQueryResponse> {
175
+ return this._connection.send("WebLinksQuery", request, "json", false, abortSignal, "WebLinksQueryResponse");
176
+ }
177
+
178
+ }