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 2020/10/10 15:48:20 UTC

[GitHub] [apisix] spacewander opened a new issue #2381: Proposal: sync plugin/plugin attr to node

spacewander opened a new issue #2381:
URL: https://github.com/apache/apisix/issues/2381


   Targets:
   1. make plugins hot load work on node
   2. allow user to configure plugin attributes from admin
   3. allow adding intercepts like IP-restriction to plugins' route
   
   Steps:
   1. change plugin syntax in config*.yml to:
   ```yaml
   -
     name: pluginA
     attrs:
        a: b
   -
     name: pluginB
   ...
   ```
   
   2. sync `plugin` to node, and enable hot reload
   3. sync `plugin attr` to node
   4. add IP-restriction as a common intercept to plugins' route


----------------------------------------------------------------
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.

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



[GitHub] [apisix] spacewander commented on issue #2381: Proposal: sync plugin/plugin attr to node

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


   Done.


----------------------------------------------------------------
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.

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



[GitHub] [apisix] membphis commented on issue #2381: Proposal: sync plugin/plugin attr to node

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


   > allow user to configure plugin attributes from admin
   
   I think we can implement this feature via `plugin-metadata`:
   
   https://github.com/apache/apisix/blob/master/doc/admin-api.md#plugin-metadata


----------------------------------------------------------------
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.

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



[GitHub] [apisix] spacewander closed issue #2381: Proposal: sync plugin/plugin attr to node

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2381:
URL: https://github.com/apache/apisix/issues/2381


   


----------------------------------------------------------------
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.

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