Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-987

reduce redundant boilerplate code between UI and API server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v3
    • Component/s: None
    • Labels:
      None

      Description

      as i'm starting to dig into the implementation for PM-437 it's becoming apparent that this is really necessary -
      I need to expose certain data to the CLI. Some of this data is available from the REST api (which is served by the ui server) but the CLI tool only talks to the API server. Building duplicate routes on the API server would be really wasteful and increase the amount of (already excessive) divergence between the UI and API server. Furthermore, it would be a big win or all the new routes we need to add to become available to all clients, not just the CLI.

      (Ideally, I think long term the API server and UI server should merge together - the web interface to evergreen should become just another client to the same REST API)
      This would be a first step towards that.

        Attachments

          Activity

            People

            Assignee:
            mpobrien Michael O'Brien
            Reporter:
            mpobrien Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: