@broadcom/mat-analyze-for-zowe-cli 2.0.6 → 2.0.8
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 +11 -126
- package/lib/api/MATRest.js +49 -10
- package/lib/api/MATRest.js.map +1 -1
- package/lib/api/error/HttpError.d.ts +9 -0
- package/lib/api/error/HttpError.js +35 -0
- package/lib/api/error/HttpError.js.map +1 -0
- package/lib/api/response/IProfileList.d.ts +1 -1
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.d.ts +5 -4
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js +235 -123
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js.map +1 -1
- package/lib/cli/monitor/history/History.handler.js +1 -1
- package/lib/cli/monitor/history/History.handler.js.map +1 -1
- package/lib/cli/monitor/idms/module/IDMSModule.handler.js.map +1 -1
- package/lib/cli/monitor/overview/Overview.handler.js.map +1 -1
- package/lib/cli/monitor/tranview/stat/Cicstat.handler.js.map +1 -1
- package/lib/cli/profile/create/CreateProfile.handler.js.map +1 -1
- package/lib/cli/profile/invoke/InvokeProfile.handler.js.map +1 -1
- package/lib/cli/profile/listprofile/ListProfile.handler.js +1 -1
- package/lib/cli/session/MATSession.js +2 -2
- package/lib/cli/session/MATSession.js.map +1 -1
- package/lib/handlers/AbstractAnalyzeHandler.js.map +1 -1
- package/lib/handlers/AbstractGetHandler.js +7 -7
- package/lib/handlers/AbstractGetHandler.js.map +1 -1
- package/lib/handlers/AbstractRestHandler.d.ts +9 -0
- package/lib/handlers/AbstractRestHandler.js +116 -78
- package/lib/handlers/AbstractRestHandler.js.map +1 -1
- package/lib/healthCheck.Handler.d.ts +22 -3
- package/lib/healthCheck.Handler.js +52 -36
- package/lib/healthCheck.Handler.js.map +1 -1
- package/lib/imperative.js +2 -15
- package/lib/imperative.js.map +1 -1
- package/lib/index.js +6 -2
- package/lib/index.js.map +1 -1
- package/package.json +47 -38
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.0.8",
|
|
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,44 +30,43 @@
|
|
|
29
30
|
"configurationModule": "lib/imperative.js"
|
|
30
31
|
},
|
|
31
32
|
"dependencies": {
|
|
32
|
-
"@broadcom/endevor-for-zowe-cli": "
|
|
33
|
+
"@broadcom/endevor-for-zowe-cli": "8.2.2",
|
|
33
34
|
"object-mapper": "6.2.0"
|
|
34
35
|
},
|
|
35
36
|
"peerDependencies": {
|
|
36
|
-
"@zowe/imperative": "
|
|
37
|
+
"@zowe/imperative": "8.28.0"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
|
-
"@types/config": "
|
|
40
|
-
"@types/fs-extra": "
|
|
41
|
-
"@types/jest": "
|
|
42
|
-
"@types/mustache": "
|
|
43
|
-
"@types/node": "
|
|
44
|
-
"@types/yargs": "
|
|
45
|
-
"@zowe/cli": "
|
|
46
|
-
"@zowe/cli-test-utils": "
|
|
47
|
-
"@zowe/imperative": "
|
|
48
|
-
"config": "
|
|
49
|
-
"copyfiles": "2.
|
|
50
|
-
"env-cmd": "
|
|
51
|
-
"fs-extra": "
|
|
52
|
-
"glob": "
|
|
53
|
-
"jest": "
|
|
54
|
-
"jest-cli": "
|
|
55
|
-
"jest-environment-node": "
|
|
56
|
-
"jest-environment-node-debug": "
|
|
57
|
-
"jest-html-reporter": "
|
|
58
|
-
"jest-junit": "
|
|
59
|
-
"jest-stare": "
|
|
60
|
-
"js-yaml": "
|
|
61
|
-
"rimraf": "
|
|
62
|
-
"shebang-regex": "
|
|
63
|
-
"ts-jest": "
|
|
64
|
-
"ts-node": "
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"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"
|
|
70
70
|
},
|
|
71
71
|
"jest": {
|
|
72
72
|
"modulePathIgnorePatterns": [
|
|
@@ -98,7 +98,16 @@
|
|
|
98
98
|
"text",
|
|
99
99
|
"cobertura"
|
|
100
100
|
],
|
|
101
|
-
"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
|
+
}
|
|
102
111
|
},
|
|
103
112
|
"jest-stare": {
|
|
104
113
|
"resultDir": "__tests__/__results__/jest-stare",
|