@broadcom/mat-analyze-for-zowe-cli 2.0.5 → 2.0.7
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/README.md +1193 -429
- package/lib/api/MATRest.d.ts +17 -0
- package/lib/api/MATRest.js +21 -1
- package/lib/api/MATRest.js.map +1 -1
- package/lib/api/response/ICallStack.d.ts +4 -0
- package/lib/api/response/ICallStack.js +25 -0
- package/lib/api/response/ICallStack.js.map +1 -0
- package/lib/api/response/ICicstat.d.ts +4 -0
- package/lib/api/response/ICicstat.js +25 -0
- package/lib/api/response/ICicstat.js.map +1 -0
- package/lib/api/response/IDML.d.ts +4 -0
- package/lib/api/response/IDML.js +25 -0
- package/lib/api/response/IDML.js.map +1 -0
- package/lib/api/response/IIDMSModule.d.ts +4 -0
- package/lib/api/response/IIDMSModule.js +25 -0
- package/lib/api/response/IIDMSModule.js.map +1 -0
- package/lib/api/response/IIDMSModuleDetail.d.ts +4 -0
- package/lib/api/response/IIDMSModuleDetail.js +25 -0
- package/lib/api/response/IIDMSModuleDetail.js.map +1 -0
- package/lib/api/response/IIDMSTask.d.ts +4 -0
- package/lib/api/response/IIDMSTask.js +25 -0
- package/lib/api/response/IIDMSTask.js.map +1 -0
- package/lib/api/response/IIMSSSAView.d.ts +4 -0
- package/lib/api/response/IIMSSSAView.js +25 -0
- package/lib/api/response/IIMSSSAView.js.map +1 -0
- package/lib/api/response/IIMSStatement.d.ts +4 -0
- package/lib/api/response/IIMSStatement.js +25 -0
- package/lib/api/response/IIMSStatement.js.map +1 -0
- package/lib/api/response/IIMSView.d.ts +4 -0
- package/lib/api/response/IIMSView.js +25 -0
- package/lib/api/response/IIMSView.js.map +1 -0
- package/lib/api/response/IIMSViewDBDName.d.ts +4 -0
- package/lib/api/response/IIMSViewDBDName.js +25 -0
- package/lib/api/response/IIMSViewDBDName.js.map +1 -0
- package/lib/api/response/IIMSViewPSBName.d.ts +4 -0
- package/lib/api/response/IIMSViewPSBName.js +25 -0
- package/lib/api/response/IIMSViewPSBName.js.map +1 -0
- package/lib/api/response/IIMSViewRegion.d.ts +4 -0
- package/lib/api/response/IIMSViewRegion.js +25 -0
- package/lib/api/response/IIMSViewRegion.js.map +1 -0
- package/lib/api/response/ITranview.d.ts +4 -0
- package/lib/api/response/ITranview.js +25 -0
- package/lib/api/response/ITranview.js.map +1 -0
- package/lib/cli/monitor/Monitor.definition.js +6 -1
- package/lib/cli/monitor/Monitor.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.d.ts +5 -4
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js +236 -123
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js.map +1 -1
- package/lib/cli/monitor/codeview/callerid/Callerid.handler.js +2 -0
- package/lib/cli/monitor/codeview/callerid/Callerid.handler.js.map +1 -1
- package/lib/cli/monitor/codeview/csect/Csect.handler.js +1 -0
- package/lib/cli/monitor/codeview/csect/Csect.handler.js.map +1 -1
- package/lib/cli/monitor/codeview/module/Module.definition.js +1 -1
- package/lib/cli/monitor/codeview/module/Module.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/module/Module.handler.js +1 -0
- package/lib/cli/monitor/codeview/module/Module.handler.js.map +1 -1
- package/lib/cli/monitor/db2/db2view/DB2View.handler.js +1 -0
- package/lib/cli/monitor/db2/db2view/DB2View.handler.js.map +1 -1
- package/lib/cli/monitor/db2/sqlview/SQLView.handler.js +1 -0
- package/lib/cli/monitor/db2/sqlview/SQLView.handler.js.map +1 -1
- package/lib/cli/monitor/delayview/address/Address.handler.js +1 -0
- package/lib/cli/monitor/delayview/address/Address.handler.js.map +1 -1
- package/lib/cli/monitor/delayview/delay/Delay.handler.js +1 -0
- package/lib/cli/monitor/delayview/delay/Delay.handler.js.map +1 -1
- package/lib/cli/monitor/history/History.handler.js +1 -0
- package/lib/cli/monitor/history/History.handler.js.map +1 -1
- package/lib/cli/monitor/idms/IDMS.definition.d.ts +16 -0
- package/lib/cli/monitor/idms/IDMS.definition.js +76 -0
- package/lib/cli/monitor/idms/IDMS.definition.js.map +1 -0
- package/lib/cli/monitor/idms/dml/DML.definition.d.ts +3 -0
- package/lib/cli/monitor/idms/dml/DML.definition.js +64 -0
- package/lib/cli/monitor/idms/dml/DML.definition.js.map +1 -0
- package/lib/cli/monitor/idms/dml/DML.handler.d.ts +7 -0
- package/lib/cli/monitor/idms/dml/DML.handler.js +53 -0
- package/lib/cli/monitor/idms/dml/DML.handler.js.map +1 -0
- package/lib/cli/monitor/idms/module/IDMSModule.definition.d.ts +16 -0
- package/lib/cli/monitor/idms/module/IDMSModule.definition.js +101 -0
- package/lib/cli/monitor/idms/module/IDMSModule.definition.js.map +1 -0
- package/lib/cli/monitor/idms/module/IDMSModule.handler.d.ts +8 -0
- package/lib/cli/monitor/idms/module/IDMSModule.handler.js +91 -0
- package/lib/cli/monitor/idms/module/IDMSModule.handler.js.map +1 -0
- package/lib/cli/monitor/idms/task/IDMSTask.definition.d.ts +3 -0
- package/lib/cli/monitor/idms/task/IDMSTask.definition.js +64 -0
- package/lib/cli/monitor/idms/task/IDMSTask.definition.js.map +1 -0
- package/lib/cli/monitor/idms/task/IDMSTask.handler.d.ts +7 -0
- package/lib/cli/monitor/idms/task/IDMSTask.handler.js +51 -0
- package/lib/cli/monitor/idms/task/IDMSTask.handler.js.map +1 -0
- package/lib/cli/monitor/ims/IMS.definition.d.ts +16 -0
- package/lib/cli/monitor/ims/IMS.definition.js +59 -0
- package/lib/cli/monitor/ims/IMS.definition.js.map +1 -0
- package/lib/cli/monitor/ims/dbdname/DBDName.definition.d.ts +2 -0
- package/lib/cli/monitor/ims/dbdname/DBDName.definition.js +61 -0
- package/lib/cli/monitor/ims/dbdname/DBDName.definition.js.map +1 -0
- package/lib/cli/monitor/ims/dbdname/DBDName.handler.d.ts +7 -0
- package/lib/cli/monitor/ims/dbdname/DBDName.handler.js +51 -0
- package/lib/cli/monitor/ims/dbdname/DBDName.handler.js.map +1 -0
- package/lib/cli/monitor/ims/imsview/IMSView.definition.d.ts +2 -0
- package/lib/cli/monitor/ims/imsview/IMSView.definition.js +61 -0
- package/lib/cli/monitor/ims/imsview/IMSView.definition.js.map +1 -0
- package/lib/cli/monitor/ims/imsview/IMSView.handler.d.ts +7 -0
- package/lib/cli/monitor/ims/imsview/IMSView.handler.js +52 -0
- package/lib/cli/monitor/ims/imsview/IMSView.handler.js.map +1 -0
- package/lib/cli/monitor/ims/psbname/PSBName.definition.d.ts +2 -0
- package/lib/cli/monitor/ims/psbname/PSBName.definition.js +61 -0
- package/lib/cli/monitor/ims/psbname/PSBName.definition.js.map +1 -0
- package/lib/cli/monitor/ims/psbname/PSBName.handler.d.ts +7 -0
- package/lib/cli/monitor/ims/psbname/PSBName.handler.js +61 -0
- package/lib/cli/monitor/ims/psbname/PSBName.handler.js.map +1 -0
- package/lib/cli/monitor/ims/region/Region.definition.d.ts +2 -0
- package/lib/cli/monitor/ims/region/Region.definition.js +61 -0
- package/lib/cli/monitor/ims/region/Region.definition.js.map +1 -0
- package/lib/cli/monitor/ims/region/Region.handler.d.ts +7 -0
- package/lib/cli/monitor/ims/region/Region.handler.js +63 -0
- package/lib/cli/monitor/ims/region/Region.handler.js.map +1 -0
- package/lib/cli/monitor/ims/ssa/SSA.definition.d.ts +2 -0
- package/lib/cli/monitor/ims/ssa/SSA.definition.js +82 -0
- package/lib/cli/monitor/ims/ssa/SSA.definition.js.map +1 -0
- package/lib/cli/monitor/ims/ssa/SSA.handler.d.ts +8 -0
- package/lib/cli/monitor/ims/ssa/SSA.handler.js +55 -0
- package/lib/cli/monitor/ims/ssa/SSA.handler.js.map +1 -0
- package/lib/cli/monitor/ims/statement/Statement.definition.d.ts +2 -0
- package/lib/cli/monitor/ims/statement/Statement.definition.js +68 -0
- package/lib/cli/monitor/ims/statement/Statement.definition.js.map +1 -0
- package/lib/cli/monitor/ims/statement/Statement.handler.d.ts +8 -0
- package/lib/cli/monitor/ims/statement/Statement.handler.js +65 -0
- package/lib/cli/monitor/ims/statement/Statement.handler.js.map +1 -0
- package/lib/cli/monitor/tranview/Tranview.definition.d.ts +16 -0
- package/lib/cli/monitor/tranview/Tranview.definition.js +81 -0
- package/lib/cli/monitor/tranview/Tranview.definition.js.map +1 -0
- package/lib/cli/monitor/tranview/all/All.definition.d.ts +3 -0
- package/lib/cli/monitor/tranview/all/All.definition.js +80 -0
- package/lib/cli/monitor/tranview/all/All.definition.js.map +1 -0
- package/lib/cli/monitor/tranview/all/All.handler.d.ts +7 -0
- package/lib/cli/monitor/tranview/all/All.handler.js +51 -0
- package/lib/cli/monitor/tranview/all/All.handler.js.map +1 -0
- package/lib/cli/monitor/tranview/callerid/Callerid.definition.d.ts +3 -0
- package/lib/cli/monitor/tranview/callerid/Callerid.definition.js +70 -0
- package/lib/cli/monitor/tranview/callerid/Callerid.definition.js.map +1 -0
- package/lib/cli/monitor/tranview/callerid/Callerid.handler.d.ts +8 -0
- package/lib/cli/monitor/tranview/callerid/Callerid.handler.js +56 -0
- package/lib/cli/monitor/tranview/callerid/Callerid.handler.js.map +1 -0
- package/lib/cli/monitor/tranview/callstack/CallStack.definition.d.ts +3 -0
- package/lib/cli/monitor/tranview/callstack/CallStack.definition.js +70 -0
- package/lib/cli/monitor/tranview/callstack/CallStack.definition.js.map +1 -0
- package/lib/cli/monitor/tranview/callstack/CallStack.handler.d.ts +8 -0
- package/lib/cli/monitor/tranview/callstack/CallStack.handler.js +55 -0
- package/lib/cli/monitor/tranview/callstack/CallStack.handler.js.map +1 -0
- package/lib/cli/monitor/tranview/csect/CsectDetail.definition.d.ts +2 -0
- package/lib/cli/monitor/tranview/csect/CsectDetail.definition.js +70 -0
- package/lib/cli/monitor/tranview/csect/CsectDetail.definition.js.map +1 -0
- package/lib/cli/monitor/tranview/csect/CsectDetail.handler.d.ts +8 -0
- package/lib/cli/monitor/tranview/csect/CsectDetail.handler.js +55 -0
- package/lib/cli/monitor/tranview/csect/CsectDetail.handler.js.map +1 -0
- package/lib/cli/monitor/tranview/delay/DelayDetail.definition.d.ts +2 -0
- package/lib/cli/monitor/tranview/delay/DelayDetail.definition.js +70 -0
- package/lib/cli/monitor/tranview/delay/DelayDetail.definition.js.map +1 -0
- package/lib/cli/monitor/tranview/delay/DelayDetail.handler.d.ts +8 -0
- package/lib/cli/monitor/tranview/delay/DelayDetail.handler.js +55 -0
- package/lib/cli/monitor/tranview/delay/DelayDetail.handler.js.map +1 -0
- package/lib/cli/monitor/tranview/module/Module.definition.d.ts +2 -0
- package/lib/cli/monitor/tranview/module/Module.definition.js +70 -0
- package/lib/cli/monitor/tranview/module/Module.definition.js.map +1 -0
- package/lib/cli/monitor/tranview/module/Module.handler.d.ts +7 -0
- package/lib/cli/monitor/tranview/module/Module.handler.js +51 -0
- package/lib/cli/monitor/tranview/module/Module.handler.js.map +1 -0
- package/lib/cli/monitor/tranview/stat/Cicstat.definition.d.ts +3 -0
- package/lib/cli/monitor/tranview/stat/Cicstat.definition.js +80 -0
- package/lib/cli/monitor/tranview/stat/Cicstat.definition.js.map +1 -0
- package/lib/cli/monitor/tranview/stat/Cicstat.handler.d.ts +8 -0
- package/lib/cli/monitor/tranview/stat/Cicstat.handler.js +175 -0
- package/lib/cli/monitor/tranview/stat/Cicstat.handler.js.map +1 -0
- package/lib/handlers/AbstractGetHandler.js +9 -9
- package/lib/handlers/AbstractGetHandler.js.map +1 -1
- package/lib/handlers/AbstractPostHandler.js +2 -2
- package/lib/handlers/AbstractPostHandler.js.map +1 -1
- package/lib/handlers/AbstractRestHandler.js +3 -3
- package/lib/handlers/AbstractRestHandler.js.map +1 -1
- package/lib/index.js +6 -2
- package/lib/index.js.map +1 -1
- package/package.json +11 -12
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2023 Broadcom. All Rights Reserved. The term
|
|
4
|
+
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
*
|
|
6
|
+
* This software and all information contained therein is
|
|
7
|
+
* confidential and proprietary and shall not be duplicated,
|
|
8
|
+
* used, disclosed, or disseminated in any way except as
|
|
9
|
+
* authorized by the applicable license agreement, without the
|
|
10
|
+
* express written permission of Broadcom. All authorized
|
|
11
|
+
* reproductions must be marked with this language.
|
|
12
|
+
*
|
|
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
|
+
*/
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.SSADefinition = void 0;
|
|
26
|
+
exports.SSADefinition = {
|
|
27
|
+
name: "ssa",
|
|
28
|
+
aliases: ["ssa"],
|
|
29
|
+
summary: "Get IMS View SSA data",
|
|
30
|
+
description: "Get the IMS View SSA details for the measurement.",
|
|
31
|
+
type: "command",
|
|
32
|
+
handler: __dirname + "/SSA.handler",
|
|
33
|
+
profile: {
|
|
34
|
+
optional: ["mat"]
|
|
35
|
+
},
|
|
36
|
+
options: [
|
|
37
|
+
{
|
|
38
|
+
name: "profile",
|
|
39
|
+
description: "Specifies the name of the profile that you want to analyze. " +
|
|
40
|
+
"When you specify the profile name, you get the data for the latest measurement " +
|
|
41
|
+
"within the specified profile.",
|
|
42
|
+
type: "string"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "mon_num",
|
|
46
|
+
description: "Specifies the unique monitor number of the measurement.",
|
|
47
|
+
type: "number"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: "call",
|
|
51
|
+
description: "Specifies the call details for the specified monitor number or profile name.",
|
|
52
|
+
type: "string"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: "dbdname",
|
|
56
|
+
description: "Specifies the dbdname details for the specified monitor number or profile name.",
|
|
57
|
+
type: "string"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: "psbname",
|
|
61
|
+
description: "Specifies the psbname details for the specified monitor number or profile name.",
|
|
62
|
+
type: "string"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
examples: [
|
|
66
|
+
{
|
|
67
|
+
description: "Get the IMS details for monitor number 5, " +
|
|
68
|
+
"with the specific MAT profile details defined",
|
|
69
|
+
options: "--mon_num 5 --call TESTCALL --dbdname TESTDBDNAME --psbname TESTPSBNAME"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
description: "Get the IMS View SSA details for the latest monitor in the TESTPROF profile," +
|
|
73
|
+
"with the specific MAT profile details defined ",
|
|
74
|
+
options: "--profile TESTPROF --call TESTCALL --dbdname TESTDBDNAME --psbname TESTPSBNAME"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
description: "Get the IMS View SSA details for monitor number 5, with the specific MAT profile details defined",
|
|
78
|
+
options: "--mon_num 5 --call TESTCALL --dbdname TESTDBDNAME --psbname TESTPSBNAME"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=SSA.definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SSA.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/ims/ssa/SSA.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGU,QAAA,aAAa,GAAuB;IAC/C,IAAI,EAAE,KAAK;IACX,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,uBAAuB;IAChC,WAAW,EAAE,mDAAmD;IAChE,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,cAAc;IACnC,OAAO,EAAE;QACP,QAAQ,EAAE,CAAC,KAAK,CAAC;KAClB;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,SAAS;YACf,WAAW,EACT,8DAA8D;gBAC9D,iFAAiF;gBACjF,+BAA+B;YACjC,IAAI,EAAE,QAAQ;SACf;QACD;YACE,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACf;QACD;YACE,IAAI,EAAE,MAAM;YACZ,WAAW,EACT,8EAA8E;YAChF,IAAI,EAAE,QAAQ;SACf;QACD;YACE,IAAI,EAAE,SAAS;YACf,WAAW,EACT,iFAAiF;YACnF,IAAI,EAAE,QAAQ;SACf;QACD;YACE,IAAI,EAAE,SAAS;YACf,WAAW,EACT,iFAAiF;YACnF,IAAI,EAAE,QAAQ;SACf;KACF;IACD,QAAQ,EAAE;QACR;YACE,WAAW,EACT,6CAA6C;gBAC7C,+CAA+C;YACjD,OAAO,EACL,yEAAyE;SAC5E;QACD;YACE,WAAW,EACT,8EAA8E;gBAC9E,gDAAgD;YAClD,OAAO,EACL,gFAAgF;SACnF;QACD;YACE,WAAW,EACT,kGAAkG;YACpG,OAAO,EACL,yEAAyE;SAC5E;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IIMSSSAView } from "../../../../api/response/IIMSSSAView";
|
|
2
|
+
import AbstractAnalyzeHandler from "../../../../handlers/AbstractAnalyzeHandler";
|
|
3
|
+
export default class SSAHandler extends AbstractAnalyzeHandler<IIMSSSAView> {
|
|
4
|
+
protected getAnalyzeURI(): string;
|
|
5
|
+
protected getFields(): string[];
|
|
6
|
+
protected getOutput(json: any): Promise<any>;
|
|
7
|
+
protected getRequestParams(): string[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2023 Broadcom. All Rights Reserved. The term
|
|
4
|
+
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
*
|
|
6
|
+
* This software and all information contained therein is
|
|
7
|
+
* confidential and proprietary and shall not be duplicated,
|
|
8
|
+
* used, disclosed, or disseminated in any way except as
|
|
9
|
+
* authorized by the applicable license agreement, without the
|
|
10
|
+
* express written permission of Broadcom. All authorized
|
|
11
|
+
* reproductions must be marked with this language.
|
|
12
|
+
*
|
|
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
|
+
*/
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
const MATRest_1 = require("../../../../api/MATRest");
|
|
35
|
+
const AbstractAnalyzeHandler_1 = require("../../../../handlers/AbstractAnalyzeHandler");
|
|
36
|
+
class SSAHandler extends AbstractAnalyzeHandler_1.default {
|
|
37
|
+
getAnalyzeURI() {
|
|
38
|
+
return MATRest_1.MATRest.ANALYSIS_IMSVIEW_PSBNAME_SSA;
|
|
39
|
+
}
|
|
40
|
+
/* istanbul ignore next */
|
|
41
|
+
getFields() {
|
|
42
|
+
return ["ssa", "segment", "cmd", "field", "operator"];
|
|
43
|
+
}
|
|
44
|
+
getOutput(json) {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
return json.ssa;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
/* istanbul ignore next */
|
|
50
|
+
getRequestParams() {
|
|
51
|
+
return ["call", "dbdname", "psbname"];
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.default = SSAHandler;
|
|
55
|
+
//# sourceMappingURL=SSA.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SSA.handler.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/ims/ssa/SSA.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAEH,qDAAkD;AAElD,wFAAiF;AAEjF,MAAqB,UAAW,SAAQ,gCAAmC;IAC/D,aAAa;QACrB,OAAO,iBAAO,CAAC,4BAA4B,CAAC;IAC9C,CAAC;IACD,0BAA0B;IAChB,SAAS;QACjB,OAAO,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IACxD,CAAC;IACe,SAAS,CAAC,IAAS;;YACjC,OAAO,IAAI,CAAC,GAAG,CAAC;QAClB,CAAC;KAAA;IACD,0BAA0B;IAChB,gBAAgB;QACxB,OAAO,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;IACxC,CAAC;CACF;AAfD,6BAeC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2023 Broadcom. All Rights Reserved. The term
|
|
4
|
+
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
*
|
|
6
|
+
* This software and all information contained therein is
|
|
7
|
+
* confidential and proprietary and shall not be duplicated,
|
|
8
|
+
* used, disclosed, or disseminated in any way except as
|
|
9
|
+
* authorized by the applicable license agreement, without the
|
|
10
|
+
* express written permission of Broadcom. All authorized
|
|
11
|
+
* reproductions must be marked with this language.
|
|
12
|
+
*
|
|
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
|
+
*/
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.StatementDefinition = void 0;
|
|
26
|
+
exports.StatementDefinition = {
|
|
27
|
+
name: "statement",
|
|
28
|
+
aliases: ["stat"],
|
|
29
|
+
summary: "Get IMS View Statement data",
|
|
30
|
+
description: "Get the IMS View Statement details for the measurement.",
|
|
31
|
+
type: "command",
|
|
32
|
+
handler: __dirname + "/Statement.handler",
|
|
33
|
+
profile: {
|
|
34
|
+
optional: ["mat"]
|
|
35
|
+
},
|
|
36
|
+
options: [
|
|
37
|
+
{
|
|
38
|
+
name: "profile",
|
|
39
|
+
description: "Specifies the name of the profile that you want to analyze. " +
|
|
40
|
+
"When you specify the profile name, you get the data for the latest measurement " +
|
|
41
|
+
"within the specified profile.",
|
|
42
|
+
type: "string"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "mon_num",
|
|
46
|
+
description: "Specifies the unique monitor number of the measurement.",
|
|
47
|
+
type: "number"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: "trancode",
|
|
51
|
+
description: "Specifies the trancode for specified monitor number or profile name",
|
|
52
|
+
type: "string"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
examples: [
|
|
56
|
+
{
|
|
57
|
+
description: "Get the IMS View Statement details for monitor number 5" +
|
|
58
|
+
"with trancode TESTTRANCODE",
|
|
59
|
+
options: "--mon_num 5 --trancode TESTTRANCODE"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
description: "Get the IMS View Statement details for the latest monitor in the TESTPROF profile, " +
|
|
63
|
+
"with trancode TESTTRANCODE",
|
|
64
|
+
options: "--profile TESTPROF --trancode TESTTRANCODE"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=Statement.definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Statement.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/ims/statement/Statement.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGU,QAAA,mBAAmB,GAAuB;IACrD,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,OAAO,EAAE,6BAA6B;IACtC,WAAW,EAAE,yDAAyD;IACtE,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,oBAAoB;IACzC,OAAO,EAAE;QACP,QAAQ,EAAE,CAAC,KAAK,CAAC;KAClB;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,SAAS;YACf,WAAW,EACT,8DAA8D;gBAC9D,iFAAiF;gBACjF,+BAA+B;YACjC,IAAI,EAAE,QAAQ;SACf;QACD;YACE,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACf;QACD;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EACT,qEAAqE;YACvE,IAAI,EAAE,QAAQ;SACf;KACF;IACD,QAAQ,EAAE;QACR;YACE,WAAW,EACT,yDAAyD;gBACzD,4BAA4B;YAC9B,OAAO,EAAE,qCAAqC;SAC/C;QACD;YACE,WAAW,EACT,qFAAqF;gBACrF,4BAA4B;YAC9B,OAAO,EAAE,4CAA4C;SACtD;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IIMSStatement } from "../../../../api/response/IIMSStatement";
|
|
2
|
+
import AbstractAnalyzeHandler from "../../../../handlers/AbstractAnalyzeHandler";
|
|
3
|
+
export default class StatementHandler extends AbstractAnalyzeHandler<IIMSStatement> {
|
|
4
|
+
protected getAnalyzeURI(): string;
|
|
5
|
+
protected getFields(): string[];
|
|
6
|
+
protected getOutput(json: any): Promise<any>;
|
|
7
|
+
protected getRequestParams(): string[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2023 Broadcom. All Rights Reserved. The term
|
|
4
|
+
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
*
|
|
6
|
+
* This software and all information contained therein is
|
|
7
|
+
* confidential and proprietary and shall not be duplicated,
|
|
8
|
+
* used, disclosed, or disseminated in any way except as
|
|
9
|
+
* authorized by the applicable license agreement, without the
|
|
10
|
+
* express written permission of Broadcom. All authorized
|
|
11
|
+
* reproductions must be marked with this language.
|
|
12
|
+
*
|
|
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
|
+
*/
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
const MATRest_1 = require("../../../../api/MATRest");
|
|
35
|
+
const AbstractAnalyzeHandler_1 = require("../../../../handlers/AbstractAnalyzeHandler");
|
|
36
|
+
class StatementHandler extends AbstractAnalyzeHandler_1.default {
|
|
37
|
+
getAnalyzeURI() {
|
|
38
|
+
return MATRest_1.MATRest.ANALYSIS_IMSVIEW_STATEMENT;
|
|
39
|
+
}
|
|
40
|
+
/* istanbul ignore next */
|
|
41
|
+
getFields() {
|
|
42
|
+
return [
|
|
43
|
+
"psbname",
|
|
44
|
+
"psbno",
|
|
45
|
+
"dbdname",
|
|
46
|
+
"segment",
|
|
47
|
+
"call",
|
|
48
|
+
"popts",
|
|
49
|
+
"active",
|
|
50
|
+
"wait",
|
|
51
|
+
"total"
|
|
52
|
+
];
|
|
53
|
+
}
|
|
54
|
+
getOutput(json) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
return json.imsstatement;
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/* istanbul ignore next */
|
|
60
|
+
getRequestParams() {
|
|
61
|
+
return ["trancode"];
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.default = StatementHandler;
|
|
65
|
+
//# sourceMappingURL=Statement.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Statement.handler.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/ims/statement/Statement.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAEH,qDAAkD;AAElD,wFAAiF;AAEjF,MAAqB,gBAAiB,SAAQ,gCAAqC;IACvE,aAAa;QACrB,OAAO,iBAAO,CAAC,0BAA0B,CAAC;IAC5C,CAAC;IACD,0BAA0B;IAChB,SAAS;QACjB,OAAO;YACL,SAAS;YACT,OAAO;YACP,SAAS;YACT,SAAS;YACT,MAAM;YACN,OAAO;YACP,QAAQ;YACR,MAAM;YACN,OAAO;SACR,CAAC;IACJ,CAAC;IACe,SAAS,CAAC,IAAS;;YACjC,OAAO,IAAI,CAAC,YAAY,CAAC;QAC3B,CAAC;KAAA;IACD,0BAA0B;IAChB,gBAAgB;QACxB,OAAO,CAAC,UAAU,CAAC,CAAC;IACtB,CAAC;CACF;AAzBD,mCAyBC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ICommandDefinition } from "@zowe/imperative";
|
|
2
|
+
/**
|
|
3
|
+
* [action] command definition for the [action] two group. The [action] is of imperative command definition type
|
|
4
|
+
* "group", which means it must have children.
|
|
5
|
+
*
|
|
6
|
+
* In this case, the action is "list" - which will list files, etc.
|
|
7
|
+
*
|
|
8
|
+
* Property Summary:
|
|
9
|
+
* =================
|
|
10
|
+
* "name" of the [action]. Always a verb (e.g. "copy")
|
|
11
|
+
* "summary" will display when issuing the help for the [group] (e.g. zowe zos-files --help)
|
|
12
|
+
* "type" is "group" which means it has children (the [objects])
|
|
13
|
+
* "children" is the set of child definitions (the [objects])
|
|
14
|
+
*/
|
|
15
|
+
declare const TranviewDefinition: ICommandDefinition;
|
|
16
|
+
export = TranviewDefinition;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2023 Broadcom. All Rights Reserved. The term
|
|
4
|
+
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
*
|
|
6
|
+
* This software and all information contained therein is
|
|
7
|
+
* confidential and proprietary and shall not be duplicated,
|
|
8
|
+
* used, disclosed, or disseminated in any way except as
|
|
9
|
+
* authorized by the applicable license agreement, without the
|
|
10
|
+
* express written permission of Broadcom. All authorized
|
|
11
|
+
* reproductions must be marked with this language.
|
|
12
|
+
*
|
|
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
|
+
*/
|
|
24
|
+
const AllDefinition = require("./all/All.definition");
|
|
25
|
+
const CICSstatDefinition = require("./stat/Cicstat.definition");
|
|
26
|
+
const CalleridDefinition = require("./callerid/Callerid.definition");
|
|
27
|
+
const CallStackDefinition = require("./callstack/CallStack.definition");
|
|
28
|
+
const CsectDetail_definition_1 = require("./csect/CsectDetail.definition");
|
|
29
|
+
const DelayDetail_definition_1 = require("./delay/DelayDetail.definition");
|
|
30
|
+
const Module_definition_1 = require("./module/Module.definition");
|
|
31
|
+
/**
|
|
32
|
+
* [action] command definition for the [action] two group. The [action] is of imperative command definition type
|
|
33
|
+
* "group", which means it must have children.
|
|
34
|
+
*
|
|
35
|
+
* In this case, the action is "list" - which will list files, etc.
|
|
36
|
+
*
|
|
37
|
+
* Property Summary:
|
|
38
|
+
* =================
|
|
39
|
+
* "name" of the [action]. Always a verb (e.g. "copy")
|
|
40
|
+
* "summary" will display when issuing the help for the [group] (e.g. zowe zos-files --help)
|
|
41
|
+
* "type" is "group" which means it has children (the [objects])
|
|
42
|
+
* "children" is the set of child definitions (the [objects])
|
|
43
|
+
*/
|
|
44
|
+
const TranviewDefinition = {
|
|
45
|
+
name: "tranview",
|
|
46
|
+
aliases: ["tr"],
|
|
47
|
+
summary: "Get TranView data",
|
|
48
|
+
description: "Get the TranView measurement details.",
|
|
49
|
+
type: "group",
|
|
50
|
+
children: [CICSstatDefinition, AllDefinition, CalleridDefinition,
|
|
51
|
+
CallStackDefinition, CsectDetail_definition_1.CsectDetailDefinition, DelayDetail_definition_1.DelayDetailDefinition, Module_definition_1.ModuleDefinition],
|
|
52
|
+
profile: {
|
|
53
|
+
required: ["mat"]
|
|
54
|
+
},
|
|
55
|
+
options: [
|
|
56
|
+
{
|
|
57
|
+
name: "profile",
|
|
58
|
+
description: "Specifies the name of the profile that you want to analyze. " +
|
|
59
|
+
"When you specify the profile name, you get the data for the latest " +
|
|
60
|
+
"measurement within the specified profile.",
|
|
61
|
+
type: "string"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "mon_num",
|
|
65
|
+
description: "Specifies the unique monitor number of the measurement.",
|
|
66
|
+
type: "number"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
examples: [
|
|
70
|
+
{
|
|
71
|
+
description: "Get the overview details of the measurement for monitor number 5",
|
|
72
|
+
options: "--mon_num 5",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
description: "Get the overview details of the measurement for the latest monitor in the TESTPROF profile",
|
|
76
|
+
options: "--profile TESTPROF",
|
|
77
|
+
},
|
|
78
|
+
]
|
|
79
|
+
};
|
|
80
|
+
module.exports = TranviewDefinition;
|
|
81
|
+
//# sourceMappingURL=Tranview.definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tranview.definition.js","sourceRoot":"","sources":["../../../../src/cli/monitor/tranview/Tranview.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,sDAAuD;AACvD,gEAAiE;AACjE,qEAAsE;AACtE,wEAAyE;AACzE,2EAAqE;AACrE,2EAAqE;AACrE,kEAA4D;AAG5D;;;;;;;;;;;;GAYG;AACH,MAAM,kBAAkB,GAAuB;IAC3C,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,CAAC,IAAI,CAAC;IACf,OAAO,EAAE,mBAAmB;IAC5B,WAAW,EAAE,uCAAuC;IACpD,IAAI,EAAE,OAAO;IACb,QAAQ,EAAE,CAAC,kBAAkB,EAAE,aAAa,EAAE,kBAAkB;QACrD,mBAAmB,EAAE,8CAAqB,EAAE,8CAAqB,EAAE,oCAAgB,CAAC;IAC/F,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,KAAK,CAAC;KACpB;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8DAA8D;gBAC3E,qEAAqE;gBACrE,2CAA2C;YAC3C,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACjB;KACJ;IACD,QAAQ,EAAE;QACN;YACI,WAAW,EAAE,kEAAkE;YAC/E,OAAO,EAAE,aAAa;SACzB;QACD;YACI,WAAW,EAAE,4FAA4F;YACzG,OAAO,EAAE,oBAAoB;SAChC;KACJ;CACJ,CAAC;AACF,iBAAS,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2023 Broadcom. All Rights Reserved. The term
|
|
4
|
+
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
*
|
|
6
|
+
* This software and all information contained therein is
|
|
7
|
+
* confidential and proprietary and shall not be duplicated,
|
|
8
|
+
* used, disclosed, or disseminated in any way except as
|
|
9
|
+
* authorized by the applicable license agreement, without the
|
|
10
|
+
* express written permission of Broadcom. All authorized
|
|
11
|
+
* reproductions must be marked with this language.
|
|
12
|
+
*
|
|
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
|
+
*/
|
|
24
|
+
const AllDefinition = {
|
|
25
|
+
name: "all",
|
|
26
|
+
aliases: ["all"],
|
|
27
|
+
summary: "Get CodeView data in Module mode",
|
|
28
|
+
description: "Get the CodeView measurement details in Module mode.",
|
|
29
|
+
type: "command",
|
|
30
|
+
handler: __dirname + "/All.handler",
|
|
31
|
+
profile: {
|
|
32
|
+
required: ["mat"]
|
|
33
|
+
},
|
|
34
|
+
options: [
|
|
35
|
+
{
|
|
36
|
+
name: "profile",
|
|
37
|
+
description: "Specifies the name of the profile that you want to analyze. " +
|
|
38
|
+
"When you specify the profile name, you get the data for the latest " +
|
|
39
|
+
"measurement within the specified profile.",
|
|
40
|
+
type: "string"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: "mon_num",
|
|
44
|
+
description: "Specifies the unique monitor number of the measurement.",
|
|
45
|
+
type: "number"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "tran",
|
|
49
|
+
description: "Specifies the histogram group size parameter that defines the resolution of the histogram " +
|
|
50
|
+
"(e.g., --group 32). If you do not specify the group parameter, the group size value defaults to 4 bytes. " +
|
|
51
|
+
"If the source program listing is registered with MAT, the group size parameter is ignored. " +
|
|
52
|
+
"The --group parameter is optional. " +
|
|
53
|
+
"Lower values of the --group parameter result in more granular representation of the histogram data. " +
|
|
54
|
+
"Values: numbers between 2 and 999999.",
|
|
55
|
+
type: "stringOrEmpty"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: "type",
|
|
59
|
+
description: "Specifies the histogram group size parameter that defines the resolution of the histogram " +
|
|
60
|
+
"(e.g., --group 32). If you do not specify the group parameter, the group size value defaults to 4 bytes. " +
|
|
61
|
+
"If the source program listing is registered with MAT, the group size parameter is ignored. " +
|
|
62
|
+
"The --group parameter is optional. " +
|
|
63
|
+
"Lower values of the --group parameter result in more granular representation of the histogram data. " +
|
|
64
|
+
"Values: numbers between 2 and 999999.",
|
|
65
|
+
type: "stringOrEmpty"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
examples: [
|
|
69
|
+
{
|
|
70
|
+
description: "Get the CodeView measurement details in Module mode for monitor number 5",
|
|
71
|
+
options: "--mon_num 5",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
description: "Get the CodeView measurement details in Module mode for the latest monitor in the TESTPROF profile",
|
|
75
|
+
options: "--profile TESTPROF",
|
|
76
|
+
},
|
|
77
|
+
]
|
|
78
|
+
};
|
|
79
|
+
module.exports = AllDefinition;
|
|
80
|
+
//# sourceMappingURL=All.definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"All.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/tranview/all/All.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,MAAM,aAAa,GAAuB;IACtC,IAAI,EAAE,KAAK;IACX,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,kCAAkC;IAC3C,WAAW,EAAE,sDAAsD;IACnE,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,cAAc;IACnC,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,KAAK,CAAC;KACpB;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8DAA8D;gBAC3E,qEAAqE;gBACrE,2CAA2C;YAC3C,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,4FAA4F;gBACzG,2GAA2G;gBAC3G,6FAA6F;gBAC7F,qCAAqC;gBACrC,sGAAsG;gBACtG,uCAAuC;YACvC,IAAI,EAAE,eAAe;SACxB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,4FAA4F;gBACzG,2GAA2G;gBAC3G,6FAA6F;gBAC7F,qCAAqC;gBACrC,sGAAsG;gBACtG,uCAAuC;YACvC,IAAI,EAAE,eAAe;SACxB;KACJ;IACD,QAAQ,EAAE;QACN;YACI,WAAW,EAAE,0EAA0E;YACvF,OAAO,EAAE,aAAa;SACzB;QACD;YACI,WAAW,EAAE,oGAAoG;YACjH,OAAO,EAAE,oBAAoB;SAChC;KACJ;CACJ,CAAC;AAEF,iBAAS,aAAa,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import AbstractAnalyzeHandler from "../../../../handlers/AbstractAnalyzeHandler";
|
|
2
|
+
import { ITranview } from "../../../../api/response/ITranview";
|
|
3
|
+
export default class AllHandler extends AbstractAnalyzeHandler<ITranview> {
|
|
4
|
+
protected getAnalyzeURI(): string;
|
|
5
|
+
protected getFields(): string[];
|
|
6
|
+
protected getOutput(json: any): Promise<any>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2023 Broadcom. All Rights Reserved. The term
|
|
4
|
+
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
*
|
|
6
|
+
* This software and all information contained therein is
|
|
7
|
+
* confidential and proprietary and shall not be duplicated,
|
|
8
|
+
* used, disclosed, or disseminated in any way except as
|
|
9
|
+
* authorized by the applicable license agreement, without the
|
|
10
|
+
* express written permission of Broadcom. All authorized
|
|
11
|
+
* reproductions must be marked with this language.
|
|
12
|
+
*
|
|
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
|
+
*/
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
const AbstractAnalyzeHandler_1 = require("../../../../handlers/AbstractAnalyzeHandler");
|
|
35
|
+
const MATRest_1 = require("../../../../api/MATRest");
|
|
36
|
+
class AllHandler extends AbstractAnalyzeHandler_1.default {
|
|
37
|
+
getAnalyzeURI() {
|
|
38
|
+
return MATRest_1.MATRest.ANALYSIS_TRANVIEW;
|
|
39
|
+
}
|
|
40
|
+
/* istanbul ignore next */
|
|
41
|
+
getFields() {
|
|
42
|
+
return ["active", "averageResp", "averageSUs", "avgCPU", "d", "data", "noTrans", "other", "total", "totalCPU", "totalSUs", "tran"];
|
|
43
|
+
}
|
|
44
|
+
getOutput(json) {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
return json.tranview;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.default = AllHandler;
|
|
51
|
+
//# sourceMappingURL=All.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"All.handler.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/tranview/all/All.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAEH,wFAAiF;AAEjF,qDAAkD;AAGlD,MAAqB,UAAW,SAAQ,gCAAiC;IAC3D,aAAa;QACnB,OAAO,iBAAO,CAAC,iBAAiB,CAAC;IACrC,CAAC;IACD,0BAA0B;IAChB,SAAS;QACf,OAAO,CAAC,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IACvI,CAAC;IACe,SAAS,CAAC,IAAS;;YAC/B,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;KAAA;CACJ;AAXD,6BAWC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2023 Broadcom. All Rights Reserved. The term
|
|
4
|
+
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
|
+
*
|
|
6
|
+
* This software and all information contained therein is
|
|
7
|
+
* confidential and proprietary and shall not be duplicated,
|
|
8
|
+
* used, disclosed, or disseminated in any way except as
|
|
9
|
+
* authorized by the applicable license agreement, without the
|
|
10
|
+
* express written permission of Broadcom. All authorized
|
|
11
|
+
* reproductions must be marked with this language.
|
|
12
|
+
*
|
|
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
|
+
*/
|
|
24
|
+
const CalleridDefinition = {
|
|
25
|
+
name: "callerid",
|
|
26
|
+
aliases: ["cid"],
|
|
27
|
+
summary: "Get Callerid data in Module mode",
|
|
28
|
+
description: "Get the CodeView measurement details in Module mode.",
|
|
29
|
+
type: "command",
|
|
30
|
+
handler: __dirname + "/Callerid.handler",
|
|
31
|
+
profile: {
|
|
32
|
+
required: ["mat"]
|
|
33
|
+
},
|
|
34
|
+
options: [
|
|
35
|
+
{
|
|
36
|
+
name: "profile",
|
|
37
|
+
description: "Specifies the name of the profile that you want to analyze. " +
|
|
38
|
+
"When you specify the profile name, you get the data for the latest " +
|
|
39
|
+
"measurement within the specified profile.",
|
|
40
|
+
type: "string"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: "mon_num",
|
|
44
|
+
description: "Specifies the unique monitor number of the measurement.",
|
|
45
|
+
type: "number"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "tran",
|
|
49
|
+
description: "Specifies the histogram group size parameter that defines the resolution of the histogram " +
|
|
50
|
+
"(e.g., --group 32). If you do not specify the group parameter, the group size value defaults to 4 bytes. " +
|
|
51
|
+
"If the source program listing is registered with MAT, the group size parameter is ignored. " +
|
|
52
|
+
"The --group parameter is optional. " +
|
|
53
|
+
"Lower values of the --group parameter result in more granular representation of the histogram data. " +
|
|
54
|
+
"Values: numbers between 2 and 999999.",
|
|
55
|
+
type: "stringOrEmpty"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
examples: [
|
|
59
|
+
{
|
|
60
|
+
description: "Get the CodeView measurement details in Module mode for monitor number 5",
|
|
61
|
+
options: "--mon_num 5",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
description: "Get the CodeView measurement details in Module mode for the latest monitor in the TESTPROF profile",
|
|
65
|
+
options: "--profile TESTPROF",
|
|
66
|
+
},
|
|
67
|
+
]
|
|
68
|
+
};
|
|
69
|
+
module.exports = CalleridDefinition;
|
|
70
|
+
//# sourceMappingURL=Callerid.definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Callerid.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/tranview/callerid/Callerid.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,MAAM,kBAAkB,GAAuB;IAC3C,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,kCAAkC;IAC3C,WAAW,EAAE,sDAAsD;IACnE,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,mBAAmB;IACxC,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,KAAK,CAAC;KACpB;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8DAA8D;gBACvE,qEAAqE;gBACrE,2CAA2C;YAC/C,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,4FAA4F;gBACrG,2GAA2G;gBAC3G,6FAA6F;gBAC7F,qCAAqC;gBACrC,sGAAsG;gBACtG,uCAAuC;YAC3C,IAAI,EAAE,eAAe;SACxB;KACJ;IACD,QAAQ,EAAE;QACN;YACI,WAAW,EAAE,0EAA0E;YACvF,OAAO,EAAE,aAAa;SACzB;QACD;YACI,WAAW,EAAE,oGAAoG;YACjH,OAAO,EAAE,oBAAoB;SAChC;KACJ;CACJ,CAAC;AAEF,iBAAS,kBAAkB,CAAC"}
|