Commit Graph

1907 Commits

Author SHA1 Message Date
罗泽轩
806ac668d5
chore: hi 2021 (#3399)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-24 13:01:06 +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
Yuelin Zheng
62b5f7c6d4
docs(traffic-split): update the vars example of the docs (#3366)
close #3359
2021-01-21 19:25:08 +08:00
Yuelin Zheng
5e00a731ef
chore: update lua-resty-expr to v1.1.0 (#3386) 2021-01-21 19:20:35 +08:00
Shuyang Wu
e5916cf541
fix: markdownlint issue (#3381)
remove unnecessary ignore path in markdownlint

Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
2021-01-21 16:03:30 +08:00
Wen Ming
985c354066
doc: add good first issue links. (#3368) 2021-01-21 14:21:37 +08:00
Yousa
aff1a907a3
chore: ngx.req.get_body_data -> req_get_body_data (#3255) 2021-01-21 09:35:10 +08:00
罗泽轩
6903b8ba51
docs: add link of control-api.md to Chinese index. (#3354)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-20 19:46:39 +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
Yuelin Zheng
801e56c246
docs: improve the hamc-auth plugin documentation (#3346)
close #3334
2021-01-20 13:31:19 +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
Yuelin Zheng
746345aab2
docs: fix the example in skywalking doc (#3347) 2021-01-20 10:42:45 +08:00
罗泽轩
e3601e6876
feat: support dubbo (#3224)
Fix #89
2021-01-20 09:47:09 +08:00
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