Commit Graph

899 Commits

Author SHA1 Message Date
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
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
chnliyong
3730e6ade1 bugfix: failed early when lua isn't installed on make dev (#233) 2019-07-11 14:41:13 +08:00
YuanSheng Wang
83b0ee33f3
bugfix: lua-dir option is only supported if the luarocks version exceeds 3. (#229)
* bugfix: `lua-dir` option is only supported if the luarocks version
  exceeds 3.
* Makefile: removed unnecessary `sudo`.
2019-07-11 07:41:42 +08:00
周晶
947a3f5436 update travis runner script (#227) 2019-07-10 22:23:27 +08:00
周晶
374aba472b feature: update Makefile and travis CI for osx installation about using luajit building deps. (#217) 2019-07-10 11:32:16 +08:00
YuanSheng Wang
cd4eb7deed CLI: changed code style. (#225) 2019-07-09 22:28:02 +08:00
希望之石
f92f8a7829 bugfix: issue #223 (#224)
need to add `-c xxx` option for `stop` and `reload` action.

apisix 脚本stop、reload 也需要增加 -c 参数指定 nginx.conf 路径
2019-07-09 17:59:30 +08:00
YuanSheng Wang
0e4da3e8e5
doc: added more dependencies items. (#222) 2019-07-08 15:49:39 +08:00
nic-chen
39c12c9d7a doc: updated install dependencies on Mac OSX (#221) 2019-07-08 15:23:40 +08:00
nic-chen
5fccb78fa1 bugfix: set configuration file to avoid using a wrong one (#220) 2019-07-08 12:24:18 +08:00