#137 Add ability to delete an application via the client API

open
nobody
General (72)
5
2009-08-24
2009-08-24
Ken Weiner
No

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.

Discussion

  • Ken Weiner
    Ken Weiner
    2009-08-24

    Patch for deleting an application via the jmanage client API.

     
    Attachments