[ 
https://issues.apache.org/jira/browse/WHIRR-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127260#comment-13127260
 ] 

David Alves edited comment on WHIRR-398 at 10/14/11 4:00 AM:
-------------------------------------------------------------

Implements the execution of scripts when DestroyClusterAction is called.

I have implemented a unit test that makes sure the destroy scripts are executed 
(after all the configure scripts) but it is uses 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 possibly even with 
some parts of BoostrapClusterAction, but maybe that could be done later on 
another Jira?
                
      was (Author: dr-alves):
    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

        

Reply via email to