@broadcom/ops-for-zowe-cli 5.1.0 → 5.2.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/LICENSE +1 -1
- package/README.md +101 -70
- package/lib/api/Create.d.ts +14 -2
- package/lib/api/Create.js +13 -15
- package/lib/api/Create.js.map +1 -1
- package/lib/api/Execute.d.ts +13 -2
- package/lib/api/Execute.js +22 -110
- package/lib/api/Execute.js.map +1 -1
- package/lib/api/Show.d.ts +66 -8
- package/lib/api/Show.js +77 -75
- package/lib/api/Show.js.map +1 -1
- package/lib/api/Update.d.ts +2 -4
- package/lib/api/Update.js +4 -9
- package/lib/api/Update.js.map +1 -1
- package/lib/api/doc/IExecuteCommandCommandBody.d.ts +23 -0
- package/lib/api/doc/IExecuteCommandCommandBody.js +25 -0
- package/lib/api/doc/IExecuteCommandCommandBody.js.map +1 -0
- package/lib/api/doc/IShowRecordsCommandBody.d.ts +16 -0
- package/lib/api/doc/IShowRecordsCommandBody.js +25 -0
- package/lib/api/doc/IShowRecordsCommandBody.js.map +1 -0
- package/lib/api/doc/IShowRecordsResponse.d.ts +55 -0
- package/lib/api/doc/IShowRecordsResponse.js +25 -0
- package/lib/api/doc/IShowRecordsResponse.js.map +1 -0
- package/lib/api/doc/IShowTableResponse.d.ts +3 -0
- package/lib/api/doc/IShowTableResponse.js +25 -0
- package/lib/api/doc/IShowTableResponse.js.map +1 -0
- package/lib/api/doc/index.d.ts +1 -0
- package/lib/api/doc/index.js +1 -0
- package/lib/api/doc/index.js.map +1 -1
- package/lib/api/utils/CommandListUtils.js +8 -3
- package/lib/api/utils/CommandListUtils.js.map +1 -1
- package/lib/api/utils/LognameListUtils.js +0 -1
- package/lib/api/utils/LognameListUtils.js.map +1 -1
- package/lib/api/utils/OpsRestClient.js +0 -2
- package/lib/api/utils/OpsRestClient.js.map +1 -1
- package/lib/api/utils/OpsTextUtils.js +0 -1
- package/lib/api/utils/OpsTextUtils.js.map +1 -1
- package/lib/api/utils/RecordsListUtils.d.ts +53 -0
- package/lib/api/utils/RecordsListUtils.js +146 -0
- package/lib/api/utils/RecordsListUtils.js.map +1 -0
- package/lib/api/utils/RecordsUtils.d.ts +5 -0
- package/lib/api/utils/RecordsUtils.js +45 -0
- package/lib/api/utils/RecordsUtils.js.map +1 -0
- package/lib/api/utils/RexxListUtils.js +7 -6
- package/lib/api/utils/RexxListUtils.js.map +1 -1
- package/lib/api/utils/RuleUtils.js +2 -2
- package/lib/api/utils/RuleUtils.js.map +1 -1
- package/lib/api/utils/RulesetListUtils.js +0 -1
- package/lib/api/utils/RulesetListUtils.js.map +1 -1
- package/lib/api/utils/RulesetUtils.d.ts +1 -1
- package/lib/api/utils/RulesetUtils.js +1 -1
- package/lib/api/utils/RulesetUtils.js.map +1 -1
- package/lib/api/utils/SubsystemListUtils.js +0 -1
- package/lib/api/utils/SubsystemListUtils.js.map +1 -1
- package/lib/api/utils/TableUtils.d.ts +4 -1
- package/lib/api/utils/TableUtils.js +7 -7
- package/lib/api/utils/TableUtils.js.map +1 -1
- package/lib/api/utils/index.d.ts +3 -0
- package/lib/api/utils/index.js +3 -0
- package/lib/api/utils/index.js.map +1 -1
- package/lib/cli/OpsBaseHandler.js +0 -2
- package/lib/cli/OpsBaseHandler.js.map +1 -1
- package/lib/cli/RecordsParameterDefinitions.d.ts +18 -0
- package/lib/cli/RecordsParameterDefinitions.js +157 -0
- package/lib/cli/RecordsParameterDefinitions.js.map +1 -0
- package/lib/cli/create/event/Event.handler.js +12 -2
- package/lib/cli/create/event/Event.handler.js.map +1 -1
- package/lib/cli/execute/command/Command.handler.js +50 -5
- package/lib/cli/execute/command/Command.handler.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.handler.js +4 -2
- package/lib/cli/show/logname/Logname.handler.js.map +1 -1
- package/lib/cli/show/parms/Parms.handler.js +4 -3
- package/lib/cli/show/parms/Parms.handler.js.map +1 -1
- package/lib/cli/show/records/Records.definition.d.ts +17 -0
- package/lib/cli/show/records/Records.definition.js +82 -0
- package/lib/cli/show/records/Records.definition.js.map +1 -0
- package/lib/cli/show/records/Records.handler.d.ts +5 -0
- package/lib/cli/show/records/Records.handler.js +67 -0
- package/lib/cli/show/records/Records.handler.js.map +1 -0
- package/lib/cli/show/ruleset/Ruleset.handler.js +8 -2
- package/lib/cli/show/ruleset/Ruleset.handler.js.map +1 -1
- package/lib/cli/show/status/Status.handler.js +4 -2
- package/lib/cli/show/status/Status.handler.js.map +1 -1
- package/lib/cli/show/subsystem/Subsystem.handler.js +4 -2
- package/lib/cli/show/subsystem/Subsystem.handler.js.map +1 -1
- package/lib/cli/show/table/Table.handler.js +8 -2
- package/lib/cli/show/table/Table.handler.js.map +1 -1
- package/lib/healthCheck.handler.js +0 -1
- package/lib/healthCheck.handler.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/package.json +4 -4
- package/imgs/zowe-conformant-v1.png +0 -0
- package/imgs/zowe-conformant-zowev2-cli-color.png +0 -0
- package/imgs/zowe-conformant-zowev3-cli-color.png +0 -0
package/lib/api/Show.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2025 Broadcom. All Rights Reserved. The term
|
|
4
4
|
* "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
5
5
|
*
|
|
6
6
|
* This software and all information contained therein is
|
|
@@ -31,7 +31,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
31
31
|
});
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
-
exports.
|
|
34
|
+
exports.showRecords = exports.showSSMParms = exports.showTable = exports.showSubsystem = exports.showLogname = exports.showStatus = exports.showRuleset = exports.showResource = exports.showRule = void 0;
|
|
35
35
|
const utils_1 = require("./utils");
|
|
36
36
|
const constants_1 = require("./constants");
|
|
37
37
|
const OpsRestClient_1 = require("./utils/OpsRestClient");
|
|
@@ -49,100 +49,102 @@ function showResource(session, resourceName, restApi, table, subsystem) {
|
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
exports.showResource = showResource;
|
|
52
|
-
function showRuleset(session,
|
|
52
|
+
function showRuleset(session, body) {
|
|
53
53
|
return __awaiter(this, void 0, void 0, function* () {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, rulesetUrl, constants_1.OpsConstants.headers);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
/* istanbul ignore next */
|
|
60
|
-
// Display message indicating 'show ruleset' not supported with web services
|
|
61
|
-
params.response.console.log("Command 'show ruleset' is only supported with the OPS/MVS REST API server");
|
|
62
|
-
}
|
|
63
|
-
/* istanbul ignore next */
|
|
64
|
-
return null; // exclude from code coverage
|
|
54
|
+
const rulesetUrl = utils_1.RulesetUtils.getRulesetURL(session, body.ruleSetName, body.subSystem);
|
|
55
|
+
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, rulesetUrl, constants_1.OpsConstants.headers);
|
|
65
56
|
});
|
|
66
57
|
}
|
|
67
58
|
exports.showRuleset = showRuleset;
|
|
68
|
-
|
|
59
|
+
/**
|
|
60
|
+
* returns system status
|
|
61
|
+
*
|
|
62
|
+
* @export
|
|
63
|
+
* @param {Session} session
|
|
64
|
+
* @return {*} {Promise<IShowStatusResponse>}
|
|
65
|
+
*/
|
|
66
|
+
function showStatus(session) {
|
|
69
67
|
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, statusUrl, constants_1.OpsConstants.headers);
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
/* istanbul ignore next */
|
|
76
|
-
// Display message indicating 'show status' not supported with web services
|
|
77
|
-
params.response.console.log("Command 'show status' is only supported with the OPS/MVS REST API server");
|
|
78
|
-
}
|
|
79
|
-
/* istanbul ignore next */
|
|
80
|
-
return null; // avoid code smell
|
|
68
|
+
const statusUrl = utils_1.StatusUtils.getStatusURL(session);
|
|
69
|
+
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, statusUrl, constants_1.OpsConstants.headers);
|
|
81
70
|
});
|
|
82
71
|
}
|
|
83
72
|
exports.showStatus = showStatus;
|
|
84
|
-
|
|
73
|
+
/**
|
|
74
|
+
* returns list of opslog names
|
|
75
|
+
*
|
|
76
|
+
* @export
|
|
77
|
+
* @param {Session} session
|
|
78
|
+
* @param {string} subSystem
|
|
79
|
+
* @return {*} {Promise<IShowLognameResponse>}
|
|
80
|
+
*/
|
|
81
|
+
function showLogname(session, subSystem) {
|
|
85
82
|
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, logUrl, constants_1.OpsConstants.headers);
|
|
89
|
-
}
|
|
90
|
-
else {
|
|
91
|
-
/* istanbul ignore next */
|
|
92
|
-
// Display message indicating 'show log' not supported with web services
|
|
93
|
-
params.response.console.log("Command 'show logname' is only supported with the OPS/MVS REST API server");
|
|
94
|
-
}
|
|
95
|
-
/* istanbul ignore next */
|
|
96
|
-
return null; // avoid code smell
|
|
83
|
+
const logUrl = utils_1.LognameUtils.getLogURL(session, subSystem);
|
|
84
|
+
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, logUrl, constants_1.OpsConstants.headers);
|
|
97
85
|
});
|
|
98
86
|
}
|
|
99
87
|
exports.showLogname = showLogname;
|
|
100
|
-
|
|
88
|
+
/**
|
|
89
|
+
* returns list of subsytems
|
|
90
|
+
*
|
|
91
|
+
* @export
|
|
92
|
+
* @param {Session} session
|
|
93
|
+
* @return {*} {Promise<IShowSubsystemResponse>}
|
|
94
|
+
*/
|
|
95
|
+
function showSubsystem(session) {
|
|
101
96
|
return __awaiter(this, void 0, void 0, function* () {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, subsystemsURL, constants_1.OpsConstants.headers);
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
/* istanbul ignore next */
|
|
108
|
-
// Display message indicating 'show log' not supported with web services
|
|
109
|
-
params.response.console.log("Command 'show subsystem' is only supported with the OPS/MVS REST API server");
|
|
110
|
-
}
|
|
111
|
-
/* istanbul ignore next */
|
|
112
|
-
return null; // avoid code smell
|
|
97
|
+
const subsystemsURL = utils_1.SubsystemsUtils.getSubsystemsURL(session);
|
|
98
|
+
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, subsystemsURL, constants_1.OpsConstants.headers);
|
|
113
99
|
});
|
|
114
100
|
}
|
|
115
101
|
exports.showSubsystem = showSubsystem;
|
|
116
|
-
|
|
102
|
+
/**
|
|
103
|
+
* returns a list of rdf tables that match request
|
|
104
|
+
*
|
|
105
|
+
* @export
|
|
106
|
+
* @param {Session} session
|
|
107
|
+
* @param {string} subSystem
|
|
108
|
+
* @param {string} table
|
|
109
|
+
* @param {IHandlerParameters} params
|
|
110
|
+
* @return {*} {Promise<IShowLognameResponse>}
|
|
111
|
+
*/
|
|
112
|
+
function showTable(session, body) {
|
|
117
113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, tableUrl, constants_1.OpsConstants.headers);
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
/* istanbul ignore next */
|
|
124
|
-
// Display message indicating 'show log' not supported with web services
|
|
125
|
-
params.response.console.log("Command 'show table' is only supported with the OPS/MVS REST API server");
|
|
126
|
-
}
|
|
127
|
-
/* istanbul ignore next */
|
|
128
|
-
return null; // avoid code smell
|
|
114
|
+
const tableUrl = utils_1.TableUtils.getTableURL(session, body);
|
|
115
|
+
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, tableUrl, constants_1.OpsConstants.headers);
|
|
129
116
|
});
|
|
130
117
|
}
|
|
131
118
|
exports.showTable = showTable;
|
|
132
|
-
|
|
119
|
+
/**
|
|
120
|
+
* returns a list of SSM parms
|
|
121
|
+
*
|
|
122
|
+
* @export
|
|
123
|
+
* @param {Session} session
|
|
124
|
+
* @param {string} subSystem
|
|
125
|
+
* @return {*} {Promise<IShowLognameResponse>}
|
|
126
|
+
*/
|
|
127
|
+
function showSSMParms(session, subSystem) {
|
|
128
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
129
|
+
const parmsUrl = utils_1.ParmsUtils.getParmsURL(session, subSystem);
|
|
130
|
+
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, parmsUrl, constants_1.OpsConstants.headers);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
exports.showSSMParms = showSSMParms;
|
|
134
|
+
/**
|
|
135
|
+
* returns a list of OPSLOG records
|
|
136
|
+
*
|
|
137
|
+
* @export
|
|
138
|
+
* @param {Session} session
|
|
139
|
+
* @param {IShowRecordsCommandBody} body
|
|
140
|
+
* @param {string} subSystem
|
|
141
|
+
* @return {*} {Promise<IShowRecordsResponse>}
|
|
142
|
+
*/
|
|
143
|
+
function showRecords(session, body, subSystem) {
|
|
133
144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
return OpsRestClient_1.OpsRestClient.getExpectJSON(session, parmsUrl, constants_1.OpsConstants.headers);
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
/* istanbul ignore next */
|
|
140
|
-
// Display message indicating 'show log' not supported with web services
|
|
141
|
-
params.response.console.log("Command 'show parms' is only supported with the OPS/MVS REST API server");
|
|
142
|
-
}
|
|
143
|
-
/* istanbul ignore next */
|
|
144
|
-
return null; // avoid code smell
|
|
145
|
+
const recordsUrl = utils_1.RecordsUtils.getRecordsURL(session, body, subSystem);
|
|
146
|
+
return OpsRestClient_1.OpsRestClient.postExpectJSON(session, recordsUrl, constants_1.OpsConstants.headers);
|
|
145
147
|
});
|
|
146
148
|
}
|
|
147
|
-
exports.
|
|
149
|
+
exports.showRecords = showRecords;
|
|
148
150
|
//# sourceMappingURL=Show.js.map
|
package/lib/api/Show.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Show.js","sourceRoot":"","sources":["../../src/api/Show.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;AAGH,
|
|
1
|
+
{"version":3,"file":"Show.js","sourceRoot":"","sources":["../../src/api/Show.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;AAGH,mCAUiB;AACjB,2CAA2C;AAU3C,yDAAsD;AAKtD,SAAsB,QAAQ,CAC5B,OAAgB,EAChB,WAAmB,EACnB,QAAgB,EAChB,OAAgB,EAChB,SAAiB;;QAEjB,MAAM,OAAO,GAAG,iBAAS,CAAC,UAAU,CAClC,OAAO,EACP,WAAW,EACX,QAAQ,EACR,OAAO,EACP,SAAS,CACV,CAAC;QACF,OAAO,6BAAa,CAAC,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,wBAAY,CAAC,OAAO,CAAC,CAAC;IAC7E,CAAC;CAAA;AAfD,4BAeC;AAED,SAAsB,YAAY,CAChC,OAAgB,EAChB,YAAoB,EACpB,OAAgB,EAChB,KAAa,EACb,SAAiB;;QAEjB,MAAM,WAAW,GAAG,wBAAgB,CAAC,cAAc,CACjD,OAAO,EACP,YAAY,EACZ,OAAO,EACP,KAAK,EACL,SAAS,CACV,CAAC;QACF,OAAO,6BAAa,CAAC,aAAa,CAChC,OAAO,EACP,WAAW,EACX,wBAAY,CAAC,OAAO,CACrB,CAAC;IACJ,CAAC;CAAA;AAnBD,oCAmBC;AAED,SAAsB,WAAW,CAC/B,OAAgB,EAChB,IAAgD;;QAE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A;AAND,8BAMC;AAED;;;;;;;GAOG;AACH,SAAsB,YAAY,CAChC,OAAgB,EAChB,SAAiB;;QAEf,MAAM,QAAQ,GAAG,kBAAU,CAAC,WAAW,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAC5D,OAAO,6BAAa,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,wBAAY,CAAC,OAAO,CAAC,CAAC;IAChF,CAAC;CAAA;AAND,oCAMC;AAGD;;;;;;;;GAQG;AACH,SAAsB,WAAW,CAC/B,OAAgB,EAChB,IAA6B,EAC7B,SAAiB;;QAEf,MAAM,UAAU,GAAG,oBAAY,CAAC,aAAa,CAAC,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;QACxE,OAAO,6BAAa,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE,wBAAY,CAAC,OAAO,CAAC,CAAC;IACnF,CAAC;CAAA;AAPD,kCAOC"}
|
package/lib/api/Update.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Session } from "@zowe/imperative";
|
|
2
|
-
export declare function updateRule(session: Session, ruleSetName: string, ruleName: string, newStatus: string,
|
|
3
|
-
restApi: boolean, subSystem?: string): Promise<{}>;
|
|
2
|
+
export declare function updateRule(session: Session, ruleSetName: string, ruleName: string, newStatus: string, restApi: boolean, subSystem?: string): Promise<{}>;
|
|
4
3
|
/**
|
|
5
4
|
* updateResource
|
|
6
5
|
*/
|
|
7
|
-
export declare function updateResource(session: Session, resource: string, restApi: boolean, desiredState: string, subsystem?: string,
|
|
8
|
-
table?: string, wait?: number): Promise<{}>;
|
|
6
|
+
export declare function updateResource(session: Session, resource: string, restApi: boolean, desiredState: string, subsystem?: string, table?: string, wait?: number): Promise<{}>;
|
package/lib/api/Update.js
CHANGED
|
@@ -38,8 +38,7 @@ const utils_1 = require("./utils");
|
|
|
38
38
|
const ResourceParameterDefinitions_1 = require("../cli/ResourceParameterDefinitions");
|
|
39
39
|
const Show_1 = require("./Show");
|
|
40
40
|
const OpsRestClient_1 = require("./utils/OpsRestClient");
|
|
41
|
-
function updateRule(session, ruleSetName, ruleName, newStatus,
|
|
42
|
-
restApi, subSystem) {
|
|
41
|
+
function updateRule(session, ruleSetName, ruleName, newStatus, restApi, subSystem) {
|
|
43
42
|
return __awaiter(this, void 0, void 0, function* () {
|
|
44
43
|
const ruleUrl = utils_1.RuleUtils.getRuleURL(session, ruleSetName, ruleName, restApi, subSystem);
|
|
45
44
|
const body = {
|
|
@@ -57,8 +56,7 @@ exports.updateRule = updateRule;
|
|
|
57
56
|
/**
|
|
58
57
|
* updateResource
|
|
59
58
|
*/
|
|
60
|
-
function updateResource(session, resource, restApi, desiredState, subsystem,
|
|
61
|
-
table, wait) {
|
|
59
|
+
function updateResource(session, resource, restApi, desiredState, subsystem, table, wait) {
|
|
62
60
|
return __awaiter(this, void 0, void 0, function* () {
|
|
63
61
|
if (wait != null) {
|
|
64
62
|
imperative_1.ImperativeExpect.toBeEqual(wait > 0 && wait <= ResourceParameterDefinitions_1.ResourceParameterDefinitions.ONE_DAY, true, `Wait value must be between 0 and ${ResourceParameterDefinitions_1.ResourceParameterDefinitions.ONE_DAY} (inclusive), if specified. You specified: ${wait}`);
|
|
@@ -87,8 +85,7 @@ table, wait) {
|
|
|
87
85
|
});
|
|
88
86
|
}
|
|
89
87
|
exports.updateResource = updateResource;
|
|
90
|
-
function processWait(response, session, resource$desiredState, restApi, subsystem,
|
|
91
|
-
table, wait) {
|
|
88
|
+
function processWait(response, session, resource$desiredState, restApi, subsystem, table, wait) {
|
|
92
89
|
return __awaiter(this, void 0, void 0, function* () {
|
|
93
90
|
// we are waiting, so set up the polling to determine if current = desired state
|
|
94
91
|
// did we happen to instantly start/ stop the resource the first time? check
|
|
@@ -104,7 +101,6 @@ table, wait) {
|
|
|
104
101
|
currentState = response.currentState;
|
|
105
102
|
}
|
|
106
103
|
else {
|
|
107
|
-
/* istanbul ignore if */
|
|
108
104
|
if (response.ssmresource[0].current.toUpperCase() === desiredState.toUpperCase()) {
|
|
109
105
|
return response;
|
|
110
106
|
}
|
|
@@ -124,11 +120,10 @@ table, wait) {
|
|
|
124
120
|
else {
|
|
125
121
|
currentState = pollResponse.ssmresource[0].current;
|
|
126
122
|
}
|
|
127
|
-
/* istanbul ignore if */
|
|
128
123
|
if (currentState.toUpperCase() === desiredState.toUpperCase()) {
|
|
129
124
|
// successfully waited until the desired state equaled the current state
|
|
130
125
|
return pollResponse;
|
|
131
|
-
}
|
|
126
|
+
}
|
|
132
127
|
else {
|
|
133
128
|
// no match, poll again after (at least) one second
|
|
134
129
|
yield new Promise((resolve) => {
|
package/lib/api/Update.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../src/api/Update.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;AAEH,iDAA8E;AAC9E,2CAA2C;AAC3C,mCAAsD;AACtD,sFAAmF;AACnF,iCAAsC;AACtC,yDAAsD;AAEtD,SAAsB,UAAU,CAAC,OAAgB,EAAE,WAAmB,EACrC,QAAgB,EAAE,SAAiB,
|
|
1
|
+
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../src/api/Update.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;AAEH,iDAA8E;AAC9E,2CAA2C;AAC3C,mCAAsD;AACtD,sFAAmF;AACnF,iCAAsC;AACtC,yDAAsD;AAEtD,SAAsB,UAAU,CAAC,OAAgB,EAAE,WAAmB,EACrC,QAAgB,EAAE,SAAiB,EACnC,OAAgB,EAAE,SAAkB;;QAEjE,MAAM,OAAO,GAAG,iBAAS,CAAC,UAAU,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;QACzF,MAAM,IAAI,GAAG;YACT,MAAM,EAAE,SAAS;SACpB,CAAC;QAEF,IAA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AAG,UAAU,CAAC,GAAG,IAAI,EAAE;YACzD,YAAY,GAAG,MAAM,IAAA,mBAAY,EAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;YAChF,IAAI,OAAO,EAAE;gBACT,YAAY,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC;aAC/C;iBAAM;gBACH,YAAY,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;aACtD;YACD,IAAI,YAAY,CAAC,WAAW,EAAE,KAAK,YAAY,CAAC,WAAW,EAAE,EAAE;gBAC3D,wEAAwE;gBACxE,OAAO,YAAY,CAAC;aACvB;iBACI;gBACD,mDAAmD;gBACnD,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;oBAC1B,UAAU,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;gBACpC,CAAC,CAAC,CAAC;aACN;SACJ;QAED,4CAA4C;QAC5C,MAAM,IAAI,4BAAe,CAAC;YACtB,GAAG,EAAE,8BAA8B,IAAI,UAAU,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,qCAAqC;gBACrG,iBAAiB,QAAQ,cAAc,YAAY,GAAG;SAC7D,CAAC,CAAC;IACP,CAAC;CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface IExecuteCommandCommandBody {
|
|
2
|
+
command?: string;
|
|
3
|
+
bmpCmdOut?: string;
|
|
4
|
+
capture?: string;
|
|
5
|
+
cart?: string;
|
|
6
|
+
cmdEcho?: string;
|
|
7
|
+
cmdLog?: string;
|
|
8
|
+
cmdWait?: string;
|
|
9
|
+
conName?: string;
|
|
10
|
+
conType?: string;
|
|
11
|
+
imsId?: string;
|
|
12
|
+
imsPlex?: string;
|
|
13
|
+
imsReply?: string;
|
|
14
|
+
interval?: string;
|
|
15
|
+
localOnly?: string;
|
|
16
|
+
log?: string;
|
|
17
|
+
maxCmdOut?: string;
|
|
18
|
+
output?: string;
|
|
19
|
+
stopEnd?: string;
|
|
20
|
+
stopMsg?: string;
|
|
21
|
+
stopResp?: string;
|
|
22
|
+
debug?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
//# sourceMappingURL=IExecuteCommandCommandBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IExecuteCommandCommandBody.js","sourceRoot":"","sources":["../../../src/api/doc/IExecuteCommandCommandBody.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface IShowRecordsCommandBody {
|
|
2
|
+
resourceName?: string;
|
|
3
|
+
table?: string;
|
|
4
|
+
logName?: string;
|
|
5
|
+
findString?: string;
|
|
6
|
+
findDirection?: string;
|
|
7
|
+
findColumnName?: string;
|
|
8
|
+
findMaxEvents?: string;
|
|
9
|
+
findRangeStart?: string;
|
|
10
|
+
findRangeEnd?: string;
|
|
11
|
+
findStringIsPrefix?: string;
|
|
12
|
+
maxRecords?: string;
|
|
13
|
+
direction?: string;
|
|
14
|
+
msgNoStart?: string;
|
|
15
|
+
utcStartTime?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2025 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
|
+
//# sourceMappingURL=IShowRecordsCommandBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IShowRecordsCommandBody.js","sourceRoot":"","sources":["../../../src/api/doc/IShowRecordsCommandBody.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export interface IShowRecordsResponse {
|
|
2
|
+
returnCode: string;
|
|
3
|
+
count: string;
|
|
4
|
+
sub: string;
|
|
5
|
+
logName: string;
|
|
6
|
+
records: IRecord[];
|
|
7
|
+
}
|
|
8
|
+
export interface IRecord {
|
|
9
|
+
address: string;
|
|
10
|
+
aFlags: string;
|
|
11
|
+
aofDisposition: string;
|
|
12
|
+
asid: string;
|
|
13
|
+
autoToken: string;
|
|
14
|
+
autoTokenHex: string;
|
|
15
|
+
color: string;
|
|
16
|
+
conId: string;
|
|
17
|
+
consName: string;
|
|
18
|
+
count: string;
|
|
19
|
+
descCodes: string;
|
|
20
|
+
elapsed: string;
|
|
21
|
+
event: string;
|
|
22
|
+
exitType: string;
|
|
23
|
+
extConId: string;
|
|
24
|
+
flags: string;
|
|
25
|
+
imsId: string;
|
|
26
|
+
imsType: string;
|
|
27
|
+
jes3Class: string;
|
|
28
|
+
jes3Dsp: string;
|
|
29
|
+
jobId: string;
|
|
30
|
+
jobName: string;
|
|
31
|
+
jobNm: string;
|
|
32
|
+
length: string;
|
|
33
|
+
msfDest: string;
|
|
34
|
+
msfId: string;
|
|
35
|
+
msgId: string;
|
|
36
|
+
msgNo: string;
|
|
37
|
+
originalJobName: string;
|
|
38
|
+
opsFlags: string;
|
|
39
|
+
release: string;
|
|
40
|
+
routeCodes: string;
|
|
41
|
+
ruleset: string;
|
|
42
|
+
special: string;
|
|
43
|
+
sysId: string;
|
|
44
|
+
sysName: string;
|
|
45
|
+
termName: string;
|
|
46
|
+
text: string;
|
|
47
|
+
textAttrib: string;
|
|
48
|
+
timestamp: string;
|
|
49
|
+
token: string;
|
|
50
|
+
user: string;
|
|
51
|
+
userHex: string;
|
|
52
|
+
userId: string;
|
|
53
|
+
utcTime: string;
|
|
54
|
+
wtoId: string;
|
|
55
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2025 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
|
+
//# sourceMappingURL=IShowRecordsResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IShowRecordsResponse.js","sourceRoot":"","sources":["../../../src/api/doc/IShowRecordsResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
//# sourceMappingURL=IShowTableResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IShowTableResponse.js","sourceRoot":"","sources":["../../../src/api/doc/IShowTableResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG"}
|
package/lib/api/doc/index.d.ts
CHANGED
package/lib/api/doc/index.js
CHANGED
|
@@ -44,4 +44,5 @@ __exportStar(require("./IShowRuleResponse"), exports);
|
|
|
44
44
|
__exportStar(require("./IShowRulesetResponse"), exports);
|
|
45
45
|
__exportStar(require("./IShowStatusResponse"), exports);
|
|
46
46
|
__exportStar(require("./IShowSubsystemsResponse"), exports);
|
|
47
|
+
__exportStar(require("./IShowRecordsResponse"), exports);
|
|
47
48
|
//# sourceMappingURL=index.js.map
|
package/lib/api/doc/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/doc/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;;;;;AAEH,4DAA0C;AAC1C,yDAAuC;AACvC,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,wDAAsC;AACtC,4DAA0C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/doc/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;;;;;;AAEH,4DAA0C;AAC1C,yDAAuC;AACvC,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,yDAAuC;AACvC,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC"}
|
|
@@ -31,7 +31,12 @@ class CommandListUtils {
|
|
|
31
31
|
// Response from REST API server
|
|
32
32
|
if (params.arguments.format.toUpperCase() === constants_1.OpsConstants.CSV) {
|
|
33
33
|
let outputLength;
|
|
34
|
-
|
|
34
|
+
if (commandList.output.length >= 1) {
|
|
35
|
+
outputLength = commandList.output.length;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
outputLength = 1;
|
|
39
|
+
}
|
|
35
40
|
output = `${CommandListUtils.formatCsvHeaderResponse(commandList.arg, outputLength)}`;
|
|
36
41
|
output = `${output}\n${CommandListUtils.formatCsvDataResponse(commandList)}`;
|
|
37
42
|
}
|
|
@@ -108,8 +113,8 @@ class CommandListUtils {
|
|
|
108
113
|
let output = `"${commandList.command}",`;
|
|
109
114
|
output += `"${commandList.subsystem}"`;
|
|
110
115
|
if (commandList.output !== undefined) {
|
|
111
|
-
for (
|
|
112
|
-
output += `,"${
|
|
116
|
+
for (const line of commandList.output) {
|
|
117
|
+
output += `,"${line}"`;
|
|
113
118
|
}
|
|
114
119
|
}
|
|
115
120
|
return output;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandListUtils.js","sourceRoot":"","sources":["../../../src/api/utils/CommandListUtils.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,4CAA4C;AAC5C,iDAA8C;AAE9C,MAAa,gBAAgB;IAElB,MAAM,CAAC,2BAA2B,CAAC,WAAgB,EAAE,MAA0B;QAElF,IAAI,MAAM,CAAC;QAEX,gCAAgC;QAChC,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW,E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C;QACzC,MAAM,IAAG,IAAI,WAAW,CAAC,SAAS,GAAG,CAAC;QACtC,IAAI,WAAW,CAAC,MAAM,KAAK,SAAS,EACpC;YACI,KAAK,MAAM,IAAI,IAAI,WAAW,CAAC,MAAM,EAAE;gBACnC,MAAM,IAAG,KAAK,IAAI,GAAG,CAAC;aACzB;SACJ;QAED,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AA1GD,4CA0GC"}
|
|
@@ -77,7 +77,6 @@ class LognameListUtils {
|
|
|
77
77
|
}
|
|
78
78
|
static formatNameValueColorHeaderLogResponse(logList, subsystem) {
|
|
79
79
|
const name = OpsTextUtils_1.OpsTextUtils.colorizeAttention("name: ");
|
|
80
|
-
// eslint-disable-next-line max-len
|
|
81
80
|
return `${name}${logList.sysplexName}/${logList.systemName}/${subsystem}\n`;
|
|
82
81
|
}
|
|
83
82
|
static formatNameValueColorLogResponse(logList) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LognameListUtils.js","sourceRoot":"","sources":["../../../src/api/utils/LognameListUtils.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,4CAA4C;AAC5C,iDAA4C;AAE5C,MAAa,gBAAgB;IAElB,MAAM,CAAC,oBAAoB,CAAC,OAAY,EAAE,MAA0B;QAEvE,IAAI,MAAM,GAAG,EAAE,CAAC;QAEhB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YAEhC,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAC,4BAA4B,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;SAChG;QACD,iBAAiB;QACjB,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,WA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EM,MAAM,CAAC,sBAAsB,CAAC,OAAY,EAAE,SAAiB;QAChE,IAAI,MAAM,GAAG,GAAG,CAAC;QAEjB,MAAM,GAAG,MAAM,GAAG,YAAY,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,UAAU,IAAI,SAAS,KAAK,CAAC;QAC1F,MAAM,GAAG,MAAM,GAAG,eAAe,OAAO,CAAC,OAAO,KAAK,CAAC;QACtD,MAAM,GAAG,MAAM,GAAG,YAAY,OAAO,CAAC,IAAI,GAAG,CAAC;QAC9C,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC;QAEtB,OAAO,MAAM,CAAC;IAClB,CAAC;IAEM,MAAM,CAAC,uBAAuB;QACjC,OAAO,mBAAmB,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,qBAAqB,CAAC,OAAY,EAAE,SAAiB;QAE/D,OAAO,IAAI,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,UAAU,IAAI,SAAS,MAAM,OAAO,CAAC,OAAO,MAAM,OAAO,CAAC,IAAI,GAAG,CAAC;IAChH,CAAC;CACJ;AA3FD,4CA2FC"}
|
|
@@ -29,7 +29,6 @@ class OpsRestClient extends imperative_1.RestClient {
|
|
|
29
29
|
* Use the Zowe logger instead of the imperative logger
|
|
30
30
|
* @type {Logger}
|
|
31
31
|
*/
|
|
32
|
-
/* istanbul ignore next */
|
|
33
32
|
get log() {
|
|
34
33
|
return imperative_1.Logger.getAppLogger();
|
|
35
34
|
}
|
|
@@ -39,7 +38,6 @@ class OpsRestClient extends imperative_1.RestClient {
|
|
|
39
38
|
* @returns {IImperativeError} - the processed error with details added
|
|
40
39
|
* @memberof ZosmfRestClient
|
|
41
40
|
*/
|
|
42
|
-
/* istanbul ignore next */
|
|
43
41
|
processError(original) {
|
|
44
42
|
original.msg = "OPS REST API Error:\n" + original.msg;
|
|
45
43
|
let details = original.causeErrors;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpsRestClient.js","sourceRoot":"","sources":["../../../src/api/utils/OpsRestClient.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAEH,iDAAmF;AAEnF,MAAa,aAAc,SAAQ,uBAAU;IACzC;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"OpsRestClient.js","sourceRoot":"","sources":["../../../src/api/utils/OpsRestClient.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAEH,iDAAmF;AAEnF,MAAa,aAAc,SAAQ,uBAAU;IACzC;;;OAGG;IACH,IAAW,GAAG;QACV,OAAO,mBAAM,CAAC,YAAY,EAAE,CAAC;IACjC,CAAC;IAED;;;;;OAKG;IACO,YAAY,CAAC,QAA0B;QAC7C,QAAQ,CAAC,GAAG,GAAG,uBAAuB,GAAG,QAAQ,CAAC,GAAG,CAAC;QACtD,IAAI,OAAO,GAAG,QAAQ,CAAC,WAAW,CAAC;QACnC,IAAI;YACA,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YACjC,4EAA4E;YAC5E,kCAAkC;YAClC,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,+CAA+C;oBAC1D,wDAAwD,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;gBACpF,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,mFAAmF,CAAC,CAAC;gBACpG,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,yBAAyB;aAC/C;YAED,uEAAuE;YACvE,OAAO,GAAG,sBAAS,CAAC,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;SAC1D;QAAC,OAAO,CAAC,EAAE;YACR,wDAAwD;YACxD,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,mGAAmG,CAAC,CAAC;SACvH;QACD,QAAQ,CAAC,GAAG,IAAI,IAAI,GAAG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