You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/04/29 03:07:18 UTC
[apisix] branch master updated (ac21146 -> f3b0576)
This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git.
from ac21146 fix: deal with etcd grants permissions with a different prefix than the one used by apisix, etcd will forbidden (#4154)
add f3b0576 feat(ext-plugin): step 2, add basic structure (#4119)
No new revisions were added by this update.
Summary of changes:
Makefile | 1 +
.../router.lua => plugins/ext-plugin-post-req.lua} | 19 +-
.../router.lua => plugins/ext-plugin-pre-req.lua} | 19 +-
.../upstream.lua => plugins/ext-plugin/helper.lua} | 58 +++---
apisix/plugins/ext-plugin/init.lua | 197 +++++++++++++++++++++
conf/config-default.yaml | 2 +
t/APISIX.pm | 16 +-
t/admin/plugins.t | 2 +-
t/debug/debug-mode.t | 2 +
t/lib/ext-plugin.lua | 75 ++++++++
t/plugin/ext-plugin/sanity.t | 169 ++++++++++++++++++
11 files changed, 507 insertions(+), 53 deletions(-)
copy apisix/{utils/router.lua => plugins/ext-plugin-post-req.lua} (77%)
copy apisix/{utils/router.lua => plugins/ext-plugin-pre-req.lua} (77%)
copy apisix/{utils/upstream.lua => plugins/ext-plugin/helper.lua} (51%)
create mode 100644 apisix/plugins/ext-plugin/init.lua
create mode 100644 t/lib/ext-plugin.lua
create mode 100644 t/plugin/ext-plugin/sanity.t