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

Imesh Gunaratne resolved STRATOS-884.
-------------------------------------
    Resolution: Fixed

Refactored by introducing a new set of methods in RestClient class.
Commit revision: c79b2316020b674bd81ac746799a31e31e29b4be

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

Reply via email to