You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/04/19 06:08:27 UTC

[GitHub] [apisix] lefreet opened a new issue, #6878: help request: override global rule for someone route

lefreet opened a new issue, #6878:
URL: https://github.com/apache/apisix/issues/6878

   ### Description
   
   1. i wan to add ip-restriction for  40 routes,  with some whitelist ips config. so i config the global rule for all of them.
   2. after a time, i have the 41th route, it do not need ip-restriction
   
   i try:
   1. set the ip-restriction for the 41th route, attempt override global rule,  invalid.  with the doc say `Consumer > Route > Service` , but `Global`   :(
   2. set the [Plugin Config](https://github.com/apache/apisix/blob/master/docs/en/latest/architecture-design/plugin-config.md), but i should reconfig the plugin template for old 40 routes,  and do not config for the 41th route. the plugin config will merge route plugin and it is not intuitive
   
   
   so , is some way to override the global rule(ip-restriction) only for my 41th route ?
   
   ### Environment
   
   - APISIX version (run `apisix version`): 2.13
   - Operating system (run `uname -a`): x86_64 x86_64 x86_64 GNU/Linux
   - 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`):
   


-- 
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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] github-actions[bot] closed issue #6878: help request: override global rule for someone route

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #6878: help request: override global rule for someone route
URL: https://github.com/apache/apisix/issues/6878


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] github-actions[bot] commented on issue #6878: help request: override global rule for someone route

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6878:
URL: https://github.com/apache/apisix/issues/6878#issuecomment-1517593563

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] kwanhur commented on issue #6878: help request: override global rule for someone route

Posted by GitBox <gi...@apache.org>.
kwanhur commented on issue #6878:
URL: https://github.com/apache/apisix/issues/6878#issuecomment-1105182092

   From plugin market in dashboard, it has only one option `global` for plugin's scope.
   
   As users under the above scenario, if the candidate routes can be options for plugins' scope, it'll be more convenient to take the target. But also it'll be a huge and hard job behind this options.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #6878: help request: override global rule for someone route

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #6878:
URL: https://github.com/apache/apisix/issues/6878#issuecomment-1102482796

   > so , is some way to override the global rule(ip-restriction) only for my 41th route ?
   
   no way. global rule does effect for all requests.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] kwanhur commented on issue #6878: help request: override global rule for someone route

Posted by GitBox <gi...@apache.org>.
kwanhur commented on issue #6878:
URL: https://github.com/apache/apisix/issues/6878#issuecomment-1103937936

   Enn, it's a good feature for plugin's mechanism taking effects on selected routes, not only gobal.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #6878: help request: override global rule for someone route

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #6878:
URL: https://github.com/apache/apisix/issues/6878#issuecomment-1104106147

   In fact, there have been discussions about this in the community and I have implemented similar functionality in my work environment. Frankly, I don't like doing it. It makes the concept vague, difficult to maintain, and is a lazy approach.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #6878: help request: override global rule for someone route

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #6878:
URL: https://github.com/apache/apisix/issues/6878#issuecomment-1105373651

   > Could you explain `it makes the concept vague` more details?
   
   APISIX is designed in such a way that for all requests, the corresponding action is executed after hitting the route. Just like when you are at a train station and take a ticket to the corresponding train.
   
    The design described in the issue is: for all requests, find the request that does not need to perform a fixed action. It's like everyone getting on a train and the ticket inspector kicking out those who don't have tickets.
   
   The routing control over the requests is reversed.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] kwanhur commented on issue #6878: help request: override global rule for someone route

Posted by GitBox <gi...@apache.org>.
kwanhur commented on issue #6878:
URL: https://github.com/apache/apisix/issues/6878#issuecomment-1105181852

   > It makes the concept vague, difficult to maintain, and is a lazy approach.
   
   Could you explain `it makes the concept vague` more details?


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] github-actions[bot] commented on issue #6878: help request: override global rule for someone route

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6878:
URL: https://github.com/apache/apisix/issues/6878#issuecomment-1500142235

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org