Commit Graph

14 Commits

Author SHA1 Message Date
YuanSheng Wang
fee7ec58ef
optmize: reused a Lua table of plugins. feature: supported to check the Lua source by command make check. (#108)
* optmize: reused a Lua table of plugins.
* feature: supported to check the Lua source by command `make check`.
* bug: reinitialize the prometheus variable each time.
2019-06-16 07:32:25 +08:00
YuanSheng Wang
dae069d51a
bugfix: returned 404 response if the service is not existing. (#107)
* bugfix: returned 404 response if the service is not existing.
2019-06-15 22:34:26 +08:00
Yuansheng
66b3408204 makefile: create temporary dir for core file of apisix.
test: removed the sleep step, it is invalid.
2019-06-14 17:28:16 +08:00
WenMing
ba576985b1
bugfix: added the plugin load. (#95)
* bugfix: added the plugin load.

* test: added test cases for limit count.

* test: added Lua sleep at the end of init_worker.

left enough time for read data from etcd, otherwise worker maybe deal with request before get data from etcd.

* test: added no_shuffle();
2019-06-14 16:11:14 +08:00
YuanSheng Wang
2ebc2cee69
test: added a fully test case for gateway node. (#90)
* test: added a fully test case for gateway node.
2019-06-14 10:27:45 +08:00
YuanSheng Wang
8cfd7d4180
feature: implemented routes API for admin user, allowed user to manage route. (#79)
* feature: supported to generate admin API basic configurations when the admin API is enabled.
* feature: supported to manage route API for admin user, it contains: PUT, GET, DELETE and POST.
* feature: used json schema to check if the request configuration is valid.
2019-06-13 12:01:36 +08:00
YuanSheng Wang
463e5601b3
optimize: used lru way to cache the validator object for schema. (#77)
* optimize: used `lru` way to cache the validator object for schema.

Fix #76.
2019-06-11 23:47:00 +08:00
YuanSheng Wang
0bac20f4d4
feature: implemented plugin limit-conn. (#75)
* feature: implemented plugin `limit-conn`.
* luarocks: updated the library `lua-resty-ngxvar` version to 0.3.
2019-06-11 17:31:40 +08:00
YuanSheng Wang
45e28199a9
feature: supported consistent hash for dynamic load balancing. (#69)
* feature: supported consistent hash for dynamic load balancing.
2019-06-11 12:20:57 +08:00
Yuansheng
884120f180 test: added test case for core/timer library. 2019-06-10 17:25:49 +08:00
Yuansheng
c9d0879194 test: checked the error log.
plugin prometheus: renamed the share dict name to `prometheus-metrics`.
2019-06-10 17:25:49 +08:00
Yuansheng Wang
b62b22a5ce bugfix: removed rewrite phase. 2019-06-06 10:49:29 +08:00
YuanSheng Wang
95712403c0
feature: supported balancer phase. (#16) 2019-05-17 15:58:15 +08:00
Yuansheng Wang
d605a01b2a change: rename the project to apisix.
Fixed #14.
2019-05-13 14:31:26 +08:00