Wen Ming
e141e88f72
makefile: add release-src in makefile. ( #2481 )
2020-10-22 13:11:45 +08:00
RocFang
8895de35b0
optimize: read trailing bytes only one time in stand-alone mode. ( #2493 )
2020-10-22 11:44:12 +08:00
罗泽轩
0f15939a9c
fix: compare if the interceptors are injected by ourselves ( #2484 )
...
fix #2482 .
2020-10-21 20:34:32 +08:00
罗泽轩
d86c480ec5
fix: previously we could not merge configuration without middle layer ( #2476 )
2020-10-21 09:59:45 +08:00
Joey
127dac9ebb
feat(prometheus): Add consumer metric data support ( #2469 )
...
* feat: Add consumer support for prometheus metrics
Signed-off-by: imjoey <majunjiev@gmail.com>
* Add more detailed comments for newly added consumer label
Signed-off-by: imjoey <majunjiev@gmail.com>
2020-10-21 09:32:52 +08:00
RocFang
a5f5c1ff59
doc: Consule=>Consul ( #2480 )
2020-10-21 06:43:53 +08:00
罗泽轩
ed1f08f926
fix(limit-conn): conn and default_conn_delay should > 0 ( #2478 )
...
Close #2472 .
2020-10-20 20:45:51 +08:00
YuanSheng Wang
1f376ac872
CI: remove luacov
in CI. ( #2456 )
2020-10-20 09:46:20 +08:00
muxueqz
df6d1e91a5
doc: fixed minor format issue in architecture-design.md.
2020-10-20 09:25:10 +08:00
罗泽轩
26e55a3e9c
doc: we can also use reload after configuration changed ( #2460 )
2020-10-19 18:16:51 +08:00
kiki
cb04193060
bugfix: modify json schema definition for plugin request-validation ( #2451 )
...
fix #2432 .
2020-10-19 16:04:12 +08:00
罗泽轩
26ad5cf892
doc(echo): mark it as production-unready ( #2461 )
2020-10-19 15:56:54 +08:00
罗泽轩
5906c73a07
fix: we didn't traverse the plugin interceptors correctly ( #2462 )
...
This bug is introduced in 6a543a9
.
2020-10-19 15:55:32 +08:00
Alex Zhang
71dcf367d3
change: read 8bytes from /dev/urandom as the random seed for better randomness ( #2437 )
2020-10-19 14:53:48 +08:00
dabue
943be09500
feature(core): implement core.sleep
( #2397 )
2020-10-19 10:49:01 +08:00
尚墨
1fe4e50f5a
chore: show help message if the argument is invalid. ( #2408 )
2020-10-19 10:35:42 +08:00
JinChen
5fcbb4de9c
plugin(consumer-restriction): use draft7 way to rewrite the JSON Schema. ( #2440 )
...
fix : #2402
2020-10-19 09:55:08 +08:00
YuanSheng Wang
c9392627a8
bugfix: empty allow_admin
means that any IP is allowed to access Admin API and Dashboard ( #1979 )
...
fix #1939
2020-10-17 19:26:48 +08:00
JinChen
9e1030ee42
feat: limit-count
plugin supports limiting requests by consumer name. ( #2421 )
...
fixed #2333
2020-10-17 19:24:55 +08:00
haifeng9414
3bb670b521
bugfix: set route priority for router radixtree_host_uri
. ( #2447 )
...
Fix : #2423 .
2020-10-17 19:20:51 +08:00
nic-chen
a92331c27a
feature: add managed fields in json schema for resources, such as create_time and update_time ( #2444 )
...
* feature: add managed fields in jsonschema for resources, such as create_time and update_time
2020-10-17 18:48:02 +08:00
罗泽轩
6a543a98a2
feat: use interceptors to protect plugin's route ( #2416 )
2020-10-17 17:45:26 +08:00
Turein
90109ca678
feature: support multiple ports like stream listen in http and https … ( #2409 )
...
fix #1195
2020-10-17 17:44:26 +08:00
Firstsawyou
d1729c0af3
feat: In dns parse, when the parameter resolvers
is empty, the local dns is used as resolvers
by default ( #2424 )
...
fix #2422
2020-10-17 13:44:53 +08:00
YuanSheng Wang
c65f5c9465
feature: plugin limit-count
support to use redis
cluster ( #2406 )
...
fix #638
Co-authored-by: liuheng <liuhengloveyou@gmail.com>
2020-10-17 08:21:47 +08:00
Alex Zhang
7cb956302f
style: fixed some code style problems ( #2438 )
2020-10-16 22:16:43 +08:00
RocFang
1afa8f7727
style: move localized require in front of directives which calling it. ( #2414 )
2020-10-16 15:16:09 +08:00
YuanSheng Wang
78910d828b
CI: turn off the Lua code coverage check in CI. ( #2435 )
...
We don't enable Lua code override now, its output is unstable and this is unacceptable.
Disabling the Lua code override first will make CI run faster.
* test: print more information when failed.
2020-10-16 09:59:30 +08:00
罗泽轩
b5fe9ced45
change: use 405 as the error code for unsupported HTTP method ( #2418 )
2020-10-16 09:02:35 +08:00
罗泽轩
85ed4cc576
doc: correct the doc of plugin ip-restriction ( #2420 )
2020-10-14 21:37:55 +08:00
罗泽轩
4f535e7401
fix(prometheus): don't provide etcd metrics when you don't use it ( #2396 )
2020-10-14 16:02:08 +08:00
Shuyang Wu
ef6bc442ae
chore: fix broken link ( #2404 )
...
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
2020-10-14 08:32:51 +08:00
RocFang
4776dc8a66
fix: it does'nt make sence to compare etcd_version, since it's nil. ( #2390 )
...
no need to define a new local cluster_version since it's defined previously.
2020-10-13 23:15:42 +08:00
YuanSheng Wang
5614a95758
feat(http-logger): support for specified the log formats via admin API ( #2309 )
...
curl http://****/apisix/admin/plugin_metadata/http-logger -d '
{
"log_format": {
"host": "$host",
"@timestamp": "$time_iso8601",
"client_ip": "$remote_addr"
}
}'
when we enabled plugin http-logger, we will get the message body like:
{"host":"localhost","@timestamp":"2020-09-23T18:29:07-04:00","client_ip":"127.0.0.1","route_id":"1"}
{"host":"localhost","@timestamp":"2020-09-23T18:29:07-04:00","client_ip":"127.0.0.1","route_id":"1"}
2020-10-13 14:21:54 +08:00
li1234yun
97cec5d422
doc: added milestone info in README.md and README_CN.md ( #2401 )
2020-10-13 10:38:56 +08:00
dabue
40577ee1e2
chore: remove the folder 'logs' in root and replace baidu.com with github.com in test cases ( #2374 )
...
* rm log
* replace baidu.com to github.com in testcases
* keep folder logs
* remove the folder logs
* update Makefile
2020-10-12 23:49:43 +08:00
罗泽轩
b8e4b8589d
change(hmac-auth): split schema to adapt different occasions ( #2386 )
2020-10-11 19:18:37 +08:00
罗泽轩
abf5674b63
style: tweak error log in kafka-logger ( #2387 )
2020-10-11 17:22:52 +08:00
YuanSheng Wang
72eef02061
CI: run the APISIX instance in an empty folder for linux_apisix_current_luarocks
. ( #2385 )
...
fix #2384
2020-10-11 12:59:54 +08:00
YuanSheng Wang
d6b00bb6bc
bugfix: install the Lua files in apisix/ssl/router
. ( #2383 )
...
fix #2382
2020-10-11 12:27:03 +08:00
RocFang
647d8d9a62
bugfix: check every etcd version, rather than only check the first one ( #2380 )
2020-10-10 23:53:10 +08:00
罗泽轩
ac38c299b4
change: refactor router ( #2367 )
...
1. rename http/router/radixtree_sni -> ssl/router/radixtree_sni
2. extract API router out from the host/uri router so that we can hide the
implementation details and reduce duplicate code.
2020-10-10 23:43:00 +08:00
RocFang
f05cba0145
fix: wget -O always leave a file enven though download fail ( #2376 )
2020-10-10 20:49:14 +08:00
YuanSheng Wang
ea25f85529
chore: upload apisix logo image ( #2371 )
...
added link in readme.
2020-10-10 16:18:51 +08:00
Wen Ming
f2e65d6e0a
doc: add user story about eFactory. ( #2373 )
2020-10-10 16:18:00 +08:00
YuanSheng Wang
251625d8ab
bugfix: set random seed for each worker process at init_worker
phase, only init
phase is not enough. ( #2357 )
2020-10-09 16:39:49 +08:00
YuanSheng Wang
73dfdf2185
feat: add new filed meta_style
, collect the request information with original
style. ( #2364 )
2020-10-09 16:33:07 +08:00
Alex Zhang
87a107ff4b
optimize: use table.isarray to check whether table is an array. ( #2365 )
2020-10-09 15:58:40 +08:00
Joey
9d0d351226
Add lables for Route/Service/Consumer/SSL ( #2345 )
...
Signed-off-by: imjoey <majunjiev@gmail.com>
2020-10-09 14:05:14 +08:00
罗泽轩
3d6c40deb5
doc(ip-restriction): IPv6 already supported ( #2363 )
2020-10-07 21:35:27 +08:00