This plugin extends the Zowe CLI to allow the management of z/OS Connect EE APIs, Services and API Requesters.
The Zowe CLI needs to be installed.
zowe plugins install @zosconnect/zosconnect-zowe-cli@zowe-v1-lts
- Run the command
zowe profiles create zosconnect -a <server address> [-u <user id> -p <password> --ru]
Note: If you are using a self-signed certificate then --ru
needs to be set to false
.
zowe zosconnect api list
zowe zosconnect api info <API name>
zowe zosconnect api install <AAR file>
zowe zosconnect api update <API name> <AAR file>
zowe zosconnect api delete <API name> [-f]
If you specify -f
option then the CLI will stop the API before deleting it.
zowe zosconnect api start <API name>
zowe zosconnect api stop <API name>
zowe zosconnect service list
zowe zosconnect service info <Service name>
zowe zosconnect service install <SAR file>
zowe zosconnect service update <Service name> <SAR file>
zowe zosconnect service delete <Service name> [-f]
If you specify the -f
option then the CLI will stop the Service before deleting it.
zowe zosconnect service start <Service name>
zowe zosconnect service stop <Service name>
zowe zosconnect apirequester list
zowe zosconnect apirequester info <API Requester name>
zowe zosconnect apirequester install <ARA file>
zowe zosconnect apirequester update <API Requester name> <ARA file>
zowe zosconnect apirequester delete <API Requester name> [-f]
If you specify the -f
option then the CLI will stop the API Requester before deleting it.
zowe zosconnect apirequester start <API Requester name>
zowe zosconnect apirequester stop <API Requester name>
If you experience any problems with this plug-in then please raise an issue and the development team will look into it.
- Clone this repository
git clone git@github.com:zosconnect/zowe-cli-zosconnect-plugin.git
- Build the plugin
npm run build
- Run the CLI Tests
npm test
- Package the plugin
npm pack
- Install the plugin
npm run pluginInstall
- Run the integration tests
npm run integration