Commit Graph

372 Commits

Author SHA1 Message Date
Yuansheng
95efb8f92f change: always use latest version for developer. 2019-07-26 13:43:56 +08:00
Yuansheng
3b263fe2ee test: change the block code to smaller size. 2019-07-25 17:08:29 +08:00
Yuansheng
873192c033 test(route): added new test cases. 2019-07-25 17:08:29 +08:00
Yuansheng
96ff59484c luarocks: update lua-resty-libr3 to version 0.8. 2019-07-25 14:56:13 +08:00
Yuansheng
ccc1525b86 change(luarocks): used current source code to create development ENV. 2019-07-25 14:41:51 +08:00
Yuansheng
7d5237c3ca test(healthcheck): ignore the error log which contain process exiting. 2019-07-25 13:45:49 +08:00
WenMing
8c5d5d2313
bugfix: added conf_type to the key of limit plugins. (#309) 2019-07-25 10:56:05 +08:00
WenMing
f716cc8f9b
bugfix: fixed doc and travis about osx. (#308) 2019-07-25 10:45:56 +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
94d1d7d67e doc: added new link about JWT plugin. 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
f783b54947 doc: exported balancer phase for plugin. 2019-07-24 11:09: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
WenMing
028f557015
doc: added support os. (#294) 2019-07-22 22:53:57 +08:00
Yuansheng
dbb3d10008 doc: supported Ubuntu 16.04 and MAC OSX. 2019-07-22 17:11:58 +08:00
Yuansheng
f44b49105e test: fixed case under OSX. 2019-07-22 14:13:05 +08:00
Yuansheng
a85fc428d7 doc: added section retries in upstream object. 2019-07-22 13:24:35 +08:00
Yuansheng
76900aae2c doc: added section about passive health check. 2019-07-22 13:24:35 +08:00
Yuansheng
ffa285c64e doc: should use PUT method to set route with id. 2019-07-22 13:24:35 +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
YuanSheng Wang
dfcbebb0e9 copyright(lj-releng): added copyright information. (#280) 2019-07-21 17:46:05 +08:00
Shaoyao·琚
35666004c9 doc: fix document error (#283) 2019-07-21 16:34:16 +08:00
YuanSheng Wang
bce0c673c5
CLI: added shdict upstream-healthcheck. (#279) 2019-07-21 09:08:06 +08:00
YuanSheng Wang
95ed5abee8
change(CLI): simple code style and check the openresty version at init (#278)
phase.
2019-07-21 08:49:29 +08:00
coolsoul
170060619a change: check the openresty version in Lua land. (#275)
* check the openresty version in Lua land.

Fix #245.
2019-07-21 08:05:54 +08:00
Shaoyao·琚
8425354b76 fix some typos (#276) 2019-07-20 23:33:57 +08:00
WenMing
3eaa17c5da
perf: used table.new for plugins load. (#274) 2019-07-19 15:51:47 +08:00
Yuansheng
bc46bb3878 bugfix(makefile): reverted to use install for OSX. 2019-07-19 09:40:04 +08:00
YuanSheng Wang
a836156c67
luarocks: used luarocks make to install development ENV. (#271)
* luarocks: code style.
2019-07-19 07:32:04 +08:00
YuanSheng Wang
a0678ff66f
optimize: removed useless local cache. (#270) 2019-07-19 06:41:15 +08:00
WenMing
9aec6271a0
doc:fixed typo. (#267) 2019-07-18 16:19:14 +08:00
WenMing
570a90b6a4
doc: added more doc about landscope and test cases. (#265) 2019-07-18 16:09:30 +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
d5b68d1a7d travis: removed useless perl module. 2019-07-18 07:59:38 +08:00
Yuansheng
a385ba6da2 doc: added new section about how to run the test cases. 2019-07-18 07:59:38 +08:00
YuanSheng Wang
1f150fd00b
change: updated lua-resty-libr3 to version 0.7. (#260) 2019-07-18 00:36:29 +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
35febe0609
change(CLI): code style. (#258)
use 4 space instead of `tab`.
simple code style.
short length of source code.
2019-07-17 23:36:29 +08:00
vkill
89f18e4349 bugfix(CLI): added timeout to init_etcd (#257) 2019-07-17 21:57:41 +08:00
WenMing
1676c01279 doc: Update libr3.md. (#255)
* Update libr3.md
2019-07-17 11:54:29 +08:00
WenMing
de5c7d6455
doc: added doc for how to use libr3. (#254) 2019-07-17 11:03:37 +08:00
WenMing
1f06580fa5 Update architecture-design-cn.md 2019-07-16 11:01:02 +08:00
WenMing
3e1f8e6121
feature: added configure for anti-ReDoS. (#250)
This configuration can avoid catastrophic backtracking of regular expressions, but to solve this problem thoroughly, we need to replace the regular engine, such as RE2.
2019-07-15 13:14:07 +08:00
YuanSheng Wang
be362c57d3
travis: installed all of the dependencies to current deps folder. (#248) 2019-07-15 08:46:10 +08:00