[ 
https://issues.apache.org/jira/browse/WHIRR-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Alves updated WHIRR-399:
------------------------------

    Attachment: WHIRR-399.patch

This patch depends on the patch on WHIRR-398.

All script execution logic is moved from Configure/Destroy cluster actions to 
ScriptBasedCluster actions.

This is already a major reduction in LOC for configure and destroy but I'm 
still looking into bootstrap (its different enough that it is not trivial to 
extract common code).

Unit tests pass.
                
> Move common script setup and script execution fork/join outside of 
> ConfigureClusterAction and DestroyClusterAction
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: WHIRR-399
>                 URL: https://issues.apache.org/jira/browse/WHIRR-399
>             Project: Whirr
>          Issue Type: Improvement
>          Components: core
>            Reporter: David Alves
>            Priority: Minor
>         Attachments: WHIRR-399.patch
>
>
> The script setup and fork/join execution code in ConfigureClusterAction and 
> in DestroyClusterAction is nearly similar. BootstrapClusterAction may also 
> share some similarities. 
> The common code should be extracted elsewhere.

--
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