I have a need for the jmanage client API to be able to delete applications. This is useful, for example, in a cloud environment where machines in a cluster are autoscaled. In such a situation, machines are added and removed according to the current demand and I need to be able to automate the addition and removal of applications within a JManage cluster.
Currently the code for deleting an application is within the web layer. I am going to attach a patch that moves the code out of the web layer and into the ConfigurationServiceImpl.
There is one section of the code that I left commented out (ConnectorRegistry.remove(config)) because I couldn't figure out how to change the build process to recognize the dependency on the Connector module. Please uncomment that section and fix the build process when applying this patch.