@zowe/cics-for-zowe-cli 5.0.0 → 5.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{cli/-strings- → -strings-}/en.d.ts +10 -0
- package/lib/{cli/-strings- → -strings-}/en.js +10 -10
- package/lib/-strings-/en.js.map +1 -0
- package/lib/{cli/-strings- → -strings-}/es.d.ts +10 -0
- package/lib/{cli/-strings- → -strings-}/es.js +10 -10
- package/lib/-strings-/es.js.map +1 -0
- package/lib/CicsBaseHandler.d.ts +38 -0
- package/lib/CicsBaseHandler.js +38 -0
- package/lib/CicsBaseHandler.js.map +1 -0
- package/lib/CicsSession.d.ts +71 -0
- package/lib/CicsSession.js +161 -0
- package/lib/CicsSession.js.map +1 -0
- package/lib/PluginConstants.d.ts +24 -0
- package/lib/PluginConstants.js +29 -0
- package/lib/PluginConstants.js.map +1 -0
- package/lib/add-to-list/AddToList.definition.d.ts +16 -0
- package/lib/{cli/add-to-list → add-to-list}/AddToList.definition.js +10 -10
- package/lib/add-to-list/AddToList.definition.js.map +1 -0
- package/lib/add-to-list/csdGroup/CSDGroup.definition.d.ts +12 -0
- package/lib/{cli/add-to-list → add-to-list}/csdGroup/CSDGroup.definition.js +10 -10
- package/lib/add-to-list/csdGroup/CSDGroup.definition.js.map +1 -0
- package/lib/{cli/add-to-list → add-to-list}/csdGroup/CSDGroup.handler.d.ts +11 -1
- package/lib/add-to-list/csdGroup/CSDGroup.handler.js +43 -0
- package/lib/add-to-list/csdGroup/CSDGroup.handler.js.map +1 -0
- package/lib/define/Define.definition.d.ts +16 -0
- package/lib/{cli/define → define}/Define.definition.js +10 -10
- package/lib/define/Define.definition.js.map +1 -0
- package/lib/define/program/Program.definition.d.ts +12 -0
- package/lib/{cli/define → define}/program/Program.definition.js +10 -10
- package/lib/define/program/Program.definition.js.map +1 -0
- package/lib/{cli/define → define}/program/Program.handler.d.ts +11 -1
- package/lib/define/program/Program.handler.js +43 -0
- package/lib/define/program/Program.handler.js.map +1 -0
- package/lib/define/transaction/Transaction.definition.d.ts +12 -0
- package/lib/{cli/define → define}/transaction/Transaction.definition.js +10 -10
- package/lib/define/transaction/Transaction.definition.js.map +1 -0
- package/lib/{cli/define → define}/transaction/Transaction.handler.d.ts +11 -1
- package/lib/define/transaction/Transaction.handler.js +44 -0
- package/lib/define/transaction/Transaction.handler.js.map +1 -0
- package/lib/define/urimap-client/UrimapClient.definition.d.ts +12 -0
- package/lib/{cli/define → define}/urimap-client/UrimapClient.definition.js +10 -10
- package/lib/define/urimap-client/UrimapClient.definition.js.map +1 -0
- package/lib/{cli/define → define}/urimap-client/UrimapClient.handler.d.ts +11 -1
- package/lib/define/urimap-client/UrimapClient.handler.js +50 -0
- package/lib/define/urimap-client/UrimapClient.handler.js.map +1 -0
- package/lib/define/urimap-pipeline/UrimapPipeline.definition.d.ts +12 -0
- package/lib/{cli/define → define}/urimap-pipeline/UrimapPipeline.definition.js +10 -10
- package/lib/define/urimap-pipeline/UrimapPipeline.definition.js.map +1 -0
- package/lib/{cli/define → define}/urimap-pipeline/UrimapPipeline.handler.d.ts +11 -1
- package/lib/define/urimap-pipeline/UrimapPipeline.handler.js +52 -0
- package/lib/define/urimap-pipeline/UrimapPipeline.handler.js.map +1 -0
- package/lib/define/urimap-server/UrimapServer.definition.d.ts +12 -0
- package/lib/{cli/define → define}/urimap-server/UrimapServer.definition.js +10 -10
- package/lib/define/urimap-server/UrimapServer.definition.js.map +1 -0
- package/lib/{cli/define → define}/urimap-server/UrimapServer.handler.d.ts +11 -1
- package/lib/define/urimap-server/UrimapServer.handler.js +50 -0
- package/lib/define/urimap-server/UrimapServer.handler.js.map +1 -0
- package/lib/define/webservice/Webservice.definition.d.ts +12 -0
- package/lib/{cli/define → define}/webservice/Webservice.definition.js +10 -10
- package/lib/define/webservice/Webservice.definition.js.map +1 -0
- package/lib/{cli/define → define}/webservice/Webservice.handler.d.ts +11 -1
- package/lib/define/webservice/Webservice.handler.js +60 -0
- package/lib/define/webservice/Webservice.handler.js.map +1 -0
- package/lib/delete/Delete.definition.d.ts +16 -0
- package/lib/{cli/delete → delete}/Delete.definition.js +10 -10
- package/lib/delete/Delete.definition.js.map +1 -0
- package/lib/delete/program/Program.definition.d.ts +12 -0
- package/lib/{cli/delete → delete}/program/Program.definition.js +10 -10
- package/lib/delete/program/Program.definition.js.map +1 -0
- package/lib/{cli/delete → delete}/program/Program.handler.d.ts +11 -1
- package/lib/delete/program/Program.handler.js +43 -0
- package/lib/delete/program/Program.handler.js.map +1 -0
- package/lib/delete/transaction/Transaction.definition.d.ts +12 -0
- package/lib/{cli/delete → delete}/transaction/Transaction.definition.js +10 -10
- package/lib/delete/transaction/Transaction.definition.js.map +1 -0
- package/lib/{cli/delete → delete}/transaction/Transaction.handler.d.ts +11 -1
- package/lib/delete/transaction/Transaction.handler.js +43 -0
- package/lib/delete/transaction/Transaction.handler.js.map +1 -0
- package/lib/delete/urimap/Urimap.definition.d.ts +12 -0
- package/lib/{cli/delete → delete}/urimap/Urimap.definition.js +10 -10
- package/lib/delete/urimap/Urimap.definition.js.map +1 -0
- package/lib/{cli/delete → delete}/urimap/Urimap.handler.d.ts +11 -1
- package/lib/delete/urimap/Urimap.handler.js +42 -0
- package/lib/delete/urimap/Urimap.handler.js.map +1 -0
- package/lib/delete/webservice/Webservice.definition.d.ts +12 -0
- package/lib/{cli/delete → delete}/webservice/Webservice.definition.js +10 -10
- package/lib/delete/webservice/Webservice.definition.js.map +1 -0
- package/lib/{cli/delete → delete}/webservice/Webservice.handler.d.ts +11 -1
- package/lib/delete/webservice/Webservice.handler.js +42 -0
- package/lib/delete/webservice/Webservice.handler.js.map +1 -0
- package/lib/disable/Disable.definition.d.ts +16 -0
- package/lib/{cli/disable → disable}/Disable.definition.js +10 -10
- package/lib/disable/Disable.definition.js.map +1 -0
- package/lib/disable/urimap/Urimap.definition.d.ts +12 -0
- package/lib/{cli/disable → disable}/urimap/Urimap.definition.js +10 -10
- package/lib/disable/urimap/Urimap.definition.js.map +1 -0
- package/lib/{cli/disable → disable}/urimap/Urimap.handler.d.ts +11 -1
- package/lib/disable/urimap/Urimap.handler.js +41 -0
- package/lib/disable/urimap/Urimap.handler.js.map +1 -0
- package/lib/discard/Discard.definition.d.ts +16 -0
- package/lib/{cli/discard → discard}/Discard.definition.js +10 -10
- package/lib/discard/Discard.definition.js.map +1 -0
- package/lib/discard/program/Program.definition.d.ts +12 -0
- package/lib/{cli/discard → discard}/program/Program.definition.js +10 -10
- package/lib/discard/program/Program.definition.js.map +1 -0
- package/lib/{cli/discard → discard}/program/Program.handler.d.ts +11 -1
- package/lib/discard/program/Program.handler.js +42 -0
- package/lib/discard/program/Program.handler.js.map +1 -0
- package/lib/discard/transaction/Transaction.definition.d.ts +12 -0
- package/lib/{cli/discard → discard}/transaction/Transaction.definition.js +10 -10
- package/lib/discard/transaction/Transaction.definition.js.map +1 -0
- package/lib/{cli/discard → discard}/transaction/Transaction.handler.d.ts +11 -1
- package/lib/discard/transaction/Transaction.handler.js +42 -0
- package/lib/discard/transaction/Transaction.handler.js.map +1 -0
- package/lib/discard/urimap/Urimap.definition.d.ts +12 -0
- package/lib/{cli/discard → discard}/urimap/Urimap.definition.js +10 -10
- package/lib/discard/urimap/Urimap.definition.js.map +1 -0
- package/lib/{cli/discard → discard}/urimap/Urimap.handler.d.ts +11 -1
- package/lib/discard/urimap/Urimap.handler.js +41 -0
- package/lib/discard/urimap/Urimap.handler.js.map +1 -0
- package/lib/enable/Enable.definition.d.ts +16 -0
- package/lib/{cli/enable → enable}/Enable.definition.js +10 -10
- package/lib/enable/Enable.definition.js.map +1 -0
- package/lib/enable/urimap/Urimap.definition.d.ts +12 -0
- package/lib/{cli/enable → enable}/urimap/Urimap.definition.js +10 -10
- package/lib/enable/urimap/Urimap.definition.js.map +1 -0
- package/lib/{cli/enable → enable}/urimap/Urimap.handler.d.ts +11 -1
- package/lib/enable/urimap/Urimap.handler.js +41 -0
- package/lib/enable/urimap/Urimap.handler.js.map +1 -0
- package/lib/get/Get.definition.d.ts +16 -0
- package/lib/{cli/get → get}/Get.definition.js +10 -10
- package/lib/get/Get.definition.js.map +1 -0
- package/lib/get/resource/Resource.definition.d.ts +12 -0
- package/lib/{cli/get → get}/resource/Resource.definition.js +10 -10
- package/lib/get/resource/Resource.definition.js.map +1 -0
- package/lib/{cli/get → get}/resource/Resource.handler.d.ts +11 -1
- package/lib/get/resource/Resource.handler.js +46 -0
- package/lib/get/resource/Resource.handler.js.map +1 -0
- package/lib/healthCheck.handler.d.ts +10 -0
- package/lib/healthCheck.handler.js +10 -10
- package/lib/healthCheck.handler.js.map +1 -1
- package/lib/imperative.d.ts +10 -0
- package/lib/imperative.js +13 -13
- package/lib/imperative.js.map +1 -1
- package/lib/index.d.ts +11 -1
- package/lib/index.js +17 -13
- package/lib/index.js.map +1 -1
- package/lib/install/Install.definition.d.ts +16 -0
- package/lib/{cli/install → install}/Install.definition.js +10 -10
- package/lib/install/Install.definition.js.map +1 -0
- package/lib/install/program/Program.definition.d.ts +12 -0
- package/lib/{cli/install → install}/program/Program.definition.js +10 -10
- package/lib/install/program/Program.definition.js.map +1 -0
- package/lib/{cli/install → install}/program/Program.handler.d.ts +11 -1
- package/lib/install/program/Program.handler.js +43 -0
- package/lib/install/program/Program.handler.js.map +1 -0
- package/lib/install/transaction/Transaction.definition.d.ts +12 -0
- package/lib/{cli/install → install}/transaction/Transaction.definition.js +10 -10
- package/lib/install/transaction/Transaction.definition.js.map +1 -0
- package/lib/{cli/install → install}/transaction/Transaction.handler.d.ts +11 -1
- package/lib/install/transaction/Transaction.handler.js +43 -0
- package/lib/install/transaction/Transaction.handler.js.map +1 -0
- package/lib/install/urimap/Urimap.definition.d.ts +12 -0
- package/lib/{cli/install → install}/urimap/Urimap.definition.js +10 -10
- package/lib/install/urimap/Urimap.definition.js.map +1 -0
- package/lib/{cli/install → install}/urimap/Urimap.handler.d.ts +11 -1
- package/lib/install/urimap/Urimap.handler.js +42 -0
- package/lib/install/urimap/Urimap.handler.js.map +1 -0
- package/lib/refresh/Refresh.definition.d.ts +16 -0
- package/lib/{cli/refresh → refresh}/Refresh.definition.js +10 -10
- package/lib/refresh/Refresh.definition.js.map +1 -0
- package/lib/refresh/program/Program.definition.d.ts +12 -0
- package/lib/{cli/refresh → refresh}/program/Program.definition.js +10 -10
- package/lib/refresh/program/Program.definition.js.map +1 -0
- package/lib/{cli/refresh → refresh}/program/Program.handler.d.ts +11 -1
- package/lib/refresh/program/Program.handler.js +42 -0
- package/lib/refresh/program/Program.handler.js.map +1 -0
- package/lib/remove-from-list/RemoveFromList.definition.d.ts +16 -0
- package/lib/{cli/remove-from-list → remove-from-list}/RemoveFromList.definition.js +10 -10
- package/lib/remove-from-list/RemoveFromList.definition.js.map +1 -0
- package/lib/remove-from-list/csdGroup/CSDGroup.definition.d.ts +12 -0
- package/lib/{cli/remove-from-list → remove-from-list}/csdGroup/CSDGroup.definition.js +10 -10
- package/lib/remove-from-list/csdGroup/CSDGroup.definition.js.map +1 -0
- package/lib/{cli/remove-from-list → remove-from-list}/csdGroup/CSDGroup.handler.d.ts +11 -1
- package/lib/remove-from-list/csdGroup/CSDGroup.handler.js +43 -0
- package/lib/remove-from-list/csdGroup/CSDGroup.handler.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/LICENSE +277 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/README.md +161 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.d.ts +16 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.js +83 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.constants.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.d.ts +17 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.js +22 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/CicsCmci.messages.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.d.ts +12 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.js +29 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/constants/index.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.d.ts +33 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.js +13 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIApiResponse.js.map +1 -0
- package/{lib/api → node_modules/@zowe/cics-for-zowe-sdk/lib}/doc/ICMCIResponseResultSummary.d.ts +10 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIResponseResultSummary.js +13 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICMCIResponseResultSummary.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.d.ts +30 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.js +13 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ICSDGroupParms.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.d.ts +30 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.js +13 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IProgramParms.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.d.ts +41 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.js +13 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IResourceParms.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.d.ts +35 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.js +13 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/ITransactionParms.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.d.ts +89 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.js +13 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IURIMapParms.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.d.ts +55 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.js +13 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/IWebServiceParms.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.d.ts +18 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.js +35 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/doc/index.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.d.ts +14 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.js +31 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/index.js.map +1 -0
- package/{lib/api → node_modules/@zowe/cics-for-zowe-sdk/lib}/methods/add-to-list/AddToList.d.ts +10 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/AddToList.js +54 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/AddToList.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/add-to-list/index.js.map +1 -0
- package/{lib/api → node_modules/@zowe/cics-for-zowe-sdk/lib}/methods/define/Define.d.ts +10 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.js +290 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/Define.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/define/index.js.map +1 -0
- package/{lib/api → node_modules/@zowe/cics-for-zowe-sdk/lib}/methods/delete/Delete.d.ts +10 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/Delete.js +107 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/Delete.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/delete/index.js.map +1 -0
- package/{lib/api → node_modules/@zowe/cics-for-zowe-sdk/lib}/methods/disable/Disable.d.ts +10 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/Disable.js +50 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/Disable.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/disable/index.js.map +1 -0
- package/{lib/api → node_modules/@zowe/cics-for-zowe-sdk/lib}/methods/discard/Discard.d.ts +10 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/Discard.js +70 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/Discard.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/discard/index.js.map +1 -0
- package/{lib/api → node_modules/@zowe/cics-for-zowe-sdk/lib}/methods/enable/Enable.d.ts +10 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/Enable.js +50 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/Enable.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/enable/index.js.map +1 -0
- package/{lib/api → node_modules/@zowe/cics-for-zowe-sdk/lib}/methods/get/Get.d.ts +10 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/Get.js +45 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/Get.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/get/index.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.d.ts +20 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.js +37 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/index.js.map +1 -0
- package/{lib/api → node_modules/@zowe/cics-for-zowe-sdk/lib}/methods/install/Install.d.ts +10 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/Install.js +113 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/Install.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/install/index.js.map +1 -0
- package/{lib/api → node_modules/@zowe/cics-for-zowe-sdk/lib}/methods/remove-from-list/RemoveFromList.d.ts +10 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.js +39 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/RemoveFromList.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/remove-from-list/index.js.map +1 -0
- package/{lib/api → node_modules/@zowe/cics-for-zowe-sdk/lib}/methods/set/Set.d.ts +10 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/Set.js +47 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/Set.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/methods/set/index.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.d.ts +128 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.js +221 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/CicsCmciRestClient.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.d.ts +11 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.js +28 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/lib/rest/index.js.map +1 -0
- package/node_modules/@zowe/cics-for-zowe-sdk/package.json +51 -0
- package/node_modules/sax/LICENSE +41 -0
- package/node_modules/sax/README.md +225 -0
- package/node_modules/sax/lib/sax.js +1574 -0
- package/node_modules/sax/package.json +29 -0
- package/node_modules/xml2js/LICENSE +19 -0
- package/node_modules/xml2js/README.md +507 -0
- package/node_modules/xml2js/lib/bom.js +12 -0
- package/node_modules/xml2js/lib/builder.js +127 -0
- package/node_modules/xml2js/lib/defaults.js +72 -0
- package/node_modules/xml2js/lib/parser.js +385 -0
- package/node_modules/xml2js/lib/processors.js +34 -0
- package/node_modules/xml2js/lib/xml2js.js +39 -0
- package/node_modules/xml2js/package.json +93 -0
- package/node_modules/xmlbuilder/CHANGELOG.md +470 -0
- package/node_modules/xmlbuilder/LICENSE +21 -0
- package/node_modules/xmlbuilder/README.md +86 -0
- package/node_modules/xmlbuilder/appveyor.yml +20 -0
- package/node_modules/xmlbuilder/lib/Derivation.js +10 -0
- package/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
- package/node_modules/xmlbuilder/lib/NodeType.js +23 -0
- package/node_modules/xmlbuilder/lib/OperationType.js +11 -0
- package/node_modules/xmlbuilder/lib/Utility.js +83 -0
- package/node_modules/xmlbuilder/lib/WriterState.js +10 -0
- package/node_modules/xmlbuilder/lib/XMLAttribute.js +108 -0
- package/node_modules/xmlbuilder/lib/XMLCData.js +36 -0
- package/node_modules/xmlbuilder/lib/XMLCharacterData.js +79 -0
- package/node_modules/xmlbuilder/lib/XMLComment.js +36 -0
- package/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +64 -0
- package/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +16 -0
- package/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +32 -0
- package/node_modules/xmlbuilder/lib/XMLDOMStringList.js +28 -0
- package/node_modules/xmlbuilder/lib/XMLDTDAttList.js +55 -0
- package/node_modules/xmlbuilder/lib/XMLDTDElement.js +38 -0
- package/node_modules/xmlbuilder/lib/XMLDTDEntity.js +97 -0
- package/node_modules/xmlbuilder/lib/XMLDTDNotation.js +52 -0
- package/node_modules/xmlbuilder/lib/XMLDeclaration.js +43 -0
- package/node_modules/xmlbuilder/lib/XMLDocType.js +186 -0
- package/node_modules/xmlbuilder/lib/XMLDocument.js +242 -0
- package/node_modules/xmlbuilder/lib/XMLDocumentCB.js +528 -0
- package/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +24 -0
- package/node_modules/xmlbuilder/lib/XMLDummy.js +31 -0
- package/node_modules/xmlbuilder/lib/XMLElement.js +298 -0
- package/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +58 -0
- package/node_modules/xmlbuilder/lib/XMLNode.js +785 -0
- package/node_modules/xmlbuilder/lib/XMLNodeFilter.js +48 -0
- package/node_modules/xmlbuilder/lib/XMLNodeList.js +28 -0
- package/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +49 -0
- package/node_modules/xmlbuilder/lib/XMLRaw.js +35 -0
- package/node_modules/xmlbuilder/lib/XMLStreamWriter.js +176 -0
- package/node_modules/xmlbuilder/lib/XMLStringWriter.js +35 -0
- package/node_modules/xmlbuilder/lib/XMLStringifier.js +240 -0
- package/node_modules/xmlbuilder/lib/XMLText.js +69 -0
- package/node_modules/xmlbuilder/lib/XMLTypeInfo.js +21 -0
- package/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +16 -0
- package/node_modules/xmlbuilder/lib/XMLWriterBase.js +428 -0
- package/node_modules/xmlbuilder/lib/index.js +65 -0
- package/node_modules/xmlbuilder/package.json +39 -0
- package/node_modules/xmlbuilder/typings/index.d.ts +153 -0
- package/package.json +19 -94
- package/lib/api/constants/CicsCmci.constants.d.ts +0 -6
- package/lib/api/constants/CicsCmci.constants.js +0 -83
- package/lib/api/constants/CicsCmci.constants.js.map +0 -1
- package/lib/api/constants/CicsCmci.messages.d.ts +0 -7
- package/lib/api/constants/CicsCmci.messages.js +0 -22
- package/lib/api/constants/CicsCmci.messages.js.map +0 -1
- package/lib/api/constants/PluginConstants.d.ts +0 -14
- package/lib/api/constants/PluginConstants.js +0 -29
- package/lib/api/constants/PluginConstants.js.map +0 -1
- package/lib/api/constants/index.d.ts +0 -2
- package/lib/api/constants/index.js +0 -25
- package/lib/api/constants/index.js.map +0 -1
- package/lib/api/doc/ICMCIApiResponse.d.ts +0 -23
- package/lib/api/doc/ICMCIApiResponse.js +0 -13
- package/lib/api/doc/ICMCIApiResponse.js.map +0 -1
- package/lib/api/doc/ICMCIResponseResultSummary.js +0 -13
- package/lib/api/doc/ICMCIResponseResultSummary.js.map +0 -1
- package/lib/api/doc/ICSDGroupParms.d.ts +0 -20
- package/lib/api/doc/ICSDGroupParms.js +0 -13
- package/lib/api/doc/ICSDGroupParms.js.map +0 -1
- package/lib/api/doc/IProgramParms.d.ts +0 -20
- package/lib/api/doc/IProgramParms.js +0 -13
- package/lib/api/doc/IProgramParms.js.map +0 -1
- package/lib/api/doc/IResourceParms.d.ts +0 -31
- package/lib/api/doc/IResourceParms.js +0 -13
- package/lib/api/doc/IResourceParms.js.map +0 -1
- package/lib/api/doc/ITransactionParms.d.ts +0 -25
- package/lib/api/doc/ITransactionParms.js +0 -13
- package/lib/api/doc/ITransactionParms.js.map +0 -1
- package/lib/api/doc/IURIMapParms.d.ts +0 -79
- package/lib/api/doc/IURIMapParms.js +0 -13
- package/lib/api/doc/IURIMapParms.js.map +0 -1
- package/lib/api/doc/IWebServiceParms.d.ts +0 -45
- package/lib/api/doc/IWebServiceParms.js +0 -13
- package/lib/api/doc/IWebServiceParms.js.map +0 -1
- package/lib/api/doc/index.d.ts +0 -8
- package/lib/api/doc/index.js +0 -31
- package/lib/api/doc/index.js.map +0 -1
- package/lib/api/index.d.ts +0 -4
- package/lib/api/index.js +0 -27
- package/lib/api/index.js.map +0 -1
- package/lib/api/methods/add-to-list/AddToList.js +0 -65
- package/lib/api/methods/add-to-list/AddToList.js.map +0 -1
- package/lib/api/methods/add-to-list/index.d.ts +0 -1
- package/lib/api/methods/add-to-list/index.js +0 -24
- package/lib/api/methods/add-to-list/index.js.map +0 -1
- package/lib/api/methods/define/Define.js +0 -311
- package/lib/api/methods/define/Define.js.map +0 -1
- package/lib/api/methods/define/index.d.ts +0 -1
- package/lib/api/methods/define/index.js +0 -24
- package/lib/api/methods/define/index.js.map +0 -1
- package/lib/api/methods/delete/Delete.js +0 -124
- package/lib/api/methods/delete/Delete.js.map +0 -1
- package/lib/api/methods/delete/index.d.ts +0 -1
- package/lib/api/methods/delete/index.js +0 -24
- package/lib/api/methods/delete/index.js.map +0 -1
- package/lib/api/methods/disable/Disable.js +0 -61
- package/lib/api/methods/disable/Disable.js.map +0 -1
- package/lib/api/methods/disable/index.d.ts +0 -1
- package/lib/api/methods/disable/index.js +0 -24
- package/lib/api/methods/disable/index.js.map +0 -1
- package/lib/api/methods/discard/Discard.js +0 -85
- package/lib/api/methods/discard/Discard.js.map +0 -1
- package/lib/api/methods/discard/index.d.ts +0 -1
- package/lib/api/methods/discard/index.js +0 -24
- package/lib/api/methods/discard/index.js.map +0 -1
- package/lib/api/methods/enable/Enable.js +0 -61
- package/lib/api/methods/enable/Enable.js.map +0 -1
- package/lib/api/methods/enable/index.d.ts +0 -1
- package/lib/api/methods/enable/index.js +0 -24
- package/lib/api/methods/enable/index.js.map +0 -1
- package/lib/api/methods/get/Get.js +0 -56
- package/lib/api/methods/get/Get.js.map +0 -1
- package/lib/api/methods/get/index.d.ts +0 -1
- package/lib/api/methods/get/index.js +0 -24
- package/lib/api/methods/get/index.js.map +0 -1
- package/lib/api/methods/index.d.ts +0 -10
- package/lib/api/methods/index.js +0 -33
- package/lib/api/methods/index.js.map +0 -1
- package/lib/api/methods/install/Install.js +0 -128
- package/lib/api/methods/install/Install.js.map +0 -1
- package/lib/api/methods/install/index.d.ts +0 -1
- package/lib/api/methods/install/index.js +0 -24
- package/lib/api/methods/install/index.js.map +0 -1
- package/lib/api/methods/remove-from-list/RemoveFromList.js +0 -50
- package/lib/api/methods/remove-from-list/RemoveFromList.js.map +0 -1
- package/lib/api/methods/remove-from-list/index.d.ts +0 -1
- package/lib/api/methods/remove-from-list/index.js +0 -24
- package/lib/api/methods/remove-from-list/index.js.map +0 -1
- package/lib/api/methods/set/Set.js +0 -58
- package/lib/api/methods/set/Set.js.map +0 -1
- package/lib/api/methods/set/index.d.ts +0 -1
- package/lib/api/methods/set/index.js +0 -24
- package/lib/api/methods/set/index.js.map +0 -1
- package/lib/api/rest/CicsCmciRestClient.d.ts +0 -118
- package/lib/api/rest/CicsCmciRestClient.js +0 -230
- package/lib/api/rest/CicsCmciRestClient.js.map +0 -1
- package/lib/api/rest/index.d.ts +0 -1
- package/lib/api/rest/index.js +0 -24
- package/lib/api/rest/index.js.map +0 -1
- package/lib/cli/-strings-/en.js.map +0 -1
- package/lib/cli/-strings-/es.js.map +0 -1
- package/lib/cli/CicsBaseHandler.d.ts +0 -28
- package/lib/cli/CicsBaseHandler.js +0 -49
- package/lib/cli/CicsBaseHandler.js.map +0 -1
- package/lib/cli/CicsSession.d.ts +0 -61
- package/lib/cli/CicsSession.js +0 -172
- package/lib/cli/CicsSession.js.map +0 -1
- package/lib/cli/add-to-list/AddToList.definition.d.ts +0 -6
- package/lib/cli/add-to-list/AddToList.definition.js.map +0 -1
- package/lib/cli/add-to-list/csdGroup/CSDGroup.definition.d.ts +0 -2
- package/lib/cli/add-to-list/csdGroup/CSDGroup.definition.js.map +0 -1
- package/lib/cli/add-to-list/csdGroup/CSDGroup.handler.js +0 -54
- package/lib/cli/add-to-list/csdGroup/CSDGroup.handler.js.map +0 -1
- package/lib/cli/define/Define.definition.d.ts +0 -6
- package/lib/cli/define/Define.definition.js.map +0 -1
- package/lib/cli/define/program/Program.definition.d.ts +0 -2
- package/lib/cli/define/program/Program.definition.js.map +0 -1
- package/lib/cli/define/program/Program.handler.js +0 -54
- package/lib/cli/define/program/Program.handler.js.map +0 -1
- package/lib/cli/define/transaction/Transaction.definition.d.ts +0 -2
- package/lib/cli/define/transaction/Transaction.definition.js.map +0 -1
- package/lib/cli/define/transaction/Transaction.handler.js +0 -55
- package/lib/cli/define/transaction/Transaction.handler.js.map +0 -1
- package/lib/cli/define/urimap-client/UrimapClient.definition.d.ts +0 -2
- package/lib/cli/define/urimap-client/UrimapClient.definition.js.map +0 -1
- package/lib/cli/define/urimap-client/UrimapClient.handler.js +0 -61
- package/lib/cli/define/urimap-client/UrimapClient.handler.js.map +0 -1
- package/lib/cli/define/urimap-pipeline/UrimapPipeline.definition.d.ts +0 -2
- package/lib/cli/define/urimap-pipeline/UrimapPipeline.definition.js.map +0 -1
- package/lib/cli/define/urimap-pipeline/UrimapPipeline.handler.js +0 -63
- package/lib/cli/define/urimap-pipeline/UrimapPipeline.handler.js.map +0 -1
- package/lib/cli/define/urimap-server/UrimapServer.definition.d.ts +0 -2
- package/lib/cli/define/urimap-server/UrimapServer.definition.js.map +0 -1
- package/lib/cli/define/urimap-server/UrimapServer.handler.js +0 -61
- package/lib/cli/define/urimap-server/UrimapServer.handler.js.map +0 -1
- package/lib/cli/define/webservice/Webservice.definition.d.ts +0 -2
- package/lib/cli/define/webservice/Webservice.definition.js.map +0 -1
- package/lib/cli/define/webservice/Webservice.handler.js +0 -71
- package/lib/cli/define/webservice/Webservice.handler.js.map +0 -1
- package/lib/cli/delete/Delete.definition.d.ts +0 -6
- package/lib/cli/delete/Delete.definition.js.map +0 -1
- package/lib/cli/delete/program/Program.definition.d.ts +0 -2
- package/lib/cli/delete/program/Program.definition.js.map +0 -1
- package/lib/cli/delete/program/Program.handler.js +0 -54
- package/lib/cli/delete/program/Program.handler.js.map +0 -1
- package/lib/cli/delete/transaction/Transaction.definition.d.ts +0 -2
- package/lib/cli/delete/transaction/Transaction.definition.js.map +0 -1
- package/lib/cli/delete/transaction/Transaction.handler.js +0 -54
- package/lib/cli/delete/transaction/Transaction.handler.js.map +0 -1
- package/lib/cli/delete/urimap/Urimap.definition.d.ts +0 -2
- package/lib/cli/delete/urimap/Urimap.definition.js.map +0 -1
- package/lib/cli/delete/urimap/Urimap.handler.js +0 -53
- package/lib/cli/delete/urimap/Urimap.handler.js.map +0 -1
- package/lib/cli/delete/webservice/Webservice.definition.d.ts +0 -2
- package/lib/cli/delete/webservice/Webservice.definition.js.map +0 -1
- package/lib/cli/delete/webservice/Webservice.handler.js +0 -53
- package/lib/cli/delete/webservice/Webservice.handler.js.map +0 -1
- package/lib/cli/disable/Disable.definition.d.ts +0 -6
- package/lib/cli/disable/Disable.definition.js.map +0 -1
- package/lib/cli/disable/urimap/Urimap.definition.d.ts +0 -2
- package/lib/cli/disable/urimap/Urimap.definition.js.map +0 -1
- package/lib/cli/disable/urimap/Urimap.handler.js +0 -52
- package/lib/cli/disable/urimap/Urimap.handler.js.map +0 -1
- package/lib/cli/discard/Discard.definition.d.ts +0 -6
- package/lib/cli/discard/Discard.definition.js.map +0 -1
- package/lib/cli/discard/program/Program.definition.d.ts +0 -2
- package/lib/cli/discard/program/Program.definition.js.map +0 -1
- package/lib/cli/discard/program/Program.handler.js +0 -53
- package/lib/cli/discard/program/Program.handler.js.map +0 -1
- package/lib/cli/discard/transaction/Transaction.definition.d.ts +0 -2
- package/lib/cli/discard/transaction/Transaction.definition.js.map +0 -1
- package/lib/cli/discard/transaction/Transaction.handler.js +0 -53
- package/lib/cli/discard/transaction/Transaction.handler.js.map +0 -1
- package/lib/cli/discard/urimap/Urimap.definition.d.ts +0 -2
- package/lib/cli/discard/urimap/Urimap.definition.js.map +0 -1
- package/lib/cli/discard/urimap/Urimap.handler.js +0 -52
- package/lib/cli/discard/urimap/Urimap.handler.js.map +0 -1
- package/lib/cli/enable/Enable.definition.d.ts +0 -6
- package/lib/cli/enable/Enable.definition.js.map +0 -1
- package/lib/cli/enable/urimap/Urimap.definition.d.ts +0 -2
- package/lib/cli/enable/urimap/Urimap.definition.js.map +0 -1
- package/lib/cli/enable/urimap/Urimap.handler.js +0 -52
- package/lib/cli/enable/urimap/Urimap.handler.js.map +0 -1
- package/lib/cli/get/Get.definition.d.ts +0 -6
- package/lib/cli/get/Get.definition.js.map +0 -1
- package/lib/cli/get/resource/Resource.definition.d.ts +0 -2
- package/lib/cli/get/resource/Resource.definition.js.map +0 -1
- package/lib/cli/get/resource/Resource.handler.js +0 -57
- package/lib/cli/get/resource/Resource.handler.js.map +0 -1
- package/lib/cli/install/Install.definition.d.ts +0 -6
- package/lib/cli/install/Install.definition.js.map +0 -1
- package/lib/cli/install/program/Program.definition.d.ts +0 -2
- package/lib/cli/install/program/Program.definition.js.map +0 -1
- package/lib/cli/install/program/Program.handler.js +0 -54
- package/lib/cli/install/program/Program.handler.js.map +0 -1
- package/lib/cli/install/transaction/Transaction.definition.d.ts +0 -2
- package/lib/cli/install/transaction/Transaction.definition.js.map +0 -1
- package/lib/cli/install/transaction/Transaction.handler.js +0 -54
- package/lib/cli/install/transaction/Transaction.handler.js.map +0 -1
- package/lib/cli/install/urimap/Urimap.definition.d.ts +0 -2
- package/lib/cli/install/urimap/Urimap.definition.js.map +0 -1
- package/lib/cli/install/urimap/Urimap.handler.js +0 -53
- package/lib/cli/install/urimap/Urimap.handler.js.map +0 -1
- package/lib/cli/refresh/Refresh.definition.d.ts +0 -6
- package/lib/cli/refresh/Refresh.definition.js.map +0 -1
- package/lib/cli/refresh/program/Program.definition.d.ts +0 -2
- package/lib/cli/refresh/program/Program.definition.js.map +0 -1
- package/lib/cli/refresh/program/Program.handler.js +0 -53
- package/lib/cli/refresh/program/Program.handler.js.map +0 -1
- package/lib/cli/remove-from-list/RemoveFromList.definition.d.ts +0 -6
- package/lib/cli/remove-from-list/RemoveFromList.definition.js.map +0 -1
- package/lib/cli/remove-from-list/csdGroup/CSDGroup.definition.d.ts +0 -2
- package/lib/cli/remove-from-list/csdGroup/CSDGroup.definition.js.map +0 -1
- package/lib/cli/remove-from-list/csdGroup/CSDGroup.handler.js +0 -54
- package/lib/cli/remove-from-list/csdGroup/CSDGroup.handler.js.map +0 -1
- package/npm-shrinkwrap.json +0 -93
|
@@ -0,0 +1,28 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/install/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,4CAA0B"}
|
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
*/
|
|
1
11
|
import { AbstractSession } from "@zowe/imperative";
|
|
2
12
|
import { ICMCIApiResponse, ICSDGroupParms } from "../../doc";
|
|
3
13
|
/**
|
|
@@ -0,0 +1,39 @@
|
|
|
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
ADDED
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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";
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/remove-from-list/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,mDAAiC"}
|
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
*/
|
|
1
11
|
import { AbstractSession } from "@zowe/imperative";
|
|
2
12
|
import { ICMCIApiResponse, IProgramParms } from "../../doc";
|
|
3
13
|
/**
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 "./Set";
|
|
@@ -0,0 +1,28 @@
|
|
|
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("./Set"), exports);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/methods/set/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,wCAAsB"}
|
|
@@ -0,0 +1,128 @@
|
|
|
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, IImperativeError, RestClient } from "@zowe/imperative";
|
|
12
|
+
import { ICMCIApiResponse } from "../doc/ICMCIApiResponse";
|
|
13
|
+
/**
|
|
14
|
+
* Wrapper for invoke CICS CMCI API through the RestClient to perform common error
|
|
15
|
+
* handling and checking and resolve promises according to generic types
|
|
16
|
+
* @export
|
|
17
|
+
* @class CicsCmciRestClient
|
|
18
|
+
* @extends {RestClient}
|
|
19
|
+
*/
|
|
20
|
+
export declare class CicsCmciRestClient extends RestClient {
|
|
21
|
+
/**
|
|
22
|
+
* If the API request is successful, this value should be in
|
|
23
|
+
* api_response2 in the resultsummary object in the response
|
|
24
|
+
*/
|
|
25
|
+
static readonly CMCI_SUCCESS_RESPONSE_1 = "1024";
|
|
26
|
+
/**
|
|
27
|
+
* If the API request is successful, this value should be in
|
|
28
|
+
* api_response2 in the resultsummary object in the response
|
|
29
|
+
*/
|
|
30
|
+
static readonly CMCI_SUCCESS_RESPONSE_2 = "0";
|
|
31
|
+
/**
|
|
32
|
+
* Convert an object to XML using the xml2js package
|
|
33
|
+
* @param obj - the object to convert to XML
|
|
34
|
+
* @returns {string} the string of XML generated by xml2js
|
|
35
|
+
*/
|
|
36
|
+
static convertObjectToXML(obj: any): string;
|
|
37
|
+
/**
|
|
38
|
+
* Call the RestClient.getExpectString function assuming the response is XML, then return a promise of the JSON representation.
|
|
39
|
+
* @static
|
|
40
|
+
* @param {AbstractSession} session - representing connection to this api
|
|
41
|
+
* @param {string} resource - URI for which this request should go against
|
|
42
|
+
* @param {any} reqHeaders - headers to include in the REST request
|
|
43
|
+
* @returns {Promise<*>} - response body content from http(s) call
|
|
44
|
+
* @throws {ImperativeError} verifyResponseCodes fails
|
|
45
|
+
*/
|
|
46
|
+
static getExpectParsedXml(session: AbstractSession, resource: string, reqHeaders?: any[]): Promise<ICMCIApiResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Call the RestClient.deleteExpectString function assuming the response is XML, then return a promise of the JSON representation.
|
|
49
|
+
* @static
|
|
50
|
+
* @param {AbstractSession} session - representing connection to this api
|
|
51
|
+
* @param {string} resource - URI for which this request should go against
|
|
52
|
+
* @param {any} reqHeaders - headers to include in the REST request
|
|
53
|
+
* @returns {Promise<*>} - response body content from http(s) call
|
|
54
|
+
* @throws {ImperativeError} verifyResponseCodes fails
|
|
55
|
+
*/
|
|
56
|
+
static deleteExpectParsedXml(session: AbstractSession, resource: string, reqHeaders?: any[]): Promise<ICMCIApiResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* PUT a CMCI endpoint expecting an XML return value parsed into a JCL
|
|
59
|
+
* Call the RestClient.putExpectString function assuming the response is XML, then return a promise of the JSON representation.
|
|
60
|
+
* @static
|
|
61
|
+
* @param {AbstractSession} session - representing connection to this api
|
|
62
|
+
* @param {string} resource - URI for which this request should go against
|
|
63
|
+
* @param {any} reqHeaders - headers to include in the REST request
|
|
64
|
+
* @param payload - XML body to put or a javascript object to convert to XML
|
|
65
|
+
* @returns {Promise<*>} - response body content from http(s) call
|
|
66
|
+
* @throws {ImperativeError} verifyResponseCodes fails
|
|
67
|
+
*/
|
|
68
|
+
static putExpectParsedXml(session: AbstractSession, resource: string, reqHeaders: any[], payload: any): Promise<ICMCIApiResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* POST a CMCI endpoint expecting a XML return value
|
|
71
|
+
* Calls the RestClient.postExpectString function assuming the response is XML, then return a promise of the JSON representation.
|
|
72
|
+
* @static
|
|
73
|
+
* @param {AbstractSession} session - representing connection to this api
|
|
74
|
+
* @param {string} resource - URI for which this request should go against
|
|
75
|
+
* @param {any} reqHeaders - headers to include in the REST request
|
|
76
|
+
* @param payload - XML body to put or a javascript object to convert to XML
|
|
77
|
+
* @returns {Promise<*>} - response body content from http(s) call
|
|
78
|
+
* @throws {ImperativeError} verifyResponseCodes fails
|
|
79
|
+
*/
|
|
80
|
+
static postExpectParsedXml(session: AbstractSession, resource: string, reqHeaders: any[], payload: any): Promise<ICMCIApiResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Internal logger
|
|
83
|
+
*/
|
|
84
|
+
private static mLogger;
|
|
85
|
+
/**
|
|
86
|
+
* Internal parser
|
|
87
|
+
*/
|
|
88
|
+
private static mParser;
|
|
89
|
+
/**
|
|
90
|
+
* Detect if a rpayload is a string or an object
|
|
91
|
+
* If it is an object, convert it to XML using xml2js
|
|
92
|
+
* @param payload - the request body / payload
|
|
93
|
+
* @returns {string} the XML that can be used as the request body
|
|
94
|
+
*/
|
|
95
|
+
private static convertPayloadToXML;
|
|
96
|
+
/**
|
|
97
|
+
* Use the Brightside logger instead of the imperative logger
|
|
98
|
+
* @return {Logger}
|
|
99
|
+
*/
|
|
100
|
+
private static get log();
|
|
101
|
+
/**
|
|
102
|
+
* Use a configured parser
|
|
103
|
+
* @return {Parser}
|
|
104
|
+
*/
|
|
105
|
+
private static get parser();
|
|
106
|
+
/**
|
|
107
|
+
* Check that we got the expected response codes from the API after a request
|
|
108
|
+
* @param {ICMCIApiResponse} apiResponse - the parsed response
|
|
109
|
+
* @returns {ICMCIApiResponse} - the response if it was correct
|
|
110
|
+
* @throws {ImperativeError} request did not get the expected codes
|
|
111
|
+
*/
|
|
112
|
+
private static verifyResponseCodes;
|
|
113
|
+
/**
|
|
114
|
+
* parse an XML string with XML2js
|
|
115
|
+
* The API is already synchronous according to their documentation but requires a callback.
|
|
116
|
+
* This is a wrapper that doesn't require a callback.
|
|
117
|
+
* @param {string} str - the string of XML to parse
|
|
118
|
+
* @returns {any} the object parsed from the XML
|
|
119
|
+
* @throws {Error} xml2js.parseString fails
|
|
120
|
+
*/
|
|
121
|
+
private static parseStringSync;
|
|
122
|
+
/**
|
|
123
|
+
* Process an error encountered in the rest client
|
|
124
|
+
* @param {IImperativeError} original - the original error automatically built by the abstract rest client
|
|
125
|
+
* @returns {IImperativeError} - the processed error with details added
|
|
126
|
+
*/
|
|
127
|
+
protected processError(original: IImperativeError): IImperativeError;
|
|
128
|
+
}
|
|
@@ -0,0 +1,221 @@
|
|
|
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.CicsCmciRestClient = void 0;
|
|
14
|
+
const imperative_1 = require("@zowe/imperative");
|
|
15
|
+
const xml2js_1 = require("xml2js");
|
|
16
|
+
const CicsCmci_messages_1 = require("../constants/CicsCmci.messages");
|
|
17
|
+
const util_1 = require("util");
|
|
18
|
+
/**
|
|
19
|
+
* Wrapper for invoke CICS CMCI API through the RestClient to perform common error
|
|
20
|
+
* handling and checking and resolve promises according to generic types
|
|
21
|
+
* @export
|
|
22
|
+
* @class CicsCmciRestClient
|
|
23
|
+
* @extends {RestClient}
|
|
24
|
+
*/
|
|
25
|
+
class CicsCmciRestClient extends imperative_1.RestClient {
|
|
26
|
+
/**
|
|
27
|
+
* If the API request is successful, this value should be in
|
|
28
|
+
* api_response2 in the resultsummary object in the response
|
|
29
|
+
*/
|
|
30
|
+
static CMCI_SUCCESS_RESPONSE_1 = "1024";
|
|
31
|
+
/**
|
|
32
|
+
* If the API request is successful, this value should be in
|
|
33
|
+
* api_response2 in the resultsummary object in the response
|
|
34
|
+
*/
|
|
35
|
+
static CMCI_SUCCESS_RESPONSE_2 = "0";
|
|
36
|
+
/**
|
|
37
|
+
* Convert an object to XML using the xml2js package
|
|
38
|
+
* @param obj - the object to convert to XML
|
|
39
|
+
* @returns {string} the string of XML generated by xml2js
|
|
40
|
+
*/
|
|
41
|
+
static convertObjectToXML(obj) {
|
|
42
|
+
this.log.trace("Converting the following object to XML via xml2js:\n%s", JSON.stringify(obj, null, 2));
|
|
43
|
+
const builder = new xml2js_1.Builder({ headless: true });
|
|
44
|
+
return builder.buildObject(obj);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Call the RestClient.getExpectString function assuming the response is XML, then return a promise of the JSON representation.
|
|
48
|
+
* @static
|
|
49
|
+
* @param {AbstractSession} session - representing connection to this api
|
|
50
|
+
* @param {string} resource - URI for which this request should go against
|
|
51
|
+
* @param {any} reqHeaders - headers to include in the REST request
|
|
52
|
+
* @returns {Promise<*>} - response body content from http(s) call
|
|
53
|
+
* @throws {ImperativeError} verifyResponseCodes fails
|
|
54
|
+
*/
|
|
55
|
+
static async getExpectParsedXml(session, resource, reqHeaders = []) {
|
|
56
|
+
const data = await CicsCmciRestClient.getExpectString(session, resource, reqHeaders);
|
|
57
|
+
const apiResponse = CicsCmciRestClient.parseStringSync(data);
|
|
58
|
+
return CicsCmciRestClient.verifyResponseCodes(apiResponse);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Call the RestClient.deleteExpectString function assuming the response is XML, then return a promise of the JSON representation.
|
|
62
|
+
* @static
|
|
63
|
+
* @param {AbstractSession} session - representing connection to this api
|
|
64
|
+
* @param {string} resource - URI for which this request should go against
|
|
65
|
+
* @param {any} reqHeaders - headers to include in the REST request
|
|
66
|
+
* @returns {Promise<*>} - response body content from http(s) call
|
|
67
|
+
* @throws {ImperativeError} verifyResponseCodes fails
|
|
68
|
+
*/
|
|
69
|
+
static async deleteExpectParsedXml(session, resource, reqHeaders = []) {
|
|
70
|
+
const data = await CicsCmciRestClient.deleteExpectString(session, resource, reqHeaders);
|
|
71
|
+
const apiResponse = CicsCmciRestClient.parseStringSync(data);
|
|
72
|
+
return CicsCmciRestClient.verifyResponseCodes(apiResponse);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* PUT a CMCI endpoint expecting an XML return value parsed into a JCL
|
|
76
|
+
* Call the RestClient.putExpectString function assuming the response is XML, then return a promise of the JSON representation.
|
|
77
|
+
* @static
|
|
78
|
+
* @param {AbstractSession} session - representing connection to this api
|
|
79
|
+
* @param {string} resource - URI for which this request should go against
|
|
80
|
+
* @param {any} reqHeaders - headers to include in the REST request
|
|
81
|
+
* @param payload - XML body to put or a javascript object to convert to XML
|
|
82
|
+
* @returns {Promise<*>} - response body content from http(s) call
|
|
83
|
+
* @throws {ImperativeError} verifyResponseCodes fails
|
|
84
|
+
*/
|
|
85
|
+
static async putExpectParsedXml(session, resource, reqHeaders = [], payload) {
|
|
86
|
+
if (payload != null) {
|
|
87
|
+
payload = CicsCmciRestClient.convertPayloadToXML(payload);
|
|
88
|
+
}
|
|
89
|
+
const data = await CicsCmciRestClient.putExpectString(session, resource, reqHeaders, payload);
|
|
90
|
+
const apiResponse = CicsCmciRestClient.parseStringSync(data);
|
|
91
|
+
return CicsCmciRestClient.verifyResponseCodes(apiResponse);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* POST a CMCI endpoint expecting a XML return value
|
|
95
|
+
* Calls the RestClient.postExpectString function assuming the response is XML, then return a promise of the JSON representation.
|
|
96
|
+
* @static
|
|
97
|
+
* @param {AbstractSession} session - representing connection to this api
|
|
98
|
+
* @param {string} resource - URI for which this request should go against
|
|
99
|
+
* @param {any} reqHeaders - headers to include in the REST request
|
|
100
|
+
* @param payload - XML body to put or a javascript object to convert to XML
|
|
101
|
+
* @returns {Promise<*>} - response body content from http(s) call
|
|
102
|
+
* @throws {ImperativeError} verifyResponseCodes fails
|
|
103
|
+
*/
|
|
104
|
+
static async postExpectParsedXml(session, resource, reqHeaders = [], payload) {
|
|
105
|
+
if (payload != null) {
|
|
106
|
+
payload = CicsCmciRestClient.convertPayloadToXML(payload);
|
|
107
|
+
}
|
|
108
|
+
const data = await CicsCmciRestClient.postExpectString(session, resource, reqHeaders, payload);
|
|
109
|
+
const apiResponse = CicsCmciRestClient.parseStringSync(data);
|
|
110
|
+
return CicsCmciRestClient.verifyResponseCodes(apiResponse);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Internal logger
|
|
114
|
+
*/
|
|
115
|
+
static mLogger;
|
|
116
|
+
/**
|
|
117
|
+
* Internal parser
|
|
118
|
+
*/
|
|
119
|
+
static mParser;
|
|
120
|
+
/**
|
|
121
|
+
* Detect if a rpayload is a string or an object
|
|
122
|
+
* If it is an object, convert it to XML using xml2js
|
|
123
|
+
* @param payload - the request body / payload
|
|
124
|
+
* @returns {string} the XML that can be used as the request body
|
|
125
|
+
*/
|
|
126
|
+
static convertPayloadToXML(payload) {
|
|
127
|
+
if ((0, util_1.isString)(payload)) {
|
|
128
|
+
// if it's already a string, use it verbatim
|
|
129
|
+
return payload;
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
// if it's an object, turn it into XML
|
|
133
|
+
return this.convertObjectToXML(payload);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Use the Brightside logger instead of the imperative logger
|
|
138
|
+
* @return {Logger}
|
|
139
|
+
*/
|
|
140
|
+
static get log() {
|
|
141
|
+
if (this.mLogger == null) {
|
|
142
|
+
this.mLogger = imperative_1.Logger.getAppLogger();
|
|
143
|
+
}
|
|
144
|
+
return this.mLogger;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Use a configured parser
|
|
148
|
+
* @return {Parser}
|
|
149
|
+
*/
|
|
150
|
+
static get parser() {
|
|
151
|
+
if (this.mParser == null) {
|
|
152
|
+
this.mParser = new xml2js_1.Parser({
|
|
153
|
+
explicitArray: false,
|
|
154
|
+
mergeAttrs: true,
|
|
155
|
+
normalizeTags: true // Guarantee that all tags are going to be lowercase
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
return this.mParser;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Check that we got the expected response codes from the API after a request
|
|
162
|
+
* @param {ICMCIApiResponse} apiResponse - the parsed response
|
|
163
|
+
* @returns {ICMCIApiResponse} - the response if it was correct
|
|
164
|
+
* @throws {ImperativeError} request did not get the expected codes
|
|
165
|
+
*/
|
|
166
|
+
static verifyResponseCodes(apiResponse) {
|
|
167
|
+
if (apiResponse.response != null && apiResponse.response.resultsummary != null
|
|
168
|
+
&& apiResponse.response.resultsummary.api_response1 === CicsCmciRestClient.CMCI_SUCCESS_RESPONSE_1
|
|
169
|
+
&& apiResponse.response.resultsummary.api_response2 === CicsCmciRestClient.CMCI_SUCCESS_RESPONSE_2) {
|
|
170
|
+
// expected return code and reason code specify
|
|
171
|
+
return apiResponse;
|
|
172
|
+
}
|
|
173
|
+
else {
|
|
174
|
+
throw new imperative_1.ImperativeError({
|
|
175
|
+
msg: CicsCmci_messages_1.CicsCmciMessages.cmciRequestFailed.message + "\n" + imperative_1.TextUtils.prettyJson(apiResponse),
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* parse an XML string with XML2js
|
|
181
|
+
* The API is already synchronous according to their documentation but requires a callback.
|
|
182
|
+
* This is a wrapper that doesn't require a callback.
|
|
183
|
+
* @param {string} str - the string of XML to parse
|
|
184
|
+
* @returns {any} the object parsed from the XML
|
|
185
|
+
* @throws {Error} xml2js.parseString fails
|
|
186
|
+
*/
|
|
187
|
+
static parseStringSync(str) {
|
|
188
|
+
let result;
|
|
189
|
+
let error;
|
|
190
|
+
this.parser.parseString(str, (err, r) => {
|
|
191
|
+
error = err;
|
|
192
|
+
result = r;
|
|
193
|
+
});
|
|
194
|
+
if (error != null) {
|
|
195
|
+
throw error;
|
|
196
|
+
}
|
|
197
|
+
return result;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Process an error encountered in the rest client
|
|
201
|
+
* @param {IImperativeError} original - the original error automatically built by the abstract rest client
|
|
202
|
+
* @returns {IImperativeError} - the processed error with details added
|
|
203
|
+
*/
|
|
204
|
+
processError(original) {
|
|
205
|
+
original.msg = "CICS CMCI REST API Error:\n" + original.msg;
|
|
206
|
+
let details = original.causeErrors;
|
|
207
|
+
try {
|
|
208
|
+
const xmlDetails = CicsCmciRestClient.parseStringSync(details);
|
|
209
|
+
// if we didn't get an error, make the parsed details part of the error
|
|
210
|
+
details = imperative_1.TextUtils.prettyJson(xmlDetails, undefined, false);
|
|
211
|
+
}
|
|
212
|
+
catch (e) {
|
|
213
|
+
// if there's an error, the causeErrors text is not json
|
|
214
|
+
this.log.debug("Encountered an error trying to parse causeErrors as XML - causeErrors is likely not JSON format");
|
|
215
|
+
}
|
|
216
|
+
original.msg += "\n" + details; // add the data string which is the original error
|
|
217
|
+
return original;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
exports.CicsCmciRestClient = CicsCmciRestClient;
|
|
221
|
+
//# sourceMappingURL=CicsCmciRestClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CicsCmciRestClient.js","sourceRoot":"","sources":["../../src/rest/CicsCmciRestClient.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 "./CicsCmciRestClient";
|
|
@@ -0,0 +1,28 @@
|
|
|
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("./CicsCmciRestClient"), exports);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rest/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAEH,uDAAqC"}
|