Commit Graph

168 Commits

Author SHA1 Message Date
YuanSheng Wang
a6b7892272
bugfix: added http_ prefix in CLI. (#182) 2019-07-02 13:01:54 +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
7dbcea8571 feature: supported to manage ssl item by admin API and HTTPS client request. 2019-06-24 18:49:30 -04: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
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
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
Yuansheng
77fdaaa27d feature: supported to load the dependencies library in apisix
home folder.
2019-06-16 07:46:17 +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
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
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
b62b22a5ce bugfix: removed rewrite phase. 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
ee6b87c688 change: installed the config file to /usr/local/apisix. 2019-06-04 10:13:05 -04:00
Yuansheng Wang
2fe68e854b luarocks: only installed Lua modules and configure files. 2019-06-04 10:32:14 +08:00