罗泽轩
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
罗泽轩
2aeb6e44c7
docs: for global rule ( #3317 )
...
fix #2854
2021-01-18 19:14:57 +08:00
Wen Ming
c397e4738c
doc: update to 2.2 for source code package. ( #3322 )
2021-01-18 13:42:13 +08:00
Lien
c2232eef19
fix-sed-command-in-OSX ( #3318 )
2021-01-18 13:31:18 +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
罗泽轩
15609ceb83
chore: remove the obsolote etcd v2 protocol error ( #3291 )
...
PR #3258 doesn't remove it entirely.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-18 10:36:23 +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
roketyyang
a773a8fbe9
optimize: prometheus.exporter should init before plugins apache/apisix#3286 ( #3296 )
...
Co-authored-by: roketyyang <roketyyang@tencent.com>
close #3286
2021-01-18 09:43:49 +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
John Bampton
48c0d87218
chore: enable Markdownlint rule MD003/heading-style ( #3314 )
2021-01-17 11:59:34 +08:00
罗泽轩
19bc14ed5f
ci: add OpenResty 1.15.8.2 ( #3311 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-17 10:41:59 +08:00
John Bampton
c1f28e09e1
docs: fix typo in README ( #3312 )
2021-01-16 21:31:13 +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
大可
45f7dd6c6d
feat: benchmark support specify upstream count ( #3292 )
2021-01-15 10:14:23 +08:00
John Bampton
5482a4bf72
docs: standardize link anchors to be all lowercase ( #3297 )
...
Whilst the original syntax does work, it is better to standardize all anchors to lowercase like most of the codebase
2021-01-15 09:03:28 +08:00
罗泽轩
122cdf72ce
docs: update prometheus docs ( #3293 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-14 21:22:36 +08:00
Yuelin Zheng
ff60e57996
chore(traffic-split): add additionalProperties field to restrict plugin configuration ( #3285 )
2021-01-14 16:37:36 +08:00
John Bampton
e00893e2b0
docs: fix Markdown heading ( #3275 )
2021-01-14 15:25:00 +08:00
John Bampton
a57a18dd30
docs: remove unneeded table of contents entry ( #3279 )
2021-01-14 15:03:23 +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
Wen Ming
90be57f488
docs: update rpm package to 2.2 ( #3280 )
2021-01-14 13:16:14 +08:00
John Bampton
9ccdc29a9a
docs: fix case of Python ( #3277 )
2021-01-14 11:24:26 +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
罗泽轩
07e37bb63b
chore: remove the obsolote etcd v2 protocol error ( #3258 )
...
The 401 error is only for v2, so it is safe to remove it now.
2021-01-13 15:59:53 +08:00
John Bampton
57e3209286
docs: fix table of contents Markdown link ( #3256 )
2021-01-13 15:58:23 +08:00
罗泽轩
d68016e579
docs: enrich stand alone mode's doc ( #3264 )
2021-01-13 14:49:33 +08:00
idbeta
3e19b06293
ci: support to run ci on Centos 7 ( #3061 )
...
fix #2573
2021-01-12 10:55:54 +08:00
John Bampton
012484f558
chore: enable Markdownlint rule MD038 ( #3246 )
...
MD038/no-space-in-code Spaces inside code span elements
2021-01-12 09:07:57 +08:00
John Bampton
9361dc8182
docs: fix spelling ( #3249 )
2021-01-12 09:03:14 +08:00
John Bampton
cacf0634d2
docs: update CONTRIBUTING to include more details on linters ( #3248 )
2021-01-12 09:02:14 +08:00
Yousa
ec5a21bb69
chore: Using local variables instead of global calls ( #3245 )
...
* fix: ngx.req.read_body -> local req_read_body
* ngx.req.get_post_args -> req_get_post_args
2021-01-11 23:04:14 +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
John Bampton
0ae1691037
chore: enable Markdownlint rule MD002 ( #3234 )
2021-01-11 19:10:53 +08:00
罗泽轩
a2ad12bf47
test: demonstrate http-logger works fine with JSON body ( #3212 )
...
Close #1710
2021-01-11 18:00:24 +08:00
罗泽轩
d030d3c323
ci: simplify the if condition ( #3206 )
2021-01-11 17:53:57 +08:00
dabue
17274295bc
chore: capture the error while create new healthchecker
( #3213 )
...
fix #3169
2021-01-11 16:22:40 +08:00
罗泽轩
9e2e5c8a63
test: make admin/plugins-reload.t stable ( #3192 )
2021-01-11 15:49:11 +08:00
罗泽轩
3dc5cd801e
docs: format CHANGELOG ( #3226 )
2021-01-09 17:08:30 +08:00
tzssangglass
14ebb590a7
chore: tweak the uri to view plug-in types
...
related #3153
2021-01-08 21:16:31 +08:00
罗泽轩
ebd158a858
feat: release version 2.2 ( #3168 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-08 18:20:48 +08:00
罗泽轩
180c9f3c29
feat: allow empty object of nodes in upstream ( #3219 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-08 16:20:43 +08:00
Yuelin Zheng
e9db11474a
docs: better doc style for traffic-split plugin. ( #3218 )
2021-01-08 16:14:07 +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
shenshaoye
4aeef386f0
feat: support more customize configure in nginx.conf ( #3204 )
...
Co-authored-by: 沈鑫杰 <xinjie.shen@chaitin.com>
related #3203
2021-01-07 19:21:02 +08:00