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: As a user, I want to collect some data from the response sent by OPA, so that I can rewrite the URI #11909

Open
LuciaCabanillasRodriguez opened this issue Jan 13, 2025 · 1 comment
Labels
feature-request question label for questions asked by users

Comments

@LuciaCabanillasRodriguez

Description

I would like to know if I could add this line : ctx.var.opa_result = result in the opa plugin to be able to access some variables when configuring the route in APISIX. Thanks!

@dosubot dosubot bot added feature-request question label for questions asked by users labels Jan 13, 2025
@bzp2010
Copy link
Contributor

bzp2010 commented Feb 22, 2025

You can make any changes on your own copy of the plugin, just copy the file and change its name. After that, copy it back to the container.

If you want this functionality to be implemented in the APISIX upstream repository, you'll need to provide more information, such as any impact this will have, how you would use it with other plugins, etc.
Or if you'd like to initiate a PR, I'll take a look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request question label for questions asked by users
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants