Commit Graph

205 Commits

Author SHA1 Message Date
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
罗泽轩
f84a44e409
feat(limt-count): use 'remote_addr' as default key (#2927) 2020-12-02 17:04:31 +08:00
罗泽轩
bbbd10e1b3
feat: validate the operator in vars (#2911)
Fix #2878
2020-12-02 15:37:07 +08:00
罗泽轩
ddfeb5de1d
fix: reject "" for route's remote_addrs (#2907)
This change imroves the IP schema validation.
2020-12-01 15:44:50 +08:00
罗泽轩
f267291f3a
feat(prometheus): allow customizing Prometheus export uri (#2826)
* feat(prometheus): allow customizing Prometheus export uri

Close #2296.
2020-11-30 14:35:06 +08:00
罗泽轩
44855ec1a7
ci: make it work under OpenResty 1.19 (#2768) 2020-11-30 10:32:35 +08:00
罗泽轩
1c211ff7b1
fix: validate plugin configuration in the DP (#2856)
Fix #2834
2020-11-28 13:29:00 +08:00
罗泽轩
35269581e2
test: increase waiting time to make plugins reload test stable (#2868) 2020-11-27 17:36:58 +08:00
罗泽轩
1ad90f7206
chore: sort default plugin list for easier search (#2824) 2020-11-25 14:11:24 +08:00
罗泽轩
d7593a0ac3
feat: support '.' in id definition (#2795)
* feat: support '.' in id definition

Close #2274.

* tweak test
2020-11-23 22:36:40 +08:00
Shuyang Wu
36162e3607
fix: move conf/cert to t/certs and disable ssl by default (#2112) 2020-11-20 11:10:01 +08:00
guyang
5b396020d5
feat: support plugin for "aliyun" log service (#2177) 2020-11-19 00:04:01 +08:00
罗泽轩
1a24c2af39
refactor(consumer): remove id and use username only (#2679)
Close #2656
Close #2653
Close #2651
2020-11-18 17:44:40 +08:00
罗泽轩
671d184ceb
bugfix: we didn't keep the create_time correctly (#2760) 2020-11-17 18:39:28 +08:00
罗泽轩
dec9518d3c
test: improve bin/apisix test cases. (#2761)
* test: improve bin/apisix test cases.

Avoid modifying config-default,yaml directly.

* unset APISIX_PROFILE

* increase sleep time
2020-11-17 18:00:30 +08:00