@broadcom/mat-analyze-for-zowe-cli 1.0.10 → 2.0.2
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/CHANGELOG.md +6 -35
- package/README.md +86 -65
- package/lib/api/MATRest.d.ts +1 -1
- package/lib/api/MATRest.js +3 -5
- package/lib/api/MATRest.js.map +1 -1
- package/lib/cli/monitor/Monitor.definition.js +12 -1
- package/lib/cli/monitor/Monitor.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/Histogram/Histogram.definition.js +6 -1
- package/lib/cli/monitor/codeview/Histogram/Histogram.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js +38 -16
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js.map +1 -1
- package/lib/cli/monitor/codeview/callerid/Callerid.definition.js +6 -1
- package/lib/cli/monitor/codeview/callerid/Callerid.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/csect/Csect.definition.js +5 -1
- package/lib/cli/monitor/codeview/csect/Csect.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/module/Module.definition.js +6 -1
- package/lib/cli/monitor/codeview/module/Module.definition.js.map +1 -1
- package/lib/cli/monitor/db2/db2view/DB2View.definition.js +5 -1
- package/lib/cli/monitor/db2/db2view/DB2View.definition.js.map +1 -1
- package/lib/cli/monitor/db2/sqlview/SQLView.definition.js +6 -1
- package/lib/cli/monitor/db2/sqlview/SQLView.definition.js.map +1 -1
- package/lib/cli/monitor/delayview/address/Address.definition.js +6 -1
- package/lib/cli/monitor/delayview/address/Address.definition.js.map +1 -1
- package/lib/cli/monitor/delayview/delay/Delay.definition.js +5 -1
- package/lib/cli/monitor/delayview/delay/Delay.definition.js.map +1 -1
- package/lib/cli/monitor/history/History.definition.js +6 -1
- package/lib/cli/monitor/history/History.definition.js.map +1 -1
- package/lib/cli/monitor/overview/Overview.definition.js +5 -1
- package/lib/cli/monitor/overview/Overview.definition.js.map +1 -1
- package/lib/cli/profile/Profile.definition.js +12 -1
- package/lib/cli/profile/Profile.definition.js.map +1 -1
- package/lib/cli/profile/create/CreateProfile.definition.js +5 -1
- package/lib/cli/profile/create/CreateProfile.definition.js.map +1 -1
- package/lib/cli/profile/invoke/InvokeProfile.definition.js +6 -1
- package/lib/cli/profile/invoke/InvokeProfile.definition.js.map +1 -1
- package/lib/cli/profile/listprofile/ListProfile.definition.js +1 -1
- package/lib/cli/session/MATSession.d.ts +22 -3
- package/lib/cli/session/MATSession.js +88 -22
- package/lib/cli/session/MATSession.js.map +1 -1
- package/lib/handlers/AbstractGetHandler.js +7 -7
- package/lib/handlers/AbstractGetHandler.js.map +1 -1
- package/lib/handlers/AbstractRestHandler.js +12 -6
- package/lib/handlers/AbstractRestHandler.js.map +1 -1
- package/lib/imperative.js +9 -5
- package/lib/imperative.js.map +1 -1
- package/lib/index.js +2 -6
- package/lib/index.js.map +1 -1
- package/package.json +18 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,41 +1,12 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
All notable changes to this project are documented in this file.
|
|
3
3
|
|
|
4
|
-
## `
|
|
4
|
+
## `2.0.2`
|
|
5
5
|
- Dependencies fix
|
|
6
6
|
|
|
7
|
-
## `
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
## `1.0.8`
|
|
11
|
-
- Rebranding updates
|
|
12
|
-
|
|
13
|
-
## `1.0.7`
|
|
14
|
-
- Security updates
|
|
15
|
-
|
|
16
|
-
## `1.0.6`
|
|
17
|
-
- Issue resolution for correct boolean datatype for zowediscoverable/zdis parameter.
|
|
18
|
-
|
|
19
|
-
## `1.0.6`
|
|
20
|
-
- Issue resolution for correct boolean datatype for zowediscoverable/zdis parameter.
|
|
21
|
-
|
|
22
|
-
## `1.0.5`
|
|
23
|
-
- Program listing support enhancements: The `zowe mat profile invoke` command is enhanced with the `listing` option, which activates the automated retrieval of Cobol, C/C++, and Assembler program listings through CA Endevor® footprints and registers the listing with CA MAT after the measurement is completed. Optional parameter `listingDir` added to the MAT profile options. The parameter defines the local directory to store retrieved listings. The `zowe mat monitor codeview histogram` command is enhanced with the `listing` option that retrieves the program listing details pertaining to the specific statement and CSECT. Users of Visual Studio Code IDE can navigate from the command response in their IDE terminal directly to the specific line and column of the retrieved source code.
|
|
24
|
-
|
|
25
|
-
## `1.0.4`
|
|
26
|
-
- Issue resolution for unit test coverage and DB2view related details.
|
|
27
|
-
|
|
28
|
-
## `1.0.3`
|
|
29
|
-
- DB2View and SQL statement details added under the DB2 command group
|
|
30
|
-
- Removed overrides configuration form imperative.ts.
|
|
31
|
-
|
|
32
|
-
## `1.0.2`
|
|
33
|
-
- Enabled CodeView histogram and CodeView CallerID.
|
|
34
|
-
|
|
35
|
-
## `1.0.1`
|
|
36
|
-
- Updated License.
|
|
37
|
-
|
|
38
|
-
## `1.0.0`
|
|
39
|
-
- Initial release.
|
|
40
|
-
|
|
7
|
+
## `2.0.1`
|
|
8
|
+
- Update doc
|
|
41
9
|
|
|
10
|
+
## `2.0.0`
|
|
11
|
+
- Release for Zowe v2
|
|
12
|
+
- Changed Endevor package to version 7.0.0
|
package/README.md
CHANGED
|
@@ -19,9 +19,7 @@ Table of Contents
|
|
|
19
19
|
* [Install the MAT Analyze Plug-in for Zowe CLI From Packages](#install-the-mat-analyze-plug-in-for-zowe-cli-from-packages)
|
|
20
20
|
* [Install the MAT Analyze Plug-in for Zowe CLI From Source](#install-the-mat-analyze-plug-in-for-zowe-cli-from-source)
|
|
21
21
|
* [Validate the Installation](#validate-the-installation)
|
|
22
|
-
* [Create a z/OSMF Profile](#create-a-zosmf-profile)
|
|
23
22
|
* [Create a MAT Profile](#create-a-mat-profile)
|
|
24
|
-
* [Update a MAT Profile](#update-a-mat-profile)
|
|
25
23
|
* [Using Profile Options](#using-profile-options)
|
|
26
24
|
* [Use Cases and Commands](#use-cases-and-commands)
|
|
27
25
|
* [PROFILE](#profile)
|
|
@@ -53,8 +51,7 @@ You can install the MAT Analyze Plug-in for Zowe CLI:
|
|
|
53
51
|
|
|
54
52
|
## Prerequisites
|
|
55
53
|
Before starting the installation of the MAT Analyze Plug-in for Zowe CLI, verify that you have:
|
|
56
|
-
* Zowe CLI installed
|
|
57
|
-
* Zosmf profile created.
|
|
54
|
+
* Zowe CLI installed.
|
|
58
55
|
* MAT database and the REST API installed, configured, and running.
|
|
59
56
|
* (Optional) To use the automated listing registration and retrieval option through Endevor® footprints, install and configure the Endevor® Web Services and specify the Endevor® web server details in the MAT database configuration.
|
|
60
57
|
|
|
@@ -87,89 +84,55 @@ $ zowe plugins validate @broadcom/mat-analyze-for-zowe-cli
|
|
|
87
84
|
```
|
|
88
85
|
Successful validation of the plug-in returns the response "This plugin was successfully validated. Enjoy the plugin."
|
|
89
86
|
|
|
90
|
-
## Create a z/OSMF Profile
|
|
91
|
-
To interact with z/OS jobs, you need to create a z/OSMF profile. Issue the following command to get instructions on creating a z/OSMF profile in Brightside:
|
|
92
|
-
|
|
93
|
-
```
|
|
94
|
-
$ zowe profiles create zosmf-profile --help
|
|
95
|
-
```
|
|
96
87
|
|
|
97
88
|
## Create a MAT Profile
|
|
98
|
-
To enable the interaction of the MAT Analyze plug-in for Zowe CLI with MAT, you need to
|
|
89
|
+
To enable the interaction of the MAT Analyze plug-in for Zowe CLI with MAT, you need to specify the MAT profile details that include the protocol type, host, and port that you defined for the MAT REST API server, and your mainframe username and password. The details of the MAT profile are stored in the Zowe configuration file. To create a global Zowe configuration file, use the command `zowe config init --global-config`, then edit the configuration file and add a section with the MAT profile details:
|
|
99
90
|
|
|
100
|
-
**Usage**
|
|
101
91
|
```
|
|
102
|
-
|
|
92
|
+
"mat": {
|
|
93
|
+
"type": "mat",
|
|
94
|
+
"properties": {
|
|
95
|
+
"host": "example.com",
|
|
96
|
+
"protocol": "http",
|
|
97
|
+
"port": "12345",
|
|
98
|
+
"user": "johndoe",
|
|
99
|
+
"password": "qwerty",
|
|
100
|
+
"listingDir": "c:\listings",
|
|
101
|
+
"rejectUnauthorized": false
|
|
102
|
+
},
|
|
103
|
+
"secure": []
|
|
104
|
+
},
|
|
103
105
|
```
|
|
104
|
-
|
|
105
|
-
**Positional Arguments**
|
|
106
|
-
`profileName` *(string)*
|
|
107
|
-
Specifies the name of the new mat profile. You can load this profile by using the name on commands that support the "--mat-profile" option.
|
|
108
|
-
|
|
106
|
+
|
|
109
107
|
**MAT Profile Options**
|
|
110
|
-
`--protocol` | `--
|
|
108
|
+
`--protocol` | `--o` *(string)*
|
|
111
109
|
Specifies the protocol defined for the MAT REST API server (http or https).
|
|
112
110
|
Allowed values: http, https.
|
|
113
111
|
|
|
114
|
-
`--
|
|
112
|
+
`--host` | `--H` *(string)*
|
|
115
113
|
Specifies the hostname or IP address defined for the MAT REST API server (e.g. 127.0.0.0 or localhost).
|
|
116
114
|
|
|
117
|
-
`--port` | `--
|
|
115
|
+
`--port` | `--P` *(number)*
|
|
118
116
|
Specifies the server port (e.g. 8080).
|
|
119
117
|
|
|
120
|
-
`--
|
|
118
|
+
`--user` | `--u` *(string)*
|
|
121
119
|
Your mainframe username.
|
|
122
120
|
|
|
123
|
-
`--password` | `--
|
|
121
|
+
`--password` | `--pw` *(string)*
|
|
124
122
|
Your mainframe password.
|
|
125
123
|
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
`--base-path` | `--bp` *(string)*
|
|
125
|
+
The base path for your API mediation layer instance. Specify this option to prepend the base path to all resources when making REST requests. Do not specify this option if you are not using an API mediation layer.
|
|
126
|
+
|
|
127
|
+
`--reject-unauthorized` | `--ru` *(boolean)*
|
|
128
|
+
Reject self-signed certificates.
|
|
129
|
+
Default value: true
|
|
128
130
|
|
|
129
131
|
`--listingDir` | `--ldir` *(string)*
|
|
130
132
|
Specifies the directory where you want to store the registered program listings (e.g. 'c:\listings') for your immediate source code inspection. You can use the advantage of automated listing registration with MAT and listing retrieval through Endevor® footprints for Cobol, C/C++, and Assembler programs. When a source program listing is registered with MAT, you can enhance the histogram analysis data with the program listing details that pertain to the specific CSECT and program statement. The listing is transfered to the specified directory, which enables you to navigate directly to the line of the source code in you VS Code IDE and inspect the program statement. To use the listing retrieval option through Endevor® footprints, you need to have the Endevor® Web Services installed and configured and specify the Endevor® web server details in the MAT database configuration. The `--listingDir` parameter is optional.
|
|
131
133
|
|
|
132
|
-
|
|
133
|
-
**Options**
|
|
134
|
-
`--overwrite` | `--ow` *(boolean)*
|
|
135
|
-
Overwrite the MAT profile when a profile of the same name exists.
|
|
134
|
+
If the details are not specified or if you want to temporarily use different MAT profile settings, you can specify all or some MAT profile details with each command. The MAT profile details that are provided with a command have the highest priority and override all other values. For more information about using profiles in Zowe, see [Using Global Profile Configuration](https://docs.zowe.org/stable/user-guide/cli-using-global-profile-configuration/) in the Zowe documentation.
|
|
136
135
|
|
|
137
|
-
**Examples**
|
|
138
|
-
* Create a MAT profile called 'matprofile' using your MAT configuration and REST API details, with the MAT REST API server integrated with the Zowe API Mediation Layer:
|
|
139
|
-
```
|
|
140
|
-
$ zowe profiles create mat-profile matprofile --prt http --hn localhost --pt 1234 --user johndoe --pass qwerty --zowediscoverable true
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
* Create a MAT profile called 'matprofile' using your MAT configuration and the details of the MAT REST API server without integration with the Zowe API Mediation Layer, and define the 'c:\listings' directory to store program listings for instant analysis from your VS Code IDE:
|
|
144
|
-
```
|
|
145
|
-
$ zowe profiles create mat-profile matprofile --prt http --hn localhost --pt 1234 --user johndoe --pass qwerty --zowediscoverable false --listingDir 'c:\listings'
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
For help information, issue the following help command:
|
|
150
|
-
```
|
|
151
|
-
$ zowe profiles create mat-profile --help
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
## Update a MAT Profile
|
|
155
|
-
To update an existing MAT profile, use the following command:
|
|
156
|
-
```
|
|
157
|
-
$ zowe profiles update mat-profile <profileName> [options]
|
|
158
|
-
```
|
|
159
|
-
`profileName` *(string)*
|
|
160
|
-
Specifies the name of the profile that you update.
|
|
161
|
-
|
|
162
|
-
**Options**
|
|
163
|
-
Use the same options as for the create profile operation, and define only the new values that you want update.
|
|
164
|
-
|
|
165
|
-
## Using Profile Options
|
|
166
|
-
Use the following profile options with the commands to load the specific profile to be used for command execution:
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
`--mat-profile` | `--mat-p` *(string)*
|
|
170
|
-
The name of a (mat) profile to load for this command execution.
|
|
171
|
-
|
|
172
|
-
You can also have other MAT connection options apart from the MAT profile and use them as options in the commands.
|
|
173
136
|
|
|
174
137
|
# Use Cases and Commands
|
|
175
138
|
The MAT Analyze plug-in for Zowe CLI enables you to manage monitor profiles and get the measurement analysis data using Mainframe Application Tuner (MAT).
|
|
@@ -366,6 +329,11 @@ $ zowe mat profile create --profile PROFILE1 --jobname JOB1 --targsys AA31
|
|
|
366
329
|
$ zowe mat profile create --profile PROFILE1 --jobname JOB1 --targsys AA31,AA32 --elapstime 90s
|
|
367
330
|
```
|
|
368
331
|
|
|
332
|
+
* Create the PROFILE1 monitor profile to measure job JOB1 that runs on the AA31 system, with the specific MAT profile details defined:
|
|
333
|
+
```
|
|
334
|
+
$ zowe mat profile create --profile PROFILE1 --jobname JOB1 --targsys AA31 --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
335
|
+
```
|
|
336
|
+
|
|
369
337
|
### invoke | ivk
|
|
370
338
|
Invoke a MAT monitor profile to start measurement. If you invoke a monitor profile that does currently exist, MAT creates the profile with the provided name and invokes the measurement for this profile.
|
|
371
339
|
|
|
@@ -420,6 +388,10 @@ $ zowe mat profile invoke --profile PROFILE1 --jobname JOB1 --targsys AA31 --mon
|
|
|
420
388
|
```
|
|
421
389
|
$ zowe mat profile invoke --profile PROFILE1 --jobname JOB1 --targsys AA31 --listing
|
|
422
390
|
```
|
|
391
|
+
* Invoke the PROFILE1 monitor profile to measure job JOB1 that runs on the AA31 system, with the specific MAT profile details defined:
|
|
392
|
+
```
|
|
393
|
+
$ zowe mat profile invoke --profile PROFILE1 --jobname JOB1 --targsys AA31 --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
394
|
+
```
|
|
423
395
|
|
|
424
396
|
### list | lip
|
|
425
397
|
Get the list of available monitor profiles.
|
|
@@ -464,6 +436,10 @@ The name of a (mat) profile to load for this command execution.
|
|
|
464
436
|
```
|
|
465
437
|
$ zowe mat monitor history --profile TESTPROF
|
|
466
438
|
```
|
|
439
|
+
* Get the list of all available measurements that are stored in the history of the monitor profile TESTPROF, with the specific MAT profile details defined:
|
|
440
|
+
```
|
|
441
|
+
$ zowe mat monitor history --profile TESTPROF --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
442
|
+
```
|
|
467
443
|
|
|
468
444
|
### overview | ov
|
|
469
445
|
Get the Overview details of the measurement.
|
|
@@ -494,6 +470,11 @@ $ zowe mat monitor overview --mon_num 5
|
|
|
494
470
|
$ zowe mat monitor overview --profile TESTPROF
|
|
495
471
|
```
|
|
496
472
|
|
|
473
|
+
* Get the measurement overview details for monitor number 5, with the specific MAT profile details defined:
|
|
474
|
+
```
|
|
475
|
+
$ zowe mat monitor overview --mon_num 5 --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
476
|
+
```
|
|
477
|
+
|
|
497
478
|
The following **subgroups** are available for the MONITOR command group:
|
|
498
479
|
|
|
499
480
|
### delayview
|
|
@@ -536,6 +517,11 @@ $ zowe mat monitor delayview delay --mon_num 5
|
|
|
536
517
|
$ zowe mat monitor delayview delay --profile TESTPROF
|
|
537
518
|
```
|
|
538
519
|
|
|
520
|
+
* Get the DelayView measurement details for monitor number 5, with the specific MAT profile details defined:
|
|
521
|
+
```
|
|
522
|
+
$ zowe mat monitor delayview delay --mon_num 5 --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
523
|
+
```
|
|
524
|
+
|
|
539
525
|
#### address | ad
|
|
540
526
|
Get the delay address details for the measurement.
|
|
541
527
|
|
|
@@ -572,6 +558,11 @@ $ zowe mat monitor delayview address --mon_num 5 –-majorcategory "PC routine d
|
|
|
572
558
|
$ zowe mat monitor delayview address --profile TESTPROF –-majorcategory "PC routine delay" –-minorcategory "PC CALL"
|
|
573
559
|
```
|
|
574
560
|
|
|
561
|
+
* Get the delay address details for majorcategory "PC routine delay" and minorcategory "PC CALL" for monitor number 5, with the specific MAT profile details defined:
|
|
562
|
+
```
|
|
563
|
+
$ zowe mat monitor delayview address --mon_num 5 –-majorcategory "PC routine delay" –-minorcategory "PC CALL" --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
564
|
+
```
|
|
565
|
+
|
|
575
566
|
### codeview
|
|
576
567
|
The commands from the CODEVIEW group enable you to get the CodeView measurement details.
|
|
577
568
|
|
|
@@ -612,6 +603,11 @@ $ zowe mat monitor codeview module --mon_num 5
|
|
|
612
603
|
$ zowe mat monitor codeview module --profile TESTPROF
|
|
613
604
|
```
|
|
614
605
|
|
|
606
|
+
* Get the CodeView measurement details in Module mode for monitor number 5, with the specific MAT profile details defined:
|
|
607
|
+
```
|
|
608
|
+
$ zowe mat monitor codeview module --mon_num 5 --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
609
|
+
```
|
|
610
|
+
|
|
615
611
|
|
|
616
612
|
#### csect | cs
|
|
617
613
|
Get the CodeView measurement details in Csect mode.
|
|
@@ -643,6 +639,11 @@ $ zowe mat monitor codeview csect --mon_num 5
|
|
|
643
639
|
$ zowe mat monitor codeview csect --profile TESTPROF
|
|
644
640
|
```
|
|
645
641
|
|
|
642
|
+
* Get the CodeView measurement details in Csect mode for monitor number 5, with the specific MAT profile details defined:
|
|
643
|
+
```
|
|
644
|
+
$ zowe mat monitor codeview csect --mon_num 5 --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
645
|
+
```
|
|
646
|
+
|
|
646
647
|
|
|
647
648
|
#### histogram | hsg
|
|
648
649
|
Get the Histogram details for the measurement.
|
|
@@ -694,6 +695,11 @@ $ zowe mat monitor codeview histogram --profile TESTPROF --csect "TUNCOB01" --mo
|
|
|
694
695
|
$ zowe mat monitor codeview histogram --mon_num 5 --csect "TUNCOB01" --module "RUNCOB" --top 5 --listing
|
|
695
696
|
```
|
|
696
697
|
|
|
698
|
+
* Get the Histogram details with the group size defaulting to 4 bytes for monitor number 5, CSECT name TUNCOB01, module name RUNCOB, with the specific MAT profile details defined:
|
|
699
|
+
```
|
|
700
|
+
$ zowe mat monitor codeview histogram --mon_num 5 --csect "TUNCOB01" --module "RUNCOB" --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
701
|
+
```
|
|
702
|
+
|
|
697
703
|
#### callerid | cil
|
|
698
704
|
Get the CodeView CallerID details for the specific CSECT and module.
|
|
699
705
|
|
|
@@ -730,6 +736,11 @@ $ zowe mat monitor codeview callerid --mon_num 5 --csect "TUNCOB01" --module "RU
|
|
|
730
736
|
$ zowe mat monitor codeview callerid --profile TESTPROF --csect "TUNCOB01" --module '""'
|
|
731
737
|
```
|
|
732
738
|
|
|
739
|
+
* Get the CallerID details for monitor number 5, CSECT name TUNCOB01, and module name RUNCOB, with the specific MAT profile details defined:
|
|
740
|
+
```
|
|
741
|
+
$ zowe mat monitor codeview callerid --mon_num 5 --csect "TUNCOB01" --module "RUNCOB" --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
742
|
+
```
|
|
743
|
+
|
|
733
744
|
### db2
|
|
734
745
|
The commands from the DB2 group enable you to get the DB2 measurement details.
|
|
735
746
|
|
|
@@ -774,6 +785,11 @@ $ zowe mat monitor db2 db2view --mon_num 5
|
|
|
774
785
|
$ zowe mat monitor db2 db2view --profile TESTPROF --top 5
|
|
775
786
|
```
|
|
776
787
|
|
|
788
|
+
* Get the DB2View details for monitor number 5, with the specific MAT profile details defined:
|
|
789
|
+
```
|
|
790
|
+
$ zowe mat monitor db2 db2view --mon_num 5 --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
791
|
+
```
|
|
792
|
+
|
|
777
793
|
#### sqlstmt | sql
|
|
778
794
|
Get SQL details for the DB2 statement.
|
|
779
795
|
|
|
@@ -814,6 +830,11 @@ $ zowe mat monitor db2 sqlstmt --mon_num 5 --dbrm CUPBTSDY --stmtnum 464 --total
|
|
|
814
830
|
$ zowe mat monitor db2 sqlstmt --profile TESTPROF --dbrm CUPBTSDY --stmtnum 464 --totalsamps 1
|
|
815
831
|
```
|
|
816
832
|
|
|
833
|
+
* Get the DB2 SQL statement details for monitor number 5 for DBRM CUPBTSDY, statement number 464, with total number of taken samples 1, with the specific MAT profile details defined:
|
|
834
|
+
```
|
|
835
|
+
$ zowe mat monitor db2 sqlstmt --mon_num 5 --dbrm CUPBTSDY --stmtnum 464 --totalsamps 1 --host "example.com" --port 12345 --user johndoe --password qwerty
|
|
836
|
+
```
|
|
837
|
+
|
|
817
838
|
|
|
818
839
|
# Uninstall the MAT Analyze Plug-in for Zowe CLI
|
|
819
840
|
To uninstall the MAT Analyze plug-in for Zowe CLI, issue the following command:
|
package/lib/api/MATRest.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare class MATRest {
|
|
|
21
21
|
static readonly ANALYSIS_CODEVIEW_CALLERID: string;
|
|
22
22
|
static readonly ANALYSIS_CODEVIEW_HISTOGRAM: string;
|
|
23
23
|
static readonly TOKEN_OFFSET = 25;
|
|
24
|
-
static GetAuth(session: AbstractSession,
|
|
24
|
+
static GetAuth(session: AbstractSession, endpoint: string): Promise<IAuth>;
|
|
25
25
|
static sendGetRequest<T extends IResponse>(session: AbstractSession, resource: string, headers?: any[], parameters?: Map<string, object>): Promise<T>;
|
|
26
26
|
static sendPostRequest<T extends IResponse>(session: AbstractSession, resource: string, headers?: any[], payload?: any): Promise<T>;
|
|
27
27
|
static sendPostRequestWithParm<T extends IResponse>(session: AbstractSession, resource: string, headers?: any[], parameters?: Map<string, object>, payload?: any): Promise<T>;
|
package/lib/api/MATRest.js
CHANGED
|
@@ -34,13 +34,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
34
34
|
exports.MATRest = void 0;
|
|
35
35
|
const imperative_1 = require("@zowe/imperative");
|
|
36
36
|
class MATRest {
|
|
37
|
-
static GetAuth(session, username, password, endpoint) {
|
|
37
|
+
// public static async GetAuth(session: AbstractSession, username: string, password: string, endpoint: string): Promise<IAuth> {
|
|
38
|
+
static GetAuth(session, endpoint) {
|
|
38
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
-
const auth = "Basic " + Buffer.from(username + ":" + password).toString("base64");
|
|
40
|
-
const header = { Authorization: auth };
|
|
41
40
|
const resource = endpoint + MATRest.AUTH;
|
|
42
|
-
const
|
|
43
|
-
const response = yield this.sendPostRequest(session, resource, headers);
|
|
41
|
+
const response = yield this.sendPostRequest(session, resource);
|
|
44
42
|
return response;
|
|
45
43
|
});
|
|
46
44
|
}
|
package/lib/api/MATRest.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MATRest.js","sourceRoot":"","sources":["../../src/api/MATRest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;AAEH,iDAA+D;
|
|
1
|
+
{"version":3,"file":"MATRest.js","sourceRoot":"","sources":["../../src/api/MATRest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;AAEH,iDAA+D;AAI/D,MAAa,OAAO;IAqBhB,gIAAgI;IACzH,MAAM,CAAO,OAAO,CAAC,OAAwB,EAAE,QAAgB;;YAClE,MAAM,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;YACzC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,CAAQ,OAAO,EAAE,QAAQ,CAAC,CAAC;YACtE,OAAO,QAAQ,CAAC;QAChB,CAAC;KAAA;IAEL,2CAA2C;IACpC,MAAM,CAAO,cAAc,CAAsB,OAAwB,EAAE,QAAgB,EAAE,OAAe,EAAE,UAAgC;;YACjJ,IAAI,QAAQ,GAAG,EAAE,CAAC;YAClB,IAAI,UAAU,KAAK,SAAS,IAAI,UAAU,CAAC,IAAI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AAG,OAAO,CAAC;AACf,yBAAiB,GAAG,OAAO,CAAC,QAAQ,GAAG,WAAW,CAAC;AACnD,0BAAkB,GAAG,OAAO,CAAC,QAAQ,GAAG,YAAY,CAAC;AACrD,wBAAgB,GAAG,OAAO,CAAC,QAAQ,GAAG,cAAc,CAAC;AACrD,wBAAgB,GAAG,OAAO,CAAC,QAAQ,GAAG,cAAc,CAAC;AACrD,+BAAuB,GAAG,OAAO,CAAC,iBAAiB,GAAG,QAAQ,CAAC;AAC/D,gCAAwB,GAAG,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC;AACjE,mCAA2B,GAAG,OAAO,CAAC,kBAAkB,GAAG,WAAW,CAAC;AACvE,kCAA0B,GAAG,OAAO,CAAC,QAAQ,GAAG,oBAAoB,CAAC;AACrE,mCAA2B,GAAG,OAAO,CAAC,QAAQ,GAAG,qBAAqB,CAAC;AACvE,oBAAY,GAAG,EAAE,CAAC"}
|
|
@@ -39,12 +39,23 @@ const CodeviewDefinition = require("./codeview/Codeview.definition");
|
|
|
39
39
|
const DelayviewDefinition = require("./delayview/Delayview.definition");
|
|
40
40
|
const DB2Definition = require("./db2/DB2.definition");
|
|
41
41
|
const History_definition_1 = require("./history/History.definition");
|
|
42
|
+
const MATSession_1 = require("../session/MATSession");
|
|
42
43
|
const MonitorDefinition = {
|
|
43
44
|
name: "monitor",
|
|
44
45
|
summary: "Get monitor data",
|
|
45
46
|
description: "Get monitor history and measurement analysis data from MAT.",
|
|
46
47
|
type: "group",
|
|
47
|
-
children: [Overview_definition_1.OverviewDefinition, CodeviewDefinition, DelayviewDefinition, History_definition_1.HistoryDefinition, DB2Definition]
|
|
48
|
+
children: [Overview_definition_1.OverviewDefinition, CodeviewDefinition, DelayviewDefinition, History_definition_1.HistoryDefinition, DB2Definition],
|
|
49
|
+
passOn: [
|
|
50
|
+
{
|
|
51
|
+
property: "options",
|
|
52
|
+
value: MATSession_1.MATSession.PMA_CONNECTION_OPTIONS,
|
|
53
|
+
merge: true,
|
|
54
|
+
ignoreNodes: [
|
|
55
|
+
{ type: "group" }
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
]
|
|
48
59
|
};
|
|
49
60
|
module.exports = MonitorDefinition;
|
|
50
61
|
//# sourceMappingURL=Monitor.definition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Monitor.definition.js","sourceRoot":"","sources":["../../../src/cli/monitor/Monitor.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH;;;;;;;;;;;;GAYG;AACH,wEAAoE;AACpE,qEAAsE;AACtE,wEAAyE;AACzE,sDAAuD;AAEvD,qEAAiE;AACjE,MAAM,iBAAiB,GAAuB;IAC1C,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,kBAAkB;IAC3B,WAAW,EAAE,6DAA6D;IAC1E,IAAI,EAAE,OAAO;IACb,QAAQ,EAAE,CAAC,wCAAkB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,sCAAiB,EAAE,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Monitor.definition.js","sourceRoot":"","sources":["../../../src/cli/monitor/Monitor.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH;;;;;;;;;;;;GAYG;AACH,wEAAoE;AACpE,qEAAsE;AACtE,wEAAyE;AACzE,sDAAuD;AAEvD,qEAAiE;AACjE,sDAAmD;AACnD,MAAM,iBAAiB,GAAuB;IAC1C,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,kBAAkB;IAC3B,WAAW,EAAE,6DAA6D;IAC1E,IAAI,EAAE,OAAO;IACb,QAAQ,EAAE,CAAC,wCAAkB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,sCAAiB,EAAE,aAAa,CAAC;IACzG,MAAM,EAAE;QACJ;YACI,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,uBAAU,CAAC,sBAAsB;YACxC,KAAK,EAAE,IAAI;YACX,WAAW,EAAE;gBACT,EAAC,IAAI,EAAE,OAAO,EAAC;aAClB;SACJ;KACJ;CACJ,CAAC;AAEF,iBAAS,iBAAiB,CAAC"}
|
|
@@ -31,7 +31,7 @@ exports.HistogramDefinition = {
|
|
|
31
31
|
type: "command",
|
|
32
32
|
handler: __dirname + "/Histogram.handler",
|
|
33
33
|
profile: {
|
|
34
|
-
|
|
34
|
+
optional: ["mat"]
|
|
35
35
|
},
|
|
36
36
|
options: [
|
|
37
37
|
{
|
|
@@ -109,6 +109,11 @@ exports.HistogramDefinition = {
|
|
|
109
109
|
"limit the number of returned records to 5 top consumers, and request the listing details",
|
|
110
110
|
options: "--mon_num 5 --csect \"TUNCOB01\" --module \"RUNCOB\" --top 5 --listing",
|
|
111
111
|
},
|
|
112
|
+
{
|
|
113
|
+
description: "Get the Histogram details for monitor number 5, CSECT name TUNCOB01, and module name RUNCOB, " +
|
|
114
|
+
"with the specific MAT profile details defined",
|
|
115
|
+
options: "--mon_num 5 --csect \"TUNCOB01\" --module \"RUNCOB\" --host \"example.com\" --port 12345 --user johndoe --password qwerty",
|
|
116
|
+
},
|
|
112
117
|
]
|
|
113
118
|
};
|
|
114
119
|
//# sourceMappingURL=Histogram.definition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Histogram.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/codeview/Histogram/Histogram.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGU,QAAA,mBAAmB,GAAuB;IACnD,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,oBAAoB;IAC7B,WAAW,EAAE,gDAAgD;IAC7D,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,oBAAoB;IACzC,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,KAAK,CAAC;KACpB;IACD,OAAO,EAAE;QACL;YACI,IAAI,E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
|
+
{"version":3,"file":"Histogram.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/codeview/Histogram/Histogram.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGU,QAAA,mBAAmB,GAAuB;IACnD,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,oBAAoB;IAC7B,WAAW,EAAE,gDAAgD;IAC7D,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,oBAAoB;IACzC,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,KAAK,CAAC;KACpB;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8DAA8D;gBAC3E,iFAAiF;gBACjF,+BAA+B;YAC/B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qEAAqE;gBAClF,yEAAyE;gBACzE,iFAAiF;YACjF,IAAI,EAAE,eAAe;SACxB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,oEAAoE;gBACjF,oGAAoG;gBACpG,oDAAoD;YACpD,IAAI,EAAE,eAAe;SACxB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,4FAA4F;gBACzG,2GAA2G;gBAC3G,6FAA6F;gBAC7F,qCAAqC;gBACrC,sGAAsG;gBACtG,uCAAuC;YACvC,IAAI,EAAE,eAAe;SACxB;QACD;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,6EAA6E;gBAC1F,mFAAmF;gBACnF,gGAAgG;gBAChG,qEAAqE;YACrE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,oGAAoG;gBACjH,6GAA6G;gBAC7G,yGAAyG;gBACzG,+GAA+G;gBAC/G,kHAAkH;gBAClH,8GAA8G;gBAC9G,+GAA+G;gBAC/G,uGAAuG;gBACvG,qHAAqH;gBACrH,0GAA0G;gBAC1G,sCAAsC;YACtC,IAAI,EAAE,SAAS;SAClB;KACJ;IACD,QAAQ,EAAE;QACN;YACI,WAAW,EAAE,6FAA6F;YAC1G,OAAO,EAAE,sDAAsD;SAClE;QACD;YACI,WAAW,EAAE,oGAAoG;gBACjH,8GAA8G;YAC9G,OAAO,EAAE,8EAA8E;SAC1F;QACF;YACK,WAAW,EAAE,+FAA+F;gBAC5G,0FAA0F;YAC1F,OAAO,EAAE,wEAAwE;SACpF;QACD;YACI,WAAW,EAAE,+FAA+F;gBAC5G,+CAA+C;YAC/C,OAAO,EAAE,2HAA2H;SACvI;KACJ;CACJ,CAAC"}
|
|
@@ -34,7 +34,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
34
34
|
const AbstractAnalyzeHandler_1 = require("../../../../handlers/AbstractAnalyzeHandler");
|
|
35
35
|
const MATRest_1 = require("../../../../api/MATRest");
|
|
36
36
|
const imperative_1 = require("@zowe/imperative");
|
|
37
|
-
|
|
37
|
+
// import { PrintElementComponents, IElementBasicData } from "@broadcom/endevor-for-zowe-cli";
|
|
38
|
+
const api_1 = require("@broadcom/endevor-for-zowe-cli/lib/api");
|
|
38
39
|
class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
39
40
|
getAnalyzeURI() {
|
|
40
41
|
return MATRest_1.MATRest.ANALYSIS_CODEVIEW_HISTOGRAM;
|
|
@@ -54,19 +55,27 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
54
55
|
if (params.arguments.listing === true) {
|
|
55
56
|
if ("footprint" in json) {
|
|
56
57
|
const endconerror = "Endevor Connection Error";
|
|
57
|
-
const matProfile = params.profiles.get("mat", true);
|
|
58
|
+
// const matProfile = params.profiles.get("mat", true);
|
|
58
59
|
const endevorFootprint = json.footprint[0]; // 1. CLARIFY WITH GAS WHY THE JSON FOOTPRINT IS AN ARRAY, CAN WE HAVE MORE THAN 1 FOOTPRINT PER MODULE AND CSECT?
|
|
59
|
-
const elemDef = {
|
|
60
|
+
/* const elemDef: IElementBasicData = {
|
|
60
61
|
environment: endevorFootprint.environment.trim(),
|
|
61
62
|
stageNumber: endevorFootprint.stage.trim(),
|
|
62
63
|
system: endevorFootprint.system.trim(),
|
|
63
|
-
subsystem: endevorFootprint.subsystem.trim(),
|
|
64
|
+
subsystem: endevorFootprint.subsystem.trim(), // SUBSYSTEM IS COMING WITH WHITE SPACES IN THE END.
|
|
64
65
|
type: endevorFootprint.type.trim(),
|
|
65
66
|
element: endevorFootprint.element.trim(),
|
|
66
67
|
// instance: "ENDEVOR" // ON THE JSON RESPONSE IS MISSING THE CONTEXT.
|
|
67
68
|
instance: endevorFootprint.endevorContext.trim()
|
|
68
|
-
}
|
|
69
|
-
const
|
|
69
|
+
};*/
|
|
70
|
+
/* const elemDef: ElmSpecDictionary = {
|
|
71
|
+
environment: endevorFootprint.environment.trim(),
|
|
72
|
+
"stage-number": endevorFootprint.stage.trim(),
|
|
73
|
+
system: endevorFootprint.system.trim(),
|
|
74
|
+
subsystem: endevorFootprint.subsystem.trim(), // SUBSYSTEM IS COMING WITH WHITE SPACES IN THE END.
|
|
75
|
+
type: endevorFootprint.type.trim(),
|
|
76
|
+
element: endevorFootprint.element.trim(),
|
|
77
|
+
};*/
|
|
78
|
+
/* const requestBody: any = {
|
|
70
79
|
version: undefined,
|
|
71
80
|
level: undefined,
|
|
72
81
|
print: "listing",
|
|
@@ -78,6 +87,18 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
78
87
|
whereCcidCurrent: undefined,
|
|
79
88
|
whereCcidAll: undefined,
|
|
80
89
|
whereCcidRetrieve: undefined,
|
|
90
|
+
};*/
|
|
91
|
+
const requestBody = {
|
|
92
|
+
print: "listing",
|
|
93
|
+
};
|
|
94
|
+
const elemDef = {
|
|
95
|
+
"environment": endevorFootprint.environment.trim(),
|
|
96
|
+
"stage-number": endevorFootprint.stage.trim(),
|
|
97
|
+
"system": endevorFootprint.system.trim(),
|
|
98
|
+
"subsystem": endevorFootprint.subsystem.trim(),
|
|
99
|
+
"type": endevorFootprint.type.trim(),
|
|
100
|
+
"element": endevorFootprint.element.trim(),
|
|
101
|
+
"print": "listing",
|
|
81
102
|
};
|
|
82
103
|
let endevorSession;
|
|
83
104
|
if (!endevorFootprint.endevorHost.includes("http")) {
|
|
@@ -101,8 +122,8 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
101
122
|
hostname: endevorFootprint.endevorHost.substring(endevorFootprint.endevorHost.indexOf("//") + 2),
|
|
102
123
|
port: endevorFootprint.endevorPort,
|
|
103
124
|
protocol: endevorFootprint.endevorHost.substring(0, endevorFootprint.endevorHost.indexOf(":")),
|
|
104
|
-
user:
|
|
105
|
-
password:
|
|
125
|
+
user: params.arguments.user,
|
|
126
|
+
password: params.arguments.password,
|
|
106
127
|
basePath: endevorFootprint.endevorBasePath,
|
|
107
128
|
rejectUnauthorized: false,
|
|
108
129
|
type: "basic"
|
|
@@ -118,7 +139,8 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
118
139
|
}
|
|
119
140
|
let responseEndevor;
|
|
120
141
|
try {
|
|
121
|
-
responseEndevor = yield
|
|
142
|
+
responseEndevor = yield api_1.EndevorClient.printElement(endevorSession)(endevorFootprint.endevorContext.trim())(elemDef);
|
|
143
|
+
// responseEndevor = await EndevorClient.printElement(endevorSession, elemDef, requestBody, false);
|
|
122
144
|
}
|
|
123
145
|
catch (error) {
|
|
124
146
|
if (error instanceof imperative_1.RestClientError) {
|
|
@@ -138,8 +160,8 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
138
160
|
throw exception;
|
|
139
161
|
}
|
|
140
162
|
}
|
|
141
|
-
if (responseEndevor.data !== null && responseEndevor.data !== undefined) {
|
|
142
|
-
let tofileName =
|
|
163
|
+
if (responseEndevor.body.data !== null && responseEndevor.body.data !== undefined) {
|
|
164
|
+
let tofileName = params.arguments.listingDir === undefined ? "." : params.arguments.listingDir;
|
|
143
165
|
try {
|
|
144
166
|
const fs = require("fs");
|
|
145
167
|
if (!fs.existsSync(tofileName)) {
|
|
@@ -150,7 +172,7 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
150
172
|
});
|
|
151
173
|
}
|
|
152
174
|
tofileName += "\\" + endevorFootprint.element + "." + this.getExtension(endevorFootprint.type);
|
|
153
|
-
fs.writeFileSync(tofileName, responseEndevor.data[0], { encoding: "latin1" });
|
|
175
|
+
fs.writeFileSync(tofileName, responseEndevor.body.data[0], { encoding: "latin1" });
|
|
154
176
|
// THIS IS HOW YOU WRITE A FILE USING ENDEVOR
|
|
155
177
|
// EndevorUtils.generalWriteFile(tofileName, responseEndevor.data[0]);
|
|
156
178
|
}
|
|
@@ -163,7 +185,7 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
163
185
|
};
|
|
164
186
|
throw exception;
|
|
165
187
|
}
|
|
166
|
-
if (responseEndevor.data[0].length === 0) {
|
|
188
|
+
if (responseEndevor.body.data[0].length === 0) {
|
|
167
189
|
const exception = {
|
|
168
190
|
name: "HistogramException",
|
|
169
191
|
header: "Endevor Data Error",
|
|
@@ -171,8 +193,8 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
171
193
|
};
|
|
172
194
|
throw exception;
|
|
173
195
|
}
|
|
174
|
-
responseEndevor.data[0] = responseEndevor.data[0] + "";
|
|
175
|
-
const lines = responseEndevor.data[0].split("\n");
|
|
196
|
+
responseEndevor.body.data[0] = responseEndevor.body.data[0] + "";
|
|
197
|
+
const lines = responseEndevor.body.data[0].split("\n");
|
|
176
198
|
for (const histogram of json.histogram) {
|
|
177
199
|
histogram.listing = "not found";
|
|
178
200
|
for (let index = 0; index < lines.length; index++) {
|
|
@@ -192,7 +214,7 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
192
214
|
const exception = {
|
|
193
215
|
name: "HistogramException",
|
|
194
216
|
header: "Resource Access Error",
|
|
195
|
-
message: "Listing not found. Caused by: \n" + responseEndevor.messages
|
|
217
|
+
message: "Listing not found. Caused by: \n" + responseEndevor.body.messages
|
|
196
218
|
};
|
|
197
219
|
throw exception;
|
|
198
220
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Histogram.handler.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/codeview/Histogram/Histogram.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAEH,wFAAiF;AACjF,qDAAkD;AAElD,iDAAgF;AAChF,
|
|
1
|
+
{"version":3,"file":"Histogram.handler.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/codeview/Histogram/Histogram.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAEH,wFAAiF;AACjF,qDAAkD;AAElD,iDAAgF;AAChF,8FAA8F;AAC9F,gEAAkH;AAGlH,MAAqB,gBAAiB,SAAQ,gCAAkC;IAElE,aAAa;QACnB,OAAO,iBAAO,CAAC,2BAA2B,CAAC;IAC/C,CAAC;IAES,SAAS,CAAC,IAAS;QACzB,IAAI,MAAM,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;QAC5D,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;YAC3C,MAAM,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;SACjE;QACD,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC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Q,QAAQ,EAAE;YACd,KAAK,OAAO;gBACR,OAAO,KAAK,CAAC;YACjB,KAAK,QAAQ;gBACT,OAAO,KAAK,CAAC;YACjB,KAAK,KAAK;gBACN,OAAO,KAAK,CAAC;YACjB,KAAK,QAAQ;gBACT,OAAO,KAAK,CAAC;YACjB,KAAK,GAAG;gBACJ,OAAO,GAAG,CAAC;YACf,KAAK,KAAK;gBACN,OAAO,KAAK,CAAC;YACjB;gBACI,OAAO,KAAK,CAAC;SACpB;IACL,CAAC;CACJ;AA7ND,mCA6NC"}
|
|
@@ -31,7 +31,7 @@ exports.CallerIDDefinition = {
|
|
|
31
31
|
type: "command",
|
|
32
32
|
handler: __dirname + "/Callerid.handler",
|
|
33
33
|
profile: {
|
|
34
|
-
|
|
34
|
+
optional: ["mat"]
|
|
35
35
|
},
|
|
36
36
|
options: [
|
|
37
37
|
{
|
|
@@ -71,6 +71,11 @@ exports.CallerIDDefinition = {
|
|
|
71
71
|
"and empty module name",
|
|
72
72
|
options: "--profile TESTPROF --csect \"TUNCOB01\" --module \'\"\"\'",
|
|
73
73
|
},
|
|
74
|
+
{
|
|
75
|
+
description: "Get the CallerID details for monitor number 5, CSECT name TUNCOB01, and module name RUNCOB, " +
|
|
76
|
+
"with the specific MAT profile details defined",
|
|
77
|
+
options: "--mon_num 5 --csect \"TUNCOB01\" --module \"RUNCOB\" --host \"example.com\" --port 12345 --user johndoe --password qwerty",
|
|
78
|
+
},
|
|
74
79
|
]
|
|
75
80
|
};
|
|
76
81
|
//# sourceMappingURL=Callerid.definition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callerid.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/codeview/callerid/Callerid.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGU,QAAA,kBAAkB,GAAuB;IAClD,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,sEAAsE;IACnF,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;gBAC3E,iFAAiF;gBACjF,+BAA+B;YAC/B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,uEAAuE;gBACpF,yEAAyE;gBACzE,iFAAiF;YACjF,IAAI,EAAE,eAAe;SACxB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sEAAsE;gBACnF,oGAAoG;gBACpG,oDAAoD;YACpD,IAAI,EAAE,eAAe;SACxB;KACJ;IACD,QAAQ,EAAE;QACN;YACI,WAAW,EAAE,4FAA4F;YACzG,OAAO,EAAE,sDAAsD;SAClE;QACD;YACI,WAAW,EAAE,kGAAkG;gBAC/G,uBAAuB;YACvB,OAAO,EAAE,2DAA2D;SACvE;KACJ;CACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"Callerid.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/codeview/callerid/Callerid.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGU,QAAA,kBAAkB,GAAuB;IAClD,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,sEAAsE;IACnF,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;gBAC3E,iFAAiF;gBACjF,+BAA+B;YAC/B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,uEAAuE;gBACpF,yEAAyE;gBACzE,iFAAiF;YACjF,IAAI,EAAE,eAAe;SACxB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sEAAsE;gBACnF,oGAAoG;gBACpG,oDAAoD;YACpD,IAAI,EAAE,eAAe;SACxB;KACJ;IACD,QAAQ,EAAE;QACN;YACI,WAAW,EAAE,4FAA4F;YACzG,OAAO,EAAE,sDAAsD;SAClE;QACD;YACI,WAAW,EAAE,kGAAkG;gBAC/G,uBAAuB;YACvB,OAAO,EAAE,2DAA2D;SACvE;QACD;YACI,WAAW,EAAE,8FAA8F;gBAC3G,+CAA+C;YAC/C,OAAO,EAAE,2HAA2H;SACvI;KACJ;CACJ,CAAC"}
|