@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 "./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,45 +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 constants_1 = require("../../constants");
|
|
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.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
30
|
-
let delimiter = "?"; // initial delimiter
|
|
31
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to get resource(s) with the following parameters:\n%s", JSON.stringify(parms));
|
|
32
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
33
|
-
let cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
34
|
-
parms.name + "/" + cicsPlex + parms.regionName;
|
|
35
|
-
if (parms.criteria != null) {
|
|
36
|
-
cmciResource = cmciResource + delimiter + "CRITERIA=(" + encodeURIComponent(parms.criteria) + ")";
|
|
37
|
-
delimiter = "&";
|
|
38
|
-
}
|
|
39
|
-
if (parms.parameter != null) {
|
|
40
|
-
cmciResource = cmciResource + delimiter + "PARAMETER=" + encodeURIComponent(parms.parameter);
|
|
41
|
-
}
|
|
42
|
-
return rest_1.CicsCmciRestClient.getExpectParsedXml(session, cmciResource, []);
|
|
43
|
-
}
|
|
44
|
-
exports.getResource = getResource;
|
|
45
|
-
//# 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;AAC7E,qCAAgD;AAChD,+CAAoD;AAGpD;;;;;;;;;GASG;AACI,KAAK,UAAU,WAAW,CAAC,OAAwB,EAAE,KAAqB;IAC/E,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,IAAI,EAAE,oBAAoB,EAAE,gCAAgC,CAAC,CAAC;IAC5G,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,EAAE,kBAAkB,EAAE,8BAA8B,CAAC,CAAC;IAE9G,IAAI,SAAS,GAAG,GAAG,CAAC,CAAC,oBAAoB;IAEzC,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,IAAI,YAAY,GAAG,GAAG,GAAG,6BAAiB,CAAC,sBAAsB,GAAG,GAAG;QACjE,KAAK,CAAC,IAAI,GAAG,GAAG,GAAG,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC;IAErD,IAAI,KAAK,CAAC,QAAQ,IAAI,IAAI,EAAE,CAAC;QAC3B,YAAY,GAAG,YAAY,GAAG,SAAS,GAAG,YAAY,GAAG,kBAAkB,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC;QAClG,SAAS,GAAG,GAAG,CAAC;IAClB,CAAC;IAED,IAAI,KAAK,CAAC,SAAS,IAAI,IAAI,EAAE,CAAC;QAC5B,YAAY,GAAG,YAAY,GAAG,SAAS,GAAG,YAAY,GAAG,kBAAkB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAC/F,CAAC;IACD,OAAO,yBAAkB,CAAC,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;AAC1E,CAAC;AArBD,kCAqBC"}
|
|
@@ -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,20 +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 "./define";
|
|
13
|
-
export * from "./delete";
|
|
14
|
-
export * from "./disable";
|
|
15
|
-
export * from "./discard";
|
|
16
|
-
export * from "./enable";
|
|
17
|
-
export * from "./get";
|
|
18
|
-
export * from "./set";
|
|
19
|
-
export * from "./install";
|
|
20
|
-
export * from "./remove-from-list";
|
|
@@ -1,37 +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("./define"), exports);
|
|
29
|
-
__exportStar(require("./delete"), exports);
|
|
30
|
-
__exportStar(require("./disable"), exports);
|
|
31
|
-
__exportStar(require("./discard"), exports);
|
|
32
|
-
__exportStar(require("./enable"), exports);
|
|
33
|
-
__exportStar(require("./get"), exports);
|
|
34
|
-
__exportStar(require("./set"), exports);
|
|
35
|
-
__exportStar(require("./install"), exports);
|
|
36
|
-
__exportStar(require("./remove-from-list"), exports);
|
|
37
|
-
//# 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,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>;
|
|
@@ -1,113 +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.installUrimap = exports.installTransaction = exports.installProgram = void 0;
|
|
14
|
-
const imperative_1 = require("@zowe/imperative");
|
|
15
|
-
const rest_1 = require("../../rest");
|
|
16
|
-
const constants_1 = require("../../constants");
|
|
17
|
-
/**
|
|
18
|
-
* Install a program definition to CICS through CMCI REST API
|
|
19
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
20
|
-
* @param {IProgramParms} parms - parameters for installing your program
|
|
21
|
-
* @returns {Promise<any>} 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 CSD group not defined or blank
|
|
25
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
26
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
27
|
-
*/
|
|
28
|
-
function installProgram(session, parms) {
|
|
29
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS Program name", "CICS program name is required");
|
|
30
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.csdGroup, "CICS CSD Group", "CICS CSD group 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 install a program with the following parameters:\n%s", JSON.stringify(parms));
|
|
33
|
-
const requestBody = {
|
|
34
|
-
request: {
|
|
35
|
-
action: {
|
|
36
|
-
$: {
|
|
37
|
-
name: "CSDINSTALL",
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
43
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
44
|
-
constants_1.CicsCmciConstants.CICS_DEFINITION_PROGRAM + "/" + cicsPlex + parms.regionName +
|
|
45
|
-
"?CRITERIA=(NAME=" + parms.name + ")&PARAMETER=CSDGROUP(" + parms.csdGroup + ")";
|
|
46
|
-
return rest_1.CicsCmciRestClient.putExpectParsedXml(session, cmciResource, [], requestBody);
|
|
47
|
-
}
|
|
48
|
-
exports.installProgram = installProgram;
|
|
49
|
-
/**
|
|
50
|
-
* Install a transaction definition to CICS through CMCI REST API
|
|
51
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
52
|
-
* @param {IProgramParms} parms - parameters for installing your transaction
|
|
53
|
-
* @returns {Promise<any>} promise that resolves to the response (XML parsed into a javascript object)
|
|
54
|
-
* when the request is complete
|
|
55
|
-
* @throws {ImperativeError} CICS transaction name not defined or blank
|
|
56
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
57
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
58
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
59
|
-
*/
|
|
60
|
-
function installTransaction(session, parms) {
|
|
61
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS Transaction name", "CICS transaction name is required");
|
|
62
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.csdGroup, "CICS CSD Group", "CICS CSD group is required");
|
|
63
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
64
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to install a transaction with the following parameters:\n%s", JSON.stringify(parms));
|
|
65
|
-
const requestBody = {
|
|
66
|
-
request: {
|
|
67
|
-
action: {
|
|
68
|
-
$: {
|
|
69
|
-
name: "CSDINSTALL",
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
75
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
76
|
-
constants_1.CicsCmciConstants.CICS_DEFINITION_TRANSACTION + "/" + cicsPlex + parms.regionName +
|
|
77
|
-
"?CRITERIA=(NAME=" + parms.name + ")&PARAMETER=CSDGROUP(" + parms.csdGroup + ")";
|
|
78
|
-
return rest_1.CicsCmciRestClient.putExpectParsedXml(session, cmciResource, [], requestBody);
|
|
79
|
-
}
|
|
80
|
-
exports.installTransaction = installTransaction;
|
|
81
|
-
/**
|
|
82
|
-
* Install a URIMap installed in CICS through CMCI REST API
|
|
83
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
84
|
-
* @param {IURIMapParms} parms - parameters for enabling your URIMap
|
|
85
|
-
* @returns {Promise<ICMCIApiResponse>} promise that resolves to the response (XML parsed into a javascript object)
|
|
86
|
-
* when the request is complete
|
|
87
|
-
* @throws {ImperativeError} CICS URIMap name not defined or blank
|
|
88
|
-
* @throws {ImperativeError} CICS CSD group not defined or blank
|
|
89
|
-
* @throws {ImperativeError} CICS region name not defined or blank
|
|
90
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
91
|
-
*/
|
|
92
|
-
function installUrimap(session, parms) {
|
|
93
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS URIMap name", "CICS URIMap name is required");
|
|
94
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.csdGroup, "CICS CSD group", "CICS CSD group name is required");
|
|
95
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.regionName, "CICS Region name", "CICS region name is required");
|
|
96
|
-
imperative_1.Logger.getAppLogger().debug("Attempting to install a URIMap with the following parameters:\n%s", JSON.stringify(parms));
|
|
97
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
98
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
99
|
-
constants_1.CicsCmciConstants.CICS_DEFINITION_URIMAP + "/" + cicsPlex +
|
|
100
|
-
`${parms.regionName}?CRITERIA=(NAME=${parms.name})&PARAMETER=CSDGROUP(${parms.csdGroup})`;
|
|
101
|
-
const requestBody = {
|
|
102
|
-
request: {
|
|
103
|
-
action: {
|
|
104
|
-
$: {
|
|
105
|
-
name: "CSDINSTALL",
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
return rest_1.CicsCmciRestClient.putExpectParsedXml(session, cmciResource, [], requestBody);
|
|
111
|
-
}
|
|
112
|
-
exports.installUrimap = installUrimap;
|
|
113
|
-
//# sourceMappingURL=Install.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Install.js","sourceRoot":"","sources":["../../../src/methods/install/Install.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 "./Install";
|
|
@@ -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("./Install"), exports);
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/install/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,4CAA0B"}
|
package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.d.ts
DELETED
|
@@ -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, ICSDGroupParms } from "../../doc";
|
|
13
|
-
/**
|
|
14
|
-
* Remove a CSD Group resource from a CSD List in CICS through CMCI REST API
|
|
15
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
16
|
-
* @param {ICSDGroupParms} parms - parameters for defining your CSD Group
|
|
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 CSD Group name not defined or blank
|
|
20
|
-
* @throws {ImperativeError} CICS CSD List not defined or blank
|
|
21
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
22
|
-
*/
|
|
23
|
-
export declare function removeCSDGroupFromList(session: AbstractSession, parms: ICSDGroupParms): Promise<ICMCIApiResponse>;
|
|
@@ -1,39 +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.removeCSDGroupFromList = void 0;
|
|
14
|
-
const imperative_1 = require("@zowe/imperative");
|
|
15
|
-
const rest_1 = require("../../rest");
|
|
16
|
-
const constants_1 = require("../../constants");
|
|
17
|
-
/**
|
|
18
|
-
* Remove a CSD Group resource from a CSD List in CICS through CMCI REST API
|
|
19
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
20
|
-
* @param {ICSDGroupParms} parms - parameters for defining your CSD Group
|
|
21
|
-
* @returns {Promise<any>} promise that resolves to the response (XML parsed into a javascript object)
|
|
22
|
-
* when the request is complete
|
|
23
|
-
* @throws {ImperativeError} CICS CSD Group name not defined or blank
|
|
24
|
-
* @throws {ImperativeError} CICS CSD List not defined or blank
|
|
25
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
26
|
-
*/
|
|
27
|
-
function removeCSDGroupFromList(session, parms) {
|
|
28
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.name, "CICS CSD Group Name", "CICS CSD Group Name is required");
|
|
29
|
-
imperative_1.ImperativeExpect.toBeDefinedAndNonBlank(parms.csdList, "CICS CSD List", "CICS CSD List 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 remove a CSD Group from a CSD List 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_CSDGROUP_IN_LIST + "/" + cicsPlex + parms.regionName +
|
|
35
|
-
"?CRITERIA=(CSDLIST=='" + parms.csdList + "')%20AND%20(CSDGROUP=='" + parms.name + "')";
|
|
36
|
-
return rest_1.CicsCmciRestClient.deleteExpectParsedXml(session, cmciResource, []);
|
|
37
|
-
}
|
|
38
|
-
exports.removeCSDGroupFromList = removeCSDGroupFromList;
|
|
39
|
-
//# sourceMappingURL=RemoveFromList.js.map
|
package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RemoveFromList.js","sourceRoot":"","sources":["../../../src/methods/remove-from-list/RemoveFromList.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAA6E;AAC7E,qCAAgD;AAChD,+CAAoD;AAGpD;;;;;;;;;GASG;AACH,SAAgB,sBAAsB,CAAC,OAAwB,EAAE,KAAqB;IACpF,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,IAAI,EAAE,qBAAqB,EAAE,iCAAiC,CAAC,CAAC;IAC9G,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,OAAO,EAAE,eAAe,EAAE,2BAA2B,CAAC,CAAC;IACrG,6BAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,UAAU,EAAE,kBAAkB,EAAE,8BAA8B,CAAC,CAAC;IAE9G,mBAAM,CAAC,YAAY,EAAE,CAAC,KAAK,CAAC,qFAAqF,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAE1I,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,qBAAqB,GAAG,GAAG,GAAG,QAAQ,GAAG,KAAK,CAAC,UAAU;QAC3E,uBAAuB,GAAG,KAAK,CAAC,OAAO,GAAG,yBAAyB,GAAG,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC;IAC9F,OAAO,yBAAkB,CAAC,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,CAAQ,CAAC;AACpF,CAAC;AAZD,wDAYC"}
|
|
@@ -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 "./RemoveFromList";
|
|
@@ -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("./RemoveFromList"), exports);
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/remove-from-list/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,mDAAiC"}
|
|
@@ -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, IProgramParms } from "../../doc";
|
|
13
|
-
/**
|
|
14
|
-
* Refresh a program definition on CICS through CMCI REST API
|
|
15
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
16
|
-
* @param {IProgramParms} parms - parameters for refreshing 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 region name not defined or blank
|
|
21
|
-
* @throws {ImperativeError} CicsCmciRestClient request fails
|
|
22
|
-
*/
|
|
23
|
-
export declare function programNewcopy(session: AbstractSession, parms: IProgramParms): Promise<ICMCIApiResponse>;
|
|
@@ -1,47 +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.programNewcopy = void 0;
|
|
14
|
-
const imperative_1 = require("@zowe/imperative");
|
|
15
|
-
const rest_1 = require("../../rest");
|
|
16
|
-
const constants_1 = require("../../constants");
|
|
17
|
-
/**
|
|
18
|
-
* Refresh a program definition on CICS through CMCI REST API
|
|
19
|
-
* @param {AbstractSession} session - the session to connect to CMCI with
|
|
20
|
-
* @param {IProgramParms} parms - parameters for refreshing your program
|
|
21
|
-
* @returns {Promise<any>} 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
|
-
function programNewcopy(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 refresh a program with the following parameters:\n%s", JSON.stringify(parms));
|
|
31
|
-
const requestBody = {
|
|
32
|
-
request: {
|
|
33
|
-
action: {
|
|
34
|
-
$: {
|
|
35
|
-
name: "NEWCOPY",
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
const cicsPlex = parms.cicsPlex == null ? "" : parms.cicsPlex + "/";
|
|
41
|
-
const cmciResource = "/" + constants_1.CicsCmciConstants.CICS_SYSTEM_MANAGEMENT + "/" +
|
|
42
|
-
constants_1.CicsCmciConstants.CICS_PROGRAM_RESOURCE + "/" + cicsPlex + parms.regionName +
|
|
43
|
-
"?CRITERIA=(PROGRAM=" + parms.name + ")";
|
|
44
|
-
return rest_1.CicsCmciRestClient.putExpectParsedXml(session, cmciResource, [], requestBody);
|
|
45
|
-
}
|
|
46
|
-
exports.programNewcopy = programNewcopy;
|
|
47
|
-
//# sourceMappingURL=Set.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Set.js","sourceRoot":"","sources":["../../../src/methods/set/Set.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,iDAA6E;AAC7E,qCAAgD;AAChD,+CAAoD;AAGpD;;;;;;;;;GASG;AACH,SAAgB,cAAc,CAAC,OAAwB,EAAE,KAAoB;IAC3E,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;IACzH,MAAM,WAAW,GAAQ;QACvB,OAAO,EAAE;YACP,MAAM,EAAE;gBACN,CAAC,EAAE;oBACD,IAAI,EAAE,SAAS;iBAChB;aACF;SACF;KACF,CAAC;IAEF,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,qBAAqB,GAAG,GAAG,GAAG,QAAQ,GAAG,KAAK,CAAC,UAAU;QAC3E,qBAAqB,GAAG,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC;IAC/C,OAAO,yBAAkB,CAAC,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE,WAAW,CAAQ,CAAC;AAC9F,CAAC;AApBD,wCAoBC"}
|