Commit Graph

3 Commits (b9fc93eb857f19eb8cf07f4e87dfed26648b675e)

Author SHA1 Message Date
Brett Buddin 8c0643843f
chore(http): Let the callers convert these to http.Handler. 2020-05-08 09:02:06 -04:00
Brett Buddin 9e8f5a27bc
fix(http): Make common wrapper function capable of handling nil-valued proxies.
Pipeline tests in idpe are setting up an `http.APIBackend` directly
without a constructor function. This is causing this `AlgoWProxy` field
to be `nil` when exercising end-to-end tests. This just makes the
structure a bit more defensive and falls back to using the no-op proxy
in the presence of a nil value.
2020-05-06 13:04:31 -04:00
Brett Buddin c5c4e71dbd
feat(http): Add ability to proxy specific API handlers for Algo-W rollout. 2020-05-06 12:30:05 -04:00