罗泽轩
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
阿姆斯壮
500e42d4ec
fix: make set_more_retries() work when upstream_type is chash ( #2676 )
2021-01-07 19:19:52 +08:00
Joey
2996416d60
feat: Add create_time and update_time in global_rule schema ( #3201 )
...
* feat: Add create_time and update_time in global_rule schema
Signed-off-by: imjoey <majunjiev@gmail.com>
* Add missing time injection and test cases for that
Signed-off-by: imjoey <majunjiev@gmail.com>
* Revert previous delete test cases for strip_etcd_resp
Signed-off-by: imjoey <majunjiev@gmail.com>
2021-01-07 13:01:09 +08:00
Peter Zhu
7b5d2eae26
feat: use luasocket instead of curl in etcd.lua ( #2965 )
...
fix : #2818
fix : #2718
2021-01-07 09:14:17 +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
dabue
2b18cccf47
ci: update the title of ci ( #3172 )
...
fix #3167
2021-01-05 21:08:14 +08:00
idbeta
ad4a222403
docs: sync English version ( #2605 )
...
fix #2583
2021-01-05 12:22:46 +08:00
罗泽轩
cc884f1207
feat(cli): parse IPv6 resolver address ( #3187 )
...
Fix #3186 .
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-05 11:01:17 +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
罗泽轩
3b69b644a4
refactor: no need to provide two common files under http/ ( #3183 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-05 09:08:17 +08:00
罗泽轩
8d323a2216
feat: add consumer plugin validation at DP side ( #3185 )
2021-01-05 08:58:36 +08:00
YuanSheng Wang
151d74fd9c
chore: enable plugin server-info
by default. ( #3170 )
...
Co-authored-by: spacewander <spacewanderlzx@gmail.com>
2021-01-04 20:18:21 +08:00
nic-chen
4f6fce362d
fix: use config_util.iterate_values
to avoid error by using invalid data type as table ( #3173 )
2021-01-04 19:52:53 +08:00
罗泽轩
4a0707ac28
fix: set ngx.ctx
to nil will corrupt the inner ngx_lua_ctx_tables ( #3182 )
...
And it doesn't free the reference which is actually controlled in C
land.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-04 18:03:40 +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
罗泽轩
65579fc45b
feat: allow host with underscore ( #3165 )
2020-12-31 11:48:54 +08:00
qwxingzhe
0365fb880c
docs: Add plugin list and detail acquisition interface ( #3156 )
2020-12-31 09:11:10 +08:00