罗泽轩
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
dabue
6dba053c08
update server-info.t ( #3143 )
...
related #3095
2020-12-28 20:51:56 +08:00
Yuelin Zheng
c4180ccbf9
feat: the proxy-rewrite plugin support pass nginx variable within header ( #3144 )
...
related #3117
2020-12-28 20:42:47 +08:00
罗泽轩
53777519b8
fix: correct the validation of route.vars ( #3124 )
...
Previously only the type is applied, and it is too strict.
And now we should allow 4 items in the vars expression.
Fix #3123
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-27 12:02:31 +08:00
nic-chen
baf8a26cea
chore: expose more schema via control API ( #3127 )
2020-12-25 21:26:15 +08:00
Yuelin Zheng
86fa46d85b
feat: Implement traffic splitting plugin ( #2935 )
...
close #2303
close #2603
2020-12-25 15:53:00 +08:00
guyang
0802c95faf
feat: add batch process metrics ( #3070 )
2020-12-24 19:24:46 +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
罗泽轩
a661b940b0
feat: add script_id field used by dashboard ( #3096 )
...
Used as a reference to script metadata.
2020-12-23 19:17:26 +08:00
罗泽轩
357a2efa68
feat: expose schema via control API ( #3092 )
...
Close #3022
2020-12-23 16:40:19 +08:00
罗泽轩
560a2fe3ab
change: remove k8s_deployment_info ( #3098 )
...
Fix #3068
2020-12-22 22:28:47 +08:00