Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-884

CLI has duplicated command implementations in RestCommandLineService class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.0 M1
    • 4.1.0 RC3
    • CLI
    • None

    Description

      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.

      Attachments

        Activity

          People

            imesh Imesh Gunaratne
            imesh Imesh Gunaratne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: