@hpcc-js/comms 2.93.0 → 2.94.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.
Files changed (33) hide show
  1. package/dist/index.es6.js +59 -17
  2. package/dist/index.es6.js.map +1 -1
  3. package/dist/index.js +59 -17
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist/index.node.js +59 -17
  8. package/dist/index.node.js.map +1 -1
  9. package/dist/index.node.min.js +1 -1
  10. package/dist/index.node.min.js.map +1 -1
  11. package/lib-es6/__package__.js +2 -2
  12. package/lib-es6/__package__.js.map +1 -1
  13. package/lib-es6/services/wsAccount.js +7 -17
  14. package/lib-es6/services/wsAccount.js.map +1 -1
  15. package/lib-es6/services/wsLogaccess.js +33 -3
  16. package/lib-es6/services/wsLogaccess.js.map +1 -1
  17. package/lib-es6/services/wsdl/ws_account/v1.06/ws_account.js +26 -0
  18. package/lib-es6/services/wsdl/ws_account/v1.06/ws_account.js.map +1 -0
  19. package/package.json +5 -5
  20. package/src/__package__.ts +2 -2
  21. package/src/services/wsAccount.ts +7 -100
  22. package/src/services/wsLogaccess.ts +32 -3
  23. package/src/services/wsdl/ws_account/v1.06/ws_account.ts +109 -0
  24. package/types/__package__.d.ts +2 -2
  25. package/types/__package__.d.ts.map +1 -1
  26. package/types/services/wsAccount.d.ts +3 -66
  27. package/types/services/wsAccount.d.ts.map +1 -1
  28. package/types/services/wsLogaccess.d.ts.map +1 -1
  29. package/types/services/wsdl/ws_account/v1.06/ws_account.d.ts +71 -0
  30. package/types/services/wsdl/ws_account/v1.06/ws_account.d.ts.map +1 -0
  31. package/types-3.4/__package__.d.ts +2 -2
  32. package/types-3.4/services/wsAccount.d.ts +3 -66
  33. package/types-3.4/services/wsdl/ws_account/v1.06/ws_account.d.ts +71 -0
@@ -1,4 +1,4 @@
1
1
  export var PKG_NAME = "@hpcc-js/comms";
2
- export var PKG_VERSION = "2.93.0";
3
- export var BUILD_VERSION = "2.105.13";
2
+ export var PKG_VERSION = "2.94.1";
3
+ export var BUILD_VERSION = "2.106.2";
4
4
  //# sourceMappingURL=__package__.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"__package__.js","sourceRoot":"","sources":["../src/__package__.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,QAAQ,GAAG,gBAAgB,CAAC;AACzC,MAAM,CAAC,IAAM,WAAW,GAAG,QAAQ,CAAC;AACpC,MAAM,CAAC,IAAM,aAAa,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"__package__.js","sourceRoot":"","sources":["../src/__package__.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,QAAQ,GAAG,gBAAgB,CAAC;AACzC,MAAM,CAAC,IAAM,WAAW,GAAG,QAAQ,CAAC;AACpC,MAAM,CAAC,IAAM,aAAa,GAAG,SAAS,CAAC"}
@@ -1,20 +1,10 @@
1
- import { ESPConnection } from "../espConnection";
2
- var AccountService = /** @class */ (function () {
3
- function AccountService(optsConnection) {
4
- this._connection = new ESPConnection(optsConnection, "Ws_Account", "1.05");
1
+ import { __extends } from "tslib";
2
+ import { AccountServiceBase } from "./wsdl/ws_account/v1.06/ws_account";
3
+ var AccountService = /** @class */ (function (_super) {
4
+ __extends(AccountService, _super);
5
+ function AccountService() {
6
+ return _super !== null && _super.apply(this, arguments) || this;
5
7
  }
6
- AccountService.prototype.connectionOptions = function () {
7
- return this._connection.opts();
8
- };
9
- AccountService.prototype.MyAccount = function (request) {
10
- return this._connection.send("MyAccount", request);
11
- };
12
- AccountService.prototype.UpdateUser = function (request) {
13
- return this._connection.send("UpdateUser", request);
14
- };
15
- AccountService.prototype.UpdateUserInput = function (request) {
16
- return this._connection.send("UpdateUserInput", request);
17
- };
18
8
  AccountService.prototype.VerifyUser = function (request) {
19
9
  return this._connection.send("VerifyUser", request)
20
10
  .catch(function (e) {
@@ -32,6 +22,6 @@ var AccountService = /** @class */ (function () {
32
22
  });
33
23
  };
34
24
  return AccountService;
35
- }());
25
+ }(AccountServiceBase));
36
26
  export { AccountService };
37
27
  //# sourceMappingURL=wsAccount.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"wsAccount.js","sourceRoot":"","sources":["../../src/services/wsAccount.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAiB,MAAM,kBAAkB,CAAC;AA+EhE;IAGI,wBAAY,cAAsC;QAC9C,IAAI,CAAC,WAAW,GAAG,IAAI,aAAa,CAAC,cAAc,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;IAC/E,CAAC;IAED,0CAAiB,GAAjB;QACI,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;IACnC,CAAC;IAED,kCAAS,GAAT,UAAU,OAAmC;QACzC,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED,mCAAU,GAAV,UAAW,OAAoC;QAC3C,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED,wCAAe,GAAf,UAAgB,OAAyC;QACrD,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED,mCAAU,GAAV,UAAW,OAAoC;QAC3C,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC;aAC9C,KAAK,CAAC,UAAC,CAAgB;YACpB,mCAAmC;YACnC,IAAI,CAAC,CAAC,eAAe,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,CAAC,IAAI,KAAK,KAAK,EAAxB,CAAwB,CAAC,EAAE,CAAC;gBAC/E,OAAO;oBACH,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE;wBACR,MAAM,EAAE,WAAW;wBACnB,SAAS,EAAE,CAAC,CAAC,SAAS;qBACzB;iBACJ,CAAC;YACN,CAAC;YACD,MAAM,CAAC,CAAC;QACZ,CAAC,CAAC,CAAC;IACX,CAAC;IACL,qBAAC;AAAD,CAAC,AAvCD,IAuCC"}
1
+ {"version":3,"file":"wsAccount.js","sourceRoot":"","sources":["../../src/services/wsAccount.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAa,MAAM,oCAAoC,CAAC;AAOnF;IAAoC,kCAAkB;IAAtD;;IAmBA,CAAC;IAjBG,mCAAU,GAAV,UAAW,OAAoC;QAC3C,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC;aAC9C,KAAK,CAAC,UAAC,CAAgB;YACpB,mCAAmC;YACnC,IAAI,CAAC,CAAC,eAAe,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,CAAC,IAAI,KAAK,KAAK,EAAxB,CAAwB,CAAC,EAAE,CAAC;gBAC/E,OAAO;oBACH,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE;wBACR,MAAM,EAAE,WAAW;wBACnB,SAAS,EAAE,CAAC,CAAC,SAAS;qBACzB;iBACJ,CAAC;YACN,CAAC;YACD,MAAM,CAAC,CAAC;QACZ,CAAC,CAAC,CAAC;IACX,CAAC;IAEL,qBAAC;AAAD,CAAC,AAnBD,CAAoC,kBAAkB,GAmBrD"}
@@ -66,17 +66,41 @@ var LogaccessService = /** @class */ (function (_super) {
66
66
  _loop_1 = function (key) {
67
67
  var searchField;
68
68
  if (key in columnMap) {
69
- searchField = columnMap[key];
69
+ if (Object.values(WsLogaccess.LogColumnType).includes(key)) {
70
+ searchField = key;
71
+ }
72
+ else {
73
+ searchField = columnMap[key];
74
+ }
70
75
  }
71
- var logCategory = WsLogaccess.LogAccessType.ByFieldName;
76
+ var logCategory;
72
77
  if (searchField) {
73
78
  switch (searchField) {
79
+ case WsLogaccess.LogColumnType.workunits:
80
+ case "hpcc.log.jobid":
81
+ logCategory = WsLogaccess.LogAccessType.ByJobID;
82
+ break;
83
+ case WsLogaccess.LogColumnType.audience:
74
84
  case "hpcc.log.audience":
75
85
  logCategory = WsLogaccess.LogAccessType.ByTargetAudience;
76
86
  break;
87
+ case WsLogaccess.LogColumnType.class:
88
+ case "hpcc.log.class":
89
+ logCategory = WsLogaccess.LogAccessType.ByLogType;
90
+ break;
91
+ case WsLogaccess.LogColumnType.components:
92
+ case "kubernetes.container.name":
93
+ logCategory = WsLogaccess.LogAccessType.ByComponent;
94
+ break;
95
+ default:
96
+ logCategory = WsLogaccess.LogAccessType.ByFieldName;
97
+ searchField = columnMap[key];
77
98
  }
78
99
  if (Array.isArray(request[key])) {
79
100
  request[key].forEach(function (value) {
101
+ if (logCategory === WsLogaccess.LogAccessType.ByComponent) {
102
+ value += "*";
103
+ }
80
104
  filters.push({
81
105
  LogCategory: logCategory,
82
106
  SearchField: searchField,
@@ -85,10 +109,16 @@ var LogaccessService = /** @class */ (function (_super) {
85
109
  });
86
110
  }
87
111
  else {
112
+ var value = request[key];
113
+ if (logCategory === WsLogaccess.LogAccessType.ByComponent) {
114
+ // append wildcard to end of search value to include ephemeral
115
+ // containers that aren't listed in ECL Watch's filters
116
+ value += "*";
117
+ }
88
118
  filters.push({
89
119
  LogCategory: logCategory,
90
120
  SearchField: searchField,
91
- SearchByValue: request[key]
121
+ SearchByValue: value
92
122
  });
93
123
  }
94
124
  }
@@ -1 +1 @@
1
- {"version":3,"file":"wsLogaccess.js","sourceRoot":"","sources":["../../src/services/wsLogaccess.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAE3F,IAAM,MAAM,GAAG,YAAY,CAAC,wCAAwC,CAAC,CAAC;AAEtE,OAAO,EACH,WAAW,EACd,CAAC;AAsDF;IAAsC,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CAAC,WAAW,EAAE,CAAC;wBACjE,CAAC;wBAED,sBAAO,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,UAAA,QAAQ;;gCAC7C,IAAI,CAAC;oCACD,IAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;oCAC/C,IAAI,KAAK,GAAG,EAAE,CAAC;oCACf,QAAQ,OAAO,CAAC,oBAAoB,EAAE,CAAC;wCACnC,KAAK,uBAAuB,CAAC;wCAC7B,KAAK,cAAc;4CACf,KAAK,GAAG,MAAA,MAAA,QAAQ,CAAC,KAAK,0CAAE,GAAG,CAAC,cAAc,CAAC,mCAAI,EAAE,CAAC;4CAClD,MAAM;wCACV;4CACI,MAAM,CAAC,OAAO,CAAC,wCAAiC,OAAO,CAAC,oBAAoB,CAAE,CAAC,CAAC;4CAChF,KAAK,GAAG,EAAE,CAAC;oCACnB,CAAC;oCACD,OAAO;wCACH,KAAK,EAAE,KAAK;wCACZ,KAAK,EAAE,MAAA,QAAQ,CAAC,sBAAsB,mCAAI,KAAK;qCAClD,CAAC;gCACN,CAAC;gCAAC,OAAO,CAAC,EAAE,CAAC;oCACT,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gCACpB,CAAC;gCACD,OAAO;oCACH,KAAK,EAAE,EAAE;oCACT,KAAK,EAAE,CAAC;iCACX,CAAC;4BACN,CAAC,CAAC,EAAC;;;;KACN;IACL,uBAAC;AAAD,CAAC,AApMD,CAAsC,oBAAoB,GAoMzD"}
@@ -0,0 +1,26 @@
1
+ import { __extends } from "tslib";
2
+ import { Service } from "../../../../espConnection";
3
+ var AccountServiceBase = /** @class */ (function (_super) {
4
+ __extends(AccountServiceBase, _super);
5
+ function AccountServiceBase(optsConnection) {
6
+ return _super.call(this, optsConnection, "ws_account", "1.06") || this;
7
+ }
8
+ AccountServiceBase.prototype.MyAccount = function (request) {
9
+ return this._connection.send("MyAccount", request, "json", false, undefined, "MyAccountResponse");
10
+ };
11
+ AccountServiceBase.prototype.Ping = function (request) {
12
+ return this._connection.send("Ping", request, "json", false, undefined, "ws_accountPingResponse");
13
+ };
14
+ AccountServiceBase.prototype.UpdateUser = function (request) {
15
+ return this._connection.send("UpdateUser", request, "json", false, undefined, "UpdateUserResponse");
16
+ };
17
+ AccountServiceBase.prototype.UpdateUserInput = function (request) {
18
+ return this._connection.send("UpdateUserInput", request, "json", false, undefined, "UpdateUserInputResponse");
19
+ };
20
+ AccountServiceBase.prototype.VerifyUser = function (request) {
21
+ return this._connection.send("VerifyUser", request, "json", false, undefined, "VerifyUserResponse");
22
+ };
23
+ return AccountServiceBase;
24
+ }(Service));
25
+ export { AccountServiceBase };
26
+ //# sourceMappingURL=ws_account.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ws_account.js","sourceRoot":"","sources":["../../../../../src/services/wsdl/ws_account/v1.06/ws_account.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAiFpD;IAAwC,sCAAO;IAE3C,4BAAY,cAAsC;QAC9C,OAAA,MAAK,YAAC,cAAc,EAAE,YAAY,EAAE,MAAM,CAAC,SAAC;IAChD,CAAC;IAED,sCAAS,GAAT,UAAU,OAA4C;QAClD,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,mBAAmB,CAAC,CAAC;IACtG,CAAC;IAED,iCAAI,GAAJ,UAAK,OAAiD;QAClD,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,wBAAwB,CAAC,CAAC;IACtG,CAAC;IAED,uCAAU,GAAV,UAAW,OAA6C;QACpD,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,oBAAoB,CAAC,CAAC;IACxG,CAAC;IAED,4CAAe,GAAf,UAAgB,OAAkD;QAC9D,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,iBAAiB,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,yBAAyB,CAAC,CAAC;IAClH,CAAC;IAED,uCAAU,GAAV,UAAW,OAA6C;QACpD,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,oBAAoB,CAAC,CAAC;IACxG,CAAC;IAEL,yBAAC;AAAD,CAAC,AA1BD,CAAwC,OAAO,GA0B9C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/comms",
3
- "version": "2.93.0",
3
+ "version": "2.94.1",
4
4
  "description": "hpcc-js - Communications",
5
5
  "main": "dist/index.node.js",
6
6
  "module": "dist/index.es6",
@@ -61,8 +61,8 @@
61
61
  "wsdl": "npm-run-all --aggregate-output -c --serial compile-util --parallel wsdl-access wsdl-account wsdl-cloud wsdl-codesign wsdl-dali wsdl-dfu wsdl-dfuxref wsdl-elk wsdl-fileio wsdl-filespray wsdl-logaccess wsdl-packageprocess wsdl-smc wsdl-store wsdl-topology wsdl-workunits"
62
62
  },
63
63
  "dependencies": {
64
- "@hpcc-js/ddl-shim": "^2.20.7",
65
- "@hpcc-js/util": "^2.51.1",
64
+ "@hpcc-js/ddl-shim": "^2.21.0",
65
+ "@hpcc-js/util": "^2.52.0",
66
66
  "@xmldom/xmldom": "0.8.10",
67
67
  "abort-controller": "3.0.0",
68
68
  "node-fetch": "2.7.0",
@@ -71,7 +71,7 @@
71
71
  "undici": "5.28.4"
72
72
  },
73
73
  "devDependencies": {
74
- "@hpcc-js/bundle": "^2.11.5",
74
+ "@hpcc-js/bundle": "^2.12.0",
75
75
  "@types/d3-request": "1.0.9",
76
76
  "@types/d3-time-format": "2.3.4",
77
77
  "@types/node": "^18",
@@ -94,5 +94,5 @@
94
94
  "url": "https://github.com/hpcc-systems/Visualization/issues"
95
95
  },
96
96
  "homepage": "https://github.com/hpcc-systems/Visualization",
97
- "gitHead": "3f1fde38b06c31eb2a91b153244053652305b4bc"
97
+ "gitHead": "8d7f75b747475dee8954472d9e93a7283b4f3e9b"
98
98
  }
@@ -1,3 +1,3 @@
1
1
  export const PKG_NAME = "@hpcc-js/comms";
2
- export const PKG_VERSION = "2.93.0";
3
- export const BUILD_VERSION = "2.105.13";
2
+ export const PKG_VERSION = "2.94.1";
3
+ export const BUILD_VERSION = "2.106.2";
@@ -1,105 +1,11 @@
1
- import { IConnection, IOptions } from "../connection";
2
- import { ESPConnection, ESPExceptions } from "../espConnection";
1
+ import { AccountServiceBase, WsAccount } from "./wsdl/ws_account/v1.06/ws_account";
2
+ import { ESPExceptions } from "../espConnection";
3
3
 
4
- /*
5
- Response structures generated via:
6
- * http://localhost:8010/Ws_Account/?reqjson_
7
- * http://localhost:8010/Ws_Account/?respjson_
8
- * http://json2ts.com/
9
- */
10
- export namespace WsAccount {
4
+ export {
5
+ WsAccount
6
+ };
11
7
 
12
- export interface MyAccountRequest {
13
- }
14
-
15
- export interface WsAccountPingRequest {
16
- }
17
-
18
- export interface UpdateUserRequest {
19
- username: string;
20
- oldpass: string;
21
- newpass1: string;
22
- newpass2: string;
23
- }
24
-
25
- export interface UpdateUserInputRequest {
26
- }
27
-
28
- export interface VerifyUserRequest {
29
- application: string;
30
- version: string;
31
- }
32
-
33
- export interface Exception {
34
- Code: string;
35
- Audience: string;
36
- Source: string;
37
- Message: string;
38
- }
39
-
40
- export interface Exceptions {
41
- Source: string;
42
- Exception: Exception[];
43
- }
44
-
45
- export interface MyAccountResponse {
46
- Exceptions: Exceptions;
47
- username: string;
48
- firstName: string;
49
- lastName: string;
50
- passwordExpiration: string;
51
- passwordDaysRemaining: number;
52
- passwordExpirationWarningDays: number;
53
- employeeID: string;
54
- distinguishedName: string;
55
- accountType: string;
56
- passwordNeverExpires: boolean;
57
- passwordIsExpired: boolean;
58
- accountStatus: number;
59
- }
60
-
61
- export interface WsAccountPingResponse {
62
- }
63
-
64
- export interface UpdateUserResponse {
65
- Exceptions: Exceptions;
66
- retcode: number;
67
- message: string;
68
- }
69
-
70
- export interface UpdateUserInputResponse {
71
- Exceptions: Exceptions;
72
- username: string;
73
- }
74
-
75
- export interface VerifyUserResponse {
76
- Exceptions: Exceptions;
77
- retcode: number;
78
- }
79
- }
80
-
81
- export class AccountService {
82
- private _connection: ESPConnection;
83
-
84
- constructor(optsConnection: IOptions | IConnection) {
85
- this._connection = new ESPConnection(optsConnection, "Ws_Account", "1.05");
86
- }
87
-
88
- connectionOptions(): IOptions {
89
- return this._connection.opts();
90
- }
91
-
92
- MyAccount(request: WsAccount.MyAccountRequest): Promise<WsAccount.MyAccountResponse> {
93
- return this._connection.send("MyAccount", request);
94
- }
95
-
96
- UpdateUser(request: WsAccount.UpdateUserRequest): Promise<WsAccount.UpdateUserResponse> {
97
- return this._connection.send("UpdateUser", request);
98
- }
99
-
100
- UpdateUserInput(request: WsAccount.UpdateUserInputRequest): Promise<WsAccount.UpdateUserInputResponse> {
101
- return this._connection.send("UpdateUserInput", request);
102
- }
8
+ export class AccountService extends AccountServiceBase {
103
9
 
104
10
  VerifyUser(request: WsAccount.VerifyUserRequest): Promise<WsAccount.VerifyUserResponse> {
105
11
  return this._connection.send("VerifyUser", request)
@@ -117,4 +23,5 @@ export class AccountService {
117
23
  throw e;
118
24
  });
119
25
  }
26
+
120
27
  }
@@ -117,17 +117,40 @@ export class LogaccessService extends LogaccessServiceBase {
117
117
  for (const key in request) {
118
118
  let searchField;
119
119
  if (key in columnMap) {
120
- searchField = columnMap[key];
120
+ if (Object.values(WsLogaccess.LogColumnType).includes(key as WsLogaccess.LogColumnType)) {
121
+ searchField = key;
122
+ } else {
123
+ searchField = columnMap[key];
124
+ }
121
125
  }
122
- let logCategory = WsLogaccess.LogAccessType.ByFieldName;
126
+ let logCategory;
123
127
  if (searchField) {
124
128
  switch (searchField) {
129
+ case WsLogaccess.LogColumnType.workunits:
130
+ case "hpcc.log.jobid":
131
+ logCategory = WsLogaccess.LogAccessType.ByJobID;
132
+ break;
133
+ case WsLogaccess.LogColumnType.audience:
125
134
  case "hpcc.log.audience":
126
135
  logCategory = WsLogaccess.LogAccessType.ByTargetAudience;
127
136
  break;
137
+ case WsLogaccess.LogColumnType.class:
138
+ case "hpcc.log.class":
139
+ logCategory = WsLogaccess.LogAccessType.ByLogType;
140
+ break;
141
+ case WsLogaccess.LogColumnType.components:
142
+ case "kubernetes.container.name":
143
+ logCategory = WsLogaccess.LogAccessType.ByComponent;
144
+ break;
145
+ default:
146
+ logCategory = WsLogaccess.LogAccessType.ByFieldName;
147
+ searchField = columnMap[key];
128
148
  }
129
149
  if (Array.isArray(request[key])) {
130
150
  request[key].forEach(value => {
151
+ if (logCategory === WsLogaccess.LogAccessType.ByComponent) {
152
+ value += "*";
153
+ }
131
154
  filters.push({
132
155
  LogCategory: logCategory,
133
156
  SearchField: searchField,
@@ -135,10 +158,16 @@ export class LogaccessService extends LogaccessServiceBase {
135
158
  });
136
159
  });
137
160
  } else {
161
+ let value = request[key];
162
+ if (logCategory === WsLogaccess.LogAccessType.ByComponent) {
163
+ // append wildcard to end of search value to include ephemeral
164
+ // containers that aren't listed in ECL Watch's filters
165
+ value += "*";
166
+ }
138
167
  filters.push({
139
168
  LogCategory: logCategory,
140
169
  SearchField: searchField,
141
- SearchByValue: request[key]
170
+ SearchByValue: value
142
171
  });
143
172
  }
144
173
  }
@@ -0,0 +1,109 @@
1
+ import { IConnection, IOptions } from "../../../../connection";
2
+ import { Service } from "../../../../espConnection";
3
+
4
+ export namespace WsAccount {
5
+
6
+ export type int = number;
7
+
8
+ export interface MyAccountRequest {
9
+
10
+ }
11
+
12
+ export interface Exception {
13
+ Code: string;
14
+ Audience: string;
15
+ Source: string;
16
+ Message: string;
17
+ }
18
+
19
+ export interface Exceptions {
20
+ Source: string;
21
+ Exception: Exception[];
22
+ }
23
+
24
+ export interface MyAccountResponse {
25
+ Exceptions: Exceptions;
26
+ username: string;
27
+ firstName: string;
28
+ lastName: string;
29
+ passwordExpiration: string;
30
+ passwordDaysRemaining: int;
31
+ passwordExpirationWarningDays: int;
32
+ employeeID: string;
33
+ distinguishedName: string;
34
+ accountType: string;
35
+ passwordNeverExpires: boolean;
36
+ passwordIsExpired: boolean;
37
+ CanUpdatePassword: boolean;
38
+ accountStatus: int;
39
+ }
40
+
41
+ export interface ws_accountPingRequest {
42
+
43
+ }
44
+
45
+ export interface ws_accountPingResponse {
46
+
47
+ }
48
+
49
+ export interface UpdateUserRequest {
50
+ username?: string;
51
+ oldpass?: string;
52
+ newpass1?: string;
53
+ newpass2?: string;
54
+ }
55
+
56
+ export interface UpdateUserResponse {
57
+ Exceptions: Exceptions;
58
+ retcode: int;
59
+ message: string;
60
+ }
61
+
62
+ export interface UpdateUserInputRequest {
63
+
64
+ }
65
+
66
+ export interface UpdateUserInputResponse {
67
+ Exceptions: Exceptions;
68
+ username: string;
69
+ }
70
+
71
+ export interface VerifyUserRequest {
72
+ application?: string;
73
+ version?: string;
74
+ }
75
+
76
+ export interface VerifyUserResponse {
77
+ Exceptions: Exceptions;
78
+ retcode: int;
79
+ }
80
+
81
+ }
82
+
83
+ export class AccountServiceBase extends Service {
84
+
85
+ constructor(optsConnection: IOptions | IConnection) {
86
+ super(optsConnection, "ws_account", "1.06");
87
+ }
88
+
89
+ MyAccount(request: Partial<WsAccount.MyAccountRequest>): Promise<WsAccount.MyAccountResponse> {
90
+ return this._connection.send("MyAccount", request, "json", false, undefined, "MyAccountResponse");
91
+ }
92
+
93
+ Ping(request: Partial<WsAccount.ws_accountPingRequest>): Promise<WsAccount.ws_accountPingResponse> {
94
+ return this._connection.send("Ping", request, "json", false, undefined, "ws_accountPingResponse");
95
+ }
96
+
97
+ UpdateUser(request: Partial<WsAccount.UpdateUserRequest>): Promise<WsAccount.UpdateUserResponse> {
98
+ return this._connection.send("UpdateUser", request, "json", false, undefined, "UpdateUserResponse");
99
+ }
100
+
101
+ UpdateUserInput(request: Partial<WsAccount.UpdateUserInputRequest>): Promise<WsAccount.UpdateUserInputResponse> {
102
+ return this._connection.send("UpdateUserInput", request, "json", false, undefined, "UpdateUserInputResponse");
103
+ }
104
+
105
+ VerifyUser(request: Partial<WsAccount.VerifyUserRequest>): Promise<WsAccount.VerifyUserResponse> {
106
+ return this._connection.send("VerifyUser", request, "json", false, undefined, "VerifyUserResponse");
107
+ }
108
+
109
+ }
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/comms";
2
- export declare const PKG_VERSION = "2.93.0";
3
- export declare const BUILD_VERSION = "2.105.13";
2
+ export declare const PKG_VERSION = "2.94.1";
3
+ export declare const BUILD_VERSION = "2.106.2";
4
4
  //# sourceMappingURL=__package__.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"__package__.d.ts","sourceRoot":"","sources":["../src/__package__.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,mBAAmB,CAAC;AACzC,eAAO,MAAM,WAAW,WAAW,CAAC;AACpC,eAAO,MAAM,aAAa,aAAa,CAAC"}
1
+ {"version":3,"file":"__package__.d.ts","sourceRoot":"","sources":["../src/__package__.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,mBAAmB,CAAC;AACzC,eAAO,MAAM,WAAW,WAAW,CAAC;AACpC,eAAO,MAAM,aAAa,YAAY,CAAC"}
@@ -1,69 +1,6 @@
1
- import { IConnection, IOptions } from "../connection";
2
- export declare namespace WsAccount {
3
- interface MyAccountRequest {
4
- }
5
- interface WsAccountPingRequest {
6
- }
7
- interface UpdateUserRequest {
8
- username: string;
9
- oldpass: string;
10
- newpass1: string;
11
- newpass2: string;
12
- }
13
- interface UpdateUserInputRequest {
14
- }
15
- interface VerifyUserRequest {
16
- application: string;
17
- version: string;
18
- }
19
- interface Exception {
20
- Code: string;
21
- Audience: string;
22
- Source: string;
23
- Message: string;
24
- }
25
- interface Exceptions {
26
- Source: string;
27
- Exception: Exception[];
28
- }
29
- interface MyAccountResponse {
30
- Exceptions: Exceptions;
31
- username: string;
32
- firstName: string;
33
- lastName: string;
34
- passwordExpiration: string;
35
- passwordDaysRemaining: number;
36
- passwordExpirationWarningDays: number;
37
- employeeID: string;
38
- distinguishedName: string;
39
- accountType: string;
40
- passwordNeverExpires: boolean;
41
- passwordIsExpired: boolean;
42
- accountStatus: number;
43
- }
44
- interface WsAccountPingResponse {
45
- }
46
- interface UpdateUserResponse {
47
- Exceptions: Exceptions;
48
- retcode: number;
49
- message: string;
50
- }
51
- interface UpdateUserInputResponse {
52
- Exceptions: Exceptions;
53
- username: string;
54
- }
55
- interface VerifyUserResponse {
56
- Exceptions: Exceptions;
57
- retcode: number;
58
- }
59
- }
60
- export declare class AccountService {
61
- private _connection;
62
- constructor(optsConnection: IOptions | IConnection);
63
- connectionOptions(): IOptions;
64
- MyAccount(request: WsAccount.MyAccountRequest): Promise<WsAccount.MyAccountResponse>;
65
- UpdateUser(request: WsAccount.UpdateUserRequest): Promise<WsAccount.UpdateUserResponse>;
66
- UpdateUserInput(request: WsAccount.UpdateUserInputRequest): Promise<WsAccount.UpdateUserInputResponse>;
1
+ import { AccountServiceBase, WsAccount } from "./wsdl/ws_account/v1.06/ws_account";
2
+ export { WsAccount };
3
+ export declare class AccountService extends AccountServiceBase {
67
4
  VerifyUser(request: WsAccount.VerifyUserRequest): Promise<WsAccount.VerifyUserResponse>;
68
5
  }
69
6
  //# sourceMappingURL=wsAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wsAccount.d.ts","sourceRoot":"","sources":["../../src/services/wsAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAStD,yBAAiB,SAAS,CAAC;IAEvB,UAAiB,gBAAgB;KAChC;IAED,UAAiB,oBAAoB;K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vB,OAAO,EAAE,MAAM,CAAC;KACnB;CACJ;AAED,qBAAa,cAAc;IACvB,OAAO,CAAC,WAAW,CAAgB;gBAEvB,cAAc,EAAE,QAAQ,GAAG,WAAW;IAIlD,iBAAiB,IAAI,QAAQ;IAI7B,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,gBAAgB,GAAG,OAAO,CAAC,SAAS,CAAC,iBAAiB,CAAC;IAIpF,UAAU,CAAC,OAAO,EAAE,SAAS,CAAC,iBAAiB,GAAG,OAAO,CAAC,SAAS,CAAC,kBAAkB,CAAC;IAIvF,eAAe,CAAC,OAAO,EAAE,SAAS,CAAC,sBAAsB,GAAG,OAAO,CAAC,SAAS,CAAC,uBAAuB,CAAC;IAItG,UAAU,CAAC,OAAO,EAAE,SAAS,CAAC,iBAAiB,GAAG,OAAO,CAAC,SAAS,CAAC,kBAAkB,CAAC;CAgB1F"}
1
+ {"version":3,"file":"wsAccount.d.ts","sourceRoot":"","sources":["../../src/services/wsAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAGnF,OAAO,EACH,SAAS,EACZ,CAAC;AAEF,qBAAa,cAAe,SAAQ,kBAAkB;IAElD,UAAU,CAAC,OAAO,EAAE,SAAS,CAAC,iBAAiB,GAAG,OAAO,CAAC,SAAS,CAAC,kBAAkB,CAAC;CAiB1F"}
@@ -1 +1 @@
1
- {"version":3,"file":"wsLogaccess.d.ts","sourceRoot":"","sources":["../../src/services/wsLogaccess.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAI3F,OAAO,EACH,WAAW,EACd,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAA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