hmh-the-one opened a new issue, #8905:
URL: https://github.com/apache/apisix/issues/8905
### Description
Here is one route:
apisix/admin/routes/routes1
```json
{
"methods":["GET","POST"],
"uri":"/something/*",
"upstream_id":"auth",
"plugins":{
"proxy-rewrite": {
"uri": "/something/*"
},
"ext-plugin-post-req":{
"conf":[
{
"name":"TestFilter"
}
]
}
}
}
```
And I have multiple routes with same TestFilter & config. In
Java-implemented external plugin, how can I get the already matched route id or
route uri in PluginFilter implementation, the route only, no need for any other
plugin config or filter result. As the above example, that is "routes1" (id
value) or "/something/*" (uri value).
Where can I find the full available config list that the plugin can receive?
Is the ext-plugin-post-req conf.value and global environment properties
available?
Passing the id through each route's ext-plugin-post-req conf.value is one
way, though
Thanks in advanced.
### Environment
- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
version: 3.1.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]