Commit Graph

105 Commits

Author SHA1 Message Date
罗泽轩
0a8de202dc
feat: support registering custom variable (#5941) 2021-12-29 11:39:52 +08:00
Zeping Bai
1e53ccb3ae
feat: basic support OPA plugin (#5734) 2021-12-13 10:00:40 +08:00
leslie
9b7490630c
test(core.log): fix unit test case (#5660) 2021-12-03 08:54:18 +08:00
Zeping Bai
4f02605f3f
feat: Apache OpenWhisk plugin (#5518) 2021-11-25 16:53:28 +08:00
罗泽轩
7c4f10e445
chore: check the error from get_post_args (#5537) 2021-11-18 11:57:56 +08:00
罗泽轩
6c5108ff38
fix: response.set_header can remove header like request.set_header (#5499)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-11-14 15:08:55 +08:00
Zeping Bai
c2f5eba5cf
feat: support advanced matching based on post form (#5409) 2021-11-09 09:02:56 +08:00
罗泽轩
f505d99e97
test: remove unused conf & make t/core/config_etcd.t stable (#5407) 2021-11-03 15:26:48 +08:00
帅进超
e71052783c
fix: shm health check is not enabled after upgrading etcd client to 1.6.0 (#5257) 2021-10-18 17:47:31 +08:00
tzssangglass
2b23907743
feat: support specify custom sni in etcd conf (#5206) 2021-10-13 18:58:46 +08:00
罗泽轩
b52f95b53c
fix(upstream): should not override default keepalive value (#5054)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-09-14 08:49:00 +08:00
Way2go
b1a9114cc0
fix: validation during merging node_listen configuration (#4881) 2021-08-27 16:14:24 +08:00
罗泽轩
03f09127f3
feat(real-ip): implement the first version (#4813) 2021-08-13 17:00:00 +08:00
罗泽轩
22ee20c480
feat: make A/B test APISIX easier by removing "additionalProperties = false" (#4797)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-08-12 09:21:10 +08:00
罗泽轩
cd3a80c295
feat: parse_addr supports IPv6 without brackets (#4784)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-08-11 19:18:02 +08:00
罗泽轩
4462e11b29
fix(balancer): ensure fallback for chash balancer with vars_combinations can work (#4779)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-08-09 19:11:24 +08:00
ken zhou
88b92ae9d0
feat: support dash in args (#4519) (#4676)
Co-authored-by: Alex Zhang <tokers@apache.org>
Co-authored-by: tzssangglass <tzssangglass@gmail.com>
Co-authored-by: jianzhou <zhoujian1@huya.com>
2021-08-06 17:08:17 +08:00
罗泽轩
38561dc0cd
fix: the _graphql was incorrectly cached under ctx.var but not ctx (#4723)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-08-01 19:26:27 +08:00
罗泽轩
302073ed22
test: clean fake upstream API (#4578)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-14 10:53:05 +08:00
Bill
cfd4045357
feat: add prefix when using config_etcd:getkeys (#4561)
Co-authored-by: 黄圣彪 <huangshengbiao@bilibili.com>
2021-07-13 20:23:49 +08:00
Liu Peng
9f45341ff0
fix: ctx.var.cookie_* cookie not found log (#4564)
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
2021-07-09 15:44:43 +08:00
Shuyang Wu
994f0209a1
feat: enable etcd health-check (#4191) 2021-06-30 21:16:03 +08:00
罗泽轩
8282046bd8
feat(client-control): set client_max_body_size dynamically (#4423)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-16 17:25:50 +08:00
罗泽轩
5ebc4f65c1
fix(ext-plugin): pass environment variables (#4349)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-01 18:43:42 +08:00
罗泽轩
d6acd8d568
chore: sort plugin by priority and recommend priority for custom plugin (#4292)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-24 17:41:50 +08:00
tzssangglass
ac21146c35
fix: deal with etcd grants permissions with a different prefix than the one used by apisix, etcd will forbidden (#4154) 2021-04-29 09:27:54 +08:00
Yuelin Zheng
93a9feb9b5
feat: support to fetch balancer ip/port from ctx.var (#4109) 2021-04-22 21:52:49 +08:00
罗泽轩
022d7527c2
feat: new way to cache ctx.var (#3915) 2021-04-11 13:43:25 +08:00
罗泽轩
d6f3f7ae02
test: show how to fetch special cookie which is not supported by Nginx (#4011)
Fix #4009

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-09 21:43:27 +08:00
罗泽轩
86e168e711
test: enable master-worker mode by default (#3927) 2021-03-29 23:38:07 +08:00
罗泽轩
92b352862a
feat: support mTLS with etcd (#3905) 2021-03-25 23:40:40 +08:00
罗泽轩
7ae302034a
test: use longer timeout for internet DNS query (#3872)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-22 10:05:50 +08:00
Yuelin Zheng
be2e68401c
chore: the route_name and service_name in ctx should remain different (#3831) 2021-03-16 15:26:37 +08:00
John Bampton
4ebccafbdc
chore: fix spelling (#3253) 2021-03-14 22:53:34 +08:00
罗泽轩
20ee3c1ecb
feat: add a safe exit to disable sync conf during start (#3812) 2021-03-12 14:53:58 +08:00
罗泽轩
83537ad158
feat: load etcd configuration when apisix starts (#3799)
Fix #3370
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-12 09:09:19 +08:00
罗泽轩
2401ad5043
fix: don't use port 80 for all schemes (#3544)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-20 16:01:00 +08:00
罗泽轩
18909a2a0b
feat: allow disabling search option in resolv.conf (#3609)
Also disable it in the test to avoid occassional DNS query timeout.
2021-02-20 15:38:45 +08:00
大可
5f4e8df42d
feat: support listen http2 with plaintext (#3547) 2021-02-19 09:04:48 +08:00
罗泽轩
e1dbe2c4a4
feat: support DNS AAAA record (#3484) 2021-02-05 09:00:20 +08:00
罗泽轩
563b259a5a
feat: switch resolver to lua-resty-dns-client (#3442)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-02 09:07:40 +08:00
罗泽轩
1b3e547c5b
feat: resolve var supports ${...} format (#3320)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-18 22:23:15 +08:00
YuanSheng Wang
151d74fd9c
chore: enable plugin server-info by default. (#3170)
Co-authored-by: spacewander <spacewanderlzx@gmail.com>
2021-01-04 20:18:21 +08:00
罗泽轩
357a2efa68
feat: expose schema via control API (#3092)
Close #3022
2020-12-23 16:40:19 +08:00
罗泽轩
fd2db606a9
feat: rewrite handwriting validation with jsonschema (#3021)
Fix #2967. Some plugins can't be rewritten, so I have to keep them.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 16:55:23 +08:00
Yuelin Zheng
bdd00e1f55
feat: support ctx.var to get service_name and route_name (#3036)
close #2982
2020-12-17 22:26:25 +08:00
罗泽轩
d16ac7a021
feat: share etcd client (#2932)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-15 20:18:25 +08:00
John Bampton
511f52a856
refactor: remove trailing whitespace (#3040) 2020-12-15 08:56:20 +08:00
罗泽轩
cc9c1bb090
ci: check misspell (#3011)
Fix #3009
2020-12-10 23:05:36 +08:00
罗泽轩
85a84fb191
fix: avoid unnecessary type check and support var in local_conf (#2990)
Also merge bundle of repeated code.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:48:47 +08:00