Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[gateway] Group endpoints into load balancing/failover sets #756
In the current release of the gateway the dynamic routing policy is limited because it impacts load balancing and failover.
Sometimes it would be useful to have a single public API sit in front of a number of different (and incompatible) services.
It should be expected that different services will require different changes to the request path.
One potential way to implement this would be to have the endpoint be a different "sub-API".
There are three different things that a Dynamic Routing policy should be able to change:
If the endpoints have an additional "group" property - and some of them have to have a "default" group, then the output from Dynamic Routing policy could be: