Commit Graph

2030 Commits

Author SHA1 Message Date
罗泽轩
7c158b739a
refactor: don't force plugin to use /vn prefix (#3081) 2020-12-21 10:38:10 +08:00
罗泽轩
31b49ad0e1
fix: upgrade lua-resty-ngxvar to solve the upstream_xxx_time problem (#3065)
Fix #2954
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-20 20:09:46 +08:00
罗泽轩
9a07ee8f82
chore: remove temporary hack (#3078)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-19 14:15:55 +08:00
罗泽轩
8a3dda3edd
docs: catch up with the current status of route (#3019)
Fix #2298.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 19:10:43 +08:00
罗泽轩
e9826b60f3
fix: make debug-mode work with global rule (#3023)
Fix #1667.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 17:14:51 +08:00
罗泽轩
fd2db606a9
feat: rewrite handwriting validation with jsonschema (#3021)
Fix #2967. Some plugins can't be rewritten, so I have to keep them.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 16:55:23 +08:00
罗泽轩
4d2f271a06
fix: add control directory in installation (#3077)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 16:40:17 +08:00
罗泽轩
310c95158f
feat: allow upstream without nodes (#3076)
Fix #3072
2020-12-18 16:05:54 +08:00
罗泽轩
924a30db36
feat: add control API (#3048)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Co-authored-by: John Bampton <jbampton@users.noreply.github.com
2020-12-18 15:05:09 +08:00
Peter Zhu
952854d7cd
fix: bad server_info example (#3074) 2020-12-18 14:51:50 +08:00
Peter Zhu
560fca3e0b
fix: fix on setting server info to etcd (#3075)
* fix: fix on setting server info to etcd
2020-12-18 14:46:49 +08:00
John Bampton
da5d0f7e35
docs: fix spelling (#3071) 2020-12-18 09:07:02 +08:00
罗泽轩
81c8d806a3
test: remove useless skywalking mock (#3066)
Now we connect to real skywalking for test.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 08:30:55 +08:00
John Bampton
6331e5d057
feat(CI): add a GitHub Action to lint the YAML files (#3044)
Lint some YAML
Add a `.yamllint` config file
2020-12-18 08:29:17 +08:00
Yuelin Zheng
bdd00e1f55
feat: support ctx.var to get service_name and route_name (#3036)
close #2982
2020-12-17 22:26:25 +08:00
John Bampton
1f52c70d84
docs: lint Markdown for multiple consecutive blank lines (#3047)
- remove unneeded MD009 - Trailing spaces config entry
- MD012 - Multiple consecutive blank lines

https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md#md012---multiple-consecutive-blank-lines
2020-12-17 22:25:30 +08:00
Shuyang Wu
f476d2c3dc
fix: copy the files in conf/cert when installing (#3059)
fix #3057
2020-12-16 18:09:52 +08:00
罗泽轩
370beda74d
feat: improve the error msg when client doesn't send SNI (#3053) 2020-12-16 08:56:30 +08:00
罗泽轩
1ece1e12ee
fix: remove hardcoded TZ env (#3049)
fix #3039
2020-12-15 21:11:06 +08:00
罗泽轩
d16ac7a021
feat: share etcd client (#2932)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-15 20:18:25 +08:00
罗泽轩
8420a0f39d
feat: return 502 for upstream not found in the DP (#3050)
Fix #3035

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-15 18:04:10 +08:00
John Bampton
b1281020a5
docs: 🫐 use HTML5 br tags (#3043)
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br
2020-12-15 16:56:40 +08:00
John Bampton
3bb3422852
feat(CI): add a GitHub Action to lint the Markdown (#3041)
- add a Markdownlint config file
- lint Markdownlint for MD039 - Spaces inside link text

https://www.npmjs.com/package/markdownlint-cli
2020-12-15 09:29:47 +08:00
John Bampton
b0be50c69c
docs: fix case of GitHub (#3042)
Changed `Github` to `GitHub`
2020-12-15 09:27:29 +08:00
John Bampton
511f52a856
refactor: remove trailing whitespace (#3040) 2020-12-15 08:56:20 +08:00
Radhika
0222db7bf3
docs: corrected typo in doc (#3030) 2020-12-14 08:49:33 +08:00
琚致远
839c5d7f07
feat: added improve docs issue template (#3031) 2020-12-14 08:48:59 +08:00
罗泽轩
2457aa1e4d
feat: check if Admin API is used with etcd config_center (#3018) 2020-12-13 23:08:15 +08:00
John Bampton
dcdbc1cc9e
chore: spelling (#3027) 2020-12-13 19:31:24 +08:00
diaosj
69c7987390
style: add space character before keyword "then" (#3028) 2020-12-13 19:22:27 +08:00
John Bampton
aed3e818e0
docs: remove unneeded whitespace from Markdown (#3026) 2020-12-13 14:15:07 +08:00
John Bampton
3c01db5ef0
chore: spelling (#3012)
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
Co-authored-by: YuanSheng Wang <membphis@gmail.com>
2020-12-13 00:04:48 +08:00
Shuyang Wu
b7325f033e
fix: enable ssl as default, using placeholder certificate (#3013) 2020-12-11 17:44:41 +08:00
diaosj
0cda6cb267
style: local var [http_statuses] redefined in apisix/init.lua (#3015)
local var [http_statuses] was defined at line 686
2020-12-11 12:12:58 +08:00
罗泽轩
cc9c1bb090
ci: check misspell (#3011)
Fix #3009
2020-12-10 23:05:36 +08:00
罗泽轩
0eacf3af7d
feat: improve jsonschema validation on route resource (#3008)
fix #2671
fix #2991
2020-12-10 22:53:53 +08:00
罗泽轩
93e2f1647a
feat: route accroding to the graphql attributes (#2964)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:51:00 +08:00
罗泽轩
85a84fb191
fix: avoid unnecessary type check and support var in local_conf (#2990)
Also merge bundle of repeated code.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:48:47 +08:00
罗泽轩
d8176dca63
fix: avoid duplicate auto-generated id (#3003)
Fix #2950

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:13:09 +08:00
YuanSheng Wang
a670ea2f2e
bugfix: always necessary to save the data of the limit concurrency, and release the statistical status in the log phase. (#2465)
fix #2450
2020-12-10 14:50:15 +08:00
罗泽轩
270aef027a
test: make node/merge-route.t stable (#2999)
The time_window field might be the last one, which doesn't have ','

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-09 17:08:26 +08:00
guoqqqi
c47eacaf97
docs: Update server-info.md (#3001)
resolve #3000
2020-12-09 16:38:07 +08:00
罗泽轩
9918efbe5b
test: solve conflict between #2993 and #2943 (#2997)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-09 14:30:46 +08:00
Alex Zhang
59cc446c15
chore: refactor ops in command line(CLI) (#2929) 2020-12-09 13:23:21 +08:00
tzssangglass
c7b198f969
feat: support enable/disable route (#2943)
fix #2737
2020-12-09 10:38:21 +08:00
Alex Zhang
7855d9eed2
feat: implement new plugin server-info (#2926)
close #2821
2020-12-09 10:07:57 +08:00
罗泽轩
1e882e378d
feat: delete useless data in the response (#2993)
Fix #2759

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-09 08:53:38 +08:00
罗泽轩
471997702b
fix: we should use [1, 100] for percentage instead of [0, 100] (#2980)
Previously, we got n+1/101 as the percentage.
2020-12-08 23:17:18 +08:00
罗泽轩
93241949b4
chore(skywalking): the range of sample rate should be [0, ratio) (#2984) 2020-12-08 23:16:22 +08:00
YuanSheng Wang
32c7df44ca
docs: update CVE information in the CHANGELOG of 2.0 (#2987) 2020-12-08 17:49:28 +08:00