@zowe/cics-for-zowe-cli 6.0.0 → 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 +33 -37
- package/package.json +3 -7
- 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 -16
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.js +0 -83
- 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/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 -41
- 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/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 -18
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.js +0 -35
- 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 -14
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.js +0 -31
- 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 -54
- 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/define/Define.d.ts +0 -85
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.js +0 -290
- 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 -107
- 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 -50
- 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 -70
- 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 -50
- 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 -45
- 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 -20
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.js +0 -37
- 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 -113
- 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 -39
- 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 -47
- 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/node_modules/xml2js/LICENSE +0 -19
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/README.md +0 -507
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/bom.js +0 -12
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/builder.js +0 -127
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/defaults.js +0 -72
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/parser.js +0 -385
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/processors.js +0 -34
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/lib/xml2js.js +0 -39
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xml2js/package.json +0 -93
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/CHANGELOG.md +0 -470
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/LICENSE +0 -21
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/README.md +0 -86
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/appveyor.yml +0 -20
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/Derivation.js +0 -10
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/NodeType.js +0 -23
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/OperationType.js +0 -11
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/Utility.js +0 -83
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/WriterState.js +0 -10
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -108
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLCData.js +0 -36
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -79
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLComment.js +0 -36
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -64
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -16
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -32
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -55
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -38
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -97
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -52
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -43
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDocType.js +0 -186
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDocument.js +0 -242
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -528
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -24
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLDummy.js +0 -31
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLElement.js +0 -298
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -58
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLNode.js +0 -785
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -48
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -28
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -49
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLRaw.js +0 -35
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -176
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -35
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -240
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLText.js +0 -69
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -21
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -16
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -428
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/lib/index.js +0 -65
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/package.json +0 -39
- package/node_modules/@zowe/cics-for-zowe-sdk/node_modules/xmlbuilder/typings/index.d.ts +0 -153
- 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
|
@@ -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 "./Define";
|
|
@@ -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("./Define"), exports);
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/define/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,2CAAyB"}
|
|
@@ -1,58 +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, IWebServiceParms } from "../../doc";
|
|
13
|
-
/**
|
|
14
|
-
* Delete 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 deleting 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 deleteProgram(session: AbstractSession, parms: IProgramParms): Promise<ICMCIApiResponse>;
|
|
24
|
-
/**
|
|
25
|
-
* Delete 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 deleting 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 deleteTransaction(session: AbstractSession, parms: ITransactionParms): Promise<ICMCIApiResponse>;
|
|
35
|
-
/**
|
|
36
|
-
* Delete a URIMap installed in CICS through CMCI REST API
|
|
37
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
38
|
-
* @param {IURIMapParms} parms - parameters for deleting your URIMap
|
|
39
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
40
|
-
* when the request is complete
|
|
41
|
-
* @throws {ImperativeError} CICS URIMap name not defined or blank
|
|
42
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
43
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
44
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
45
|
-
*/
|
|
46
|
-
export declare function deleteUrimap(session: AbstractSession, parms: IURIMapParms): Promise<ICMCIApiResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* Delete a web service installed in CICS through CMCI REST API
|
|
49
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
50
|
-
* @param {IWebServiceParms} parms - parameters for deleting your web service
|
|
51
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
52
|
-
* when the request is complete
|
|
53
|
-
* @throws {ImperativeError} CICS Web service name not defined or blank
|
|
54
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
55
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
56
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
57
|
-
*/
|
|
58
|
-
export declare function deleteWebservice(session: AbstractSession, parms: IWebServiceParms): Promise<ICMCIApiResponse>;
|
|
@@ -1,107 +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.deleteWebservice = exports.deleteUrimap = exports.deleteTransaction = exports.deleteProgram = void 0;
|
|
14
|
-
const imperative_1 = require("@zowe/imperative");
|
|
15
|
-
const rest_1 = require("../../rest");
|
|
16
|
-
const constants_1 = require("../../constants");
|
|
17
|
-
/**
|
|
18
|
-
* Delete a program installed in CICS through CMCI REST API
|
|
19
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
20
|
-
* @param {IProgramParms} parms - parameters for deleting your program
|
|
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 program 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 deleteProgram(session, parms) {
|
|
28
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS Program name", "CICS program name is required");
|
|
29
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.csdGroup, "CICS CSD Group", "CICS CSD group 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 delete a program with the following parameters:\n%s", JSON.stringify(parms));
|
|
32
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
33
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
34
|
-
constants_1.CicsCmciConstants.CICS_DEFINITION_PROGRAM + "/" + cicsPlex +
|
|
35
|
-
`${parms.regionName}?CRITERIA=(NAME=${parms.name})&PARAMETER=CSDGROUP(${parms.csdGroup})`;
|
|
36
|
-
return rest_1.CicsCmciRestClient.deleteExpectParsedXml(session, cmciResource, []);
|
|
37
|
-
}
|
|
38
|
-
exports.deleteProgram = deleteProgram;
|
|
39
|
-
/**
|
|
40
|
-
* Delete a transaction installed in CICS through CMCI REST API
|
|
41
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
42
|
-
* @param {ITransactionParms} parms - parameters for deleting your transaction
|
|
43
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
44
|
-
* when the request is complete
|
|
45
|
-
* @throws {ImperativeError} CICS transaction name not defined or blank
|
|
46
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
47
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
48
|
-
*/
|
|
49
|
-
async function deleteTransaction(session, parms) {
|
|
50
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS Transaction name", "CICS transaction name is required");
|
|
51
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.csdGroup, "CICS CSD Group", "CICS CSD group is required");
|
|
52
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
53
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to delete a transaction with the following parameters:\n%s", JSON.stringify(parms));
|
|
54
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
55
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
56
|
-
constants_1.CicsCmciConstants.CICS_DEFINITION_TRANSACTION + "/" + cicsPlex +
|
|
57
|
-
`${parms.regionName}?CRITERIA=(NAME=${parms.name})&PARAMETER=CSDGROUP(${parms.csdGroup})`;
|
|
58
|
-
return rest_1.CicsCmciRestClient.deleteExpectParsedXml(session, cmciResource, []);
|
|
59
|
-
}
|
|
60
|
-
exports.deleteTransaction = deleteTransaction;
|
|
61
|
-
/**
|
|
62
|
-
* Delete a URIMap installed in CICS through CMCI REST API
|
|
63
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
64
|
-
* @param {IURIMapParms} parms - parameters for deleting your URIMap
|
|
65
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
66
|
-
* when the request is complete
|
|
67
|
-
* @throws {ImperativeError} CICS URIMap name not defined or blank
|
|
68
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
69
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
70
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
71
|
-
*/
|
|
72
|
-
async function deleteUrimap(session, parms) {
|
|
73
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS URIMap name", "CICS URIMap name is required");
|
|
74
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.csdGroup, "CICS CSD Group", "CICS CSD group is required");
|
|
75
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
76
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to delete a URIMap with the following parameters:\n%s", JSON.stringify(parms));
|
|
77
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
78
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
79
|
-
constants_1.CicsCmciConstants.CICS_DEFINITION_URIMAP + "/" + cicsPlex +
|
|
80
|
-
`${parms.regionName}?CRITERIA=(NAME=${parms.name})&PARAMETER=CSDGROUP(${parms.csdGroup})`;
|
|
81
|
-
return rest_1.CicsCmciRestClient.deleteExpectParsedXml(session, cmciResource, []);
|
|
82
|
-
}
|
|
83
|
-
exports.deleteUrimap = deleteUrimap;
|
|
84
|
-
/**
|
|
85
|
-
* Delete a web service installed in CICS through CMCI REST API
|
|
86
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
87
|
-
* @param {IWebServiceParms} parms - parameters for deleting your web service
|
|
88
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
89
|
-
* when the request is complete
|
|
90
|
-
* @throws {ImperativeError} CICS Web service name not defined or blank
|
|
91
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
92
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
93
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
94
|
-
*/
|
|
95
|
-
async function deleteWebservice(session, parms) {
|
|
96
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS Web service name", "CICS Web service name is required");
|
|
97
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.csdGroup, "CICS CSD Group", "CICS CSD group is required");
|
|
98
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
99
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to delete a web service with the following parameters:\n%s", JSON.stringify(parms));
|
|
100
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
101
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
102
|
-
constants_1.CicsCmciConstants.CICS_DEFINITION_WEBSERVICE + "/" + cicsPlex +
|
|
103
|
-
`${parms.regionName}?CRITERIA=(NAME=${parms.name})&PARAMETER=CSDGROUP(${parms.csdGroup})`;
|
|
104
|
-
return rest_1.CicsCmciRestClient.deleteExpectParsedXml(session, cmciResource, []);
|
|
105
|
-
}
|
|
106
|
-
exports.deleteWebservice = deleteWebservice;
|
|
107
|
-
//# sourceMappingURL=Delete.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Delete.js","sourceRoot":"","sources":["../../../src/methods/delete/Delete.ts"],"names":[],"mappings":"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"}
|
|
@@ -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 "./Delete";
|
|
@@ -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("./Delete"), exports);
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/delete/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,2CAAyB"}
|
|
@@ -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
|
-
* Disable 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 disabling 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 disableUrimap(session: AbstractSession, parms: IURIMapParms): Promise<ICMCIApiResponse>;
|
|
@@ -1,50 +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
|
-
/**
|
|
18
|
-
* Disable a URIMap installed in CICS through CMCI REST API
|
|
19
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
20
|
-
* @param {IURIMapParms} parms - parameters for disabling your URIMap
|
|
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 URIMap name not defined or blank
|
|
24
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
25
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
26
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
27
|
-
*/
|
|
28
|
-
async function disableUrimap(session, parms) {
|
|
29
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS URIMap name", "CICS URIMap 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 disable a URIMap with the following parameters:\n%s", JSON.stringify(parms));
|
|
32
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
33
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
34
|
-
constants_1.CicsCmciConstants.CICS_URIMAP + "/" + cicsPlex +
|
|
35
|
-
`${parms.regionName}?CRITERIA=(NAME=${parms.name})`;
|
|
36
|
-
const requestBody = {
|
|
37
|
-
request: {
|
|
38
|
-
update: {
|
|
39
|
-
attributes: {
|
|
40
|
-
$: {
|
|
41
|
-
ENABLESTATUS: "DISABLED"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
return rest_1.CicsCmciRestClient.putExpectParsedXml(session, cmciResource, [], requestBody);
|
|
48
|
-
}
|
|
49
|
-
exports.disableUrimap = disableUrimap;
|
|
50
|
-
//# 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;AAGpD;;;;;;;;;;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,QAAQ,GAAG,KAAK,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,GAAG,CAAC;IACpE,MAAM,YAAY,GAAG,GAAG,GAAG,6BAAiB,CAAC,sBAAsB,GAAG,GAAG;QACnE,6BAAiB,CAAC,WAAW,GAAG,GAAG,GAAG,QAAQ;QAC9C,GAAG,KAAK,CAAC,UAAU,mBAAmB,KAAK,CAAC,IAAI,GAAG,CAAC;IAC1D,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;AAtBD,sCAsBC"}
|
|
@@ -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,70 +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
|
-
/**
|
|
18
|
-
* Discard a program installed in CICS through CMCI REST API
|
|
19
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
20
|
-
* @param {IProgramParms} parms - parameters for discarding your program
|
|
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 program 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 discardProgram(session, parms) {
|
|
28
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS Program name", "CICS program name is required");
|
|
29
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
30
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to discard a program with the following parameters:\n%s", JSON.stringify(parms));
|
|
31
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
32
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
33
|
-
constants_1.CicsCmciConstants.CICS_PROGRAM_RESOURCE + "/" + cicsPlex + parms.regionName +
|
|
34
|
-
"?CRITERIA=(PROGRAM=" + parms.name + ")";
|
|
35
|
-
return rest_1.CicsCmciRestClient.deleteExpectParsedXml(session, cmciResource, []);
|
|
36
|
-
}
|
|
37
|
-
exports.discardProgram = discardProgram;
|
|
38
|
-
/**
|
|
39
|
-
* Discard a transaction installed in CICS through CMCI REST API
|
|
40
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
41
|
-
* @param {ITransactionParms} parms - parameters for discarding your transaction
|
|
42
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
43
|
-
* when the request is complete
|
|
44
|
-
* @throws {ImperativeError} CICS transaction name not defined or blank
|
|
45
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
46
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
47
|
-
*/
|
|
48
|
-
async function discardTransaction(session, parms) {
|
|
49
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS Transaction name", "CICS transaction name is required");
|
|
50
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
51
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to discard a transaction with the following parameters:\n%s", JSON.stringify(parms));
|
|
52
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
53
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
54
|
-
constants_1.CicsCmciConstants.CICS_LOCAL_TRANSACTION + "/" + cicsPlex + parms.regionName +
|
|
55
|
-
"?CRITERIA=(TRANID=" + parms.name + ")";
|
|
56
|
-
return rest_1.CicsCmciRestClient.deleteExpectParsedXml(session, cmciResource, []);
|
|
57
|
-
}
|
|
58
|
-
exports.discardTransaction = discardTransaction;
|
|
59
|
-
async function discardUrimap(session, parms) {
|
|
60
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS URIMap name", "CICS URIMap name is required");
|
|
61
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
62
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to discard a URIMap with the following parameters:\n%s", JSON.stringify(parms));
|
|
63
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
64
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
65
|
-
constants_1.CicsCmciConstants.CICS_URIMAP + "/" + cicsPlex +
|
|
66
|
-
`${parms.regionName}?CRITERIA=(NAME='${parms.name}')`;
|
|
67
|
-
return rest_1.CicsCmciRestClient.deleteExpectParsedXml(session, cmciResource, []);
|
|
68
|
-
}
|
|
69
|
-
exports.discardUrimap = discardUrimap;
|
|
70
|
-
//# sourceMappingURL=Discard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Discard.js","sourceRoot":"","sources":["../../../src/methods/discard/Discard.ts"],"names":[],"mappings":"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"}
|
|
@@ -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,50 +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
|
-
/**
|
|
18
|
-
* Enable a URIMap installed in CICS through CMCI REST API
|
|
19
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
20
|
-
* @param {IURIMapParms} parms - parameters for enabling your URIMap
|
|
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 URIMap name not defined or blank
|
|
24
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
25
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
26
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
27
|
-
*/
|
|
28
|
-
async function enableUrimap(session, parms) {
|
|
29
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS URIMap name", "CICS URIMap 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 enable a URIMap with the following parameters:\n%s", JSON.stringify(parms));
|
|
32
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
33
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
34
|
-
constants_1.CicsCmciConstants.CICS_URIMAP + "/" + cicsPlex +
|
|
35
|
-
`${parms.regionName}?CRITERIA=(NAME=${parms.name})`;
|
|
36
|
-
const requestBody = {
|
|
37
|
-
request: {
|
|
38
|
-
update: {
|
|
39
|
-
attributes: {
|
|
40
|
-
$: {
|
|
41
|
-
ENABLESTATUS: "ENABLED"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
return rest_1.CicsCmciRestClient.putExpectParsedXml(session, cmciResource, [], requestBody);
|
|
48
|
-
}
|
|
49
|
-
exports.enableUrimap = enableUrimap;
|
|
50
|
-
//# 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;AAGpD;;;;;;;;;;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,QAAQ,GAAG,KAAK,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,GAAG,CAAC;IACpE,MAAM,YAAY,GAAG,GAAG,GAAG,6BAAiB,CAAC,sBAAsB,GAAG,GAAG;QACnE,6BAAiB,CAAC,WAAW,GAAG,GAAG,GAAG,QAAQ;QAC9C,GAAG,KAAK,CAAC,UAAU,mBAAmB,KAAK,CAAC,IAAI,GAAG,CAAC;IAC1D,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;AAtBD,oCAsBC"}
|