You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "ww530220264 (via GitHub)" <gi...@apache.org> on 2023/08/14 10:07:49 UTC
[GitHub] [apisix] ww530220264 opened a new issue, #10018: I want to add a new plugin to Apisix without restarting Apisix
ww530220264 opened a new issue, #10018:
URL: https://github.com/apache/apisix/issues/10018
### Description
As shown in the question,here are my steps, but they have not taken effect:
1、Define extra_lua_path "/xx/?.lua" in apisix's config file ("/usr/local/apisix/conf/config.yaml")
2、Add new plugin's lua into the package of extra_lua_path ("/xx/new-plugin.lua")
3、Add "- new-plugin" to the plugins block of apisix's config file ("/usr/local/apisix/conf/config.yaml")
4、Sent a request to apisix through admin api (curl http://127.0.0.1:9180/apisix/admin/plugins/reload -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT)
5、But there is no new-plugin info in the json by a call to apisix (http://ip:port/v1/schema )
### Environment
- APISIX version (run `apisix version`):3.2.2
- Operating system (run `uname -a`): Linux apisix-test-322-5ff457b9b6-m4shw 5.4.236-1.el7.elrepo.x86_64 #1 SMP Mon Mar 13 21:36:53 EDT 2023 x86_64 GNU/Linux
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`): openresty/1.21.4.1
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): 3.5.0
- 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] ww530220264 closed issue #10018: I want to add a new plugin to Apisix without restarting Apisix
Posted by "ww530220264 (via GitHub)" <gi...@apache.org>.
ww530220264 closed issue #10018: I want to add a new plugin to Apisix without restarting Apisix
URL: https://github.com/apache/apisix/issues/10018
--
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] shreemaan-abhishek commented on issue #10018: I want to add a new plugin to Apisix without restarting Apisix
Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #10018:
URL: https://github.com/apache/apisix/issues/10018#issuecomment-1685248230
> curl http://127.0.0.1:9180/apisix/admin/plugins/reload -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT
This method can only reload the code written in existing plugins but cannot load new plugins.
--
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] ww530220264 commented on issue #10018: I want to add a new plugin to Apisix without restarting Apisix
Posted by "ww530220264 (via GitHub)" <gi...@apache.org>.
ww530220264 commented on issue #10018:
URL: https://github.com/apache/apisix/issues/10018#issuecomment-1689835640
> > curl http://127.0.0.1:9180/apisix/admin/plugins/reload -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT
>
> This method can only reload the code written in existing plugins but cannot add new plugins. And I don't think there is a way to add new plugins without restarting APISIX.
Thanks a lot~
--
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