Commit Graph

329 Commits

Author SHA1 Message Date
罗泽轩
db5a5a9d21
feat(reponse-rewrite): allow using variable in the header (#4194)
* feat(reponse-rewrite): allow using variable in the header

Fix #3727

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-10 10:27:41 +08:00
罗泽轩
19dbe3456f
fix: use original modifiedIndex if possible (#4192)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-09 10:31:33 +08:00
ken zhou
3ebe8004b1
feat: redirect plugin support regex (#4152)
Co-authored-by: jianzhou <zhoujian1@huya.com>
Co-authored-by: Alex Zhang <tokers@apache.org>
Co-authored-by: Yuelin Zheng <2226815922@qq.com>
Co-authored-by: 琚致远 <juzhiyuan@apache.org>
2021-05-07 15:55:38 -04:00
罗泽轩
ffed4383f1
feat(ext-plugin): implement the http-req-call protocol (#4183) 2021-05-06 10:07:56 +08:00
罗泽轩
50e9bfa54e
feat(ext-plugin): handle error response (#4179)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-06 10:00:12 +08:00
罗泽轩
624f59fc78
feat: step 3, manage the plugin runner (#4163)
* feat: step 3, manage the plugin runner
* feat: step 4, add prepare_conf protocol
2021-05-04 10:41:08 +08:00
Joey
775c2e369d
fix(response-rewrite): properly base64 process the nil and empty body (#4151)
Co-authored-by: Alex Zhang <tokers@apache.org>
2021-04-29 21:08:12 +08:00
罗泽轩
f3b057609f
feat(ext-plugin): step 2, add basic structure (#4119)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-29 11:07:05 +08:00
_chg_
b83ad3c39c
feat: jwt-auth support extension payload (#4099) 2021-04-23 09:13:50 +08:00
Yuelin Zheng
94565689f7
fix(traffic-split): configure multiple "rules", the request will be confused between upstream (#4092) 2021-04-22 08:58:23 +08:00
yejingx
7029bb9cc6
plugin(kafka-logger): send logs in async mode by default (#4035) 2021-04-14 16:14:54 +08:00
Shuyang Wu
8d860ec675
fix: when route name is not set, it would be given the service name (#4020) 2021-04-13 16:05:14 +08:00
罗泽轩
89d8697743
feat(key-auth): allow customizing header (#4013) 2021-04-09 18:08:21 +08:00
Shuyang Wu
52a91bb846
feat: use route/service name instead of id in prometheus metric (#4004) 2021-04-09 16:02:11 +08:00
罗泽轩
005a790a5e
feat(serverless): pass conf & ctx to the functions (#3971) 2021-04-08 18:29:32 +08:00
Shuyang Wu
b273ae7002
change(prometheus): redesign the latency metrics & update grafana (#3993)
Co-authored-by: nic-chen <johz@163.com>
2021-04-07 15:38:49 +08:00
han6565
4156a73b9b
change(limit-count): ensure redis cluster name is set correctly (#3910)
fix the problem of multiple different redis-cluster data sources, stress test prompting ' ttl: ERR invalid password'

Co-authored-by: hanjinqi <hanjinqi@xdf.cn>
Co-authored-by: Yuelin Zheng <2226815922@qq.com>
2021-04-07 09:20:00 +08:00
nic-chen
9a68bd3862
feat: add management fields for stream_route and proto in schema (#3966) 2021-04-02 09:01:31 +08:00
Yuelin Zheng
708d266512
fix(traffic-split): upstream.type support chash configuration (#3955) 2021-04-01 20:57:10 +08:00
罗泽轩
bad772641a
test: make plugin/log-rotate.t stable (#3943)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-31 10:31:01 +08:00
罗泽轩
86e168e711
test: enable master-worker mode by default (#3927) 2021-03-29 23:38:07 +08:00
Yuelin Zheng
da83328af9
feat(traffic-split): the upstream pass_host needs to support IP mode (#3870) 2021-03-29 18:27:22 +08:00
罗泽轩
3ba24c47d4
test: show how to bypass the ctx.var cache (#3914)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-29 08:53:32 +08:00
罗泽轩
95d313ecf2
fix(error-log-logger): the logger should be run in each process (#3912) 2021-03-27 11:39:17 +08:00
Shuyang Wu
83931ba0a5
fix: refine example grafana dashboard (#3457) 2021-03-26 10:37:15 +08:00
罗泽轩
116deb2f36
change(zipkin): rearrange the child span (#3877)
Fix #3827
2021-03-23 20:19:16 +08:00
罗泽轩
9aa1833722
ci: use build-apisix-openresty.sh instead (#3847) 2021-03-23 20:07:48 +08:00
batman-ezio
bb95f7af54
feat: add allow_origins_by_regex to cors plugin (#3839) 2021-03-22 15:55:54 +08:00
Yuelin Zheng
faab4ba4d8
fix(traffic-split): binding upstream via upstream_id is invalid (#3842) 2021-03-17 20:48:45 +08:00
罗泽轩
01da213e6f
test: don't crash when dubbo upstream returns integer status code (#3823)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-16 15:19:58 +08:00
罗泽轩
7047932548
feat: upgrade lua-resty-expr/radixtree to support logical expression (#3809)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-15 09:51:15 +08:00
John Bampton
9fafa43b37
chore: fix spelling, grammar and JSON example (#3821) 2021-03-15 08:56:43 +08:00
tzssangglass
210ca462b7
fix: the traffic-split plugin is invalid to bind upstream via upstream_id (#3758)
fix #3740
2021-03-15 08:55:49 +08:00
John Bampton
4ebccafbdc
chore: fix spelling (#3253) 2021-03-14 22:53:34 +08:00
罗泽轩
d538105b1a
fix: don't override cache relative headers (#3789) 2021-03-10 09:02:28 +08:00
jpgouin
6cbaf55aab
feat: Add filter on HTTP methods for consumer-restriction plugin (#3691) 2021-03-08 18:00:29 +08:00
Lien Li
66539b36e7
feat: support conditional response rewrite (#3577)
* support conditinal response rewrite

* fix code style

* fix typo

* fix typo

* fix test case

* add test case and fix code style

* drop space

* add fail test cases

* enhance docs
2021-03-04 10:10:13 +08:00
罗泽轩
0d40f81259
test: improve the unique request id check (#3738)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-03 23:02:00 +08:00
Yuelin Zheng
1d79ce57eb
feat: the traffic-split plugin supports upstream_id (#3512) 2021-02-25 20:59:16 +08:00
罗泽轩
de9ea13284
test: make key-auth-upstream-domain-node stable (#3666) 2021-02-25 13:07:18 +08:00
罗泽轩
16f017dfed
ci: avoid requesting IPv6 address as GitHub Action doesn't support it (#3656) 2021-02-24 16:09:25 +08:00
罗泽轩
728df41e16
fix: we should ensure one upstream only have one determinable scheme (#3637) 2021-02-24 14:37:30 +08:00
罗泽轩
9123e187d3
feat(zipkin): support b3 req header (#3551) 2021-02-22 09:23:09 +08:00
John Bampton
39ffe26c19
chore: remove unneeded whitespace before commas (#3626) 2021-02-22 09:11:39 +08:00
罗泽轩
013db0dd2f
feat: support to bind plugin config by plugin_config_id (#3567)
Fix #3532
2021-02-20 20:42:10 +08:00
罗泽轩
ea1ac0f4da
test: ensure all plugins have unique priority (#3582)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-20 15:40:28 +08:00
John Bampton
2a9a52220f
test: fix grammar (#3584) 2021-02-18 12:33:20 +08:00
John Bampton
696cb50ba5
feat(CI): check for trailing whitespace (#3250) 2021-02-16 12:14:46 +08:00
罗泽轩
0b6d35d965
test: split prometheus test case (#3563)
Fix #3561

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-10 14:37:46 +08:00
wettper
93a0d77ef1
feat: add select database for Redis related functions (#3559) 2021-02-09 23:03:50 +08:00