Commit Graph

1987 Commits

Author SHA1 Message Date
RocFang
e40eeae22f
docs: fix some incomplete shell commands in the examples (#3338) 2021-01-20 09:02:01 +08:00
John Bampton
15528d8157
docs: fix table of contents links in 4 files (#3328) 2021-01-19 17:48:23 +08:00
YuanSheng Wang
3d85240d00
docs: delete the http part to avoid ambiguity (#3337) 2021-01-19 15:53:43 +08:00
John Bampton
ebab4de486
docs: fix Markdown headings and remove unneeded TOC link (#3331) 2021-01-19 14:29:16 +08:00
Yuelin Zheng
a8153917ff
fix: APISIX runs in the /root directory and reports errors (#3220) 2021-01-19 12:01:07 +08:00
John Bampton
38cc57a822
chore: fix missing HTTPS on link (#3327) 2021-01-19 09:50:53 +08:00
John Bampton
0ce72405c8
docs: fix Markdown link (#3313) 2021-01-19 09:07:22 +08:00
John Bampton
b0a58b5351
docs: use lowercase link anchors (#3326) 2021-01-18 23:31:34 +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
罗泽轩
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