Commit Graph

1186 Commits

Author SHA1 Message Date
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
WenMing
77c11e1028
Update README.md 2019-06-06 14:40:04 +08:00
WenMing
4f482b0c42
doc: fixed readme. (#57) 2019-06-06 14:38:55 +08:00
Yuansheng Wang
afc8dc26b9 doc: chinese. 2019-06-06 02:10:17 -04:00
YuanSheng Wang
ccba5da521
doc: limited the picture size if it's small (#55) 2019-06-06 12:39:49 +08:00
WenMing
e822ac0f4c
doc: add doc for limit count. (#52) 2019-06-06 10:57:40 +08:00
Yuansheng Wang
b62b22a5ce bugfix: removed rewrite phase. 2019-06-06 10:49:29 +08:00
Yuansheng Wang
fe22428ab5 optimize: merged phase rewrite and access, make it faster. 2019-06-06 10:49:29 +08:00
Yuansheng Wang
1022af560c doc: text. 2019-06-05 17:44:54 +08:00
Yuansheng Wang
c43cbb249a doc: used Chinese link name for CN document. 2019-06-05 17:36:58 +08:00
Yuansheng Wang
c08a66bfe4 doc: fixed the wrong link. 2019-06-05 05:29:45 -04:00
Yuansheng Wang
56130f6e24 doc: added more section for plugin prometheus. 2019-06-05 17:23:46 +08:00
Yuansheng Wang
8b558944f0 doc: added document of plugin prometheus. 2019-06-05 17:23:46 +08:00
Yuansheng Wang
faa6f706f8 doc: changed the title of back link. 2019-06-05 16:31:53 +08:00
Yuansheng Wang
7ec4b289cb doc: name style, APISIX to apisix. 2019-06-05 16:30:57 +08:00
Yuansheng Wang
87fe9ecfd2 doc: changed the title. 2019-06-05 16:18:26 +08:00
Yuansheng Wang
e0abc88ff3 doc: updated the image path. 2019-06-05 16:15:37 +08:00
Yuansheng Wang
e3af3417c6 doc: created a single doc architecture-design.md. 2019-06-05 16:10:53 +08:00
WenMing
575727fef3
doc: add more docs for Chinese. (#50) 2019-06-05 15:25:58 +08:00
Yuansheng Wang
656b87017e optimize: avoided to generate temporary Lua table. 2019-06-05 15:21:35 +08:00
Yuansheng Wang
40bf93a1b3 makefile: made it more simple. 2019-06-05 15:06:28 +08:00