@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.
- package/dist/index.es6.js +59 -17
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +59 -17
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js +59 -17
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js +1 -1
- package/dist/index.node.min.js.map +1 -1
- package/lib-es6/__package__.js +2 -2
- package/lib-es6/__package__.js.map +1 -1
- package/lib-es6/services/wsAccount.js +7 -17
- package/lib-es6/services/wsAccount.js.map +1 -1
- package/lib-es6/services/wsLogaccess.js +33 -3
- package/lib-es6/services/wsLogaccess.js.map +1 -1
- package/lib-es6/services/wsdl/ws_account/v1.06/ws_account.js +26 -0
- package/lib-es6/services/wsdl/ws_account/v1.06/ws_account.js.map +1 -0
- package/package.json +5 -5
- package/src/__package__.ts +2 -2
- package/src/services/wsAccount.ts +7 -100
- package/src/services/wsLogaccess.ts +32 -3
- package/src/services/wsdl/ws_account/v1.06/ws_account.ts +109 -0
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types/services/wsAccount.d.ts +3 -66
- package/types/services/wsAccount.d.ts.map +1 -1
- package/types/services/wsLogaccess.d.ts.map +1 -1
- package/types/services/wsdl/ws_account/v1.06/ws_account.d.ts +71 -0
- package/types/services/wsdl/ws_account/v1.06/ws_account.d.ts.map +1 -0
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/services/wsAccount.d.ts +3 -66
- package/types-3.4/services/wsdl/ws_account/v1.06/ws_account.d.ts +71 -0
package/dist/index.js
CHANGED
|
@@ -648,8 +648,8 @@
|
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
var PKG_NAME = "@hpcc-js/comms";
|
|
651
|
-
var PKG_VERSION = "2.
|
|
652
|
-
var BUILD_VERSION = "2.
|
|
651
|
+
var PKG_VERSION = "2.94.1";
|
|
652
|
+
var BUILD_VERSION = "2.106.2";
|
|
653
653
|
|
|
654
654
|
/******************************************************************************
|
|
655
655
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1489,22 +1489,34 @@
|
|
|
1489
1489
|
return AccessService;
|
|
1490
1490
|
}(AccessServiceBase));
|
|
1491
1491
|
|
|
1492
|
-
var
|
|
1493
|
-
|
|
1494
|
-
|
|
1492
|
+
var AccountServiceBase = /** @class */ (function (_super) {
|
|
1493
|
+
__extends(AccountServiceBase, _super);
|
|
1494
|
+
function AccountServiceBase(optsConnection) {
|
|
1495
|
+
return _super.call(this, optsConnection, "ws_account", "1.06") || this;
|
|
1495
1496
|
}
|
|
1496
|
-
|
|
1497
|
-
return this._connection.
|
|
1497
|
+
AccountServiceBase.prototype.MyAccount = function (request) {
|
|
1498
|
+
return this._connection.send("MyAccount", request, "json", false, undefined, "MyAccountResponse");
|
|
1499
|
+
};
|
|
1500
|
+
AccountServiceBase.prototype.Ping = function (request) {
|
|
1501
|
+
return this._connection.send("Ping", request, "json", false, undefined, "ws_accountPingResponse");
|
|
1498
1502
|
};
|
|
1499
|
-
|
|
1500
|
-
return this._connection.send("
|
|
1503
|
+
AccountServiceBase.prototype.UpdateUser = function (request) {
|
|
1504
|
+
return this._connection.send("UpdateUser", request, "json", false, undefined, "UpdateUserResponse");
|
|
1501
1505
|
};
|
|
1502
|
-
|
|
1503
|
-
return this._connection.send("
|
|
1506
|
+
AccountServiceBase.prototype.UpdateUserInput = function (request) {
|
|
1507
|
+
return this._connection.send("UpdateUserInput", request, "json", false, undefined, "UpdateUserInputResponse");
|
|
1504
1508
|
};
|
|
1505
|
-
|
|
1506
|
-
return this._connection.send("
|
|
1509
|
+
AccountServiceBase.prototype.VerifyUser = function (request) {
|
|
1510
|
+
return this._connection.send("VerifyUser", request, "json", false, undefined, "VerifyUserResponse");
|
|
1507
1511
|
};
|
|
1512
|
+
return AccountServiceBase;
|
|
1513
|
+
}(Service));
|
|
1514
|
+
|
|
1515
|
+
var AccountService = /** @class */ (function (_super) {
|
|
1516
|
+
__extends(AccountService, _super);
|
|
1517
|
+
function AccountService() {
|
|
1518
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1519
|
+
}
|
|
1508
1520
|
AccountService.prototype.VerifyUser = function (request) {
|
|
1509
1521
|
return this._connection.send("VerifyUser", request)
|
|
1510
1522
|
.catch(function (e) {
|
|
@@ -1522,7 +1534,7 @@
|
|
|
1522
1534
|
});
|
|
1523
1535
|
};
|
|
1524
1536
|
return AccountService;
|
|
1525
|
-
}());
|
|
1537
|
+
}(AccountServiceBase));
|
|
1526
1538
|
|
|
1527
1539
|
var CloudServiceBase = /** @class */ (function (_super) {
|
|
1528
1540
|
__extends(CloudServiceBase, _super);
|
|
@@ -2118,17 +2130,41 @@
|
|
|
2118
2130
|
_loop_1 = function (key) {
|
|
2119
2131
|
var searchField;
|
|
2120
2132
|
if (key in columnMap) {
|
|
2121
|
-
|
|
2133
|
+
if (Object.values(exports.WsLogaccess.LogColumnType).includes(key)) {
|
|
2134
|
+
searchField = key;
|
|
2135
|
+
}
|
|
2136
|
+
else {
|
|
2137
|
+
searchField = columnMap[key];
|
|
2138
|
+
}
|
|
2122
2139
|
}
|
|
2123
|
-
var logCategory
|
|
2140
|
+
var logCategory;
|
|
2124
2141
|
if (searchField) {
|
|
2125
2142
|
switch (searchField) {
|
|
2143
|
+
case exports.WsLogaccess.LogColumnType.workunits:
|
|
2144
|
+
case "hpcc.log.jobid":
|
|
2145
|
+
logCategory = exports.WsLogaccess.LogAccessType.ByJobID;
|
|
2146
|
+
break;
|
|
2147
|
+
case exports.WsLogaccess.LogColumnType.audience:
|
|
2126
2148
|
case "hpcc.log.audience":
|
|
2127
2149
|
logCategory = exports.WsLogaccess.LogAccessType.ByTargetAudience;
|
|
2128
2150
|
break;
|
|
2151
|
+
case exports.WsLogaccess.LogColumnType.class:
|
|
2152
|
+
case "hpcc.log.class":
|
|
2153
|
+
logCategory = exports.WsLogaccess.LogAccessType.ByLogType;
|
|
2154
|
+
break;
|
|
2155
|
+
case exports.WsLogaccess.LogColumnType.components:
|
|
2156
|
+
case "kubernetes.container.name":
|
|
2157
|
+
logCategory = exports.WsLogaccess.LogAccessType.ByComponent;
|
|
2158
|
+
break;
|
|
2159
|
+
default:
|
|
2160
|
+
logCategory = exports.WsLogaccess.LogAccessType.ByFieldName;
|
|
2161
|
+
searchField = columnMap[key];
|
|
2129
2162
|
}
|
|
2130
2163
|
if (Array.isArray(request[key])) {
|
|
2131
2164
|
request[key].forEach(function (value) {
|
|
2165
|
+
if (logCategory === exports.WsLogaccess.LogAccessType.ByComponent) {
|
|
2166
|
+
value += "*";
|
|
2167
|
+
}
|
|
2132
2168
|
filters.push({
|
|
2133
2169
|
LogCategory: logCategory,
|
|
2134
2170
|
SearchField: searchField,
|
|
@@ -2137,10 +2173,16 @@
|
|
|
2137
2173
|
});
|
|
2138
2174
|
}
|
|
2139
2175
|
else {
|
|
2176
|
+
var value = request[key];
|
|
2177
|
+
if (logCategory === exports.WsLogaccess.LogAccessType.ByComponent) {
|
|
2178
|
+
// append wildcard to end of search value to include ephemeral
|
|
2179
|
+
// containers that aren't listed in ECL Watch's filters
|
|
2180
|
+
value += "*";
|
|
2181
|
+
}
|
|
2140
2182
|
filters.push({
|
|
2141
2183
|
LogCategory: logCategory,
|
|
2142
2184
|
SearchField: searchField,
|
|
2143
|
-
SearchByValue:
|
|
2185
|
+
SearchByValue: value
|
|
2144
2186
|
});
|
|
2145
2187
|
}
|
|
2146
2188
|
}
|