@zowe/cics-for-zowe-sdk 6.2.4 → 6.3.3
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/lib/constants/CicsCmci.constants.d.ts +29 -0
- package/lib/constants/CicsCmci.constants.js +42 -1
- package/lib/constants/CicsCmci.constants.js.map +1 -1
- package/lib/doc/ICMCIRequestOptions.d.ts +21 -0
- package/lib/doc/ICMCIRequestOptions.js +13 -0
- package/lib/doc/ICMCIRequestOptions.js.map +1 -0
- package/lib/doc/index.d.ts +1 -0
- package/lib/doc/index.js +1 -0
- package/lib/doc/index.js.map +1 -1
- package/lib/methods/cache/Cache.d.ts +2 -1
- package/lib/methods/cache/Cache.js +2 -2
- package/lib/methods/cache/Cache.js.map +1 -1
- package/lib/methods/get/Get.d.ts +2 -1
- package/lib/methods/get/Get.js +2 -2
- package/lib/methods/get/Get.js.map +1 -1
- package/lib/rest/CicsCmciRestClient.d.ts +3 -2
- package/lib/rest/CicsCmciRestClient.js +23 -12
- package/lib/rest/CicsCmciRestClient.js.map +1 -1
- package/lib/rest/CicsCmciRestError.d.ts +21 -0
- package/lib/rest/CicsCmciRestError.js +36 -0
- package/lib/rest/CicsCmciRestError.js.map +1 -0
- package/lib/rest/index.d.ts +1 -0
- package/lib/rest/index.js +1 -0
- package/lib/rest/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -41,6 +41,10 @@ export declare const CicsCmciConstants: {
|
|
|
41
41
|
*/
|
|
42
42
|
CICS_DEFINITION_WEBSERVICE: string;
|
|
43
43
|
CICS_URIMAP: string;
|
|
44
|
+
CICS_CMCI_REGION_GROUP: string;
|
|
45
|
+
CICS_CMCI_CICS_PLEX: string;
|
|
46
|
+
CICS_CMCI_MANAGED_REGION: string;
|
|
47
|
+
CICS_CMCI_REGION: string;
|
|
44
48
|
/**
|
|
45
49
|
* Specifies the required part of the REST interface URI to access CSD Group definitions
|
|
46
50
|
*/
|
|
@@ -101,4 +105,29 @@ export declare const CicsCmciConstants: {
|
|
|
101
105
|
* CICSTask parameter
|
|
102
106
|
*/
|
|
103
107
|
CICS_CMCI_TASK: string;
|
|
108
|
+
/**
|
|
109
|
+
* CICS CMCI Response 1 Codes
|
|
110
|
+
*/
|
|
111
|
+
RESPONSE_1_CODES: {
|
|
112
|
+
/**
|
|
113
|
+
* CMCI RESP 1 Code for OK
|
|
114
|
+
*/
|
|
115
|
+
OK: number;
|
|
116
|
+
/**
|
|
117
|
+
* CMCI RESP 1 Code for NODATA
|
|
118
|
+
*/
|
|
119
|
+
NODATA: number;
|
|
120
|
+
/**
|
|
121
|
+
* CMCI RESP 1 Code for INVALIDPARM
|
|
122
|
+
*/
|
|
123
|
+
INVALIDPARM: number;
|
|
124
|
+
/**
|
|
125
|
+
* CMCI RESP 1 Code for NOTAVAILABLE
|
|
126
|
+
*/
|
|
127
|
+
NOTAVAILABLE: number;
|
|
128
|
+
/**
|
|
129
|
+
* CMCI RESP 1 Code for INVALIDDATA
|
|
130
|
+
*/
|
|
131
|
+
INVALIDDATA: number;
|
|
132
|
+
};
|
|
104
133
|
};
|
|
@@ -47,6 +47,22 @@ exports.CicsCmciConstants = {
|
|
|
47
47
|
* Specifies the required part of the REST interface URI to access URIMaps
|
|
48
48
|
*/
|
|
49
49
|
CICS_URIMAP: "CICSURIMap",
|
|
50
|
+
/*
|
|
51
|
+
* Specifies the required part of the REST interface URI to access Region Groups
|
|
52
|
+
*/
|
|
53
|
+
CICS_CMCI_REGION_GROUP: "CICSRegionGroup",
|
|
54
|
+
/*
|
|
55
|
+
* Specifies the required part of the REST interface URI to access CICS Plexes
|
|
56
|
+
*/
|
|
57
|
+
CICS_CMCI_CICS_PLEX: "CICSCICSPlex",
|
|
58
|
+
/*
|
|
59
|
+
* Specifies the required part of the REST interface URI to access Managed Regions
|
|
60
|
+
*/
|
|
61
|
+
CICS_CMCI_MANAGED_REGION: "CICSManagedRegion",
|
|
62
|
+
/*
|
|
63
|
+
* Specifies the required part of the REST interface URI to access Regions
|
|
64
|
+
*/
|
|
65
|
+
CICS_CMCI_REGION: "CICSRegion",
|
|
50
66
|
/**
|
|
51
67
|
* Specifies the required part of the REST interface URI to access CSD Group definitions
|
|
52
68
|
*/
|
|
@@ -106,6 +122,31 @@ exports.CicsCmciConstants = {
|
|
|
106
122
|
/**
|
|
107
123
|
* CICSTask parameter
|
|
108
124
|
*/
|
|
109
|
-
CICS_CMCI_TASK: "CICSTask"
|
|
125
|
+
CICS_CMCI_TASK: "CICSTask",
|
|
126
|
+
/**
|
|
127
|
+
* CICS CMCI Response 1 Codes
|
|
128
|
+
*/
|
|
129
|
+
RESPONSE_1_CODES: {
|
|
130
|
+
/**
|
|
131
|
+
* CMCI RESP 1 Code for OK
|
|
132
|
+
*/
|
|
133
|
+
OK: 1024,
|
|
134
|
+
/**
|
|
135
|
+
* CMCI RESP 1 Code for NODATA
|
|
136
|
+
*/
|
|
137
|
+
NODATA: 1027,
|
|
138
|
+
/**
|
|
139
|
+
* CMCI RESP 1 Code for INVALIDPARM
|
|
140
|
+
*/
|
|
141
|
+
INVALIDPARM: 1028,
|
|
142
|
+
/**
|
|
143
|
+
* CMCI RESP 1 Code for NOTAVAILABLE
|
|
144
|
+
*/
|
|
145
|
+
NOTAVAILABLE: 1034,
|
|
146
|
+
/**
|
|
147
|
+
* CMCI RESP 1 Code for INVALIDDATA
|
|
148
|
+
*/
|
|
149
|
+
INVALIDDATA: 1041,
|
|
150
|
+
}
|
|
110
151
|
};
|
|
111
152
|
//# sourceMappingURL=CicsCmci.constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CicsCmci.constants.js","sourceRoot":"","sources":["../../src/constants/CicsCmci.constants.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B;;SAEK;IACL,sBAAsB,EAAE,sBAAsB;IAE9C;;SAEK;IACL,uBAAuB,EAAE,uBAAuB;IAEhD;;SAEK;IAC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and the accompanying materials are made available under the terms of the
|
|
3
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
4
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
5
|
+
*
|
|
6
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
7
|
+
*
|
|
8
|
+
* Copyright Contributors to the Zowe Project.
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
export interface ICMCIRequestOptions {
|
|
12
|
+
/**
|
|
13
|
+
* If False, the request does NOT fail if CMCI gives a NODATA response, indicating 0 results.
|
|
14
|
+
*/
|
|
15
|
+
failOnNoData?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* If True, a new CicsCmciRestError is returned with formatted CMCI response codes.
|
|
18
|
+
* Default value is False to maintain backward compatibility.
|
|
19
|
+
*/
|
|
20
|
+
useCICSCmciRestError?: boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
4
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
5
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
6
|
+
*
|
|
7
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
8
|
+
*
|
|
9
|
+
* Copyright Contributors to the Zowe Project.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
//# sourceMappingURL=ICMCIRequestOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICMCIRequestOptions.js","sourceRoot":"","sources":["../../src/doc/ICMCIRequestOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG"}
|
package/lib/doc/index.d.ts
CHANGED
package/lib/doc/index.js
CHANGED
|
@@ -26,6 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
__exportStar(require("./ICacheParms"), exports);
|
|
28
28
|
__exportStar(require("./ICMCIApiResponse"), exports);
|
|
29
|
+
__exportStar(require("./ICMCIRequestOptions"), exports);
|
|
29
30
|
__exportStar(require("./ICMCIResponseResultSummary"), exports);
|
|
30
31
|
__exportStar(require("./ICSDGroupParms"), exports);
|
|
31
32
|
__exportStar(require("./IProgramParms"), exports);
|
package/lib/doc/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/doc/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,qDAAmC;AACnC,+DAA6C;AAC7C,mDAAiC;AACjC,kDAAgC;AAChC,mDAAiC;AACjC,wDAAsC;AACtC,sDAAoC;AACpC,sDAAoC;AACpC,iDAA+B;AAC/B,qDAAmC;AACnC,2DAAyC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/doc/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,qDAAmC;AACnC,wDAAsC;AACtC,+DAA6C;AAC7C,mDAAiC;AACjC,kDAAgC;AAChC,mDAAiC;AACjC,wDAAsC;AACtC,sDAAoC;AACpC,sDAAoC;AACpC,iDAA+B;AAC/B,qDAAmC;AACnC,2DAAyC"}
|
|
@@ -11,4 +11,5 @@
|
|
|
11
11
|
import { AbstractSession } from "@zowe/imperative";
|
|
12
12
|
import { ICMCIApiResponse } from "../../doc";
|
|
13
13
|
import { ICacheParms } from "../../doc/ICacheParms";
|
|
14
|
-
|
|
14
|
+
import { ICMCIRequestOptions } from "../../doc/ICMCIRequestOptions";
|
|
15
|
+
export declare function getCache(session: AbstractSession, parms: ICacheParms, requestOptions?: ICMCIRequestOptions): Promise<ICMCIApiResponse>;
|
|
@@ -14,7 +14,7 @@ exports.getCache = void 0;
|
|
|
14
14
|
const imperative_1 = require("@zowe/imperative");
|
|
15
15
|
const rest_1 = require("../../rest");
|
|
16
16
|
const utils_1 = require("../../utils");
|
|
17
|
-
async function getCache(session, parms) {
|
|
17
|
+
async function getCache(session, parms, requestOptions) {
|
|
18
18
|
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.cacheToken, "CICS Result Cache Token", "CICS Result Cache Token is required");
|
|
19
19
|
imperative_1.Logger.getAppLogger().debug("Attempting to get cache with the following parameters:\n%s", JSON.stringify(parms));
|
|
20
20
|
const options = {
|
|
@@ -24,7 +24,7 @@ async function getCache(session, parms) {
|
|
|
24
24
|
nodiscard: parms.nodiscard,
|
|
25
25
|
};
|
|
26
26
|
const cmciResource = utils_1.Utils.getCacheUri(parms.cacheToken, options);
|
|
27
|
-
return rest_1.CicsCmciRestClient.getExpectParsedXml(session, cmciResource, []);
|
|
27
|
+
return rest_1.CicsCmciRestClient.getExpectParsedXml(session, cmciResource, [], requestOptions);
|
|
28
28
|
}
|
|
29
29
|
exports.getCache = getCache;
|
|
30
30
|
//# sourceMappingURL=Cache.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cache.js","sourceRoot":"","sources":["../../../src/methods/cache/Cache.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAA6E;AAI7E,qCAAgD;AAChD,uCAAoC;
|
|
1
|
+
{"version":3,"file":"Cache.js","sourceRoot":"","sources":["../../../src/methods/cache/Cache.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAA6E;AAI7E,qCAAgD;AAChD,uCAAoC;AAG7B,KAAK,UAAU,QAAQ,CAAC,OAAwB,EAAE,KAAkB,EAAE,cAAoC;IAC/G,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,EAAE,yBAAyB,EAAE,qCAAqC,CAAC,CAAC;IAC5H,mBAAM,CAAC,YAAY,EAAE,CAAC,KAAK,CAAC,4DAA4D,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAEjH,MAAM,OAAO,GAAsB;QACjC,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,UAAU,EAAE,KAAK,CAAC,UAAU;QAC5B,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,SAAS,EAAE,KAAK,CAAC,SAAS;KAC3B,CAAC;IACF,MAAM,YAAY,GAAG,aAAK,CAAC,WAAW,CAAC,KAAK,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAElE,OAAO,yBAAkB,CAAC,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE,cAAc,CAAC,CAAC;AAC1F,CAAC;AAbD,4BAaC"}
|
package/lib/methods/get/Get.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { AbstractSession } from "@zowe/imperative";
|
|
12
12
|
import { ICMCIApiResponse, IResourceParms } from "../../doc";
|
|
13
|
+
import { ICMCIRequestOptions } from "../../doc/ICMCIRequestOptions";
|
|
13
14
|
/**
|
|
14
15
|
* Get resources on in CICS through CMCI REST API
|
|
15
16
|
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
@@ -20,4 +21,4 @@ import { ICMCIApiResponse, IResourceParms } from "../../doc";
|
|
|
20
21
|
* @throws {ImperativeError} CICS region name not defined or blank
|
|
21
22
|
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
22
23
|
*/
|
|
23
|
-
export declare function getResource(session: AbstractSession, parms: IResourceParms): Promise<ICMCIApiResponse>;
|
|
24
|
+
export declare function getResource(session: AbstractSession, parms: IResourceParms, requestOptions?: ICMCIRequestOptions): Promise<ICMCIApiResponse>;
|
package/lib/methods/get/Get.js
CHANGED
|
@@ -24,7 +24,7 @@ const utils_1 = require("../../utils");
|
|
|
24
24
|
* @throws {ImperativeError} CICS region name not defined or blank
|
|
25
25
|
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
26
26
|
*/
|
|
27
|
-
async function getResource(session, parms) {
|
|
27
|
+
async function getResource(session, parms, requestOptions) {
|
|
28
28
|
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS Resource name", "CICS resource name is required");
|
|
29
29
|
imperative_1.Logger.getAppLogger().debug("Attempting to get resource(s) with the following parameters:\n%s", JSON.stringify(parms));
|
|
30
30
|
const options = {
|
|
@@ -35,7 +35,7 @@ async function getResource(session, parms) {
|
|
|
35
35
|
queryParams: parms.queryParams,
|
|
36
36
|
};
|
|
37
37
|
const cmciResource = utils_1.Utils.getResourceUri(parms.name, options);
|
|
38
|
-
return rest_1.CicsCmciRestClient.getExpectParsedXml(session, cmciResource, []);
|
|
38
|
+
return rest_1.CicsCmciRestClient.getExpectParsedXml(session, cmciResource, [], requestOptions);
|
|
39
39
|
}
|
|
40
40
|
exports.getResource = getResource;
|
|
41
41
|
//# sourceMappingURL=Get.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Get.js","sourceRoot":"","sources":["../../../src/methods/get/Get.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAA6E;
|
|
1
|
+
{"version":3,"file":"Get.js","sourceRoot":"","sources":["../../../src/methods/get/Get.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAA6E;AAG7E,qCAAgD;AAChD,uCAAoC;AAEpC;;;;;;;;;GASG;AACI,KAAK,UAAU,WAAW,CAC/B,OAAwB,EACxB,KAAqB,EACrB,cAAoC;IACpC,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,IAAI,EAAE,oBAAoB,EAAE,gCAAgC,CAAC,CAAC;IAE5G,mBAAM,CAAC,YAAY,EAAE,CAAC,KAAK,CAAC,kEAAkE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAEvH,MAAM,OAAO,GAA2B;QACtC,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,UAAU,EAAE,KAAK,CAAC,UAAU;QAC5B,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,SAAS,EAAE,KAAK,CAAC,SAAS;QAC1B,WAAW,EAAE,KAAK,CAAC,WAAW;KAC/B,CAAC;IAEF,MAAM,YAAY,GAAG,aAAK,CAAC,cAAc,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAE/D,OAAO,yBAAkB,CAAC,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE,cAAc,CAAC,CAAC;AAC1F,CAAC;AAnBD,kCAmBC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { AbstractSession, IImperativeError, RestClient } from "@zowe/imperative";
|
|
12
12
|
import { ICMCIApiResponse } from "../doc/ICMCIApiResponse";
|
|
13
|
+
import { ICMCIRequestOptions } from "../doc/ICMCIRequestOptions";
|
|
13
14
|
/**
|
|
14
15
|
* Wrapper for invoke CICS CMCI API through the RestClient to perform common error
|
|
15
16
|
* handling and checking and resolve promises according to generic types
|
|
@@ -20,7 +21,7 @@ import { ICMCIApiResponse } from "../doc/ICMCIApiResponse";
|
|
|
20
21
|
export declare class CicsCmciRestClient extends RestClient {
|
|
21
22
|
/**
|
|
22
23
|
* If the API request is successful, this value should be in
|
|
23
|
-
*
|
|
24
|
+
* api_response1 in the resultsummary object in the response
|
|
24
25
|
*/
|
|
25
26
|
static readonly CMCI_SUCCESS_RESPONSE_1 = "1024";
|
|
26
27
|
/**
|
|
@@ -43,7 +44,7 @@ export declare class CicsCmciRestClient extends RestClient {
|
|
|
43
44
|
* @returns {Promise<*>} - response body content from http(s) call
|
|
44
45
|
* @throws {ImperativeError} verifyResponseCodes fails
|
|
45
46
|
*/
|
|
46
|
-
static getExpectParsedXml(session: AbstractSession, resource: string, reqHeaders?: any[]): Promise<ICMCIApiResponse>;
|
|
47
|
+
static getExpectParsedXml(session: AbstractSession, resource: string, reqHeaders?: any[], requestOptions?: ICMCIRequestOptions): Promise<ICMCIApiResponse>;
|
|
47
48
|
/**
|
|
48
49
|
* Call the RestClient.deleteExpectString function assuming the response is XML, then return a promise of the JSON representation.
|
|
49
50
|
* @static
|
|
@@ -13,7 +13,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
13
13
|
exports.CicsCmciRestClient = void 0;
|
|
14
14
|
const imperative_1 = require("@zowe/imperative");
|
|
15
15
|
const xml2js_1 = require("xml2js");
|
|
16
|
+
const constants_1 = require("../constants");
|
|
16
17
|
const CicsCmci_messages_1 = require("../constants/CicsCmci.messages");
|
|
18
|
+
const CicsCmciRestError_1 = require("./CicsCmciRestError");
|
|
17
19
|
/**
|
|
18
20
|
* Wrapper for invoke CICS CMCI API through the RestClient to perform common error
|
|
19
21
|
* handling and checking and resolve promises according to generic types
|
|
@@ -24,7 +26,7 @@ const CicsCmci_messages_1 = require("../constants/CicsCmci.messages");
|
|
|
24
26
|
class CicsCmciRestClient extends imperative_1.RestClient {
|
|
25
27
|
/**
|
|
26
28
|
* If the API request is successful, this value should be in
|
|
27
|
-
*
|
|
29
|
+
* api_response1 in the resultsummary object in the response
|
|
28
30
|
*/
|
|
29
31
|
static CMCI_SUCCESS_RESPONSE_1 = "1024";
|
|
30
32
|
/**
|
|
@@ -51,10 +53,15 @@ class CicsCmciRestClient extends imperative_1.RestClient {
|
|
|
51
53
|
* @returns {Promise<*>} - response body content from http(s) call
|
|
52
54
|
* @throws {ImperativeError} verifyResponseCodes fails
|
|
53
55
|
*/
|
|
54
|
-
static async getExpectParsedXml(session, resource, reqHeaders = []) {
|
|
56
|
+
static async getExpectParsedXml(session, resource, reqHeaders = [], requestOptions) {
|
|
55
57
|
const data = await CicsCmciRestClient.getExpectString(session, resource, reqHeaders);
|
|
56
58
|
const apiResponse = CicsCmciRestClient.parseStringSync(data);
|
|
57
|
-
|
|
59
|
+
if (requestOptions?.failOnNoData === false && !apiResponse.response.records) {
|
|
60
|
+
const resourceName = resource.split(`${constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT}/`)[1].split("/")[0].toLowerCase();
|
|
61
|
+
apiResponse.response.records = {};
|
|
62
|
+
apiResponse.response.records[resourceName] = [];
|
|
63
|
+
}
|
|
64
|
+
return CicsCmciRestClient.verifyResponseCodes(apiResponse, requestOptions);
|
|
58
65
|
}
|
|
59
66
|
/**
|
|
60
67
|
* Call the RestClient.deleteExpectString function assuming the response is XML, then return a promise of the JSON representation.
|
|
@@ -162,18 +169,22 @@ class CicsCmciRestClient extends imperative_1.RestClient {
|
|
|
162
169
|
* @returns {ICMCIApiResponse} - the response if it was correct
|
|
163
170
|
* @throws {ImperativeError} request did not get the expected codes
|
|
164
171
|
*/
|
|
165
|
-
static verifyResponseCodes(apiResponse) {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
172
|
+
static verifyResponseCodes(apiResponse, requestOptions) {
|
|
173
|
+
const okResponse1Codes = [
|
|
174
|
+
`${constants_1.CicsCmciConstants.RESPONSE_1_CODES.OK}`,
|
|
175
|
+
];
|
|
176
|
+
if (requestOptions?.failOnNoData === false) {
|
|
177
|
+
okResponse1Codes.push(`${constants_1.CicsCmciConstants.RESPONSE_1_CODES.NODATA}`);
|
|
178
|
+
}
|
|
179
|
+
if (okResponse1Codes.includes(apiResponse.response?.resultsummary?.api_response1)) {
|
|
170
180
|
return apiResponse;
|
|
171
181
|
}
|
|
172
|
-
|
|
173
|
-
throw new
|
|
174
|
-
msg: CicsCmci_messages_1.CicsCmciMessages.cmciRequestFailed.message + "\n" + imperative_1.TextUtils.prettyJson(apiResponse),
|
|
175
|
-
});
|
|
182
|
+
if (requestOptions?.useCICSCmciRestError) {
|
|
183
|
+
throw new CicsCmciRestError_1.CicsCmciRestError(CicsCmci_messages_1.CicsCmciMessages.cmciRequestFailed.message, apiResponse.response.resultsummary);
|
|
176
184
|
}
|
|
185
|
+
throw new imperative_1.ImperativeError({
|
|
186
|
+
msg: CicsCmci_messages_1.CicsCmciMessages.cmciRequestFailed.message + "\n" + imperative_1.TextUtils.prettyJson(apiResponse),
|
|
187
|
+
});
|
|
177
188
|
}
|
|
178
189
|
/**
|
|
179
190
|
* parse an XML string with XML2js
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CicsCmciRestClient.js","sourceRoot":"","sources":["../../src/rest/CicsCmciRestClient.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAAqH;AACrH,mCAAyC;
|
|
1
|
+
{"version":3,"file":"CicsCmciRestClient.js","sourceRoot":"","sources":["../../src/rest/CicsCmciRestClient.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAAqH;AACrH,mCAAyC;AACzC,4CAAiD;AACjD,sEAAkE;AAGlE,2DAAwD;AAExD;;;;;;GAMG;AACH,MAAa,kBAAmB,SAAQ,uBAAU;IAChD;;;SAGK;IACE,MAAM,CAAU,uBAAuB,GAAG,MAAM,CAAC;IAExD;;;OAGG;IACI,MAAM,CAAU,uBAAuB,GAAG,GAAG,CAAC;IAErD;;;;OAIG;IACI,MAAM,CAAC,kBAAkB,CAAC,GAAQ;QACvC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,wDAAwD,EACrE,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAChC,MAAM,OAAO,GAAG,IAAI,gBAAO,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;QAChD,OAAO,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAClC,CAAC;IAED;;;;;;;;OAQG;IACI,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,OAAwB,EAC7D,QAAgB,EAAE,aAAoB,EAAE,EAAE,cAAoC;QAC9E,MAAM,IAAI,GAAG,MAAM,kBAAkB,CAAC,eAAe,CAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;QACrF,MAAM,WAAW,GAAqB,kBAAkB,CAA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AAW,CAAC,GAAG,EAAE,CAAC,GAAQ,EAAE,CAAM,EAAE,EAAE;YAChD,KAAK,GAAG,GAAG,CAAC;YACZ,MAAM,GAAG,CAAC,CAAC;QACb,CAAC,CAAC,CAAC;QACH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAClB,MAAM,KAAK,CAAC;QACd,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;;QAII;IACM,YAAY,CAAC,QAA0B;QAC/C,QAAQ,CAAC,GAAG,GAAG,6BAA6B,GAAG,QAAQ,CAAC,GAAG,CAAC;QAC5D,IAAI,OAAO,GAAG,QAAQ,CAAC,WAAW,CAAC;QACnC,IAAI,CAAC;YACH,MAAM,UAAU,GAAG,kBAAkB,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YAC/D,uEAAuE;YACvE,OAAO,GAAG,sBAAS,CAAC,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;QAC/D,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,wDAAwD;YACxD,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,kGAAkG,CAAC,CAAC;QACrH,CAAC;QACD,QAAQ,CAAC,GAAG,IAAI,IAAI,GAAG,OAAO,CAAC,CAAC,kDAAkD;QAClF,OAAO,QAAQ,CAAC;IAClB,CAAC;;AAlOH,gDAmOC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
3
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
4
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
5
|
+
*
|
|
6
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
7
|
+
*
|
|
8
|
+
* Copyright Contributors to the Zowe Project.
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
import { ImperativeError } from "@zowe/imperative";
|
|
12
|
+
import { ICMCIResponseResultSummary } from "../doc";
|
|
13
|
+
export declare class CicsCmciRestError extends ImperativeError {
|
|
14
|
+
resultSummary: ICMCIResponseResultSummary;
|
|
15
|
+
RESPONSE_1: number;
|
|
16
|
+
RESPONSE_2: number;
|
|
17
|
+
RESPONSE_1_ALT: string;
|
|
18
|
+
RESPONSE_2_ALT: string;
|
|
19
|
+
constructor(msg: string, resultSummary: ICMCIResponseResultSummary);
|
|
20
|
+
parseResultSummary(): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
4
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
5
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
6
|
+
*
|
|
7
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
8
|
+
*
|
|
9
|
+
* Copyright Contributors to the Zowe Project.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.CicsCmciRestError = void 0;
|
|
14
|
+
const imperative_1 = require("@zowe/imperative");
|
|
15
|
+
class CicsCmciRestError extends imperative_1.ImperativeError {
|
|
16
|
+
resultSummary;
|
|
17
|
+
RESPONSE_1;
|
|
18
|
+
RESPONSE_2;
|
|
19
|
+
RESPONSE_1_ALT;
|
|
20
|
+
RESPONSE_2_ALT;
|
|
21
|
+
constructor(msg, resultSummary) {
|
|
22
|
+
super({
|
|
23
|
+
msg,
|
|
24
|
+
});
|
|
25
|
+
this.resultSummary = resultSummary;
|
|
26
|
+
this.parseResultSummary();
|
|
27
|
+
}
|
|
28
|
+
parseResultSummary() {
|
|
29
|
+
this.RESPONSE_1 = parseInt(this.resultSummary.api_response1);
|
|
30
|
+
this.RESPONSE_2 = parseInt(this.resultSummary.api_response2);
|
|
31
|
+
this.RESPONSE_1_ALT = this.resultSummary.api_response1_alt;
|
|
32
|
+
this.RESPONSE_2_ALT = this.resultSummary.api_response2_alt;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.CicsCmciRestError = CicsCmciRestError;
|
|
36
|
+
//# sourceMappingURL=CicsCmciRestError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CicsCmciRestError.js","sourceRoot":"","sources":["../../src/rest/CicsCmciRestError.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAAmD;AAGnD,MAAa,iBAAkB,SAAQ,4BAAe;IAEpD,aAAa,CAA6B;IAE1C,UAAU,CAAS;IACnB,UAAU,CAAS;IACnB,cAAc,CAAS;IACvB,cAAc,CAAS;IAEvB,YAAY,GAAW,EAAE,aAAyC;QAChE,KAAK,CAAC;YACJ,GAAG;SACJ,CAAC,CAAC;QACH,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;IAED,kBAAkB;QAChB,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;QAC7D,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC;QAC3D,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC;IAC7D,CAAC;CAEF;AAxBD,8CAwBC"}
|
package/lib/rest/index.d.ts
CHANGED
package/lib/rest/index.js
CHANGED
|
@@ -25,4 +25,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
__exportStar(require("./CicsCmciRestClient"), exports);
|
|
28
|
+
__exportStar(require("./CicsCmciRestError"), exports);
|
|
28
29
|
//# sourceMappingURL=index.js.map
|
package/lib/rest/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rest/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rest/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,uDAAqC;AACrC,sDAAoC"}
|