Lien
b91d2d36c0
Fix: allow set multiple URI in one route config ( #797 )
...
* route support uris
* fix uris in router with test cases
* remove line has trailing whitespace
* remove line has trailing whitespace
* fix test case
* use new test case for multiple uris
2019-11-04 14:00:52 +08:00
lyyoung
89688d32ad
plugin(prometheus): added new field node
and new item latency. ( #794 )
2019-11-03 21:11:52 +08:00
Lien
b119a5c94b
bugfix: support more built-in parameters when set chash balancer ( #775 )
2019-11-03 18:25:51 +08:00
YuanSheng Wang
a1c56ceb53
bugfix: skipped to init etcd if use local file as config center. ( #737 )
2019-11-02 07:59:59 +08:00
YuanSheng Wang
d112c97a61
bugfix: exported schema for plugin serverless
. ( #787 )
2019-11-01 22:32:19 +08:00
YuanSheng Wang
ad376f83f8
change: updated resty-radixtree to v1.5. ( #768 )
...
* feature: supported userdefine lua function in router `radixtree_uri`.
* feature: supported userdefine lua function in router `radixtree_host_uri`.
2019-11-01 09:49:09 +08:00
Geikiy
4ad4cdb684
change: delete duplicate code. ( #769 )
2019-10-31 21:45:27 +08:00
WenMing
b3fb7ae1f1
license: ingore grpc_server_example dir for check license. ( #770 )
2019-10-31 10:55:21 +08:00
YuanSheng Wang
da853702d6
feature: supported redirect
plugin. ( #732 )
2019-10-31 10:19:22 +08:00
WenMing
12a2b01b71
license: add ASF header. ( #743 )
2019-10-31 09:27:28 +08:00
jackstraw
b3b09240a5
optimize(core): avoid useless comparisons in log.lua ( #767 )
2019-10-31 08:12:13 +08:00
jackstraw
de1492911e
bugfix: fix the wrong "method" restriction in plugin's inner api.
2019-10-30 10:41:14 +08:00
lyyoung
ce403db00b
bugfix:zipkin plugin not set tracing data to request header. ( #715 )
2019-10-30 10:35:32 +08:00
YuanSheng Wang
4efc1202dc
optimize: avoid concat string object, and kept source route id and se… ( #738 )
...
* optimize: avoid concat string object, and kept source route id and service id.
* default config: changed the timeout of etcd to 3 sec.
2019-10-28 15:57:30 +08:00
YuanSheng Wang
f0a7cea173
change: updated jsonschema to v0.3. ( #736 )
2019-10-24 17:27:52 +08:00
YuanSheng Wang
d8b0c2d04c
change: removed router r3. ( #725 )
2019-10-23 12:59:22 +08:00
YuanSheng Wang
d06fbfa13c
change: used lua-resty-jsonschema
instead of lua-rapidjson
. ( #703 )
2019-10-23 12:58:10 +08:00
YuanSheng Wang
ae8cd02cce
plugin(limit-count): put the redis configuration to root directory. ( #727 )
2019-10-23 12:54:05 +08:00
YuanSheng Wang
99eded8376
bugfix: updated the etcd index id. ( #710 )
2019-10-18 15:32:03 +08:00
chnliyong
244770ca39
bugfix: fixed typo(mixItems -> minItems) in schema_def.lua ( #698 )
2019-10-16 10:02:48 +08:00
fc13240@gmail.com
f22b0e0d52
bugfix: increase maxLength of certificate ( #682 )
2019-10-12 16:14:50 +08:00
YuanSheng Wang
9074a8a3b8
feature: support for host + uri
as an index (radixtree) ( #671 )
2019-10-12 14:24:34 +08:00
YuanSheng Wang
0e10fa6c68
feature: enabled HTTP2 and supported to set ssl_protocols
. ( #663 )
...
* feature: enabled HTTP2 and supported to set `ssl_protocols`.
* bugfix: used default certificate if failed to load certificate by SNI.
Fix #595 .
2019-10-10 22:28:58 +08:00
Linsir
b49a8d15d0
bugfix: updated version to 0.8. ( #648 )
2019-10-09 17:10:37 +08:00
Janko
ff0d82c40c
bugfix: keep args of uri when using proxy-write plugin. ( #642 )
2019-10-09 16:02:38 +08:00
Janko
91ee8e1000
feature: added request headers rewriting in proxy-rewrite plugin ( #629 )
2019-10-09 15:10:16 +08:00
YuanSheng Wang
d05fcc6854
feature: supported to print the input parameters and return values of… ( #641 )
...
* feature: supported to print the input parameters and return values of the specified function for debugging.
2019-10-09 11:26:54 +08:00
Janko
767786ce05
bugfix: removed useless schema of upstream. ( #643 )
2019-10-09 10:02:52 +08:00
YuanSheng Wang
6b875cec33
feature(limit-count): supported global limit count with redis server. ( #624 )
2019-10-08 13:15:48 +08:00
Janko
d91be43a4f
change: remove options host
、uri
、schema
、enable_websocket
of upstream object ( #621 )
...
we can rewrite new proxy option by plugin `proxy-rewrite`.
2019-09-27 19:29:59 +08:00
YuanSheng Wang
ec058fe543
feature: added new admin api /admin/node_status
. ( #617 )
...
* feature: added new admin api `/admin/node_status`.
2019-09-27 19:11:37 +08:00
YuanSheng Wang
d2f891fc51
plugin(proxy-rewrite): added more test cases. ( #615 )
...
* plugin(proxy-rewrite): added more test cases.
* bugfix: host of upstream should not support wildcard domain.
2019-09-27 15:57:04 +08:00
Janko
25fd6983ea
feature(plugin): rewrite upstream info with plugin proxy-rewrite
( #594 )
...
* test: add `proxy-rewrite` plugin test cases
2019-09-27 15:14:48 +08:00
YuanSheng Wang
91e54ab305
change: exported remote_addr def
and host_def
schema definition. ( #610 )
...
* change: exported `remote_addr def` and `host_def` schema definition.
* bugfix: allow uppercase letters in IPv6.
2019-09-27 04:22:26 +08:00
YuanSheng Wang
a3b6a10fef
bugfix: checked the router.global_rules
first, it maybe nil. ( #609 )
2019-09-27 04:15:56 +08:00
YuanSheng Wang
3f700c5dc1
doc(admin api): route. ( #593 )
...
feature: supported new fields hosts, remote_addrs and vars for router.
fix : #592
2019-09-26 17:47:08 +08:00
buhejiudewangxiansheng
14a31a8dc1
bugfix: Each upstream service only needs to create a health check instance, otherwise each work will periodically detect the upstream service ( #586 )
...
每个上游服务只需要创建一个健康检查实例,否则每个work都会定时探活上游服务
2019-09-24 18:09:13 +08:00
YuanSheng Wang
8caa2d9889
change: use Lua table directly to avoid JSON string. ( #580 )
2019-09-24 15:13:31 +08:00
Janko
cfc228d886
change:closing route module get uri parameter variable api_ctx.matched_params
( #583 )
...
* change:closing route module get uri parameter variable `api_ctx.matched_params`
* change:formatting annotations
2019-09-24 15:08:40 +08:00
Yuansheng
097bcde2fe
change: used resty-matcher
to match ip address, which support IPv6.
2019-09-23 12:24:12 +08:00
YuanSheng Wang
de3c95da21
feature: support consumer bind plugins. ( #544 )
...
* feature: saved consumer plugin information.
* feature: supported to merge plugin with consumer and route.
2019-09-22 06:05:58 +08:00
YuanSheng Wang
894fa584e0
feature: supported to use host name in upstream ( #522 )
...
* feature: supported to config resolver in yaml config file.
* feature: supported domain host for upstream node
2019-09-18 17:41:44 +08:00
YuanSheng Wang
681a42cbed
feature: support upstream nodes with a weight of 0. ( #536 )
...
* test: added test cases.
* doc: updated doc.
current implementation is enough, it supports weight equal 0 now.
2019-09-18 12:00:53 +08:00
Carlos Hwang
c0a1363e6e
feature: support http method 'connect' & 'trace' ( #530 )
2019-09-17 16:57:51 +08:00
WenMing
435ad76fc3
typo: fixed typo in plugin. ( #529 )
2019-09-17 12:04:32 +08:00
Yuansheng
ecd77c770c
change: used luarocks to install base prometheus code.
2019-09-17 11:19:02 +08:00
YuanSheng Wang
509f055a5a
change: installed tinyyaml by luarocks. ( #527 )
...
* change: installed tinyyaml by luarocks.
2019-09-17 10:43:18 +08:00
YuanSheng Wang
c080f6cc66
doc: added new example to stream-proxy
. ( #520 )
...
* doc: added new example to `stream-proxy`.
* doc: new doc about `mqtt-proxy`.
2019-09-16 13:03:26 +08:00
YuanSheng Wang
ad2b67ee81
feature: supported to added pluings to stream routes. ( #513 )
...
* feature: supported to added pluings to stream routes.
* feature: supported MQTT protocol.
2019-09-16 10:58:27 +08:00
lizhiyong
799026638e
bugfix:issue #94 , typo in plugin
2019-09-16 09:19:10 +08:00