YuanSheng Wang
1ef5828090
feature: supported to use router lua-resty-radixtree
. ( #391 )
...
* feature: supported new router `lua-resty-radixtree`.
* change(nginx.conf): sync from CLI.
2019-08-12 09:04:41 +08:00
WenMing
ffc71f529c
plugins: removed example-plugin from yaml configure. ( #383 )
2019-08-07 16:35:45 +08:00
YuanSheng Wang
926c3386e0
feature: add new option release
, will release it automatically ( #381 )
...
* feature: add new option `release`, will release it automatically
when cached item is useless.
2019-08-07 13:42:48 +08:00
Yuansheng
2686fd2877
change: typo.
2019-08-05 13:26:16 +08:00
Yuansheng
ea7099b410
feature: supported PATCH
method for upstream
API.
2019-08-05 13:26:16 +08:00
YuanSheng Wang
4850f91e82
feature: supported PATCH
method for service
API. ( #370 )
...
* feature: supported `PATCH` method for `service` API.
2019-08-05 12:51:21 +08:00
Yuansheng
ae0bdfb6d8
change: simple code style.
2019-08-05 00:04:42 +08:00
Yuansheng
77e5b50591
feature: supported to patch whole route content.
2019-08-05 00:04:42 +08:00
Yuansheng
19e09b539f
feature: supported PATCH
method for admin routes
API.
2019-08-05 00:04:42 +08:00
Yuansheng
1ce988346a
optimize(router): used local cache variable to avoid one lrucache call.
2019-08-04 23:20:55 +08:00
Yuansheng
66ac7ed200
doc(architecture): added new doc about router
.
2019-08-04 23:20:55 +08:00
Yuansheng
3bc0d64b49
feature: supported to match route by host + uri
.
2019-08-04 23:20:55 +08:00
Yuansheng
2d15718a2c
feature: allowed to use different router.
2019-08-04 23:20:55 +08:00
YuanSheng Wang
2f896f3d3e
optimze(plugin): set right default size. ( #361 )
...
* optimize(plugin): set right default size.
* travis: print the OS name.
2019-08-04 01:49:49 +08:00
YuanSheng Wang
7e36cf5b9e
bugfix: failed to fetch upstream id in balancer
phase. ( #356 )
...
* bugfix: failed to fetch upstream id in `balancer` phase.
* bugfix: cached `route` object maybe not a Lua table.
2019-08-02 16:29:00 +08:00
Yuansheng
884c97b67a
bugfix: allowed to serialise Lua table if it is excessive nesting.
2019-08-01 11:30:14 +08:00
YuanSheng Wang
db0001f1e7
change: upgrade lua-resty-etcd
to version v0.6. ( #346 )
...
Fix #343 .
2019-08-01 01:08:48 +08:00
Yuansheng
9e6fceb26e
bugfix: use short timeout and report heartbeat to www.iresty.com
.
2019-07-31 12:53:57 +08:00
WenMing
1d3f7ac6be
fixed code style. ( #329 )
2019-07-29 15:37:20 +08:00
YuanSheng Wang
18d5a5cff4
bugfix: only report heartbeat in worker 0 process. ( #326 )
...
* bugfix: only report heartbeat in worker 0 process.
* change: fixed wrong comments in yaml config.
2019-07-29 11:45:51 +08:00
YuanSheng Wang
b8fd0da486
feature: allow user to define how to create route index. ( #325 )
2019-07-28 19:37:31 +08:00
chnliyong
38b5d6d3d9
add health check json schema constraint and test cases. issue#266
2019-07-28 10:28:13 +08:00
YuanSheng Wang
04129add27
feature: supported debug mode. ( #319 )
...
* feature: supported debug mode.
print the plugin list which sort by priority.
* feature: show the enabled plugin list in header for debug mode.
2019-07-27 09:10:06 +08:00
WenMing
148bc4068b
feature: supported zipkin plugin. ( #304 )
2019-07-26 17:16:31 +08:00
WenMing
8c5d5d2313
bugfix: added conf_type to the key of limit plugins. ( #309 )
2019-07-25 10:56:05 +08:00
YuanSheng Wang
f81412750f
plugin: fixed typo and save consumer id. ( #307 )
2019-07-25 10:43:51 +08:00
Yuansheng
a904aa6048
change(jwt): typo.
2019-07-25 00:43:19 +08:00
Yuansheng
efadc91c03
feature: supported JWT plugin and added test cases.
2019-07-25 00:17:24 +08:00
Yuansheng
b4268301a1
change(key-auth): removed useless comments and used simple code.
2019-07-25 00:17:24 +08:00
YuanSheng Wang
02f66d4cc4
feature: allow plugins to handler balance phase. ( #299 )
...
* feature: allow plugins to handler balance phase.
2019-07-24 09:01:06 +08:00
YuanSheng Wang
526e0cb70c
feature(balancer): supported to set retries and timeouts, and set upstream node status by passive health check. ( #288 )
...
* feature(balancer): supported to set retries and timeouts, and set
upstream node status by passive health check.
2019-07-22 11:27:30 +08:00
WenMing
e6bc0040c1
feature: added desc for upstream and service in schema. ( #289 )
2019-07-22 10:42:02 +08:00
YuanSheng Wang
398579e511
schema(healthcheck): added the passive
definition to schema
. ( #285 )
2019-07-21 22:52:52 +08:00
YuanSheng Wang
56a8b152b7
schema: added more valid method. ( #287 )
...
* schema: added more valid method.
2019-07-21 22:39:07 +08:00
WenMing
3eaa17c5da
perf: used table.new for plugins load. ( #274 )
2019-07-19 15:51:47 +08:00
YuanSheng Wang
a0678ff66f
optimize: removed useless local cache. ( #270 )
2019-07-19 06:41:15 +08:00
YuanSheng Wang
1aba1ce873
bugfix: do nothing for current checker when worker is exiting. ( #264 )
...
Fix #264 .
2019-07-18 13:53:02 +08:00
Yuansheng
39af6626b8
bugfix: used .*
to match domain, which it can be optimized.
2019-07-18 13:39:52 +08:00
YuanSheng Wang
5e119c4828
luarocks: added new dependency lua-resty-healthcheck
. ( #249 )
...
* luarocks: added new dependencies `lua-resty-healthcheck` and `lua-resty-worker-event`.
* feature(balancer): fetched health node from upstream nodes in balancer phase when enabled
healthcheck.
2019-07-17 23:52:15 +08:00
YuanSheng Wang
7cf243cdf9
change: code style + added local cache. ( #241 )
...
* change: code style + added local cache.
* luacov: added new path `lua/apisix/http/*`.
2019-07-12 19:08:59 +08:00
WenMing
9fa04a923c
feature: supported real_ip configure in nginx.conf and added functions to get ip and remote ip. ( #236 )
...
* feature: supported real_ip configure in nginx.conf and added functions to get ip and remote ip.
* fixed code style.
2019-07-12 11:25:17 +08:00
Yuansheng
9513e3d37c
change: moved service
and ssl
source file to http
folder.
2019-07-12 10:40:45 +08:00
Yuansheng
20d2ee5d7b
change: moved service
and upstream
source file to http
folder.
2019-07-12 10:40:45 +08:00
YuanSheng Wang
565cb1653c
feature: added init
action in makefile to initialize the runtime ( #205 )
...
* feature: added `init` action in makefile to initialize the runtime
environment.
* doc: added more doc about `make` command.
* CLI: find the Lua from default PATH.
* bugfix: used short connection when to fetch node status.
2019-07-05 19:01:20 +08:00
YuanSheng Wang
a626bde242
bugfix plugin: used config's version as a part of key
. ( #190 )
2019-07-03 11:36:14 +08:00
YuanSheng Wang
85f420977c
change: added prefix http_
for http request. ( #179 )
2019-07-01 17:24:38 +08:00
YuanSheng Wang
53c3008f4f
change: reimplemented the feature heartbeat
with plugin way. ( #177 )
...
* change: reimplemented the feature `heartbeat` with plugin way.
2019-07-01 15:53:52 +08:00
WenMing
df7afe4f95
feature: added admin API to get plugins' list. ( #176 )
2019-07-01 13:29:21 +08:00
WenMing
92f019c7a1
feature: added admin API for plugins' schema. ( #174 )
2019-06-30 22:35:39 +08:00
希望之石
31671cc32c
move docs of plugins from /lua/apisix/plugins
to /doc
. #166 ( #167 )
2019-06-28 16:36:02 +08:00