This is an automated email from the ASF dual-hosted git repository.
wenming pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
from d38d5b698 fix: encryption/decryption for non-auth plugins in consumer
(#11600)
add 263143d89 feat: implement consumer credential (#11601)
No new revisions were added by this update.
Summary of changes:
apisix/admin/consumers.lua | 14 -
apisix/admin/credentials.lua | 74 ++++
apisix/admin/init.lua | 9 +-
apisix/admin/resource.lua | 44 ++
apisix/consumer.lua | 120 +++++-
apisix/core/config_etcd.lua | 4 +-
apisix/core/etcd.lua | 67 ++-
apisix/schema_def.lua | 14 +
docs/en/latest/admin-api.md | 65 +++
docs/en/latest/config.json | 1 +
docs/en/latest/terminology/credential.md | 151 +++++++
docs/zh/latest/admin-api.md | 64 +++
docs/zh/latest/config.json | 1 +
docs/zh/latest/terminology/credential.md | 152 +++++++
t/admin/credentials.t | 494 ++++++++++++++++++++++
t/node/consumer-plugin.t | 44 +-
t/node/consumer-plugin2.t | 2 +
t/node/credential-plugin-basic-auth.t | 137 ++++++
t/node/credential-plugin-incremental-effective.t | 125 ++++++
t/node/credential-plugin-jwt-auth.t | 137 ++++++
t/node/credential-plugin-key-auth.t | 137 ++++++
t/node/credential-plugin-multi-credentials.t | 236 +++++++++++
t/node/credential-plugin-set-request-header.t | 245 +++++++++++
t/node/credential-plugin-work-with-other-plugin.t | 171 ++++++++
24 files changed, 2428 insertions(+), 80 deletions(-)
create mode 100644 apisix/admin/credentials.lua
create mode 100644 docs/en/latest/terminology/credential.md
create mode 100644 docs/zh/latest/terminology/credential.md
create mode 100644 t/admin/credentials.t
create mode 100644 t/node/credential-plugin-basic-auth.t
create mode 100644 t/node/credential-plugin-incremental-effective.t
create mode 100644 t/node/credential-plugin-jwt-auth.t
create mode 100644 t/node/credential-plugin-key-auth.t
create mode 100644 t/node/credential-plugin-multi-credentials.t
create mode 100644 t/node/credential-plugin-set-request-header.t
create mode 100644 t/node/credential-plugin-work-with-other-plugin.t