Commit Graph

479 Commits

Author SHA1 Message Date
YuanSheng Wang
53c3008f4f
change: reimplemented the feature heartbeat with plugin way. (#177)
* change: reimplemented the feature `heartbeat` with plugin way.
2019-07-01 15:53:52 +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
WenMing
8a4fe71f74 doc: added features list and gitter chat. (#171)
* doc: added features list and gitter chat.
2019-06-30 22:06:01 +08:00
WenMing
251aaf4884 doc: fixed style of https doc. 2019-06-30 00:10:59 +08:00
coolsoul
7953e5bb75 doc: add Chinese version of doc about certificate for HTTPS request. (#168) 2019-06-29 11:00:39 +08:00
希望之石
31671cc32c move docs of plugins from /lua/apisix/plugins to /doc . #166 (#167) 2019-06-28 16:36:02 +08:00
Yuansheng
c94b40e6cb bugfix: showed an error message if user installed cjson by luarocks.
Fix #164.
2019-06-27 22:00:21 +08:00
Yuansheng
2161ce45ad makefile: used = to connect value. 2019-06-27 22:00:21 +08:00
Yuansheng
37cd80087d change: modified the error message when failed to create etcd
instance.
2019-06-27 20:41:08 +08:00
WenMing
99895c53a0
style: fixed code style. (#163) 2019-06-27 17:57:50 +08:00
coolsoul
f365deb568 bugfix: fixed typo about consumer and add error handler when read config file. (#162) 2019-06-27 17:32:52 +08:00
Yuansheng
fc0b9705ec change: wrote more information for debugging the response from etcd. 2019-06-26 21:28:32 +08:00
YuanSheng Wang
5e19e9e1cf
bugfix: etcd only kept less than 1000 modified history, it maybe fail if (#160)
* bugfix: etcd only kept less than 1000 modified history, it maybe fail if
  we only use the `modifyIndex` of data, we should check the index value
  in header too.
2019-06-26 19:35:05 +08:00
Yuansheng
2ae403fd46 bugfix: used long interval to fetch node status. 2019-06-26 17:44:22 +08:00
Yuansheng
9f391bb417 doc: supported to dynamic load certificate for using https request. 2019-06-25 12:02:36 +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
505220b843 travis: used the debug version of openresty. 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
b44a6ab77d
CLI: fixed the wrong path and cpath in CLI. (#151)
* CLI: fixed the wrong path and cpath in CLI, supported to start/stop
  apisix server when the dependencies library was collected to apisix
  home folder.
2019-06-23 16:45:15 +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
f15230b3c8 CLI: set the core dump file directory permissions to 666. 2019-06-21 16:28:24 +08:00
Yuansheng
43327b3697 bugfix: maybe missing with-http_stub_status_module module in openresty
Fix #144.

change: checked the current directory if it's a apisix home folder,
  if not then use `/usr/local/openresty`.

change: changed the core file folder to `/tmp/apisix_cores`.
2019-06-21 16:21:02 +08:00
WenMing
9961ae4e85
perf: removed useless split uri for admin APIs. (#146) 2019-06-21 16:11:04 +08:00
WenMing
13c4baa547
feature: added description of schema. (#145) 2019-06-21 15:16:05 +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
9d1c277d05
doc: added install dependencies. (#139) 2019-06-20 17:41:54 +08:00
WenMing
1429d6e874
doc: update uri of rpm package. (#137)
* doc: update uri of rpm package.

* doc: updated image of apisix.
2019-06-20 09:28:33 +08: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
9460acd005
bugfix: avoid generating huge duplicate error logs when synchronizing data from etcd. (#127) 2019-06-18 15:41:32 +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
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