@zowe/cics-for-zowe-cli 6.2.2 → 6.2.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/npm-shrinkwrap.json +6 -10
- package/package.json +1 -4
- package/node_modules/@zowe/cics-for-zowe-sdk/LICENSE +0 -277
- package/node_modules/@zowe/cics-for-zowe-sdk/README.md +0 -161
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.d.ts +0 -84
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.js +0 -91
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.d.ts +0 -17
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.js +0 -22
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.d.ts +0 -12
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.js +0 -29
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.d.ts +0 -33
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIResponseResultSummary.d.ts +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIResponseResultSummary.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIResponseResultSummary.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.d.ts +0 -30
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICacheParms.d.ts +0 -17
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICacheParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICacheParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IGetResourceUriOptions.d.ts +0 -42
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IGetResourceUriOptions.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IGetResourceUriOptions.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.d.ts +0 -30
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.d.ts +0 -17
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceQueryParms.d.ts +0 -24
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceQueryParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceQueryParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResultCacheParms.d.ts +0 -21
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResultCacheParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResultCacheParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.d.ts +0 -35
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.d.ts +0 -89
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.d.ts +0 -55
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.js +0 -13
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.d.ts +0 -22
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.js +0 -39
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.d.ts +0 -15
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.js +0 -32
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/AddToList.d.ts +0 -23
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/AddToList.js +0 -57
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/AddToList.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/Cache.d.ts +0 -14
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/Cache.js +0 -30
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/Cache.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/cache/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.d.ts +0 -85
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.js +0 -301
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/Delete.d.ts +0 -58
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/Delete.js +0 -120
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/Delete.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/Disable.d.ts +0 -24
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/Disable.js +0 -53
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/Disable.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/Discard.d.ts +0 -35
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/Discard.js +0 -77
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/Discard.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/Enable.d.ts +0 -24
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/Enable.js +0 -53
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/Enable.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/Get.d.ts +0 -23
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/Get.js +0 -41
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/Get.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.d.ts +0 -21
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.js +0 -38
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/Install.d.ts +0 -48
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/Install.js +0 -123
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/Install.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.d.ts +0 -23
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.js +0 -42
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/Set.d.ts +0 -23
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/Set.js +0 -50
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/Set.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.d.ts +0 -128
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.js +0 -220
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/Utils.d.ts +0 -27
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/Utils.js +0 -80
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/Utils.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/index.d.ts +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/index.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/utils/index.js.map +0 -1
- package/node_modules/@zowe/cics-for-zowe-sdk/package.json +0 -54
- package/node_modules/sax/LICENSE +0 -41
- package/node_modules/sax/README.md +0 -228
- package/node_modules/sax/lib/sax.js +0 -1597
- package/node_modules/sax/package.json +0 -29
- package/node_modules/xml2js/LICENSE +0 -19
- package/node_modules/xml2js/README.md +0 -507
- package/node_modules/xml2js/lib/bom.js +0 -12
- package/node_modules/xml2js/lib/builder.js +0 -127
- package/node_modules/xml2js/lib/defaults.js +0 -72
- package/node_modules/xml2js/lib/parser.js +0 -385
- package/node_modules/xml2js/lib/processors.js +0 -34
- package/node_modules/xml2js/lib/xml2js.js +0 -39
- package/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +0 -470
- package/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +0 -21
- package/node_modules/xml2js/node_modules/xmlbuilder/README.md +0 -86
- package/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +0 -20
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +0 -10
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +0 -23
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +0 -11
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +0 -83
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +0 -10
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -108
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +0 -36
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -79
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +0 -36
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -64
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -16
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -32
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -28
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -55
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -38
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -97
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -52
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -43
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +0 -186
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +0 -242
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -528
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -24
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +0 -31
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +0 -298
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -58
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +0 -785
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -48
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -28
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -49
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +0 -35
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -176
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -35
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -240
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +0 -69
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -21
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -16
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -428
- package/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +0 -65
- package/node_modules/xml2js/node_modules/xmlbuilder/package.json +0 -39
- package/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +0 -153
- package/node_modules/xml2js/package.json +0 -93
|
@@ -1,53 +0,0 @@
|
|
|
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.disableUrimap = void 0;
|
|
14
|
-
const imperative_1 = require("@zowe/imperative");
|
|
15
|
-
const rest_1 = require("../../rest");
|
|
16
|
-
const constants_1 = require("../../constants");
|
|
17
|
-
const utils_1 = require("../../utils");
|
|
18
|
-
/**
|
|
19
|
-
* Disable a URIMap installed in CICS through CMCI REST API
|
|
20
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
21
|
-
* @param {IURIMapParms} parms - parameters for disabling your URIMap
|
|
22
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
23
|
-
* when the request is complete
|
|
24
|
-
* @throws {ImperativeError} CICS URIMap name not defined or blank
|
|
25
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
26
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
27
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
28
|
-
*/
|
|
29
|
-
async function disableUrimap(session, parms) {
|
|
30
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS URIMap name", "CICS URIMap name is required");
|
|
31
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
32
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to disable a URIMap with the following parameters:\n%s", JSON.stringify(parms));
|
|
33
|
-
const options = {
|
|
34
|
-
"cicsPlex": parms.cicsPlex,
|
|
35
|
-
"regionName": parms.regionName,
|
|
36
|
-
"criteria": `NAME=${parms.name}`
|
|
37
|
-
};
|
|
38
|
-
const cmciResource = utils_1.Utils.getResourceUri(constants_1.CicsCmciConstants.CICS_URIMAP, options);
|
|
39
|
-
const requestBody = {
|
|
40
|
-
request: {
|
|
41
|
-
update: {
|
|
42
|
-
attributes: {
|
|
43
|
-
$: {
|
|
44
|
-
ENABLESTATUS: "DISABLED"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
return rest_1.CicsCmciRestClient.putExpectParsedXml(session, cmciResource, [], requestBody);
|
|
51
|
-
}
|
|
52
|
-
exports.disableUrimap = disableUrimap;
|
|
53
|
-
//# sourceMappingURL=Disable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Disable.js","sourceRoot":"","sources":["../../../src/methods/disable/Disable.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAA6E;AAC7E,qCAAgD;AAChD,+CAAoD;AACpD,uCAAoC;AAGpC;;;;;;;;;;GAUG;AAEI,KAAK,UAAU,aAAa,CAAC,OAAwB,EAAE,KAAmB;IAC/E,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,IAAI,EAAE,kBAAkB,EAAE,8BAA8B,CAAC,CAAC;IACxG,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,EAAE,kBAAkB,EAAE,8BAA8B,CAAC,CAAC;IAE9G,mBAAM,CAAC,YAAY,EAAE,CAAC,KAAK,CAAC,mEAAmE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAExH,MAAM,OAAO,GAA2B;QACtC,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,UAAU,EAAE,QAAQ,KAAK,CAAC,IAAI,EAAE;KACjC,CAAC;IAEF,MAAM,YAAY,GAAG,aAAK,CAAC,cAAc,CAAC,6BAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAElF,MAAM,WAAW,GAAQ;QACvB,OAAO,EAAE;YACP,MAAM,EAAE;gBACN,UAAU,EAAE;oBACV,CAAC,EAAE;wBACD,YAAY,EAAE,UAAU;qBACzB;iBACF;aACF;SACF;KACF,CAAC;IACF,OAAO,yBAAkB,CAAC,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE,WAAW,CAAC,CAAC;AACvF,CAAC;AA1BD,sCA0BC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
export * from "./Disable";
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
-
}
|
|
18
|
-
Object.defineProperty(o, k2, desc);
|
|
19
|
-
}) : (function(o, m, k, k2) {
|
|
20
|
-
if (k2 === undefined) k2 = k;
|
|
21
|
-
o[k2] = m[k];
|
|
22
|
-
}));
|
|
23
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
24
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
__exportStar(require("./Disable"), exports);
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/disable/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,4CAA0B"}
|
|
@@ -1,35 +0,0 @@
|
|
|
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 { AbstractSession } from "@zowe/imperative";
|
|
12
|
-
import { ICMCIApiResponse, IProgramParms, ITransactionParms, IURIMapParms } from "../../doc";
|
|
13
|
-
/**
|
|
14
|
-
* Discard a program installed in CICS through CMCI REST API
|
|
15
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
16
|
-
* @param {IProgramParms} parms - parameters for discarding your program
|
|
17
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
18
|
-
* when the request is complete
|
|
19
|
-
* @throws {ImperativeError} CICS program name not defined or blank
|
|
20
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
21
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
22
|
-
*/
|
|
23
|
-
export declare function discardProgram(session: AbstractSession, parms: IProgramParms): Promise<ICMCIApiResponse>;
|
|
24
|
-
/**
|
|
25
|
-
* Discard a transaction installed in CICS through CMCI REST API
|
|
26
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
27
|
-
* @param {ITransactionParms} parms - parameters for discarding your transaction
|
|
28
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
29
|
-
* when the request is complete
|
|
30
|
-
* @throws {ImperativeError} CICS transaction name not defined or blank
|
|
31
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
32
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
33
|
-
*/
|
|
34
|
-
export declare function discardTransaction(session: AbstractSession, parms: ITransactionParms): Promise<ICMCIApiResponse>;
|
|
35
|
-
export declare function discardUrimap(session: AbstractSession, parms: IURIMapParms): Promise<ICMCIApiResponse>;
|
|
@@ -1,77 +0,0 @@
|
|
|
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.discardUrimap = exports.discardTransaction = exports.discardProgram = void 0;
|
|
14
|
-
const imperative_1 = require("@zowe/imperative");
|
|
15
|
-
const rest_1 = require("../../rest");
|
|
16
|
-
const constants_1 = require("../../constants");
|
|
17
|
-
const utils_1 = require("../../utils");
|
|
18
|
-
/**
|
|
19
|
-
* Discard a program installed in CICS through CMCI REST API
|
|
20
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
21
|
-
* @param {IProgramParms} parms - parameters for discarding your program
|
|
22
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
23
|
-
* when the request is complete
|
|
24
|
-
* @throws {ImperativeError} CICS program name not defined or blank
|
|
25
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
26
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
27
|
-
*/
|
|
28
|
-
async function discardProgram(session, parms) {
|
|
29
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS Program name", "CICS program name is required");
|
|
30
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
31
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to discard a program with the following parameters:\n%s", JSON.stringify(parms));
|
|
32
|
-
const options = {
|
|
33
|
-
"cicsPlex": parms.cicsPlex,
|
|
34
|
-
"regionName": parms.regionName,
|
|
35
|
-
"criteria": `PROGRAM=${parms.name}`
|
|
36
|
-
};
|
|
37
|
-
const cmciResource = utils_1.Utils.getResourceUri(constants_1.CicsCmciConstants.CICS_PROGRAM_RESOURCE, options);
|
|
38
|
-
return rest_1.CicsCmciRestClient.deleteExpectParsedXml(session, cmciResource, []);
|
|
39
|
-
}
|
|
40
|
-
exports.discardProgram = discardProgram;
|
|
41
|
-
/**
|
|
42
|
-
* Discard a transaction installed in CICS through CMCI REST API
|
|
43
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
44
|
-
* @param {ITransactionParms} parms - parameters for discarding your transaction
|
|
45
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
46
|
-
* when the request is complete
|
|
47
|
-
* @throws {ImperativeError} CICS transaction name not defined or blank
|
|
48
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
49
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
50
|
-
*/
|
|
51
|
-
async function discardTransaction(session, parms) {
|
|
52
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS Transaction name", "CICS transaction name is required");
|
|
53
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
54
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to discard a transaction with the following parameters:\n%s", JSON.stringify(parms));
|
|
55
|
-
const options = {
|
|
56
|
-
"cicsPlex": parms.cicsPlex,
|
|
57
|
-
"regionName": parms.regionName,
|
|
58
|
-
"criteria": `(TRANID=${parms.name})`
|
|
59
|
-
};
|
|
60
|
-
const cmciResource = utils_1.Utils.getResourceUri(constants_1.CicsCmciConstants.CICS_LOCAL_TRANSACTION, options);
|
|
61
|
-
return rest_1.CicsCmciRestClient.deleteExpectParsedXml(session, cmciResource, []);
|
|
62
|
-
}
|
|
63
|
-
exports.discardTransaction = discardTransaction;
|
|
64
|
-
async function discardUrimap(session, parms) {
|
|
65
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS URIMap name", "CICS URIMap name is required");
|
|
66
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
67
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to discard a URIMap with the following parameters:\n%s", JSON.stringify(parms));
|
|
68
|
-
const options = {
|
|
69
|
-
"cicsPlex": parms.cicsPlex,
|
|
70
|
-
"regionName": parms.regionName,
|
|
71
|
-
"criteria": `(NAME=${parms.name})`
|
|
72
|
-
};
|
|
73
|
-
const cmciResource = utils_1.Utils.getResourceUri(constants_1.CicsCmciConstants.CICS_URIMAP, options);
|
|
74
|
-
return rest_1.CicsCmciRestClient.deleteExpectParsedXml(session, cmciResource, []);
|
|
75
|
-
}
|
|
76
|
-
exports.discardUrimap = discardUrimap;
|
|
77
|
-
//# sourceMappingURL=Discard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Discard.js","sourceRoot":"","sources":["../../../src/methods/discard/Discard.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAA6E;AAC7E,qCAAgD;AAChD,+CAAoD;AACpD,uCAAoC;AAGpC;;;;;;;;;GASG;AACI,KAAK,UAAU,cAAc,CAAC,OAAwB,EAAE,KAAoB;IACjF,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,IAAI,EAAE,mBAAmB,EAAE,+BAA+B,CAAC,CAAC;IAC1G,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,EAAE,kBAAkB,EAAE,8BAA8B,CAAC,CAAC;IAE9G,mBAAM,CAAC,YAAY,EAAE,CAAC,KAAK,CAAC,oEAAoE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAEzH,MAAM,OAAO,GAA2B;QACtC,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,UAAU,EAAE,WAAW,KAAK,CAAC,IAAI,EAAE;KACpC,CAAC;IAEF,MAAM,YAAY,GAAG,aAAK,CAAC,cAAc,CAAC,6BAAiB,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC;IAE5F,OAAO,yBAAkB,CAAC,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;AAC7E,CAAC;AAfD,wCAeC;AAED;;;;;;;;;GASG;AACI,KAAK,UAAU,kBAAkB,CAAC,OAAwB,EAAE,KAAwB;IACzF,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,IAAI,EAAE,uBAAuB,EAAE,mCAAmC,CAAC,CAAC;IAClH,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,EAAE,kBAAkB,EAAE,8BAA8B,CAAC,CAAC;IAE9G,mBAAM,CAAC,YAAY,EAAE,CAAC,KAAK,CAAC,wEAAwE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAE7H,MAAM,OAAO,GAA2B;QACtC,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,UAAU,EAAE,WAAW,KAAK,CAAC,IAAI,GAAG;KACrC,CAAC;IAEF,MAAM,YAAY,GAAG,aAAK,CAAC,cAAc,CAAC,6BAAiB,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;IAE7F,OAAO,yBAAkB,CAAC,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;AAC7E,CAAC;AAfD,gDAeC;AAEM,KAAK,UAAU,aAAa,CAAC,OAAwB,EAAE,KAAmB;IAC/E,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,IAAI,EAAE,kBAAkB,EAAE,8BAA8B,CAAC,CAAC;IACxG,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,EAAE,kBAAkB,EAAE,8BAA8B,CAAC,CAAC;IAE9G,mBAAM,CAAC,YAAY,EAAE,CAAC,KAAK,CAAC,mEAAmE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAExH,MAAM,OAAO,GAA2B;QACtC,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,UAAU,EAAE,SAAS,KAAK,CAAC,IAAI,GAAG;KACnC,CAAC;IAEF,MAAM,YAAY,GAAG,aAAK,CAAC,cAAc,CAAC,6BAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAElF,OAAO,yBAAkB,CAAC,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;AAC7E,CAAC;AAfD,sCAeC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
export * from "./Discard";
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
-
}
|
|
18
|
-
Object.defineProperty(o, k2, desc);
|
|
19
|
-
}) : (function(o, m, k, k2) {
|
|
20
|
-
if (k2 === undefined) k2 = k;
|
|
21
|
-
o[k2] = m[k];
|
|
22
|
-
}));
|
|
23
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
24
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
__exportStar(require("./Discard"), exports);
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/discard/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,4CAA0B"}
|
|
@@ -1,24 +0,0 @@
|
|
|
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 { AbstractSession } from "@zowe/imperative";
|
|
12
|
-
import { ICMCIApiResponse, IURIMapParms } from "../../doc";
|
|
13
|
-
/**
|
|
14
|
-
* Enable a URIMap installed in CICS through CMCI REST API
|
|
15
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
16
|
-
* @param {IURIMapParms} parms - parameters for enabling your URIMap
|
|
17
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
18
|
-
* when the request is complete
|
|
19
|
-
* @throws {ImperativeError} CICS URIMap name not defined or blank
|
|
20
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
21
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
22
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
23
|
-
*/
|
|
24
|
-
export declare function enableUrimap(session: AbstractSession, parms: IURIMapParms): Promise<ICMCIApiResponse>;
|
|
@@ -1,53 +0,0 @@
|
|
|
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.enableUrimap = void 0;
|
|
14
|
-
const imperative_1 = require("@zowe/imperative");
|
|
15
|
-
const rest_1 = require("../../rest");
|
|
16
|
-
const constants_1 = require("../../constants");
|
|
17
|
-
const utils_1 = require("../../utils");
|
|
18
|
-
/**
|
|
19
|
-
* Enable a URIMap installed in CICS through CMCI REST API
|
|
20
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
21
|
-
* @param {IURIMapParms} parms - parameters for enabling your URIMap
|
|
22
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
23
|
-
* when the request is complete
|
|
24
|
-
* @throws {ImperativeError} CICS URIMap name not defined or blank
|
|
25
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
26
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
27
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
28
|
-
*/
|
|
29
|
-
async function enableUrimap(session, parms) {
|
|
30
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS URIMap name", "CICS URIMap name is required");
|
|
31
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
32
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to enable a URIMap with the following parameters:\n%s", JSON.stringify(parms));
|
|
33
|
-
const options = {
|
|
34
|
-
"cicsPlex": parms.cicsPlex,
|
|
35
|
-
"regionName": parms.regionName,
|
|
36
|
-
"criteria": `NAME=${parms.name}`
|
|
37
|
-
};
|
|
38
|
-
const cmciResource = utils_1.Utils.getResourceUri(constants_1.CicsCmciConstants.CICS_URIMAP, options);
|
|
39
|
-
const requestBody = {
|
|
40
|
-
request: {
|
|
41
|
-
update: {
|
|
42
|
-
attributes: {
|
|
43
|
-
$: {
|
|
44
|
-
ENABLESTATUS: "ENABLED"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
return rest_1.CicsCmciRestClient.putExpectParsedXml(session, cmciResource, [], requestBody);
|
|
51
|
-
}
|
|
52
|
-
exports.enableUrimap = enableUrimap;
|
|
53
|
-
//# sourceMappingURL=Enable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../src/methods/enable/Enable.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAA6E;AAC7E,qCAAgD;AAChD,+CAAoD;AACpD,uCAAoC;AAGpC;;;;;;;;;;GAUG;AAEI,KAAK,UAAU,YAAY,CAAC,OAAwB,EAAE,KAAmB;IAC9E,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,IAAI,EAAE,kBAAkB,EAAE,8BAA8B,CAAC,CAAC;IACxG,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,EAAE,kBAAkB,EAAE,8BAA8B,CAAC,CAAC;IAE9G,mBAAM,CAAC,YAAY,EAAE,CAAC,KAAK,CAAC,kEAAkE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAEvH,MAAM,OAAO,GAA2B;QACtC,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,UAAU,EAAE,QAAQ,KAAK,CAAC,IAAI,EAAE;KACjC,CAAC;IAEF,MAAM,YAAY,GAAG,aAAK,CAAC,cAAc,CAAC,6BAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAElF,MAAM,WAAW,GAAQ;QACvB,OAAO,EAAE;YACP,MAAM,EAAE;gBACN,UAAU,EAAE;oBACV,CAAC,EAAE;wBACD,YAAY,EAAE,SAAS;qBACxB;iBACF;aACF;SACF;KACF,CAAC;IACF,OAAO,yBAAkB,CAAC,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE,WAAW,CAAC,CAAC;AACvF,CAAC;AA1BD,oCA0BC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
export * from "./Enable";
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
-
}
|
|
18
|
-
Object.defineProperty(o, k2, desc);
|
|
19
|
-
}) : (function(o, m, k, k2) {
|
|
20
|
-
if (k2 === undefined) k2 = k;
|
|
21
|
-
o[k2] = m[k];
|
|
22
|
-
}));
|
|
23
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
24
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
__exportStar(require("./Enable"), exports);
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/enable/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,2CAAyB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
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 { AbstractSession } from "@zowe/imperative";
|
|
12
|
-
import { ICMCIApiResponse, IResourceParms } from "../../doc";
|
|
13
|
-
/**
|
|
14
|
-
* Get resources on in CICS through CMCI REST API
|
|
15
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
16
|
-
* @param {IResourceParms} parms - parameters for getting resources
|
|
17
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
18
|
-
* when the request is complete
|
|
19
|
-
* @throws {ImperativeError} CICS resource name not defined or blank
|
|
20
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
21
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
22
|
-
*/
|
|
23
|
-
export declare function getResource(session: AbstractSession, parms: IResourceParms): Promise<ICMCIApiResponse>;
|
|
@@ -1,41 +0,0 @@
|
|
|
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.getResource = void 0;
|
|
14
|
-
const imperative_1 = require("@zowe/imperative");
|
|
15
|
-
const rest_1 = require("../../rest");
|
|
16
|
-
const utils_1 = require("../../utils");
|
|
17
|
-
/**
|
|
18
|
-
* Get resources on in CICS through CMCI REST API
|
|
19
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
20
|
-
* @param {IResourceParms} parms - parameters for getting resources
|
|
21
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
22
|
-
* when the request is complete
|
|
23
|
-
* @throws {ImperativeError} CICS resource name not defined or blank
|
|
24
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
25
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
26
|
-
*/
|
|
27
|
-
async function getResource(session, parms) {
|
|
28
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS Resource name", "CICS resource name is required");
|
|
29
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to get resource(s) with the following parameters:\n%s", JSON.stringify(parms));
|
|
30
|
-
const options = {
|
|
31
|
-
cicsPlex: parms.cicsPlex,
|
|
32
|
-
regionName: parms.regionName,
|
|
33
|
-
criteria: parms.criteria,
|
|
34
|
-
parameter: parms.parameter,
|
|
35
|
-
queryParams: parms.queryParams,
|
|
36
|
-
};
|
|
37
|
-
const cmciResource = utils_1.Utils.getResourceUri(parms.name, options);
|
|
38
|
-
return rest_1.CicsCmciRestClient.getExpectParsedXml(session, cmciResource, []);
|
|
39
|
-
}
|
|
40
|
-
exports.getResource = getResource;
|
|
41
|
-
//# sourceMappingURL=Get.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Get.js","sourceRoot":"","sources":["../../../src/methods/get/Get.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAA6E;AAE7E,qCAAgD;AAChD,uCAAoC;AAEpC;;;;;;;;;GASG;AACI,KAAK,UAAU,WAAW,CAAC,OAAwB,EAAE,KAAqB;IAC/E,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,CAAC,CAAC;AAC1E,CAAC;AAhBD,kCAgBC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
export * from "./Get";
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
-
}
|
|
18
|
-
Object.defineProperty(o, k2, desc);
|
|
19
|
-
}) : (function(o, m, k, k2) {
|
|
20
|
-
if (k2 === undefined) k2 = k;
|
|
21
|
-
o[k2] = m[k];
|
|
22
|
-
}));
|
|
23
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
24
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
__exportStar(require("./Get"), exports);
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/get/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,wCAAsB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
export * from "./add-to-list";
|
|
12
|
-
export * from "./cache";
|
|
13
|
-
export * from "./define";
|
|
14
|
-
export * from "./delete";
|
|
15
|
-
export * from "./disable";
|
|
16
|
-
export * from "./discard";
|
|
17
|
-
export * from "./enable";
|
|
18
|
-
export * from "./get";
|
|
19
|
-
export * from "./set";
|
|
20
|
-
export * from "./install";
|
|
21
|
-
export * from "./remove-from-list";
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
-
}
|
|
18
|
-
Object.defineProperty(o, k2, desc);
|
|
19
|
-
}) : (function(o, m, k, k2) {
|
|
20
|
-
if (k2 === undefined) k2 = k;
|
|
21
|
-
o[k2] = m[k];
|
|
22
|
-
}));
|
|
23
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
24
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
__exportStar(require("./add-to-list"), exports);
|
|
28
|
-
__exportStar(require("./cache"), exports);
|
|
29
|
-
__exportStar(require("./define"), exports);
|
|
30
|
-
__exportStar(require("./delete"), exports);
|
|
31
|
-
__exportStar(require("./disable"), exports);
|
|
32
|
-
__exportStar(require("./discard"), exports);
|
|
33
|
-
__exportStar(require("./enable"), exports);
|
|
34
|
-
__exportStar(require("./get"), exports);
|
|
35
|
-
__exportStar(require("./set"), exports);
|
|
36
|
-
__exportStar(require("./install"), exports);
|
|
37
|
-
__exportStar(require("./remove-from-list"), exports);
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/methods/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB;AACzB,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,wCAAsB;AACtB,wCAAsB;AACtB,4CAA0B;AAC1B,qDAAmC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
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 { AbstractSession } from "@zowe/imperative";
|
|
12
|
-
import { ICMCIApiResponse, IProgramParms, IURIMapParms } from "../../doc";
|
|
13
|
-
/**
|
|
14
|
-
* Install a program definition to CICS through CMCI REST API
|
|
15
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
16
|
-
* @param {IProgramParms} parms - parameters for installing your program
|
|
17
|
-
* @returns {Promise<any>} promise that resolves to the response (XML parsed into a javascript object)
|
|
18
|
-
* when the request is complete
|
|
19
|
-
* @throws {ImperativeError} CICS program name not defined or blank
|
|
20
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
21
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
22
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
23
|
-
*/
|
|
24
|
-
export declare function installProgram(session: AbstractSession, parms: IProgramParms): Promise<ICMCIApiResponse>;
|
|
25
|
-
/**
|
|
26
|
-
* Install a transaction definition to CICS through CMCI REST API
|
|
27
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
28
|
-
* @param {IProgramParms} parms - parameters for installing your transaction
|
|
29
|
-
* @returns {Promise<any>} promise that resolves to the response (XML parsed into a javascript object)
|
|
30
|
-
* when the request is complete
|
|
31
|
-
* @throws {ImperativeError} CICS transaction name not defined or blank
|
|
32
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
33
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
34
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
35
|
-
*/
|
|
36
|
-
export declare function installTransaction(session: AbstractSession, parms: IProgramParms): Promise<ICMCIApiResponse>;
|
|
37
|
-
/**
|
|
38
|
-
* Install a URIMap installed in CICS through CMCI REST API
|
|
39
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
40
|
-
* @param {IURIMapParms} parms - parameters for enabling your URIMap
|
|
41
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
42
|
-
* when the request is complete
|
|
43
|
-
* @throws {ImperativeError} CICS URIMap name not defined or blank
|
|
44
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
45
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
46
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
47
|
-
*/
|
|
48
|
-
export declare function installUrimap(session: AbstractSession, parms: IURIMapParms): Promise<ICMCIApiResponse>;
|