Commit Graph

48 Commits

Author SHA1 Message Date
YuanSheng Wang
04129add27
feature: supported debug mode. (#319)
* feature: supported debug mode.

print the plugin list which sort by priority.

* feature: show the enabled plugin list in header for debug mode.
2019-07-27 09:10:06 +08:00
WenMing
148bc4068b
feature: supported zipkin plugin. (#304) 2019-07-26 17:16:31 +08:00
Yuansheng
efadc91c03 feature: supported JWT plugin and added test cases. 2019-07-25 00:17:24 +08:00
YuanSheng Wang
bce0c673c5
CLI: added shdict upstream-healthcheck. (#279) 2019-07-21 09:08:06 +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
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
vkill
1e302f0545 Support configure node_ssl_listen 2019-07-05 08:59:14 +08:00
YuanSheng Wang
2a9ab09401
feature: supported to use a separate port for admin dashboard. (#194)
* feature: supported to use a separate port for admin dashboard, and disabled admin port by default.
* travis: run a mini test case for CLI.
2019-07-03 21:03:17 +08:00
YuanSheng Wang
85f420977c change: added prefix http_ for http request. (#179) 2019-07-01 17:24:38 +08: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
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
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
Yuansheng
dc12e8dc5f makefile: installed admin lua folder. 2019-06-17 15:57:02 +08:00
Yuansheng
77fdaaa27d feature: supported to load the dependencies library in apisix
home folder.
2019-06-16 07:46:17 +08:00
Yuansheng
3a709c790c feature: supported to install all of the dependencies library to
home folder.
2019-06-15 23:22:29 +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
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 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 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
16e5b64a37 bugfix: used smaller timeout for etcd, avoided socket leak. 2019-06-11 07:41: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
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 Wang
fe22428ab5 optimize: merged phase rewrite and access, make it faster. 2019-06-06 10:49:29 +08:00
Yuansheng Wang
8cea2c66d7 bugfix: used a single option as the apisix configuration prefix name. 2019-06-05 14:21:25 +08:00
Yuansheng Wang
f2195a5937 doc: how to use apisix. 2019-06-05 01:25:48 -04:00
Yuansheng Wang
b24ac53977 CLI: generated different nginx.conf for different OS. 2019-06-03 16:15:57 +08:00
Yuansheng Wang
ffea12b92a change: added a new web page to show the Nginx status. 2019-05-31 15:21:51 +08:00
Yuansheng Wang
ff5bf33668 optimize: enabled keepalive flag for upstream. 2019-05-29 10:31:20 +08:00
Yuansheng Wang
33d79947b5 change: all of the config were put under /apisix/.
Fix #33.
2019-05-28 16:40:33 +08:00
WenMing
99bd870ff8
conf: removed user resty and add server header. (#29)
* conf: removed user resty and add server header.

* dir: added `logs` dir.
2019-05-28 10:19:34 +08:00
Yuansheng Wang
122777cffa feature: implemented plugin prometheus. 2019-05-24 23:20:21 +08:00
Yuansheng Wang
162c2e0dc7 feature: added core.request module. 2019-05-23 15:19:07 +08:00
Yuansheng Wang
1f1696c0e9 feature: implemented plugin limit-count. 2019-05-21 11:17:46 +08:00
Yuansheng Wang
20e240bb96 feature: implemented new feature limit-req. 2019-05-21 10:02:06 +08:00
YuanSheng Wang
95712403c0
feature: supported balancer phase. (#16) 2019-05-17 15:58:15 +08:00
Yuansheng Wang
d605a01b2a change: rename the project to apisix.
Fixed #14.
2019-05-13 14:31:26 +08:00
YuanSheng Wang
e7aeab2e9f
feature: fetched the routes from etcd and update the routes automatic. (#11) 2019-05-11 10:14:46 +08:00
Yuansheng Wang
f24508655b change: removed option prefix of etcd config. 2019-05-08 14:09:46 +08:00
Yuansheng Wang
5f76d73a9c change: make apimeta as a global variable and it include most libraries. 2019-05-08 11:30:16 +08:00
YuanSheng Wang
2927a60c89
feature: supported to load the plugin and passed a simple example. (#7) 2019-05-08 10:38:45 +08:00
Yuansheng Wang
0b302a2d47 change: used '###-##-###' as the name style of plugin. 2019-05-07 15:58:44 +08:00
YuanSheng Wang
b7694e0701
feature: mini example to load plugin. (#4)
* feature: mini example to load plugin.
2019-05-06 16:02:28 +08:00
YuanSheng Wang
a18afea659
change: added doc of how to load plugin. (#1) 2019-05-06 10:14:39 +08:00
Yuansheng Wang
0ba6830743 feature: supported to load config from YAML config. 2019-04-11 16:53:21 +08:00
Yuansheng Wang
4757416918 init version. 2019-04-10 11:08:25 +08:00