Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gateway): Update managed federation to fetch "cloud config" #458

Merged
merged 39 commits into from
Mar 17, 2021

Commits on Feb 11, 2021

  1. Cleanup unused import

    trevor-scheer committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    9fdfe79 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff8ad3e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cbe6d0e View commit details
    Browse the repository at this point in the history
  4. Update tests and gateway stop() behavior

    This is mostly a fairly large update / revamp to the networkRequests
    test file. Previously skipped /flaky tests are now up-to-date and
    functioning as expected!
    
    Some smaller changes were made to the gateway: i.e. the stop()
    function was updated to actually do something. It doesn't stop the
    gateway process or even from serving requests, but it does stop it
    from polling. This behavior was needed for the sake of testing so that
    gateways still running in tests didn't overpoll and ruin network
    mocks.
    
    ^additional commentary on above: this was only my suspicion and my
    changes seem to have resolved the issue. Though I don't fully
    understand why this wasn't a problem in the first place - or maybe
    it was and was causing the flakiness in the past? I don't know.
    trevor-scheer committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    afd0d79 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf491d1 View commit details
    Browse the repository at this point in the history
  6. Add omitted test names

    trevor-scheer committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    7d11ace View commit details
    Browse the repository at this point in the history
  7. Rework failing tests

    trevor-scheer committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    13a2287 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cdee7a3 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2021

  1. Use relative import

    trevor-scheer committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    6d28d75 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2021

  1. Configuration menu
    Copy the full SHA
    577aae8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3a6b81 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    544ddaf View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2021

  1. Small error improvement for health checks

    * Don't log and rethrow an error which is already handled further up
    * Include original error message and originating service in health check error message
    trevor-scheer committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    692e046 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2021

  1. Configuration menu
    Copy the full SHA
    924ab56 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2021

  1. Configuration menu
    Copy the full SHA
    d568bdc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9482397 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ebe6be1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb0f231 View commit details
    Browse the repository at this point in the history
  5. Remove forgotten TODO

    trevor-scheer committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    76f7fec View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2021

  1. Use codegen for our response types

    Add a circle job to ensure types stay up to date
    trevor-scheer committed Mar 10, 2021
    1 Configuration menu
    Copy the full SHA
    9706663 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c341a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    32c138f View commit details
    Browse the repository at this point in the history
  4. Improve fetcher config

    trevor-scheer committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    3aa5233 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2021

  1. Restore former code path for managed federation

    Add a gateway configuration option for a "cloud config" endpoint.
    When this is set, the gateway will operate in managed csdl mode,
    fetching an already composed artifact from the specified endpoint.
    This feature is experimental and shouldn't be used without a
    recommendation from Apollo to do so.
    
    * Rename to legacy where appropriate
    * Incorporate previous code path for legacy managed federation
    * Restore relevant tests in a separate legacy tests file
    * Add TODOs for future cleanup
    trevor-scheer committed Mar 11, 2021
    1 Configuration menu
    Copy the full SHA
    307ee0e View commit details
    Browse the repository at this point in the history
  2. Naming improvements

    trevor-scheer committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    36278d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4214bd3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af77271 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ad10a3a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4cae6cb View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Configuration menu
    Copy the full SHA
    fcf5fc4 View commit details
    Browse the repository at this point in the history
  2. Cleanup whitespace

    trevor-scheer committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    1b20599 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    636fc1f View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. Configuration menu
    Copy the full SHA
    9d4f358 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d67a6a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f90cdfc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29d255e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b2ff29c View commit details
    Browse the repository at this point in the history
  6. Improve error messaging

    trevor-scheer committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    9b2e84e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    80577a3 View commit details
    Browse the repository at this point in the history