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

How do I achieve conditional rerouting for same incoming route to different destinations? #1993

Closed
askids opened this issue Jan 12, 2023 · 2 comments
Labels
Type: Feedback This issue is general feedback and doesn't represent actionable work.

Comments

@askids
Copy link

askids commented Jan 12, 2023

hi,

We are currently planning to use YARP as a proxy to allow us to migrate existing WebAPIs from Siteminder to Ping Access. All individual apis will use OAuth2 going forward. But we will have a proxy that will support Siteminder authentication cookie and internally generate access token before forwarding the request to individual APIs. The individual APIs could be hosted on VMs or on Openshift container.

I was wondering, if we wanted to extend the YARP usage later on, when everything will be OAuth2 based, lets say to do pilot routing for new features only for specific users, is it possible to do it with current version of YARP?

So essentially incoming route will be same. But based on the user for which request is coming in, I want to reroute request to either destination 1 or destination 2. This destination 1 or 2 can be an entirely different route or reroute to a new version of existing API. So the cluster itself could also be entirely different. Please suggest how this can be achieved.

Thanks!

@askids askids added the Type: Feedback This issue is general feedback and doesn't represent actionable work. label Jan 12, 2023
@Tratcher
Copy link
Member

@adityamandaleeka
Copy link
Member

Looks like this has been answered. Closing the issue. If there is more discussion about the A/B testing scenario we can continue that on #126.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feedback This issue is general feedback and doesn't represent actionable work.
Projects
None yet
Development

No branches or pull requests

3 participants