@broadcom/mat-analyze-for-zowe-cli 2.0.7 → 2.1.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/LICENSE +17 -20
- package/README.md +1514 -1609
- package/lib/api/MATRest.js +65 -28
- package/lib/api/MATRest.js.map +1 -1
- package/lib/api/error/HistogramError.js +16 -18
- package/lib/api/error/HistogramError.js.map +1 -1
- package/lib/api/error/HttpError.d.ts +9 -0
- package/lib/api/error/HttpError.js +36 -0
- package/lib/api/error/HttpError.js.map +1 -0
- package/lib/api/request/ICreateProfile.js +16 -18
- package/lib/api/request/ICreateProfile.js.map +1 -1
- package/lib/api/request/ICreateProfileRequest.js +16 -18
- package/lib/api/request/ICreateProfileRequest.js.map +1 -1
- package/lib/api/request/IInvokeProfile.js +16 -18
- package/lib/api/request/IInvokeProfile.js.map +1 -1
- package/lib/api/request/IInvokeProfileRequest.js +16 -18
- package/lib/api/request/IInvokeProfileRequest.js.map +1 -1
- package/lib/api/response/IAnalysis.js +16 -18
- package/lib/api/response/IAnalysis.js.map +1 -1
- package/lib/api/response/IAuth.js +16 -18
- package/lib/api/response/IAuth.js.map +1 -1
- package/lib/api/response/ICallStack.js +16 -18
- package/lib/api/response/ICallStack.js.map +1 -1
- package/lib/api/response/ICallerid.js +16 -18
- package/lib/api/response/ICallerid.js.map +1 -1
- package/lib/api/response/ICicstat.js +16 -18
- package/lib/api/response/ICicstat.js.map +1 -1
- package/lib/api/response/ICodeview.js +16 -18
- package/lib/api/response/ICodeview.js.map +1 -1
- package/lib/api/response/ICsect.js +16 -18
- package/lib/api/response/ICsect.js.map +1 -1
- package/lib/api/response/IDB2View.js +16 -18
- package/lib/api/response/IDB2View.js.map +1 -1
- package/lib/api/response/IDML.js +16 -18
- package/lib/api/response/IDML.js.map +1 -1
- package/lib/api/response/IDelayLocations.js +16 -18
- package/lib/api/response/IDelayLocations.js.map +1 -1
- package/lib/api/response/IDelayviews.js +16 -18
- package/lib/api/response/IDelayviews.js.map +1 -1
- package/lib/api/response/IHistogram.js +16 -18
- package/lib/api/response/IHistogram.js.map +1 -1
- package/lib/api/response/IHistory.js +16 -18
- package/lib/api/response/IHistory.js.map +1 -1
- package/lib/api/response/IIDMSModule.js +16 -18
- package/lib/api/response/IIDMSModule.js.map +1 -1
- package/lib/api/response/IIDMSModuleDetail.js +16 -18
- package/lib/api/response/IIDMSModuleDetail.js.map +1 -1
- package/lib/api/response/IIDMSTask.js +16 -18
- package/lib/api/response/IIDMSTask.js.map +1 -1
- package/lib/api/response/IIMSSSAView.js +16 -18
- package/lib/api/response/IIMSSSAView.js.map +1 -1
- package/lib/api/response/IIMSStatement.js +16 -18
- package/lib/api/response/IIMSStatement.js.map +1 -1
- package/lib/api/response/IIMSView.js +16 -18
- package/lib/api/response/IIMSView.js.map +1 -1
- package/lib/api/response/IIMSViewDBDName.js +16 -18
- package/lib/api/response/IIMSViewDBDName.js.map +1 -1
- package/lib/api/response/IIMSViewPSBName.js +16 -18
- package/lib/api/response/IIMSViewPSBName.js.map +1 -1
- package/lib/api/response/IIMSViewRegion.js +16 -18
- package/lib/api/response/IIMSViewRegion.js.map +1 -1
- package/lib/api/response/IListProfile.js +16 -18
- package/lib/api/response/IListProfile.js.map +1 -1
- package/lib/api/response/IMonitorList.js +16 -18
- package/lib/api/response/IMonitorList.js.map +1 -1
- package/lib/api/response/IOverview.js +16 -18
- package/lib/api/response/IOverview.js.map +1 -1
- package/lib/api/response/IProfileList.d.ts +1 -1
- package/lib/api/response/IProfileList.js +16 -18
- package/lib/api/response/IProfileList.js.map +1 -1
- package/lib/api/response/IResponse.js +16 -18
- package/lib/api/response/IResponse.js.map +1 -1
- package/lib/api/response/ITranview.js +16 -18
- package/lib/api/response/ITranview.js.map +1 -1
- package/lib/cli/monitor/Monitor.definition.js +16 -18
- package/lib/cli/monitor/Monitor.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/Codeview.definition.js +16 -18
- package/lib/cli/monitor/codeview/Codeview.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/Histogram/Histogram.definition.js +33 -22
- package/lib/cli/monitor/codeview/Histogram/Histogram.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js +100 -191
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js.map +1 -1
- package/lib/cli/monitor/codeview/callerid/Callerid.definition.js +16 -18
- package/lib/cli/monitor/codeview/callerid/Callerid.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/callerid/Callerid.handler.js +16 -18
- package/lib/cli/monitor/codeview/callerid/Callerid.handler.js.map +1 -1
- package/lib/cli/monitor/codeview/csect/Csect.definition.js +16 -18
- package/lib/cli/monitor/codeview/csect/Csect.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/csect/Csect.handler.js +16 -18
- package/lib/cli/monitor/codeview/csect/Csect.handler.js.map +1 -1
- package/lib/cli/monitor/codeview/module/Module.definition.js +16 -18
- package/lib/cli/monitor/codeview/module/Module.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/module/Module.handler.js +16 -18
- package/lib/cli/monitor/codeview/module/Module.handler.js.map +1 -1
- package/lib/cli/monitor/db2/DB2.definition.js +16 -18
- package/lib/cli/monitor/db2/DB2.definition.js.map +1 -1
- package/lib/cli/monitor/db2/db2view/DB2View.definition.js +16 -18
- package/lib/cli/monitor/db2/db2view/DB2View.definition.js.map +1 -1
- package/lib/cli/monitor/db2/db2view/DB2View.handler.js +16 -18
- package/lib/cli/monitor/db2/db2view/DB2View.handler.js.map +1 -1
- package/lib/cli/monitor/db2/sqlview/SQLView.definition.js +16 -18
- package/lib/cli/monitor/db2/sqlview/SQLView.definition.js.map +1 -1
- package/lib/cli/monitor/db2/sqlview/SQLView.handler.js +16 -18
- package/lib/cli/monitor/db2/sqlview/SQLView.handler.js.map +1 -1
- package/lib/cli/monitor/delayview/Delayview.definition.js +16 -18
- package/lib/cli/monitor/delayview/Delayview.definition.js.map +1 -1
- package/lib/cli/monitor/delayview/address/Address.definition.js +16 -18
- package/lib/cli/monitor/delayview/address/Address.definition.js.map +1 -1
- package/lib/cli/monitor/delayview/address/Address.handler.js +16 -18
- package/lib/cli/monitor/delayview/address/Address.handler.js.map +1 -1
- package/lib/cli/monitor/delayview/delay/Delay.definition.js +16 -18
- package/lib/cli/monitor/delayview/delay/Delay.definition.js.map +1 -1
- package/lib/cli/monitor/delayview/delay/Delay.handler.js +16 -18
- package/lib/cli/monitor/delayview/delay/Delay.handler.js.map +1 -1
- package/lib/cli/monitor/history/History.definition.js +16 -18
- package/lib/cli/monitor/history/History.definition.js.map +1 -1
- package/lib/cli/monitor/history/History.handler.js +17 -19
- package/lib/cli/monitor/history/History.handler.js.map +1 -1
- package/lib/cli/monitor/idms/IDMS.definition.js +16 -18
- package/lib/cli/monitor/idms/IDMS.definition.js.map +1 -1
- package/lib/cli/monitor/idms/dml/DML.definition.js +16 -18
- package/lib/cli/monitor/idms/dml/DML.definition.js.map +1 -1
- package/lib/cli/monitor/idms/dml/DML.handler.js +16 -18
- package/lib/cli/monitor/idms/dml/DML.handler.js.map +1 -1
- package/lib/cli/monitor/idms/module/IDMSModule.definition.js +16 -18
- package/lib/cli/monitor/idms/module/IDMSModule.definition.js.map +1 -1
- package/lib/cli/monitor/idms/module/IDMSModule.handler.js +16 -18
- package/lib/cli/monitor/idms/module/IDMSModule.handler.js.map +1 -1
- package/lib/cli/monitor/idms/task/IDMSTask.definition.js +16 -18
- package/lib/cli/monitor/idms/task/IDMSTask.definition.js.map +1 -1
- package/lib/cli/monitor/idms/task/IDMSTask.handler.js +16 -18
- package/lib/cli/monitor/idms/task/IDMSTask.handler.js.map +1 -1
- package/lib/cli/monitor/ims/IMS.definition.js +16 -18
- package/lib/cli/monitor/ims/IMS.definition.js.map +1 -1
- package/lib/cli/monitor/ims/dbdname/DBDName.definition.js +16 -18
- package/lib/cli/monitor/ims/dbdname/DBDName.definition.js.map +1 -1
- package/lib/cli/monitor/ims/dbdname/DBDName.handler.js +16 -18
- package/lib/cli/monitor/ims/dbdname/DBDName.handler.js.map +1 -1
- package/lib/cli/monitor/ims/imsview/IMSView.definition.js +16 -18
- package/lib/cli/monitor/ims/imsview/IMSView.definition.js.map +1 -1
- package/lib/cli/monitor/ims/imsview/IMSView.handler.js +16 -18
- package/lib/cli/monitor/ims/imsview/IMSView.handler.js.map +1 -1
- package/lib/cli/monitor/ims/psbname/PSBName.definition.js +16 -18
- package/lib/cli/monitor/ims/psbname/PSBName.definition.js.map +1 -1
- package/lib/cli/monitor/ims/psbname/PSBName.handler.js +16 -18
- package/lib/cli/monitor/ims/psbname/PSBName.handler.js.map +1 -1
- package/lib/cli/monitor/ims/region/Region.definition.js +16 -18
- package/lib/cli/monitor/ims/region/Region.definition.js.map +1 -1
- package/lib/cli/monitor/ims/region/Region.handler.js +16 -18
- package/lib/cli/monitor/ims/region/Region.handler.js.map +1 -1
- package/lib/cli/monitor/ims/ssa/SSA.definition.js +16 -18
- package/lib/cli/monitor/ims/ssa/SSA.definition.js.map +1 -1
- package/lib/cli/monitor/ims/ssa/SSA.handler.js +16 -18
- package/lib/cli/monitor/ims/ssa/SSA.handler.js.map +1 -1
- package/lib/cli/monitor/ims/statement/Statement.definition.js +16 -18
- package/lib/cli/monitor/ims/statement/Statement.definition.js.map +1 -1
- package/lib/cli/monitor/ims/statement/Statement.handler.js +16 -18
- package/lib/cli/monitor/ims/statement/Statement.handler.js.map +1 -1
- package/lib/cli/monitor/overview/Overview.definition.js +16 -18
- package/lib/cli/monitor/overview/Overview.definition.js.map +1 -1
- package/lib/cli/monitor/overview/Overview.handler.js +16 -18
- package/lib/cli/monitor/overview/Overview.handler.js.map +1 -1
- package/lib/cli/monitor/tranview/Tranview.definition.js +16 -18
- package/lib/cli/monitor/tranview/Tranview.definition.js.map +1 -1
- package/lib/cli/monitor/tranview/all/All.definition.js +16 -18
- package/lib/cli/monitor/tranview/all/All.definition.js.map +1 -1
- package/lib/cli/monitor/tranview/all/All.handler.js +16 -18
- package/lib/cli/monitor/tranview/all/All.handler.js.map +1 -1
- package/lib/cli/monitor/tranview/callerid/Callerid.definition.js +16 -18
- package/lib/cli/monitor/tranview/callerid/Callerid.definition.js.map +1 -1
- package/lib/cli/monitor/tranview/callerid/Callerid.handler.js +16 -18
- package/lib/cli/monitor/tranview/callerid/Callerid.handler.js.map +1 -1
- package/lib/cli/monitor/tranview/callstack/CallStack.definition.js +16 -18
- package/lib/cli/monitor/tranview/callstack/CallStack.definition.js.map +1 -1
- package/lib/cli/monitor/tranview/callstack/CallStack.handler.js +16 -18
- package/lib/cli/monitor/tranview/callstack/CallStack.handler.js.map +1 -1
- package/lib/cli/monitor/tranview/csect/CsectDetail.definition.js +16 -18
- package/lib/cli/monitor/tranview/csect/CsectDetail.definition.js.map +1 -1
- package/lib/cli/monitor/tranview/csect/CsectDetail.handler.js +16 -18
- package/lib/cli/monitor/tranview/csect/CsectDetail.handler.js.map +1 -1
- package/lib/cli/monitor/tranview/delay/DelayDetail.definition.js +16 -18
- package/lib/cli/monitor/tranview/delay/DelayDetail.definition.js.map +1 -1
- package/lib/cli/monitor/tranview/delay/DelayDetail.handler.js +16 -18
- package/lib/cli/monitor/tranview/delay/DelayDetail.handler.js.map +1 -1
- package/lib/cli/monitor/tranview/module/Module.definition.js +16 -18
- package/lib/cli/monitor/tranview/module/Module.definition.js.map +1 -1
- package/lib/cli/monitor/tranview/module/Module.handler.js +16 -18
- package/lib/cli/monitor/tranview/module/Module.handler.js.map +1 -1
- package/lib/cli/monitor/tranview/stat/Cicstat.definition.js +16 -18
- package/lib/cli/monitor/tranview/stat/Cicstat.definition.js.map +1 -1
- package/lib/cli/monitor/tranview/stat/Cicstat.handler.js +16 -18
- package/lib/cli/monitor/tranview/stat/Cicstat.handler.js.map +1 -1
- package/lib/cli/profile/Profile.definition.js +16 -18
- package/lib/cli/profile/Profile.definition.js.map +1 -1
- package/lib/cli/profile/create/CreateProfile.definition.js +16 -18
- package/lib/cli/profile/create/CreateProfile.definition.js.map +1 -1
- package/lib/cli/profile/create/CreateProfile.handler.js +16 -18
- package/lib/cli/profile/create/CreateProfile.handler.js.map +1 -1
- package/lib/cli/profile/invoke/InvokeProfile.definition.js +16 -18
- package/lib/cli/profile/invoke/InvokeProfile.definition.js.map +1 -1
- package/lib/cli/profile/invoke/InvokeProfile.handler.js +16 -18
- package/lib/cli/profile/invoke/InvokeProfile.handler.js.map +1 -1
- package/lib/cli/profile/listprofile/ListProfile.definition.js +16 -18
- package/lib/cli/profile/listprofile/ListProfile.definition.js.map +1 -1
- package/lib/cli/profile/listprofile/ListProfile.handler.js +17 -19
- package/lib/cli/profile/listprofile/ListProfile.handler.js.map +1 -1
- package/lib/cli/session/EndevorSession.d.ts +33 -0
- package/lib/cli/session/EndevorSession.js +120 -0
- package/lib/cli/session/EndevorSession.js.map +1 -0
- package/lib/cli/session/MATSession.js +18 -20
- package/lib/cli/session/MATSession.js.map +1 -1
- package/lib/handlers/AbstractAnalyzeHandler.js +16 -18
- package/lib/handlers/AbstractAnalyzeHandler.js.map +1 -1
- package/lib/handlers/AbstractGetHandler.js +16 -18
- package/lib/handlers/AbstractGetHandler.js.map +1 -1
- package/lib/handlers/AbstractObjectDisplayHandler.js +16 -18
- package/lib/handlers/AbstractObjectDisplayHandler.js.map +1 -1
- package/lib/handlers/AbstractPostHandler.js +16 -18
- package/lib/handlers/AbstractPostHandler.js.map +1 -1
- package/lib/handlers/AbstractProfileActionHandler.js +16 -18
- package/lib/handlers/AbstractProfileActionHandler.js.map +1 -1
- package/lib/handlers/AbstractRestHandler.d.ts +9 -0
- package/lib/handlers/AbstractRestHandler.js +132 -96
- package/lib/handlers/AbstractRestHandler.js.map +1 -1
- package/lib/handlers/AbstractTableDisplayHandler.js +16 -18
- package/lib/handlers/AbstractTableDisplayHandler.js.map +1 -1
- package/lib/healthCheck.Handler.d.ts +22 -3
- package/lib/healthCheck.Handler.js +56 -36
- package/lib/healthCheck.Handler.js.map +1 -1
- package/lib/imperative.js +18 -33
- package/lib/imperative.js.map +1 -1
- package/lib/index.js +16 -18
- package/lib/index.js.map +1 -1
- package/package.json +47 -37
|
@@ -1,46 +1,66 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* **************************************************************************************
|
|
4
|
+
* Copyright © 2025 BROADCOM Inc and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
|
-
* This software and all information contained therein is
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
6
|
+
* This software and all information contained therein is confidential and
|
|
7
|
+
* proprietary and shall not be duplicated, used, disclosed or disseminated in any
|
|
8
|
+
* way except as authorized by the applicable license agreement, without the
|
|
9
|
+
* express written permission of Broadcom. All authorized reproductions must be marked
|
|
10
|
+
* with this language.
|
|
11
|
+
*
|
|
12
|
+
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE EXTENT PERMITTED
|
|
13
|
+
* BY APPLICABLE LAW, BROADCOM PROVIDES THIS SOFTWARE WITHOUT WARRANTY OF ANY KIND,
|
|
14
|
+
* INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
|
|
15
|
+
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM BE LIABLE TO THE END USER
|
|
16
|
+
* OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF
|
|
17
|
+
* THIS SOFTWARE, INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION,
|
|
18
|
+
* GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
|
|
19
|
+
* **************************************************************************************
|
|
12
20
|
*
|
|
13
|
-
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO
|
|
14
|
-
* THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS
|
|
15
|
-
* SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT
|
|
16
|
-
* LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
|
|
17
|
-
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM
|
|
18
|
-
* BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR
|
|
19
|
-
* DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE,
|
|
20
|
-
* INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS
|
|
21
|
-
* INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
|
|
22
|
-
* EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
|
|
23
21
|
*/
|
|
24
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
25
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
26
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
27
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
28
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
29
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
30
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
exports.LifeCycleForSample = void 0;
|
|
34
24
|
const imperative_1 = require("@zowe/imperative");
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Performs lifecycle functions for a plug-in.
|
|
27
|
+
*/
|
|
28
|
+
class LifeCycleForSample extends imperative_1.AbstractPluginLifeCycle {
|
|
29
|
+
/**
|
|
30
|
+
* This function will be called after a plug-in is installed.
|
|
31
|
+
* A plug-in can use this function to perform a sanity test or to
|
|
32
|
+
* perform some additional setup.
|
|
33
|
+
*/
|
|
34
|
+
postInstall() {
|
|
35
|
+
const separator = "*".repeat(78);
|
|
36
|
+
const lines = [
|
|
37
|
+
separator,
|
|
38
|
+
"* WARNING: MAT Analyze Plug-in v2.x will be deprecated and out of support",
|
|
39
|
+
"* in the next release. Upgrade to v4.1 for current security and",
|
|
40
|
+
"* feature updates.",
|
|
41
|
+
separator
|
|
42
|
+
];
|
|
43
|
+
lines.forEach((line) => console.warn(imperative_1.TextUtils.chalk.yellow(line)));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* This function will be called before a plug-in is uninstalled.
|
|
47
|
+
* This lifecycle hook is intended to replace the capability that used to
|
|
48
|
+
* be performed by the NPM pre-uninstall action before NPM removed that
|
|
49
|
+
* capability in NPM version 7.
|
|
50
|
+
* See https://docs.npmjs.com/cli/v9/using-npm/scripts#a-note-on-a-lack-of-npm-uninstall-scripts
|
|
51
|
+
*
|
|
52
|
+
* A plug-in can use this function to revert any specialized setup that was
|
|
53
|
+
* established during the lifetime of the plug-in.
|
|
54
|
+
*/
|
|
55
|
+
preUninstall() {
|
|
56
|
+
/**
|
|
57
|
+
* If function performs an asynchronous operation, it should return a promise, allowing
|
|
58
|
+
* the CLI to await. Example:
|
|
59
|
+
*
|
|
60
|
+
* public async preUninstall(): Promise<void>
|
|
61
|
+
*/
|
|
43
62
|
}
|
|
44
63
|
}
|
|
45
|
-
exports.
|
|
64
|
+
exports.LifeCycleForSample = LifeCycleForSample;
|
|
65
|
+
module.exports = LifeCycleForSample;
|
|
46
66
|
//# sourceMappingURL=healthCheck.Handler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"healthCheck.Handler.js","sourceRoot":"","sources":["../src/healthCheck.Handler.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"healthCheck.Handler.js","sourceRoot":"","sources":["../src/healthCheck.Handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAEH,iDAAoE;AAEpE;;GAEG;AACH,MAAa,kBAAmB,SAAQ,oCAAuB;IAE3D;;;;OAIG;IACI,WAAW;QACd,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QACjC,MAAM,KAAK,GAAG;YACV,SAAS;YACT,2EAA2E;YAC3E,0EAA0E;YAC1E,6BAA6B;YAC7B,SAAS;SACZ,CAAC;QACF,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAS,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;OASG;IACI,YAAY;QACf;;;;;WAKG;IACP,CAAC;CACJ;AArCD,gDAqCC;AAED,MAAM,CAAC,OAAO,GAAG,kBAAkB,CAAC"}
|
package/lib/imperative.js
CHANGED
|
@@ -1,30 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* **************************************************************************************
|
|
4
|
+
* Copyright © 2025 BROADCOM Inc and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
|
-
* This software and all information contained therein is
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
6
|
+
* This software and all information contained therein is confidential and
|
|
7
|
+
* proprietary and shall not be duplicated, used, disclosed or disseminated in any
|
|
8
|
+
* way except as authorized by the applicable license agreement, without the
|
|
9
|
+
* express written permission of Broadcom. All authorized reproductions must be marked
|
|
10
|
+
* with this language.
|
|
11
|
+
*
|
|
12
|
+
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE EXTENT PERMITTED
|
|
13
|
+
* BY APPLICABLE LAW, BROADCOM PROVIDES THIS SOFTWARE WITHOUT WARRANTY OF ANY KIND,
|
|
14
|
+
* INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
|
|
15
|
+
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM BE LIABLE TO THE END USER
|
|
16
|
+
* OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF
|
|
17
|
+
* THIS SOFTWARE, INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION,
|
|
18
|
+
* GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
|
|
19
|
+
* **************************************************************************************
|
|
12
20
|
*
|
|
13
|
-
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO
|
|
14
|
-
* THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS
|
|
15
|
-
* SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT
|
|
16
|
-
* LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
|
|
17
|
-
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM
|
|
18
|
-
* BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR
|
|
19
|
-
* DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE,
|
|
20
|
-
* INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS
|
|
21
|
-
* INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
|
|
22
|
-
* EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
|
|
23
21
|
*/
|
|
24
22
|
const MATSession_1 = require("./cli/session/MATSession");
|
|
25
23
|
const config = {
|
|
26
24
|
commandModuleGlobs: ["**/cli/*/*.definition!(.d).*s"],
|
|
27
|
-
|
|
25
|
+
pluginLifeCycle: __dirname + "/healthCheck.Handler",
|
|
28
26
|
pluginSummary: "Manage monitor profiles and analyze the measurement data using MAT",
|
|
29
27
|
pluginAliases: ["mat"],
|
|
30
28
|
rootCommandDescription: "The MAT Analyze plug-in for ZOWE CLI enables you to manage monitor profiles " +
|
|
@@ -75,20 +73,7 @@ const config = {
|
|
|
75
73
|
},
|
|
76
74
|
},
|
|
77
75
|
required: [],
|
|
78
|
-
}
|
|
79
|
-
createProfileExamples: [
|
|
80
|
-
{
|
|
81
|
-
options: "matprofile --o http --H localhost --P 1234 --u user --pw pass --base-path \'API\\MAT\'",
|
|
82
|
-
description: "Create a MAT profile called \'matprofile\' using your MAT configuration and REST API details, " +
|
|
83
|
-
"with the MAT REST API server integrated with the Zowe API Mediation Layer"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
options: "matprofile --o http --H localhost --P 1234 --u user --pw pass --listingDir \'c:\\listings\'",
|
|
87
|
-
description: "Create a MAT profile called \'matprofile\' using your MAT configuration and the details of the " +
|
|
88
|
-
"MAT REST API server without integration with the Zowe API Mediation Layer," +
|
|
89
|
-
"and define the \'c:\\listings\' directory to store program listings for instant analysis from your VS Code IDE"
|
|
90
|
-
},
|
|
91
|
-
]
|
|
76
|
+
}
|
|
92
77
|
}
|
|
93
78
|
]
|
|
94
79
|
};
|
package/lib/imperative.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imperative.js","sourceRoot":"","sources":["../src/imperative.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"imperative.js","sourceRoot":"","sources":["../src/imperative.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,yDAAsD;AAEtD,MAAM,MAAM,GAAsB;IAC9B,kBAAkB,EAAE,CAAC,+BAA+B,CAAC;IACrD,eAAe,EAAE,SAAS,GAAG,sBAAsB;IACnD,aAAa,EAAE,oEAAoE;IACnF,aAAa,EAAE,CAAC,KAAK,CAAC;IACtB,sBAAsB,EAAE,8EAA8E;QACtG,+EAA+E;IAC/E,kBAAkB,EAAE,kCAAkC;IACtD,IAAI,EAAE,KAAK;IACX,QAAQ,EAAE;QACN;YACE,IAAI,EAAE,KAAK;YACX,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,gCAAgC;gBACvC,WAAW,EAAE,iCAAiC;gBAC9C,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,iBAAiB;wBAC9C,IAAI,EAAE,QAAQ;qBACf;oBACD,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,iBAAiB;wBAC9C,IAAI,EAAE,QAAQ;qBACf;oBACD,IAAI,EAAE;wBACJ,gBAAgB,EAAE,uBAAU,CAAC,aAAa;wBAC1C,IAAI,EAAE,QAAQ;qBACf;oBACD,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,gBAAgB;wBAC7C,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE,IAAI;qBACb;oBACD,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,gBAAgB;wBAC7C,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE,IAAI;qBACb;oBACD,QAAQ,EAAE;wBACR,gBAAgB,EAAE,uBAAU,CAAC,iBAAiB;wBAC9C,IAAI,EAAE,QAAQ;qBACf;oBACD,kBAAkB,EAAE;wBAClB,gBAAgB,EAAE,uBAAU,CAAC,2BAA2B;wBACxD,IAAI,EAAE,SAAS;qBAChB;oBACD,UAAU,EAAE;wBACV,gBAAgB,EAAE,uBAAU,CAAC,kBAAkB;wBAC/C,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,EAAE;aACb;SACF;KACJ;CACJ,CAAC;AAEF,iBAAS,MAAM,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* **************************************************************************************
|
|
4
|
+
* Copyright © 2025 BROADCOM Inc and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
|
-
* This software and all information contained therein is
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
6
|
+
* This software and all information contained therein is confidential and
|
|
7
|
+
* proprietary and shall not be duplicated, used, disclosed or disseminated in any
|
|
8
|
+
* way except as authorized by the applicable license agreement, without the
|
|
9
|
+
* express written permission of Broadcom. All authorized reproductions must be marked
|
|
10
|
+
* with this language.
|
|
11
|
+
*
|
|
12
|
+
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE EXTENT PERMITTED
|
|
13
|
+
* BY APPLICABLE LAW, BROADCOM PROVIDES THIS SOFTWARE WITHOUT WARRANTY OF ANY KIND,
|
|
14
|
+
* INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
|
|
15
|
+
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM BE LIABLE TO THE END USER
|
|
16
|
+
* OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF
|
|
17
|
+
* THIS SOFTWARE, INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION,
|
|
18
|
+
* GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
|
|
19
|
+
* **************************************************************************************
|
|
12
20
|
*
|
|
13
|
-
* EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO
|
|
14
|
-
* THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS
|
|
15
|
-
* SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT
|
|
16
|
-
* LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
|
|
17
|
-
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM
|
|
18
|
-
* BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR
|
|
19
|
-
* DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE,
|
|
20
|
-
* INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS
|
|
21
|
-
* INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
|
|
22
|
-
* EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
|
|
23
21
|
*/
|
|
24
22
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
25
23
|
if (k2 === undefined) k2 = k;
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;AAEH;;;;;;;;GAQG;AACH,2DAAyC;AACzC,gDAA8B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@broadcom/mat-analyze-for-zowe-cli",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "MAT Analyze Plug-in for Zowe CLI",
|
|
5
5
|
"author": "Broadcom",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -10,13 +10,14 @@
|
|
|
10
10
|
"lib"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
|
-
"build": "node scripts/updateLicense.js && tsc --pretty && npm run checkTestsCompile",
|
|
14
|
-
"checkTestsCompile": "echo
|
|
13
|
+
"build": "node scripts/updateLicense.js && tsc --pretty -p tsconfig.json && npm run checkTestsCompile",
|
|
14
|
+
"checkTestsCompile": "echo \\\"Checking that test source compiles...\\\" && tsc --project test-tsconfig.json --noEmit ",
|
|
15
15
|
"prebuild": "npm run clean && npm run lint && echo Using TypeScript && tsc --version",
|
|
16
16
|
"clean": "rimraf lib",
|
|
17
17
|
"watch": "tsc --pretty --watch",
|
|
18
18
|
"prepublishOnly": "npm run build",
|
|
19
|
-
"lint": "
|
|
19
|
+
"lint": "eslint \"src/**/*.ts\"",
|
|
20
|
+
"eslint-fix": "eslint --fix \"src/**/*.ts\"",
|
|
20
21
|
"test": "npm run test:unit && npm run test:system",
|
|
21
22
|
"test:system": "env-cmd __tests__/__resources__/env/system.env jest .*/__system__/.* --coverage false",
|
|
22
23
|
"test:unit": "env-cmd __tests__/__resources__/env/unit.env jest --coverage --testPathIgnorePatterns \".*/__system__/.*\"",
|
|
@@ -29,43 +30,43 @@
|
|
|
29
30
|
"configurationModule": "lib/imperative.js"
|
|
30
31
|
},
|
|
31
32
|
"dependencies": {
|
|
33
|
+
"@broadcom/endevor-for-zowe-cli": "8.2.2",
|
|
32
34
|
"object-mapper": "6.2.0"
|
|
33
35
|
},
|
|
34
36
|
"peerDependencies": {
|
|
35
|
-
"@zowe/imperative": "
|
|
37
|
+
"@zowe/imperative": "8.28.0"
|
|
36
38
|
},
|
|
37
39
|
"devDependencies": {
|
|
38
|
-
"@types/config": "
|
|
39
|
-
"@types/fs-extra": "
|
|
40
|
-
"@types/jest": "
|
|
41
|
-
"@types/mustache": "
|
|
42
|
-
"@types/node": "
|
|
43
|
-
"@types/yargs": "
|
|
44
|
-
"@zowe/cli": "
|
|
45
|
-
"@zowe/cli-test-utils": "
|
|
46
|
-
"@zowe/imperative": "
|
|
47
|
-
"config": "
|
|
48
|
-
"copyfiles": "2.
|
|
49
|
-
"env-cmd": "
|
|
50
|
-
"fs-extra": "
|
|
51
|
-
"glob": "
|
|
52
|
-
"jest": "
|
|
53
|
-
"jest-cli": "
|
|
54
|
-
"jest-environment-node": "
|
|
55
|
-
"jest-environment-node-debug": "
|
|
56
|
-
"jest-html-reporter": "
|
|
57
|
-
"jest-junit": "
|
|
58
|
-
"jest-stare": "
|
|
59
|
-
"js-yaml": "
|
|
60
|
-
"rimraf": "
|
|
61
|
-
"shebang-regex": "
|
|
62
|
-
"ts-jest": "
|
|
63
|
-
"ts-node": "
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"uuid": "^3.2.1"
|
|
40
|
+
"@types/config": "3.3.4",
|
|
41
|
+
"@types/fs-extra": "11.0.4",
|
|
42
|
+
"@types/jest": "29.5.14",
|
|
43
|
+
"@types/mustache": "4.2.5",
|
|
44
|
+
"@types/node": "18.19.80",
|
|
45
|
+
"@types/yargs": "17.0.33",
|
|
46
|
+
"@zowe/cli": "8.28.0",
|
|
47
|
+
"@zowe/cli-test-utils": "8.28.0",
|
|
48
|
+
"@zowe/imperative": "8.28.0",
|
|
49
|
+
"config": "3.3.12",
|
|
50
|
+
"copyfiles": "2.4.1",
|
|
51
|
+
"env-cmd": "8.0.2",
|
|
52
|
+
"fs-extra": "11.3.0",
|
|
53
|
+
"glob": "9.3.5",
|
|
54
|
+
"jest": "29.7.0",
|
|
55
|
+
"jest-cli": "29.7.0",
|
|
56
|
+
"jest-environment-node": "29.7.0",
|
|
57
|
+
"jest-environment-node-debug": "2.0.0",
|
|
58
|
+
"jest-html-reporter": "3.10.2",
|
|
59
|
+
"jest-junit": "16.0.0",
|
|
60
|
+
"jest-stare": "2.5.2",
|
|
61
|
+
"js-yaml": "4.1.1",
|
|
62
|
+
"rimraf": "6.0.1",
|
|
63
|
+
"shebang-regex": "4.0.0",
|
|
64
|
+
"ts-jest": "29.2.4",
|
|
65
|
+
"ts-node": "10.9.2",
|
|
66
|
+
"tsutils": "3.21.0",
|
|
67
|
+
"typescript": "5.6.3",
|
|
68
|
+
"typescript-eslint": "8.26.1",
|
|
69
|
+
"uuid": "10.0.0"
|
|
69
70
|
},
|
|
70
71
|
"jest": {
|
|
71
72
|
"modulePathIgnorePatterns": [
|
|
@@ -97,7 +98,16 @@
|
|
|
97
98
|
"text",
|
|
98
99
|
"cobertura"
|
|
99
100
|
],
|
|
100
|
-
"coverageDirectory": "<rootDir>/__tests__/__results__/unit/coverage"
|
|
101
|
+
"coverageDirectory": "<rootDir>/__tests__/__results__/unit/coverage",
|
|
102
|
+
"rootDir": ".",
|
|
103
|
+
"moduleNameMapper": {
|
|
104
|
+
"^@api/(.*)$": "<rootDir>/src/api/$1",
|
|
105
|
+
"^@handlers/(.*)$": "<rootDir>/src/handlers/$1",
|
|
106
|
+
"^@cli/(.*)$": "<rootDir>/src/cli/$1",
|
|
107
|
+
"^@common/(.*)$": "<rootDir>/src/common/$1",
|
|
108
|
+
"^@config$": "<rootDir>/src/config",
|
|
109
|
+
"^@src/(.*)$": "<rootDir>/src/$1"
|
|
110
|
+
}
|
|
101
111
|
},
|
|
102
112
|
"jest-stare": {
|
|
103
113
|
"resultDir": "__tests__/__results__/jest-stare",
|