Yuansheng
c26e2b2a60
luarocks: uploaded version 0.4.1 to luarocks.
2019-06-18 09:45:58 +08:00
YuanSheng Wang
97a1c20420
doc(v0.5): set the configuration with admin API ( #125 )
...
* doc: set the configuration with admin API, except plugin `key-auth`.
Fix #124
2019-06-18 09:40:00 +08:00
YuanSheng Wang
c02d44f8e7
feature: added test cases about round-robin load balance algorithms. ( #123 )
...
* feature: added test cases about round-robin load balance algorithms.
* feature: added test cases about consistent hash algorithms.
2019-06-17 23:17:41 +08:00
WenMing
7b54aaac16
test: added test cases for key-auth using admin API. ( #121 )
2019-06-17 22:05:02 +08:00
YuanSheng Wang
371be03810
test: added test cases for prometheus plugin. ( #122 )
...
* test: added test cases for prometheus plugin.
2019-06-17 21:08:17 +08:00
WenMing
e1d0bb08ce
bugfix: got route id from url if not found in post body. ( #120 )
2019-06-17 18:00:56 +08:00
YuanSheng Wang
91b4d7675b
bug: not cache rapidjson schema doc object. ( #119 )
...
the `rapidjson` schema doc object can not be reused in different request, we have to generate a new doc for each request.
2019-06-17 17:48:32 +08:00
Yuansheng
dc12e8dc5f
makefile: installed admin
lua folder.
2019-06-17 15:57:02 +08:00
YuanSheng Wang
3eb2f3ea95
travis: skipped the test case when install test::nginx
library. ( #117 )
...
* travis: skipped the test case when install `test::nginx` library.
* travis: removed the cache dir.
2019-06-17 15:15:22 +08:00
YuanSheng Wang
a4634da49e
feature: used json schema to check the configuration of limit-count
plugin. ( #116 )
...
* feature: used json schema to check the configuration of
`limit-count` plugin.
* travis: if there was any errors, exist directly.
2019-06-17 15:05:19 +08:00
YuanSheng Wang
d4bbd7d3bf
doc: added section Install APISIX Development Environment
. ( #115 )
2019-06-17 11:59:31 +08:00
YuanSheng Wang
3ca005eb7a
feature: checked the upstream id in route or service. ( #114 )
...
* feature: checked the upstream id in route or service.
2019-06-17 11:45:04 +08:00
Yuansheng
33e78fd43b
feature: used schema to check the upstream configuration.
...
Fix #102 .
2019-06-17 09:57:05 +08:00
Yuansheng
1921ea8ba5
feature: use schema check for service configuration.
...
Fix #111 .
2019-06-17 09:08:16 +08:00
Yuansheng
5a966152ba
test: missing no_shuffle()
in node/sanity.t
test case and added
...
more step information.
2019-06-16 12:33:13 +08:00
YuanSheng Wang
31cfc145bd
test: grep all of the error log and check it. ( #109 )
...
* travis: init the etcd server at first.
* test: grep all of the error log and check it.
2019-06-16 09:36:22 +08:00
Yuansheng
77fdaaa27d
feature: supported to load the dependencies library in apisix
...
home folder.
2019-06-16 07:46:17 +08:00
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
3a709c790c
feature: supported to install all of the dependencies library to
...
home folder.
2019-06-15 23:22:29 +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
c3490ce7fb
feature: supported to fetch all of dependencies library to deps
folder.
2019-06-14 23:51:02 -04:00
YuanSheng Wang
16f5f27c90
feature: used schema to check the upstream configuration in etcd. ( #105 )
...
* feature: used schema to check the upstream configuration in etcd.
* change: used Lua table to avoid concat JSON string by manual for schema.
* optimize: changed a smaller wait time, faster way to know if there has new data coming.
2019-06-15 11:49:58 +08:00
WenMing
379a6eba4b
doc: added image for apisix. ( #106 )
2019-06-15 10:50:00 +08:00
YuanSheng Wang
32110aeba0
feature: returned 502 if there is no any valid upstream. ( #100 )
...
* feature: returned 502 if there is no any valid upstream.
2019-06-15 08:32:51 +08:00
Yuansheng
180cca723b
feature: the minimum is 1 if the route id is integer.
2019-06-15 08:32:28 +08:00
Yuansheng
7a60149b6d
feature: checked the id of route.
2019-06-15 07:17:34 +08:00
Yuansheng
a07894e7ac
bugfix: checked the service id if it is valid.
2019-06-14 22:55:57 +08:00
Yuansheng
5db79419db
test: added more test cases about the schema of route.
2019-06-14 22:05:53 +08:00
Yuansheng
09cd32eb62
bugfix: return directly if failed to fetch service attribute by
...
service id.
2019-06-14 17:56:13 +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
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