@broadcom/ops-for-zowe-cli 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -4
- package/imgs/zowe-conformant-zowev3-cli-color.png +0 -0
- package/lib/api/Create.js.map +1 -1
- package/lib/api/Execute.d.ts +32 -3
- package/lib/api/Execute.js +64 -86
- package/lib/api/Execute.js.map +1 -1
- package/lib/api/Show.d.ts +1 -0
- package/lib/api/Show.js +18 -2
- package/lib/api/Show.js.map +1 -1
- package/lib/api/constants/Ops.constants.js +1 -0
- package/lib/api/constants/Ops.constants.js.map +1 -1
- package/lib/api/doc/IExecuteRexxCommandBody.d.ts +9 -0
- package/lib/{cli/LognameParameterDefinitions.js → api/doc/IExecuteRexxCommandBody.js} +1 -16
- package/lib/api/doc/IExecuteRexxCommandBody.js.map +1 -0
- package/lib/api/doc/IExecuteRexxResponse.d.ts +7 -7
- package/lib/api/doc/IShowLognameResponse.d.ts +2 -2
- package/lib/api/doc/IShowSubsystemsResponse.d.ts +2 -2
- package/lib/api/doc/index.d.ts +8 -0
- package/lib/api/doc/index.js +47 -0
- package/lib/api/doc/index.js.map +1 -0
- package/lib/api/index.d.ts +1 -8
- package/lib/api/index.js +1 -8
- package/lib/api/index.js.map +1 -1
- package/lib/api/utils/OpsRestUtils.js +3 -3
- package/lib/api/utils/OpsRestUtils.js.map +1 -1
- package/lib/api/utils/ParmsListUtils.d.ts +11 -0
- package/lib/api/utils/ParmsListUtils.js +107 -0
- package/lib/api/utils/ParmsListUtils.js.map +1 -0
- package/lib/api/utils/ParmsUtils.d.ts +4 -0
- package/lib/{cli/SubsystemsParameterDefinitions.js → api/utils/ParmsUtils.js} +16 -15
- package/lib/api/utils/ParmsUtils.js.map +1 -0
- package/lib/api/utils/index.d.ts +2 -0
- package/lib/api/utils/index.js +2 -0
- package/lib/api/utils/index.js.map +1 -1
- package/lib/cli/CommandParameterDefinitions.d.ts +0 -1
- package/lib/cli/CommandParameterDefinitions.js +0 -11
- package/lib/cli/CommandParameterDefinitions.js.map +1 -1
- package/lib/cli/{StatusParameterDefinitions.d.ts → FormatParameterDefinitions.d.ts} +1 -1
- package/lib/cli/{StatusParameterDefinitions.js → FormatParameterDefinitions.js} +5 -5
- package/lib/cli/{StatusParameterDefinitions.js.map → FormatParameterDefinitions.js.map} +1 -1
- package/lib/cli/ResourceParameterDefinitions.d.ts +0 -1
- package/lib/cli/ResourceParameterDefinitions.js +0 -11
- package/lib/cli/ResourceParameterDefinitions.js.map +1 -1
- package/lib/cli/RexxParameterDefinitions.d.ts +0 -1
- package/lib/cli/RexxParameterDefinitions.js +1 -12
- package/lib/cli/RexxParameterDefinitions.js.map +1 -1
- package/lib/cli/RuleParameterDefinitions.d.ts +1 -2
- package/lib/cli/RuleParameterDefinitions.js +0 -11
- package/lib/cli/RuleParameterDefinitions.js.map +1 -1
- package/lib/cli/RulesetParameterDefinitions.d.ts +0 -1
- package/lib/cli/RulesetParameterDefinitions.js +0 -11
- package/lib/cli/RulesetParameterDefinitions.js.map +1 -1
- package/lib/cli/TableParameterDefinitions.d.ts +0 -1
- package/lib/cli/TableParameterDefinitions.js +0 -11
- package/lib/cli/TableParameterDefinitions.js.map +1 -1
- package/lib/cli/disable/rule/Rule.definition.js +2 -1
- package/lib/cli/disable/rule/Rule.definition.js.map +1 -1
- package/lib/cli/execute/command/Command.definition.js +2 -1
- package/lib/cli/execute/command/Command.definition.js.map +1 -1
- package/lib/cli/execute/rexx/Rexx.definition.js +2 -1
- package/lib/cli/execute/rexx/Rexx.definition.js.map +1 -1
- package/lib/cli/execute/rexx/Rexx.handler.js +19 -3
- package/lib/cli/execute/rexx/Rexx.handler.js.map +1 -1
- package/lib/cli/show/Show.definition.js +9 -5
- 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/parms/Parms.definition.d.ts +17 -0
- package/lib/cli/show/parms/Parms.definition.js +62 -0
- package/lib/cli/show/parms/Parms.definition.js.map +1 -0
- package/lib/cli/show/parms/Parms.handler.d.ts +5 -0
- package/lib/cli/show/parms/Parms.handler.js +50 -0
- package/lib/cli/show/parms/Parms.handler.js.map +1 -0
- package/lib/cli/show/resource/Resource.definition.js +2 -1
- package/lib/cli/show/resource/Resource.definition.js.map +1 -1
- package/lib/cli/show/rule/Rule.definition.js +2 -1
- package/lib/cli/show/rule/Rule.definition.js.map +1 -1
- package/lib/cli/show/ruleset/Ruleset.definition.js +2 -1
- 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/subsystem/Subsystem.definition.js +2 -2
- package/lib/cli/show/subsystem/Subsystem.definition.js.map +1 -1
- package/lib/cli/show/table/Table.definition.js +2 -1
- package/lib/cli/show/table/Table.definition.js.map +1 -1
- package/lib/cli/show/table/Table.handler.js +1 -1
- package/lib/cli/show/table/Table.handler.js.map +1 -1
- package/package.json +7 -7
- package/lib/cli/LognameParameterDefinitions.d.ts +0 -4
- package/lib/cli/LognameParameterDefinitions.js.map +0 -1
- package/lib/cli/SubsystemsParameterDefinitions.d.ts +0 -4
- package/lib/cli/SubsystemsParameterDefinitions.js.map +0 -1
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
*/
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.LognameDefinition = void 0;
|
|
26
|
-
const
|
|
26
|
+
const FormatParameterDefinitions_1 = require("../../FormatParameterDefinitions");
|
|
27
27
|
/**
|
|
28
28
|
* Command one [object] defintion. This definition is of imperative type "command" and therefore must have a
|
|
29
29
|
* command handler (which performs the "work" for this command).
|
|
@@ -56,7 +56,7 @@ exports.LognameDefinition = {
|
|
|
56
56
|
profile: { optional: ["ops"] },
|
|
57
57
|
positionals: [],
|
|
58
58
|
options: [
|
|
59
|
-
|
|
59
|
+
FormatParameterDefinitions_1.FormatParameterDefinitions.formatOption
|
|
60
60
|
]
|
|
61
61
|
};
|
|
62
62
|
//# sourceMappingURL=Logname.definition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logname.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/logname/Logname.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,
|
|
1
|
+
{"version":3,"file":"Logname.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/logname/Logname.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,iFAA8E;AAE9E;;;;;;;;;;;;;;GAcG;AACU,QAAA,iBAAiB,GAAuB;IACjD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,oCAAoC;IAC7C,WAAW,EAAE,8HAA8H;QACvI,gFAAgF;IACpF,QAAQ,EAAE;QACN;YACI,OAAO,EAAE,sBAAsB;YAC/B,WAAW,EAAE,+DAA+D;SAC/E;KACJ;IACD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,kBAAkB;IACvC,OAAO,EAAE,EAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAC;IAC5B,WAAW,EAAE,EACZ;IACD,OAAO,EAAE;QACL,uDAA0B,CAAC,YAAY;KAC1C;CACJ,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ICommandDefinition } from "@zowe/imperative";
|
|
2
|
+
/**
|
|
3
|
+
* Command one [object] definition. This definition is of imperative type "command" and therefore must have a
|
|
4
|
+
* command handler (which performs the "work" for this command).
|
|
5
|
+
*
|
|
6
|
+
* In this case, "command-with-options" will echo options specified on the command.
|
|
7
|
+
*
|
|
8
|
+
* Property Summary:
|
|
9
|
+
* =================
|
|
10
|
+
* "name" of the [object]. Should be a noun (e.g. data-set)
|
|
11
|
+
* "aliases" normally contains a shortened form of the command
|
|
12
|
+
* "summary" will display when issuing the help on this [objects] [action]
|
|
13
|
+
* "type" is "command" which means a handler is required
|
|
14
|
+
* "handler" is the file path to the handler (does the work)
|
|
15
|
+
* "options" an array of options
|
|
16
|
+
*/
|
|
17
|
+
export declare const ParmsDefinition: ICommandDefinition;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2024 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.ParmsDefinition = void 0;
|
|
26
|
+
const FormatParameterDefinitions_1 = require("../../FormatParameterDefinitions");
|
|
27
|
+
/**
|
|
28
|
+
* Command one [object] definition. This definition is of imperative type "command" and therefore must have a
|
|
29
|
+
* command handler (which performs the "work" for this command).
|
|
30
|
+
*
|
|
31
|
+
* In this case, "command-with-options" will echo options specified on the command.
|
|
32
|
+
*
|
|
33
|
+
* Property Summary:
|
|
34
|
+
* =================
|
|
35
|
+
* "name" of the [object]. Should be a noun (e.g. data-set)
|
|
36
|
+
* "aliases" normally contains a shortened form of the command
|
|
37
|
+
* "summary" will display when issuing the help on this [objects] [action]
|
|
38
|
+
* "type" is "command" which means a handler is required
|
|
39
|
+
* "handler" is the file path to the handler (does the work)
|
|
40
|
+
* "options" an array of options
|
|
41
|
+
*/
|
|
42
|
+
exports.ParmsDefinition = {
|
|
43
|
+
name: "parms",
|
|
44
|
+
aliases: [],
|
|
45
|
+
summary: "Display SSM parameters and their values.",
|
|
46
|
+
description: "Display a list of the SSM parameters that are defined to the specified subsystem." +
|
|
47
|
+
" This command is only available when connected to the OPS/MVS REST API server.",
|
|
48
|
+
examples: [
|
|
49
|
+
{
|
|
50
|
+
options: "--subsystem \"OPSS\"",
|
|
51
|
+
description: "Show the SSM parameters that are defined for the \"OPSS\" subsystem"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
type: "command",
|
|
55
|
+
handler: __dirname + "/Parms.handler",
|
|
56
|
+
profile: { optional: ["ops"] },
|
|
57
|
+
positionals: [],
|
|
58
|
+
options: [
|
|
59
|
+
FormatParameterDefinitions_1.FormatParameterDefinitions.formatOption
|
|
60
|
+
]
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=Parms.definition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Parms.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/parms/Parms.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,iFAA8E;AAE9E;;;;;;;;;;;;;;GAcG;AACU,QAAA,eAAe,GAAuB;IAC/C,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,0CAA0C;IACnD,WAAW,EAAE,mFAAmF;QAC5F,gFAAgF;IACpF,QAAQ,EAAE;QACN;YACI,OAAO,EAAE,sBAAsB;YAC/B,WAAW,EAAE,qEAAqE;SACrF;KACJ;IACD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,gBAAgB;IACrC,OAAO,EAAE,EAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAC;IAC5B,WAAW,EAAE,EACZ;IACD,OAAO,EAAE;QACL,uDAA0B,CAAC,YAAY;KAC1C;CACJ,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2024 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 api_1 = require("../../../api");
|
|
35
|
+
const OpsBaseHandler_1 = require("../../OpsBaseHandler");
|
|
36
|
+
class ParmsHandler extends OpsBaseHandler_1.OpsBaseHandler {
|
|
37
|
+
processOps(params) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
const response = yield (0, api_1.showParms)(this.session, params.arguments.restApi, params.arguments.subsystem, params);
|
|
40
|
+
// No need to process response to 'show parms' as not supported with web services
|
|
41
|
+
if (params.arguments.restApi) {
|
|
42
|
+
params.response.data.setObj(response);
|
|
43
|
+
params.response.console.log(api_1.ParmsListUtils.printShowParmsResponse(response, params, params.arguments.subsystem));
|
|
44
|
+
// No need to process response ));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.default = ParmsHandler;
|
|
50
|
+
//# sourceMappingURL=Parms.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Parms.handler.js","sourceRoot":"","sources":["../../../../src/cli/show/parms/Parms.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAGH,sCAAyD;AACzD,yDAAsD;AAEtD,MAAqB,YAAa,SAAQ,+BAAc;IAEvC,UAAU,CAAC,MAA0B;;YAE9C,MAAM,QAAQ,GAAQ,MAAM,IAAA,eAAS,EAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,SAAS,CAAC,OAAO,EACxE,MAAM,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxC,iFAAiF;YACjF,IAAI,MAAM,CAAC,SAAS,CAAC,OAAO,EAAE;gBAC1B,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;gBACtC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAc,CAAC,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;gBACjH,kCAAkC;aACrC;QACL,CAAC;KAAA;CACJ;AAbD,+BAaC"}
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.ResourceDefinition = void 0;
|
|
26
26
|
const ResourceParameterDefinitions_1 = require("../../ResourceParameterDefinitions");
|
|
27
|
+
const FormatParameterDefinitions_1 = require("../../FormatParameterDefinitions");
|
|
27
28
|
exports.ResourceDefinition = {
|
|
28
29
|
name: "resource",
|
|
29
30
|
aliases: [],
|
|
@@ -54,7 +55,7 @@ exports.ResourceDefinition = {
|
|
|
54
55
|
],
|
|
55
56
|
options: [
|
|
56
57
|
ResourceParameterDefinitions_1.ResourceParameterDefinitions.tableNameOption,
|
|
57
|
-
|
|
58
|
+
FormatParameterDefinitions_1.FormatParameterDefinitions.formatOption
|
|
58
59
|
]
|
|
59
60
|
};
|
|
60
61
|
//# sourceMappingURL=Resource.definition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Resource.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/resource/Resource.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,qFAAkF;
|
|
1
|
+
{"version":3,"file":"Resource.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/resource/Resource.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,qFAAkF;AAClF,iFAA8E;AAEjE,QAAA,kBAAkB,GAAuB;IAClD,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,0DAA0D;IACnE,WAAW,EAAE,sEAAsE;QAC/E,oEAAoE;IACxE,QAAQ,EAAE;QACN;YACI,OAAO,EAAE,wDAAwD;YACjE,WAAW,EAAE,sHAAsH;SACtI;QACD;YACI,OAAO,EAAE,4CAA4C;YACrD,WAAW,EAAE,2GAA2G;gBACpH,8EAA8E;SACrF;QACD;YACI,OAAO,EAAE,wBAAwB;YACjC,WAAW,EAAE,gGAAgG;gBACzG,8EAA8E;SACrF;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;KACtD;IACD,OAAO,EAAE;QACL,2DAA4B,CAAC,eAAe;QAC5C,uDAA0B,CAAC,YAAY;KAC1C;CACJ,CAAC"}
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.RuleDefinition = void 0;
|
|
26
26
|
const RuleParameterDefinitions_1 = require("../../RuleParameterDefinitions");
|
|
27
|
+
const FormatParameterDefinitions_1 = require("../../FormatParameterDefinitions");
|
|
27
28
|
/**
|
|
28
29
|
* Command one [object] definition. This definition is of imperative type "command" and therefore must have a
|
|
29
30
|
* command handler (which performs the "work" for this command).
|
|
@@ -68,7 +69,7 @@ exports.RuleDefinition = {
|
|
|
68
69
|
RuleParameterDefinitions_1.RuleParameterDefinitions.ruleNamePositional
|
|
69
70
|
],
|
|
70
71
|
options: [
|
|
71
|
-
|
|
72
|
+
FormatParameterDefinitions_1.FormatParameterDefinitions.formatOption
|
|
72
73
|
]
|
|
73
74
|
};
|
|
74
75
|
//# sourceMappingURL=Rule.definition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rule.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/rule/Rule.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,6EAA0E;
|
|
1
|
+
{"version":3,"file":"Rule.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/rule/Rule.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,6EAA0E;AAC1E,iFAA8E;AAE9E;;;;;;;;;;;;;;GAcG;AACU,QAAA,cAAc,GAAuB;IAC9C,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,kDAAkD;IAC3D,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE;QACN;YACI,OAAO,EAAE,qDAAqD;YAC9D,WAAW,EAAE,2GAA2G;SAC3H;QACD;YACI,OAAO,EAAE,yCAAyC;YAClD,WAAW,EAAE,iFAAiF;gBAC1F,8EAA8E;SACrF;QACD;YACI,OAAO,EAAE,kCAAkC;YAC3C,WAAW,EAAE,yEAAyE;gBAClF,8EAA8E;SACrF;KACJ;IACD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,eAAe;IACpC,OAAO,EAAE,EAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAC;IAC5B,WAAW,EAAE;QACT,mDAAwB,CAAC,iBAAiB;QAC1C,mDAAwB,CAAC,kBAAkB;KAC9C;IACD,OAAO,EAAE;QACL,uDAA0B,CAAC,YAAY;KAC1C;CACJ,CAAC"}
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.RulesetDefinition = void 0;
|
|
26
26
|
const RulesetParameterDefinitions_1 = require("../../RulesetParameterDefinitions");
|
|
27
|
+
const FormatParameterDefinitions_1 = require("../../FormatParameterDefinitions");
|
|
27
28
|
/**
|
|
28
29
|
* Command one [object] defintion. This definition is of imperative type "command" and therefore must have a
|
|
29
30
|
* command handler (which performs the "work" for this command).
|
|
@@ -65,7 +66,7 @@ exports.RulesetDefinition = {
|
|
|
65
66
|
positionals: [],
|
|
66
67
|
options: [
|
|
67
68
|
RulesetParameterDefinitions_1.RulesetParameterDefinitions.rulesetOption,
|
|
68
|
-
|
|
69
|
+
FormatParameterDefinitions_1.FormatParameterDefinitions.formatOption
|
|
69
70
|
]
|
|
70
71
|
};
|
|
71
72
|
//# sourceMappingURL=Ruleset.definition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ruleset.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/ruleset/Ruleset.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,mFAAgF;
|
|
1
|
+
{"version":3,"file":"Ruleset.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/ruleset/Ruleset.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,mFAAgF;AAChF,iFAA8E;AAE9E;;;;;;;;;;;;;;GAcG;AACU,QAAA,iBAAiB,GAAuB;IACjD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,mDAAmD;IAC5D,WAAW,EAAE,6EAA6E;QACtF,gFAAgF;IACpF,QAAQ,EAAE;QACN;YACI,OAAO,EAAE,sBAAsB;YAC/B,WAAW,EAAE,mEAAmE;SACnF;QACD;YACI,OAAO,EAAE,oBAAoB;YAC7B,WAAW,EAAE,sEAAsE;SACtF;QACD;YACI,OAAO,EAAE,wCAAwC;YACjD,WAAW,EAAE,0DAA0D;SAC1E;KACJ;IACD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,kBAAkB;IACvC,OAAO,EAAE,EAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAC;IAC5B,WAAW,EAAE,EACZ;IACD,OAAO,EAAE;QACL,yDAA2B,CAAC,aAAa;QACzC,uDAA0B,CAAC,YAAY;KAC1C;CACJ,CAAC"}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
*/
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.StatusDefinition = void 0;
|
|
26
|
-
const
|
|
26
|
+
const FormatParameterDefinitions_1 = require("../../FormatParameterDefinitions");
|
|
27
27
|
/**
|
|
28
28
|
* Command one [object] definition. This definition is of imperative type "command" and therefore must have a
|
|
29
29
|
* command handler (which performs the "work" for this command).
|
|
@@ -56,7 +56,7 @@ exports.StatusDefinition = {
|
|
|
56
56
|
profile: { optional: ["ops"] },
|
|
57
57
|
positionals: [],
|
|
58
58
|
options: [
|
|
59
|
-
|
|
59
|
+
FormatParameterDefinitions_1.FormatParameterDefinitions.formatOption
|
|
60
60
|
]
|
|
61
61
|
};
|
|
62
62
|
//# sourceMappingURL=Status.definition.js.map
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
*/
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.SubsystemDefinition = void 0;
|
|
26
|
-
const
|
|
26
|
+
const FormatParameterDefinitions_1 = require("../../FormatParameterDefinitions");
|
|
27
27
|
/**
|
|
28
28
|
* Command one [object] defintion. This definition is of imperative type "command" and therefore must have a
|
|
29
29
|
* command handler (which performs the "work" for this command).
|
|
@@ -56,7 +56,7 @@ exports.SubsystemDefinition = {
|
|
|
56
56
|
profile: { optional: ["ops"] },
|
|
57
57
|
positionals: [],
|
|
58
58
|
options: [
|
|
59
|
-
|
|
59
|
+
FormatParameterDefinitions_1.FormatParameterDefinitions.formatOption
|
|
60
60
|
]
|
|
61
61
|
};
|
|
62
62
|
//# sourceMappingURL=Subsystem.definition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subsystem.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/subsystem/Subsystem.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,
|
|
1
|
+
{"version":3,"file":"Subsystem.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/subsystem/Subsystem.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,iFAA8E;AAE9E;;;;;;;;;;;;;;GAcG;AACU,QAAA,mBAAmB,GAAuB;IACnD,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,2CAA2C;IACpD,WAAW,EAAE,kFAAkF;QAC3F,gFAAgF;IACpF,QAAQ,EAAE;QACN;YACI,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,8EAA8E;SAC9F;KACJ;IACD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,oBAAoB;IACzC,OAAO,EAAE,EAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAC;IAC5B,WAAW,EAAE,EACZ;IACD,OAAO,EAAE;QACL,uDAA0B,CAAC,YAAY;KAC1C;CACJ,CAAC"}
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.TableDefinition = void 0;
|
|
26
26
|
const TableParameterDefinitions_1 = require("../../TableParameterDefinitions");
|
|
27
|
+
const FormatParameterDefinitions_1 = require("../../FormatParameterDefinitions");
|
|
27
28
|
/**
|
|
28
29
|
* Command one [object] defintion. This definition is of imperative type "command" and therefore must have a
|
|
29
30
|
* command handler (which performs the "work" for this command).
|
|
@@ -61,7 +62,7 @@ exports.TableDefinition = {
|
|
|
61
62
|
positionals: [],
|
|
62
63
|
options: [
|
|
63
64
|
TableParameterDefinitions_1.TableParameterDefinitions.tableNameOption,
|
|
64
|
-
|
|
65
|
+
FormatParameterDefinitions_1.FormatParameterDefinitions.formatOption
|
|
65
66
|
]
|
|
66
67
|
};
|
|
67
68
|
//# sourceMappingURL=Table.definition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/table/Table.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,+EAA4E;
|
|
1
|
+
{"version":3,"file":"Table.definition.js","sourceRoot":"","sources":["../../../../src/cli/show/table/Table.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,+EAA4E;AAC5E,iFAA8E;AAE9E;;;;;;;;;;;;;;GAcG;AACU,QAAA,eAAe,GAAuB;IAC/C,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,sCAAsC;IAC/C,WAAW,EAAE,+EAA+E;QACxF,gFAAgF;IACpF,QAAQ,EAAE;QACN;YACI,OAAO,EAAE,sBAAsB;YAC/B,WAAW,EAAE,oDAAoD;SACpE;QACD;YACI,OAAO,EAAE,uCAAuC;YAChD,WAAW,EAAE,wEAAwE;SACxF;KACJ;IACD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,gBAAgB;IACrC,OAAO,EAAE,EAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAC;IAC5B,WAAW,EAAE,EACZ;IACD,OAAO,EAAE;QACL,qDAAyB,CAAC,eAAe;QACzC,uDAA0B,CAAC,YAAY;KAC1C;CACJ,CAAC"}
|
|
@@ -37,7 +37,7 @@ class TableHandler extends OpsBaseHandler_1.OpsBaseHandler {
|
|
|
37
37
|
processOps(params) {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
39
|
const response = yield (0, api_1.showTable)(this.session, params.arguments.restApi, params.arguments.subsystem, params.arguments.table, params);
|
|
40
|
-
// No need to process response to 'show
|
|
40
|
+
// No need to process response to 'show table' as not supported with web services
|
|
41
41
|
if (params.arguments.restApi) {
|
|
42
42
|
params.response.data.setObj(response);
|
|
43
43
|
params.response.console.log(api_1.TableListUtils.printShowTableResponse(response, params));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.handler.js","sourceRoot":"","sources":["../../../../src/cli/show/table/Table.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAGH,sCAAyD;AACzD,yDAAsD;AAEtD,MAAqB,YAAa,SAAQ,+BAAc;IAEvC,UAAU,CAAC,MAA0B;;YAE9C,MAAM,QAAQ,GAAQ,MAAM,IAAA,eAAS,EAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,SAAS,CAAC,OAAO,EACxE,MAAM,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;YAChE
|
|
1
|
+
{"version":3,"file":"Table.handler.js","sourceRoot":"","sources":["../../../../src/cli/show/table/Table.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAGH,sCAAyD;AACzD,yDAAsD;AAEtD,MAAqB,YAAa,SAAQ,+BAAc;IAEvC,UAAU,CAAC,MAA0B;;YAE9C,MAAM,QAAQ,GAAQ,MAAM,IAAA,eAAS,EAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,SAAS,CAAC,OAAO,EACxE,MAAM,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;YAChE,iFAAiF;YACjF,IAAI,MAAM,CAAC,SAAS,CAAC,OAAO,EAAE;gBAC1B,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;gBACtC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAc,CAAC,sBAAsB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;aACxF;QACL,CAAC;KAAA;CACJ;AAZD,+BAYC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@broadcom/ops-for-zowe-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "OPS/MVS® Plug-in for Zowe CLI",
|
|
5
5
|
"author": "Broadcom",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"configurationModule": "lib/imperative.js"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@zowe/imperative": "^8.
|
|
47
|
+
"@zowe/imperative": "^8.2.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/fs-extra": "^8.1.2",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"@types/yargs": "^15.0.0",
|
|
54
54
|
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
|
55
55
|
"@typescript-eslint/parser": "^5.59.5",
|
|
56
|
-
"@zowe/cli": "^8.
|
|
57
|
-
"@zowe/cli-test-utils": "^8.
|
|
58
|
-
"@zowe/core-for-zowe-sdk": "^8.
|
|
59
|
-
"@zowe/imperative": "^8.0
|
|
60
|
-
"@zowe/zosmf-for-zowe-sdk": "^8.
|
|
56
|
+
"@zowe/cli": "^8.5.0",
|
|
57
|
+
"@zowe/cli-test-utils": "^8.3.0",
|
|
58
|
+
"@zowe/core-for-zowe-sdk": "^8.3.0",
|
|
59
|
+
"@zowe/imperative": "^8.7.0",
|
|
60
|
+
"@zowe/zosmf-for-zowe-sdk": "^8.3.0",
|
|
61
61
|
"env-cmd": "^8.0.2",
|
|
62
62
|
"eslint": "^8.40.0",
|
|
63
63
|
"eslint-plugin-jest": "^27.2.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LognameParameterDefinitions.js","sourceRoot":"","sources":["../../src/cli/LognameParameterDefinitions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAIH,MAAa,2BAA2B;;AAAxC,kEAaC;AAXiB,wCAAY,GAA6B;IACnD,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC;IAC9B,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,iCAAiC;IAC9C,YAAY,EAAE,WAAW;IACzB,eAAe,EAAE;QACb,MAAM,EAAE,CAAC,WAAW,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,CAAC;QACtD,aAAa,EAAE,KAAK;KACvB;IACD,QAAQ,EAAE,KAAK;CAClB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SubsystemsParameterDefinitions.js","sourceRoot":"","sources":["../../src/cli/SubsystemsParameterDefinitions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAIH,MAAa,8BAA8B;;AAA3C,wEAaC;AAXiB,2CAAY,GAA6B;IACnD,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC;IAC9B,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,iCAAiC;IAC9C,YAAY,EAAE,WAAW;IACzB,eAAe,EAAE;QACb,MAAM,EAAE,CAAC,WAAW,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,CAAC;QACtD,aAAa,EAAE,KAAK;KACvB;IACD,QAAQ,EAAE,KAAK;CAClB,CAAC"}
|