罗泽轩
c90f0dcfb4
fix: SSL resource supports PATCH with sub path ( #3405 )
...
Fix #3351
2021-01-25 23:57:34 +08:00
Yuelin Zheng
fb9123d429
feat(fault-injection): support conditional fault injection using nginx variables ( #3363 )
...
close #2511
2021-01-25 23:44:00 +08:00
大可
95a04d2475
fix(grpc-transcode): ienum_as_name to enum_as_name ( #3352 )
2021-01-25 11:20:45 +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
罗泽轩
c8d35cd73c
fix(standalone): require consumer's id to be the same as username ( #3394 )
...
We already did the same thing with the configuration from etcd.
2021-01-22 17:30:59 +08:00
罗泽轩
d698220341
fix: ignore the case of configured host ( #3377 )
...
Fix #3357 .
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-22 10:18:50 +08:00
罗泽轩
bf16615583
test: avoid unstable case caused by delete upstream 1 ( #3385 )
...
Test cases from other files may still refer upstream 1.
2021-01-21 23:40:58 +08:00
罗泽轩
c030783607
fix: support upstream_id & consumer with grpc ( #3387 )
...
Fix #1646 .
2021-01-21 23:38:19 +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
罗泽轩
95c01707bf
feat: allow getting health check status via control API ( #3345 )
...
Fix #2798
2021-01-20 18:06:03 +08:00
罗泽轩
319c3ebefd
test: make ci stable ( #3329 )
2021-01-20 15:58:44 +08:00
罗泽轩
da99a03cbf
test: add more test to check if checker is stopped. ( #3350 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-20 13:32:26 +08:00
罗泽轩
b78c87a158
fix: set conf info when global rule is hit without matched rule ( #3332 )
...
Fix #3330
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-20 11:21:02 +08:00
罗泽轩
e3601e6876
feat: support dubbo ( #3224 )
...
Fix #89
2021-01-20 09:47:09 +08:00
罗泽轩
1b3e547c5b
feat: resolve var supports ${...}
format ( #3320 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-18 22:23:15 +08:00
罗泽轩
4cf30bf2ac
refactor: keep health checker with the upstream's parent ( #3325 )
...
A upstream's parent can only have one running checker.
Previously, when a checker is evicted by lrucache, it is still running.
Now health checker & upstream in used is 1:1.
2021-01-18 22:21:39 +08:00
罗泽轩
abb7841d29
test: fix least conn case ( #3321 )
2021-01-18 13:17:39 +08:00
罗泽轩
6fe399c7d6
fix: avoid caching outdated discovery upstream nodes ( #3295 )
...
Fix #2369
Fix #1838
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-18 11:04:13 +08:00
罗泽轩
cdb5aaf3d7
ci: lint test file ( #3298 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-18 10:27:28 +08:00
罗泽轩
f349cc0dd4
feat: load balance by least connections ( #3304 )
...
Fix #3086
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-18 10:25:58 +08:00
Yuelin Zheng
a1dd370962
fix(traffic-split): the header set in vars cannot have a horizontal line ( #3310 )
...
fix #3306
2021-01-17 12:40:31 +08:00
罗泽轩
bbbdf58d55
refactor: the parent of upstream should point to its original src ( #3287 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-15 14:43:39 +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
ken zhou
d1d6533176
feat: support hash on vars_combinations ( #3278 )
...
related #3261
2021-01-15 10:45:46 +08:00
Yuelin Zheng
ff60e57996
chore(traffic-split): add additionalProperties field to restrict plugin configuration ( #3285 )
2021-01-14 16:37:36 +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
罗泽轩
fcd880f23f
chore: enhance upstream discovery ( #3269 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-14 09:47:24 +08:00
Jens Keiner
9f6e605a15
feat(authz-keycloak): Add Keycloak Authorization Services endpoint discovery. ( #3263 )
2021-01-13 23:22:34 +08:00
罗泽轩
d68016e579
docs: enrich stand alone mode's doc ( #3264 )
2021-01-13 14:49:33 +08:00
罗泽轩
4de254ad27
fix(roundrobin): don't retry a node again ( #3217 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-11 22:25:53 +08:00
罗泽轩
fa029d429d
fix: create the health checker in access
phase ( #3240 )
...
Allow to call yield function in the healthcheck.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Co-authored-by: YuanSheng Wang <membphis@gmail.com>
Fix #1851
Fix #2842
2021-01-11 21:35:33 +08:00
罗泽轩
a2ad12bf47
test: demonstrate http-logger works fine with JSON body ( #3212 )
...
Close #1710
2021-01-11 18:00:24 +08:00
罗泽轩
9e2e5c8a63
test: make admin/plugins-reload.t stable ( #3192 )
2021-01-11 15:49:11 +08:00
罗泽轩
ee122cd048
feat: log when request is blocked by a plugin ( #3214 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-07 19:45:08 +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
罗泽轩
cc884f1207
feat(cli): parse IPv6 resolver address ( #3187 )
...
Fix #3186 .
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-05 11:01:17 +08:00
Jens Keiner
67df073ed4
feat: Make headers to add to request in openid-connect plugin configurable. ( #2903 )
2021-01-05 10:14:37 +08:00
Brandon Fergerson
05b1db7f53
feat: support var in upstream_uri on proxy-rewrite plugin ( #3139 )
2021-01-05 10:11:09 +08:00
罗泽轩
8d323a2216
feat: add consumer plugin validation at DP side ( #3185 )
2021-01-05 08:58:36 +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
nic-chen
4f6fce362d
fix: use config_util.iterate_values
to avoid error by using invalid data type as table ( #3173 )
2021-01-04 19:52:53 +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
罗泽轩
81c1c7c077
change: don't treat route segment with ':' as parameter by default ( #3154 )
...
Fix #3134
2020-12-30 22:13:05 +08:00
tzssangglass
0597c57b27
chore: tweak the uri to view plug-in types ( #3153 )
2020-12-29 15:55:53 +08:00
Yuelin Zheng
9b5fa0b4c4
test: limit-count add more test cases to cover the case where the upstream is a domain name ( #3140 )
...
close #3108
2020-12-29 11:25:25 +08:00
tzssangglass
a54aad1ad3
feat: provide the ability to view plug-in types ( #2886 )
...
Fix #2308
2020-12-29 11:01:12 +08:00
罗泽轩
b1e5edd7d8
tests: fix unstable test in traffic-split.t ( #3135 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-28 20:55:29 +08:00