You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrei Savu (JIRA)" <ji...@apache.org> on 2011/05/18 13:13:47 UTC

[jira] [Updated] (WHIRR-311) Allow services to register new CLI commands

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

Andrei Savu updated WHIRR-311:
------------------------------

    Attachment: WHIRR-311.patch

Patch as described. 

> Allow services to register new CLI commands
> -------------------------------------------
>
>                 Key: WHIRR-311
>                 URL: https://issues.apache.org/jira/browse/WHIRR-311
>             Project: Whirr
>          Issue Type: Improvement
>          Components: cli, core
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>             Fix For: 0.5.0
>
>         Attachments: WHIRR-311.patch
>
>
> I believe it should be possible to define new CLI commands inside a service. I've changed the code to use Java SPI to discover the available commands. I had to move the following classes Command & AbastractClusterCommand from whirr-cli to whirr-core thanks to this maven "feature": http://jira.codehaus.org/browse/MNG-2758 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira