WenMing
e6bc0040c1
feature: added desc for upstream and service in schema. ( #289 )
2019-07-22 10:42:02 +08:00
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
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
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 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
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
9513e3d37c
change: moved service
and ssl
source file to http
folder.
2019-07-12 10:40:45 +08:00
WenMing
f62a2be238
feature: added luacov and coveralls. ( #192 )
2019-07-03 15:44:24 +08:00
YuanSheng Wang
a626bde242
bugfix plugin: used config's version as a part of key
. ( #190 )
2019-07-03 11:36:14 +08:00
YuanSheng Wang
85f420977c
change: added prefix http_
for http request. ( #179 )
2019-07-01 17:24:38 +08:00
WenMing
df7afe4f95
feature: added admin API to get plugins' list. ( #176 )
2019-07-01 13:29:21 +08:00
WenMing
92f019c7a1
feature: added admin API for plugins' schema. ( #174 )
2019-06-30 22:35:39 +08:00
Yuansheng
9309abaed7
feature: support to fetch the ssl schema.
2019-06-24 18:49:30 -04:00
Yuansheng
1bb135af60
feature: supported for using wildcard to match the SNI of client https
...
request.
2019-06-24 18:49:30 -04:00
Yuansheng
7dbcea8571
feature: supported to manage ssl item by admin API and HTTPS client request.
2019-06-24 18:49:30 -04:00
WenMing
e43cb2e195
bugfix: fixed test cases for limit conn. ( #154 )
2019-06-24 17:02:53 +08:00
WenMing
2480171c8c
test: only check part of schema. ( #153 )
2019-06-24 16:07:24 +08:00
YuanSheng Wang
72e0fe2393
feature: supported to collect nginx status and pushed it to etcd. ( #149 )
...
* feature: supported to collect nginx status and pushed it to etcd.
* the return value of the exported api is the same as the other methods in the plugin.
2019-06-22 08:24:02 +08:00
WenMing
c0c5c08644
feature: added admin API to get schema for FE. ( #148 )
...
* feature: added admin API to get schema for FE.
* added test cases.
* bugfix
2019-06-21 21:25:24 +08:00
YuanSheng Wang
ca1f5e7b0d
feature: added remote_addr
attribute to route. ( #142 )
...
* feature: added `remote_addr` attribute to route.
2019-06-21 06:39:47 +08:00
Yuansheng
678e4228a0
feature: supported for using wildcard pattern to match host.
2019-06-20 10:00:07 -04:00
Yuansheng
0f5a80441d
test: supported to run test case if the dependency files are installed
...
to `deps` folder.
2019-06-20 09:18:11 -04:00
WenMing
9ee0d2c173
test: added test cases for limit req. ( #136 )
2019-06-19 23:52:59 +08:00
WenMing
6af8957f87
feature: added admin api for consumer. ( #135 )
2019-06-19 19:14:58 +08:00
YuanSheng Wang
36338bc95b
feature: merged the configuration between route and service. ( #133 )
...
* feature: merged the configuration between route and service.
2019-06-19 15:51:28 +08:00
YuanSheng Wang
2647bdddcb
test: removed useless option. ( #132 )
2019-06-19 15:48:16 +08:00
WenMing
a76f690abb
test: added test cases for limit conn and limit count. ( #131 )
2019-06-19 13:06:03 +08:00
YuanSheng Wang
912e8b106d
feature: supported to match host of client request. ( #130 )
2019-06-19 12:41:38 +08:00
Yuansheng
c3f3ddb4d4
bugfix: checked if the service or upstream were referenced when user
...
submit a delete operation.
2019-06-18 17:06:49 +08:00
YuanSheng Wang
43cbd138e7
change: merged the similar code, and not allowed to specify id when use POST method. ( #128 )
...
* change: merged the similar code, and not allowed to specify id when use
POST method.
2019-06-18 16:15:55 +08:00
YuanSheng Wang
61f5f3af2a
bugfix: supported to LRU table to cache the JSON schema validator. ( #126 )
2019-06-18 11:23:18 +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
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
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 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 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
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