You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Imesh Gunaratne (JIRA)" <ji...@apache.org> on 2014/10/12 05:38:35 UTC

[jira] [Updated] (STRATOS-884) CLI has duplicated command implementations in RestCommandLineService class

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

Imesh Gunaratne updated STRATOS-884:
------------------------------------
    Fix Version/s: 4.1.0 M2

> CLI has duplicated command implementations in RestCommandLineService class
> --------------------------------------------------------------------------
>
>                 Key: STRATOS-884
>                 URL: https://issues.apache.org/jira/browse/STRATOS-884
>             Project: Stratos
>          Issue Type: Improvement
>    Affects Versions: 4.1.0 M1
>            Reporter: Imesh Gunaratne
>            Assignee: Imesh Gunaratne
>             Fix For: 4.1.0 M2
>
>
> At present CLI has duplicated code in RestCommandLineService class where it has implemented the same logic for different commands. Here we can identify generic command types such as deploy, undeploy, create, update, delete, get & list and move them to separate set of methods. This will help us to manage logic from a central location and make sure the exact behaviour is implemented in all commands.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)