@broadcom/ops-for-zowe-cli 5.0.0-next.202408141606 → 5.0.0-next.202409201250
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 +3 -0
- package/lib/api/Create.d.ts +2 -0
- package/lib/api/Create.js +59 -0
- package/lib/api/Create.js.map +1 -0
- package/lib/api/Execute.d.ts +3 -1
- package/lib/api/Execute.js +127 -11
- package/lib/api/Execute.js.map +1 -1
- package/lib/api/Show.d.ts +2 -6
- package/lib/api/Show.js +18 -3
- package/lib/api/Show.js.map +1 -1
- package/lib/api/constants/Ops.constants.d.ts +2 -2
- package/lib/api/constants/Ops.constants.js +6 -2
- package/lib/api/constants/Ops.constants.js.map +1 -1
- package/lib/api/doc/IExecuteCommandResponse.d.ts +9 -0
- package/lib/api/doc/IExecuteCommandResponse.js +25 -0
- package/lib/api/doc/IExecuteCommandResponse.js.map +1 -0
- package/lib/api/index.d.ts +2 -0
- package/lib/api/index.js +2 -0
- package/lib/api/index.js.map +1 -1
- package/lib/api/utils/CommandListUtils.d.ts +9 -0
- package/lib/api/utils/CommandListUtils.js +124 -0
- package/lib/api/utils/CommandListUtils.js.map +1 -0
- package/lib/api/utils/CommandUtils.d.ts +4 -0
- package/lib/api/utils/CommandUtils.js +41 -0
- package/lib/api/utils/CommandUtils.js.map +1 -0
- package/lib/api/utils/EventListUtils.d.ts +4 -0
- package/lib/api/utils/EventListUtils.js +33 -0
- package/lib/api/utils/EventListUtils.js.map +1 -0
- package/lib/api/utils/EventUtils.d.ts +4 -0
- package/lib/api/utils/EventUtils.js +41 -0
- package/lib/api/utils/EventUtils.js.map +1 -0
- package/lib/api/utils/OpsRestUtils.js +3 -3
- package/lib/api/utils/OpsRestUtils.js.map +1 -1
- package/lib/api/utils/RuleUtils.js +1 -0
- package/lib/api/utils/RuleUtils.js.map +1 -1
- package/lib/api/utils/TableListUtils.d.ts +10 -0
- package/lib/api/utils/TableListUtils.js +87 -0
- package/lib/api/utils/TableListUtils.js.map +1 -0
- package/lib/api/utils/TableUtils.d.ts +4 -0
- package/lib/api/utils/TableUtils.js +49 -0
- package/lib/api/utils/TableUtils.js.map +1 -0
- package/lib/api/utils/index.d.ts +7 -1
- package/lib/api/utils/index.js +7 -1
- package/lib/api/utils/index.js.map +1 -1
- package/lib/cli/CommandParameterDefinitions.d.ts +28 -0
- package/lib/cli/CommandParameterDefinitions.js +326 -0
- package/lib/cli/CommandParameterDefinitions.js.map +1 -0
- package/lib/cli/EventParameterDefinitions.d.ts +7 -0
- package/lib/cli/EventParameterDefinitions.js +45 -0
- package/lib/cli/EventParameterDefinitions.js.map +1 -0
- package/lib/cli/TableParameterDefinitions.d.ts +6 -0
- package/lib/cli/TableParameterDefinitions.js +52 -0
- package/lib/cli/TableParameterDefinitions.js.map +1 -0
- package/lib/cli/create/Create.definition.d.ts +3 -0
- package/lib/cli/create/Create.definition.js +35 -0
- package/lib/cli/create/Create.definition.js.map +1 -0
- package/lib/cli/create/event/Event.definition.d.ts +2 -0
- package/lib/cli/create/event/Event.definition.js +46 -0
- package/lib/cli/create/event/Event.definition.js.map +1 -0
- package/lib/cli/create/event/Event.handler.d.ts +5 -0
- package/lib/cli/create/event/Event.handler.js +45 -0
- package/lib/cli/create/event/Event.handler.js.map +1 -0
- package/lib/cli/disable/rule/Rule.definition.js +2 -2
- package/lib/cli/disable/rule/Rule.definition.js.map +1 -1
- package/lib/cli/enable/rule/Rule.definition.js +2 -2
- package/lib/cli/enable/rule/Rule.definition.js.map +1 -1
- package/lib/cli/execute/Execute.definition.js +4 -3
- package/lib/cli/execute/Execute.definition.js.map +1 -1
- package/lib/cli/execute/command/Command.definition.d.ts +2 -0
- package/lib/cli/execute/command/Command.definition.js +69 -0
- package/lib/cli/execute/command/Command.definition.js.map +1 -0
- package/lib/cli/execute/command/Command.handler.d.ts +5 -0
- package/lib/cli/execute/command/Command.handler.js +49 -0
- package/lib/cli/execute/command/Command.handler.js.map +1 -0
- package/lib/cli/execute/rexx/Rexx.definition.js +6 -2
- package/lib/cli/execute/rexx/Rexx.definition.js.map +1 -1
- package/lib/cli/show/Show.definition.js +4 -3
- package/lib/cli/show/Show.definition.js.map +1 -1
- package/lib/cli/show/logname/Logname.definition.js +2 -2
- package/lib/cli/show/logname/Logname.definition.js.map +1 -1
- package/lib/cli/show/resource/Resource.definition.js +6 -6
- package/lib/cli/show/resource/Resource.definition.js.map +1 -1
- package/lib/cli/show/rule/Rule.definition.js +6 -6
- package/lib/cli/show/rule/Rule.definition.js.map +1 -1
- package/lib/cli/show/ruleset/Ruleset.definition.js +6 -6
- package/lib/cli/show/ruleset/Ruleset.definition.js.map +1 -1
- package/lib/cli/show/status/Status.definition.js +2 -2
- package/lib/cli/show/status/Status.definition.js.map +1 -1
- package/lib/cli/show/subsystem/Subsystem.definition.js +3 -3
- package/lib/cli/show/subsystem/Subsystem.definition.js.map +1 -1
- package/lib/cli/show/table/Table.definition.d.ts +17 -0
- package/lib/cli/show/table/Table.definition.js +67 -0
- package/lib/cli/show/table/Table.definition.js.map +1 -0
- package/lib/cli/show/table/Table.handler.d.ts +5 -0
- package/lib/cli/show/table/Table.handler.js +49 -0
- package/lib/cli/show/table/Table.handler.js.map +1 -0
- package/lib/cli/start/resource/Resource.definition.js +5 -5
- package/lib/cli/start/resource/Resource.definition.js.map +1 -1
- package/lib/cli/stop/resource/Resource.definition.js +5 -5
- package/lib/cli/stop/resource/Resource.definition.js.map +1 -1
- package/lib/imperative.js +0 -9
- package/lib/imperative.js.map +1 -1
- package/lib/index.d.ts +4 -0
- package/lib/index.js +4 -0
- package/lib/index.js.map +1 -1
- package/package.json +20 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Resource.definition.js","sourceRoot":"","sources":["../../../../src/cli/stop/resource/Resource.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,qFAAkF;AAErE,QAAA,kBAAkB,GAAuB;IAClD,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,8BAA8B;IACvC,WAAW,EAAE,oEAAoE;QAChF,8EAA8E;IAC/E,QAAQ,EAAE;QACN;YACI,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Resource.definition.js","sourceRoot":"","sources":["../../../../src/cli/stop/resource/Resource.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,qFAAkF;AAErE,QAAA,kBAAkB,GAAuB;IAClD,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,8BAA8B;IACvC,WAAW,EAAE,oEAAoE;QAChF,8EAA8E;IAC/E,QAAQ,EAAE;QACN;YACI,OAAO,EAAE,gDAAgD;YACzD,WAAW,EAAE,sFAAsF;SACtG;QACD;YACI,OAAO,EAAE,uDAAuD;YAChE,WAAW,EAAE,2GAA2G;gBACpH,oDAAoD;SAC3D;KACJ;IACD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,mBAAmB;IACxC,OAAO,EAAE,EAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAC;IAC5B,WAAW,EAAE;QACT,2DAA4B,CAAC,sBAAsB;QACnD,2DAA4B,CAAC,yBAAyB;KACzD;IACD,OAAO,EAAE;QACL,2DAA4B,CAAC,UAAU;KAC1C;CACJ,CAAC"}
|
package/lib/imperative.js
CHANGED
|
@@ -29,15 +29,6 @@ const config = {
|
|
|
29
29
|
productDisplayName: PluginConstants_1.PluginConstants.PLUGIN_NAME,
|
|
30
30
|
pluginSummary: PluginConstants_1.PluginConstants.PLUGIN_NAME,
|
|
31
31
|
name: PluginConstants_1.PluginConstants.PLUGIN_GROUP_NAME,
|
|
32
|
-
// TODO - based on the previous TODO, if the plugin is successfully tested with the 'apimlConnLookup' below
|
|
33
|
-
// then remove both TODOs and comment below
|
|
34
|
-
//Per Timothy Johnson: You are correct that those Zowe v2 conformance criteria are not currently applicable to the
|
|
35
|
-
// OPS plug-in for Zowe CLI, as long as it is intended to be used with the old OPS API.
|
|
36
|
-
//I would suggest removing the apimlConnLookup definition until you support base paths.
|
|
37
|
-
// Otherwise, someone who has the new OPS API on APIML and runs "zowe config auto-init" would get an invalid
|
|
38
|
-
// OPS profile with a basePath property auto-created in their zowe.config.json.
|
|
39
|
-
//Whenever you update the OPS plug-in to support the new APIML-conformant OPS API, you should address those
|
|
40
|
-
// conformance criteria and add the apimlConnLookup property.
|
|
41
32
|
apimlConnLookup: [
|
|
42
33
|
{
|
|
43
34
|
apiId: "bcm.opsmvs",
|
package/lib/imperative.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imperative.js","sourceRoot":"","sources":["../src/imperative.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,qEAAkE;AAClE,+DAA4D;AAE5D,MAAM,MAAM,GAAsB;IAC9B,kBAAkB,EAAE,CAAC,+BAA+B,CAAC;IACrD,sBAAsB,EAAE,iCAAe,CAAC,kBAAkB;IAC1D,kBAAkB,EAAE,iCAAe,CAAC,WAAW;IAC/C,aAAa,EAAE,iCAAe,CAAC,WAAW;IAC1C,IAAI,EAAE,iCAAe,CAAC,iBAAiB;IACvC,
|
|
1
|
+
{"version":3,"file":"imperative.js","sourceRoot":"","sources":["../src/imperative.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,qEAAkE;AAClE,+DAA4D;AAE5D,MAAM,MAAM,GAAsB;IAC9B,kBAAkB,EAAE,CAAC,+BAA+B,CAAC;IACrD,sBAAsB,EAAE,iCAAe,CAAC,kBAAkB;IAC1D,kBAAkB,EAAE,iCAAe,CAAC,WAAW;IAC/C,aAAa,EAAE,iCAAe,CAAC,WAAW;IAC1C,IAAI,EAAE,iCAAe,CAAC,iBAAiB;IACvC,eAAe,EAAE;QACb;YACI,KAAK,EAAE,YAAY;YACnB,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,KAAK;SACtB;QACD;YACI,KAAK,EAAE,YAAY;YACnB,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,KAAK;SACtB;KACJ;IACD,QAAQ,EAAE,qCAAiB;CAC9B,CAAC;AAEF,iBAAS,MAAM,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
* a Job viewer/tree extension.
|
|
9
9
|
*/
|
|
10
10
|
export * from "./api";
|
|
11
|
+
export * from "./api/utils/CommandUtils";
|
|
12
|
+
export * from "./api/utils/CommandListUtils";
|
|
13
|
+
export * from "./api/utils/EventUtils";
|
|
14
|
+
export * from "./api/utils/EventListUtils";
|
|
11
15
|
export * from "./api/utils/LognameUtils";
|
|
12
16
|
export * from "./api/utils/LognameListUtils";
|
|
13
17
|
export * from "./api/utils/OpsRestUtils";
|
package/lib/index.js
CHANGED
|
@@ -46,6 +46,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
46
46
|
* a Job viewer/tree extension.
|
|
47
47
|
*/
|
|
48
48
|
__exportStar(require("./api"), exports);
|
|
49
|
+
__exportStar(require("./api/utils/CommandUtils"), exports);
|
|
50
|
+
__exportStar(require("./api/utils/CommandListUtils"), exports);
|
|
51
|
+
__exportStar(require("./api/utils/EventUtils"), exports);
|
|
52
|
+
__exportStar(require("./api/utils/EventListUtils"), exports);
|
|
49
53
|
__exportStar(require("./api/utils/LognameUtils"), exports);
|
|
50
54
|
__exportStar(require("./api/utils/LognameListUtils"), exports);
|
|
51
55
|
__exportStar(require("./api/utils/OpsRestUtils"), exports);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;;;;;AAEH;;;;;;;;GAQG;AACH,wCAAsB;AACtB,2DAAyC;AACzC,+DAA6C;AAC7C,2DAAyC;AACzC,2DAAyC;AACzC,wDAAsC;AACtC,4DAA0C;AAC1C,4DAA0C;AAC1C,wDAAsC;AACtC,+DAA6C;AAC7C,2DAAyC;AACzC,mEAAiD;AACjD,+DAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;;;;;AAEH;;;;;;;;GAQG;AACH,wCAAsB;AACtB,2DAAyC;AACzC,+DAA6C;AAC7C,yDAAuC;AACvC,6DAA2C;AAC3C,2DAAyC;AACzC,+DAA6C;AAC7C,2DAAyC;AACzC,2DAAyC;AACzC,wDAAsC;AACtC,4DAA0C;AAC1C,4DAA0C;AAC1C,wDAAsC;AACtC,+DAA6C;AAC7C,2DAAyC;AACzC,mEAAiD;AACjD,+DAA6C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@broadcom/ops-for-zowe-cli",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.202409201250",
|
|
4
4
|
"description": "OPS/MVS® Plug-in for Zowe CLI",
|
|
5
5
|
"author": "Broadcom",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -44,19 +44,20 @@
|
|
|
44
44
|
"configurationModule": "lib/imperative.js"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@zowe/imperative": "^
|
|
47
|
+
"@zowe/imperative": "^8.0.0-next"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/fs-extra": "^8.1.2",
|
|
51
51
|
"@types/jest": "^27.5.2",
|
|
52
|
-
"@types/node": "^
|
|
52
|
+
"@types/node": "^18.17.1",
|
|
53
|
+
"@types/yargs": "^15.0.0",
|
|
53
54
|
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
|
54
55
|
"@typescript-eslint/parser": "^5.59.5",
|
|
55
|
-
"@zowe/cli": "
|
|
56
|
-
"@zowe/cli-test-utils": "^
|
|
57
|
-
"@zowe/core-for-zowe-sdk": "
|
|
58
|
-
"@zowe/imperative": "^5.27.
|
|
59
|
-
"@zowe/zosmf-for-zowe-sdk": "
|
|
56
|
+
"@zowe/cli": "^8.0.0-next",
|
|
57
|
+
"@zowe/cli-test-utils": "^8.0.0-next",
|
|
58
|
+
"@zowe/core-for-zowe-sdk": "^8.0.0-next",
|
|
59
|
+
"@zowe/imperative": "^5.27.1",
|
|
60
|
+
"@zowe/zosmf-for-zowe-sdk": "^8.0.0-next",
|
|
60
61
|
"env-cmd": "^8.0.2",
|
|
61
62
|
"eslint": "^8.40.0",
|
|
62
63
|
"eslint-plugin-jest": "^27.2.1",
|
|
@@ -74,9 +75,10 @@
|
|
|
74
75
|
"json-server": "^0.17.2",
|
|
75
76
|
"madge": "^5.0.2",
|
|
76
77
|
"rimraf": "^2.7.1",
|
|
78
|
+
"rxjs": "7.8.1",
|
|
77
79
|
"ts-jest": "^27.1.5",
|
|
78
80
|
"ts-node": "^7.0.1",
|
|
79
|
-
"typedoc": "^0.
|
|
81
|
+
"typedoc": "^0.25.4",
|
|
80
82
|
"typescript": "^4.9.5",
|
|
81
83
|
"uuid": "9.0.1"
|
|
82
84
|
},
|
|
@@ -84,6 +86,9 @@
|
|
|
84
86
|
"modulePathIgnorePatterns": [
|
|
85
87
|
"__tests__/__snapshots__/"
|
|
86
88
|
],
|
|
89
|
+
"watchPathIgnorePatterns": [
|
|
90
|
+
".*jest-stare.*\\.js"
|
|
91
|
+
],
|
|
87
92
|
"testResultsProcessor": "jest-stare",
|
|
88
93
|
"transform": {
|
|
89
94
|
".(ts)": "ts-jest"
|
|
@@ -108,23 +113,24 @@
|
|
|
108
113
|
"json",
|
|
109
114
|
"lcov",
|
|
110
115
|
"text",
|
|
111
|
-
"cobertura"
|
|
116
|
+
"cobertura",
|
|
117
|
+
"html"
|
|
112
118
|
],
|
|
113
119
|
"coverageDirectory": "<rootDir>/__tests__/__results__/unit/coverage"
|
|
114
120
|
},
|
|
115
121
|
"jest-stare": {
|
|
116
|
-
"resultDir": "__tests__/__results__/jest-stare",
|
|
122
|
+
"resultDir": "__tests__/__results__/unit/jest-stare",
|
|
117
123
|
"additionalResultsProcessors": [
|
|
118
124
|
"jest-junit",
|
|
119
125
|
"jest-html-reporter"
|
|
120
126
|
],
|
|
121
|
-
"coverageLink": "../
|
|
127
|
+
"coverageLink": "../coverage/lcov-report/index.html"
|
|
122
128
|
},
|
|
123
129
|
"jest-junit": {
|
|
124
|
-
"output": "__tests__/__results__/junit.xml"
|
|
130
|
+
"output": "__tests__/__results__/unit/junit.xml"
|
|
125
131
|
},
|
|
126
132
|
"jest-html-reporter": {
|
|
127
|
-
"pageTitle": "Zowe CLI
|
|
133
|
+
"pageTitle": "Zowe CLI OPS Plugin Test Results",
|
|
128
134
|
"outputPath": "__tests__/__results__/results.html",
|
|
129
135
|
"includeFailureMsg": true
|
|
130
136
|
}
|