Commit Graph

518 Commits

Author SHA1 Message Date
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
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
罗泽轩
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
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
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
John Bampton
7c5df5d343
docs: lint Markdown (#3178) 2021-01-06 11:06:43 +08:00
John Bampton
58b0366c83
fix(CI): roll our own linter for YAML (#3196)
Due to the ASF's policies changing we cannot use the original GitHub Actions for linting as they are not approved

Lint Markdown for rules:
- MD012/no-multiple-blanks
- MD032/blanks-around-lists
2021-01-06 09:38:28 +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
行者
bb629bc7eb
docs: Fix character error at plugin, style output error, and link cannot be used (#3176) 2021-01-04 09:13:08 +08:00
John Bampton
b72e2c56be
docs: lint Markdown files (#3177)
Lint Markdown for rules:
- MD031/blanks-around-fences
- MD032/blanks-around-lists
2021-01-03 11:26:40 +08:00
qwxingzhe
0365fb880c
docs: Add plugin list and detail acquisition interface (#3156) 2020-12-31 09:11:10 +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
qwxingzhe
b80020e632
docs: added interface to get list part for Admin API (#3138) 2020-12-29 23:22:02 +08:00
tzssangglass
0597c57b27
chore: tweak the uri to view plug-in types (#3153) 2020-12-29 15:55:53 +08:00
tzssangglass
a54aad1ad3
feat: provide the ability to view plug-in types (#2886)
Fix #2308
2020-12-29 11:01:12 +08:00
罗泽轩
078a0626b2
docs: mention iresty/test-nginx should be used (#3119) 2020-12-28 21:48:24 +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
罗泽轩
5a67fc382e
docs: improve the plugin-develop doc (#3125)
Co-authored-by: John Bampton <jbampton@users.noreply.github.com>
2020-12-27 09:30:01 +08:00
Dabuge
0c6ae109bb
docs: fix documentation about ETCD (#3130) 2020-12-27 09:22:04 +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
罗泽轩
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
Alex Zhang
c3d61fcfa3
feat: add control api for plugin server-info (#3088)
* feat: add control api for plugin server-info

Previously we added plugin server-info without exposing API since the same port problem of admin api and proxy. Now we have Control API support so we expose server-info API through Control API. People now can insight the server info about APISIX instance easily.
2020-12-22 11:04:56 +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
罗泽轩
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
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
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
Radhika
0222db7bf3
docs: corrected typo in doc (#3030) 2020-12-14 08:49:33 +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
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
罗泽轩
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
guoqqqi
c47eacaf97
docs: Update server-info.md (#3001)
resolve #3000
2020-12-09 16:38:07 +08:00
tzssangglass
c7b198f969
feat: support enable/disable route (#2943)
fix #2737
2020-12-09 10:38:21 +08:00