[
https://issues.apache.org/jira/browse/WHIRR-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Alves updated WHIRR-398:
------------------------------
Attachment: WHIRR-398.patch
Implements the execution of scripts when DestroyClusterAction is called.
I have implemented a test that makes sure the destroy scripts are executed but
it is based on DryRunModule so it can't go in yet.
The implementation is nearly a copy/paste of the ConfigureClusterAction but it
works.
Moving forward the common code could/should be extracted.
> Implement the execution of scripts on DestroyClusterAction
> ----------------------------------------------------------
>
> Key: WHIRR-398
> URL: https://issues.apache.org/jira/browse/WHIRR-398
> Project: Whirr
> Issue Type: New Feature
> Components: core
> Reporter: David Alves
> Assignee: David Alves
> Fix For: 0.7.0
>
> Attachments: WHIRR-398.patch
>
>
> beforeDestroy() method in ClusterActionHandlerSupport does nothing and is
> misleading.
> Besides doing something on cluster shutdown can be really handy.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira