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
YuanSheng Wang
f560316803
test: check the service config with json schema
after fetched it form etcd. ( #96 )
...
* test: check the service config with `json schema` after fetched it form etcd.
* test: sleep one more seconds waiting for the etcd sync.
2019-06-14 17:08:44 +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
WenMing
17a4f3c8e8
doc: fixed typo of doc. ( #94 )
2019-06-14 12:00:28 +08:00
YuanSheng Wang
f270c6ff63
feature: used schema to check the etcd data if it is valid. ( #91 )
...
* feature: used schema to check the etcd data if it is valid.
2019-06-14 10:46:42 +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
9ee285661f
test: renamed test cases.
2019-06-14 08:08:59 +08:00
WenMing
1602268833
bugfix: only accept client IP as key now. ( #85 )
2019-06-13 19:11:15 +08:00
Yuansheng
e27195c334
git: added ignore file.
2019-06-13 17:26:41 +08:00
WenMing
c6e69cbcc9
feature: changed plugin_config to plugins. ( #84 )
2019-06-13 17:25:39 +08:00
Yuansheng
10a0fb03f7
test: moved the different test file to different folder.
2019-06-13 16:16:50 +08:00
WenMing
fd8618e731
feature: added schema check for plugins.
2019-06-13 14:39:35 +08:00
WenMing
2a4a57a30e
Update README.md
2019-06-13 12:37:06 +08:00
WenMing
fad17404b4
Update README_CN.md
2019-06-13 12:36:14 +08:00
WenMing
6cb541e3d4
doc: added white paper. ( #83 )
2019-06-13 12:34:43 +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
9471bcfdc6
doc: supported consistent hash for dynamic load balancing.
2019-06-12 13:24:25 +08:00
YuanSheng Wang
17fecb3e53
feature: supported to cache non-table Lua object by lrucache
library. ( #80 )
...
* feature: supported to cache non-table Lua object by `lrucache` library.
* bug: used a table to avoid one bug of `rapidjson`, fix it later.
2019-06-12 10:34:45 +08:00
Yuansheng
48e9312d7b
change: updated the internal version to v0.5-beta.
2019-06-12 06:18:42 +08:00
Yuansheng
c86e778925
test: checked the error log if it contains error
level log.
2019-06-12 06:13:39 +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
a25c55bba1
luarocks: used branch master
for version 0.5 now.
2019-06-11 14:29:21 +08:00
Yuansheng
73640f96a9
makefile: added default section.
2019-06-11 12:21:49 +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
orangleliu
7afc7384c9
doc: fix
2019-06-11 11:18:54 +08:00
Yuansheng
a66c393536
bugfix: supported for the json library encoding cdata
type.
2019-06-11 11:16:03 +08:00
Yuansheng
6fbb06eb33
optimize: reduced the similar code.
2019-06-11 10:20:13 +08:00
WenMing
9b901727af
CI: added luacheck in CI. ( #68 )
2019-06-11 09:38:00 +08:00
Yuansheng
16e5b64a37
bugfix: used smaller timeout for etcd, avoided socket leak.
2019-06-11 07:41:49 +08:00
WenMing
1737fb702e
feature: added rapidjson for schema validation. ( #67 )
2019-06-10 23:41:43 +08:00
YuanSheng Wang
10e63c637e
optimize: returns a fetch function when creating a new lrucache
object, which can be used directly to get cached data. ( #66 )
...
* optimize: returns a fetch function when creating a new `lrucache`
object, which can be used directly to get cached data.
* test: added test case for `core.lrucache` library.
2019-06-10 20:40:39 +08:00
Yuansheng
ff51c42e0a
doc: fixed wrong typo.
2019-06-10 19:10:53 +08:00
Yuansheng
0ab3e53cb9
test: added test case about core.id
and core.utils
library.
2019-06-10 17:25:49 +08:00
Yuansheng
a41d54a653
change: added a global swith to control if enable the feature heartbeat.
...
optimize: used a shorter `user-agent` name.
2019-06-10 17:25:49 +08:00
Yuansheng
d5fa0598fa
feature: generated an uuid for each apisix instance, and this uuid will
...
be reported to heartbeat service center.
2019-06-10 17:25:49 +08:00
Yuansheng
2e318e53c2
change: used GET
method to report information.
2019-06-10 17:25:49 +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
ea5353a3e3
test: added tests for core/json
library.
2019-06-10 17:25:49 +08:00
Yuansheng
931c6e9875
optimize: implemented delay_encode
for json
component, encoding is
...
only done when string output is really needed.
2019-06-10 17:25:49 +08:00
Yuansheng
6336f4b9ef
feature: implemented heartbeat mechanism.
2019-06-10 17:25:49 +08:00
Yuansheng
8a9cc1e4e7
doc: added dynamic load balancing
section.
2019-06-10 15:07:32 +08:00
WenMing
3ddb972d37
bugfix: add err handle for obj cache. ( #56 )
2019-06-10 11:42:14 +08:00
Yuansheng
a5a2ff3cba
doc: added the openresty version info.
2019-06-06 21:49:29 +08:00
Yuansheng
2d5221a49e
doc: added short description for each plugin.
2019-06-06 17:36:18 +08:00
Yuansheng
a6d69a2453
doc key-auth: style.
2019-06-06 16:27:09 +08:00
Yuansheng Wang
abbf95d78a
feature: implemented consumer
and key-auth
plugin.
2019-06-06 16:06:28 +08:00
WenMing
4dab03568f
doc: fixed Chinese doc. ( #58 )
2019-06-06 14:57:09 +08:00
WenMing
9aeccbfedb
Update benchmark.md
2019-06-06 14:45:01 +08:00