Commit Graph

219 Commits

Author SHA1 Message Date
clown
bfa70e4f86
fix: ref check while deleting proto via Admin API (#4575) 2021-07-14 19:58:27 +08:00
chen zhuo
307c7f69eb
feat: Add option retry_timeout that like nginx's proxy_next_upstream_timeout (#4574)
Co-authored-by: zhuo.chen <zhuo.chen@upai.com>
2021-07-14 09:53:29 +08:00
罗泽轩
42ab614927
feat: allow additional properties in upstream (#4570)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-10 12:02:54 +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
罗泽轩
e6c69318e1
fix(admin): correct the resources' count field (#4385)
Here I use separate test files for the resources to ensure
the number of resource is 0.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-08 16:54:29 +08:00
Joshua Yang
91a048e68e
feat: allow to set custom timeout for route (#4340)
related #4258
2021-06-01 13:39:29 +08:00
罗泽轩
3c857a8a13
fix: ensure the plugin is always reloaded (#4319)
* fix: ensure the plugin is always reloaded

Only trigger a reset from admin when the etcd's data is different
from the one of admin. So there is no need to add check in node side.

Fix #4314

Signed-off-by: spacewander <spacewanderlzx@gmail.com>

* fix reset check

Signed-off-by: spacewander <spacewanderlzx@gmail.com>

* fix error handling

Signed-off-by: spacewander <spacewanderlzx@gmail.com>

* update test

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-31 16:37:23 +08:00
罗泽轩
045c35140f
feat: support passing different host headers in multiple nodes (#4208)
Fix #2620
Fix #4197
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-13 22:26:27 +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
罗泽轩
16c8648aa0
refactor: ssl schema (#3969)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-07 09:02:22 +08:00
罗泽轩
92b9bde8ee
fix: PATCH ssl should encrypt key (#3986) 2021-04-07 01:10:18 +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
罗泽轩
7c976b50ab
feat(skywalking): allow destory and configure report interval for reporter (#3925)
Fix #2895

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-30 09:54:18 +08:00
罗泽轩
86e168e711
test: enable master-worker mode by default (#3927) 2021-03-29 23:38:07 +08:00
John Bampton
4ebccafbdc
chore: fix spelling (#3253) 2021-03-14 22:53:34 +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
罗泽轩
8dcbe4e00d
feat: let balancer support priority (#3755)
Fix #1809
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-10 14:56:26 +08:00
罗泽轩
46c649596f
feat: add labels to plugin_config (#3703) 2021-03-01 14:51:48 +08:00
罗泽轩
e58a55fbc6
fix(chash): ensure retry can try every node (#3651)
Previously the default number of retry is equal to the number of node,
but the same node will be tried again according to its weight.

Also ensure the same picker will be used in the whole request,
especially during the retry.
2021-02-27 22:17:22 +08:00
罗泽轩
013db0dd2f
feat: support to bind plugin config by plugin_config_id (#3567)
Fix #3532
2021-02-20 20:42:10 +08:00
罗泽轩
1d0e38a1d2
test: make 'not unwanted data, GET' stable (#3513) 2021-02-04 12:48:28 +08:00
Yuelin Zheng
bca2210ac7
chore: fix the limit plugins schema (#3456) 2021-01-29 22:31:01 +08:00
syz
0e1cefb6eb
fix: upstream dns resolver failed response 503 (#3398)
Co-authored-by: spacewander <spacewanderlzx@gmail.com>
2021-01-29 16:23:20 +08:00
罗泽轩
3db8ebec26
feat: support gRPCS (#3411) 2021-01-26 11:04:16 +08:00
罗泽轩
8439c8d98d
test: make ci stable (#3413) 2021-01-26 00:01:48 +08:00
罗泽轩
c90f0dcfb4
fix: SSL resource supports PATCH with sub path (#3405)
Fix #3351
2021-01-25 23:57:34 +08:00
Yitian Huang
e02baebbef
fix: validation for timeouts in upstream schema that can be zero (#3401) 2021-01-25 10:08:29 +08:00
罗泽轩
64029e0ecc
feat: remove restriction of label pattern to support Chinese (#3379)
* feat: remove restriction of label pattern to support Chinese

Fix #3378.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>

* whitespace

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-21 21:27:00 +08:00
罗泽轩
ab6e31fd63
test: clean unrun cases (#3356)
Those test may mislead people.
Also add a check to prevent skipping test by accident.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-20 19:14:56 +08:00
罗泽轩
319c3ebefd
test: make ci stable (#3329) 2021-01-20 15:58:44 +08:00
罗泽轩
cdb5aaf3d7
ci: lint test file (#3298)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-18 10:27:28 +08:00
nic-chen
5bdfb8f8e5
chore: remove injected field of plugin schema from properties (#3299)
* chore: remove injected field of plugin schema from properties
2021-01-15 11:40:49 +08:00
罗泽轩
1a1fe09d12
fix: always inject disable field into plugin schema (#3272)
Fix https://github.com/apache/apisix-dashboard/issues/1227
2021-01-14 13:30:15 +08:00
罗泽轩
9e2e5c8a63
test: make admin/plugins-reload.t stable (#3192) 2021-01-11 15:49:11 +08:00
阿姆斯壮
500e42d4ec
fix: make set_more_retries() work when upstream_type is chash (#2676) 2021-01-07 19:19:52 +08:00
Joey
2996416d60
feat: Add create_time and update_time in global_rule schema (#3201)
* feat: Add create_time and update_time in global_rule schema

Signed-off-by: imjoey <majunjiev@gmail.com>

* Add missing time injection and test cases for that

Signed-off-by: imjoey <majunjiev@gmail.com>

* Revert previous delete test cases for strip_etcd_resp

Signed-off-by: imjoey <majunjiev@gmail.com>
2021-01-07 13:01:09 +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
罗泽轩
65579fc45b
feat: allow host with underscore (#3165) 2020-12-31 11:48:54 +08:00
罗泽轩
13ab4903b4
chore: improve HTTPS doc (#3149) 2020-12-30 22:57:00 +08:00
tzssangglass
0597c57b27
chore: tweak the uri to view plug-in types (#3153) 2020-12-29 15:55:53 +08:00
tzssangglass
a54aad1ad3
feat: provide the ability to view plug-in types (#2886)
Fix #2308
2020-12-29 11:01:12 +08:00
Yuelin Zheng
86fa46d85b
feat: Implement traffic splitting plugin (#2935)
close #2303
close #2603
2020-12-25 15:53:00 +08:00
罗泽轩
966d68829a
feat: validate certificate & key (#3085)
Fix #296
Fix #2816

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-23 21:30:09 +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
罗泽轩
310c95158f
feat: allow upstream without nodes (#3076)
Fix #3072
2020-12-18 16:05:54 +08:00
John Bampton
511f52a856
refactor: remove trailing whitespace (#3040) 2020-12-15 08:56:20 +08:00
罗泽轩
0eacf3af7d
feat: improve jsonschema validation on route resource (#3008)
fix #2671
fix #2991
2020-12-10 22:53:53 +08:00
罗泽轩
9918efbe5b
test: solve conflict between #2993 and #2943 (#2997)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-09 14:30:46 +08:00
罗泽轩
1e882e378d
feat: delete useless data in the response (#2993)
Fix #2759

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-09 08:53:38 +08:00
罗泽轩
2f3ab6a2bc
feat: disable node-status by default (#2968)
Fix #2952
2020-12-04 22:25:11 +08:00