Uploaded image for project: 'PredictionIO (Retired)'
  1. PredictionIO (Retired)
  2. PIO-29 Implement Admin Server
  3. PIO-28

Extract logic from functions handling console commands in tools package.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.10.0-incubating
    • 0.11.0-incubating
    • None
    • None

    Description

      Currently functions used by Console.scala to handle commands are evaluated for side effects - printing logs to the user. They either return integers or units and sometimes use sys.exit(1) on failure.
      The actual logic should be extracted from them to some other place for future applications, e.g. to be used by admin server, which is not implemented yet.
      Reporting results to the client should be separated from processing application logic.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ziemin Marcin ZiemiƄski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: