Commit Graph

560 Commits

Author SHA1 Message Date
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
YuanSheng Wang
049014596b
test(APISIX.pm): added new cpath. change: updated nginx.conf. (#247)
* test(APISIX.pm): added new `cpath`.
* change: updated nginx.conf.
2019-07-15 08:24:35 +08:00
Yuansheng
0fe7819386 change: moved rockspec file to a single folder. 2019-07-14 23:18:32 +08:00
coolsoul
faeb07cadb feature: added check for openresty version and fixed style of documents. (#244) 2019-07-14 09:32:22 +08:00
Yuansheng
ee8d8b89ad doc: minor fix for https Chinese doc. 2019-07-13 08:36:45 +08:00
chnliyong
177e13da74 doc: update the doc of https for Chinese version. (#242)
Fix #238 .
2019-07-13 08:11:32 +08:00
vkill
b762cab4fb bugfix: copied http/*.lua in Makefile when do install (#240) 2019-07-12 20:26:36 +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
YuanSheng Wang
225b3d3106
doc: updated the doc of https. (#237) 2019-07-12 11:40:05 +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 Wang
ccd179a936
travis: used different compiler to run test. (#235)
* travis: specified language.
* test: added test cases for `core.table`.
2019-07-12 11:11:24 +08:00
Yuansheng
b88de3975a test: added more test case for local config. 2019-07-12 10:40:45 +08:00
Yuansheng
9ab303b7fb travis: only run when merge to master branch. 2019-07-12 10:40:45 +08:00