sample-spring-boot-api-service
sample-spring-boot-api-service copied to clipboard
zowe-api-dev stop supports only java started by Jzos launcher
We are trying to use the tool and migrate API Mediation Layer pipeline deployments to zowe-api-dev. We want to stop the deployed job after we are done with it, for example when pipeline is done, release the resources. Our job is started with BPXBATCH and the zowe-api-dev is sending stop command, which is not effective for java launched this way. We would like to be able to do something like `zowe-api-dev stop --force' that would also send the cancel command.
We would like to have this in place before we migrate our pipeline to this tool.
This is a good idea too!
What about having the stop command to be intelligent as in PTG2? Try to stop it using /P, check if it has stopped. If not, /CANCEL it and wait until it is canceled. There would be option --cancel to cancel without trying to stop too. I do not want to call it --force since there is also a FORCE command in z/OS that is stronger than CANCEL but should not be used since it can cause problems to the system.
Good idea