Commit Graph

57 Commits

Author SHA1 Message Date
YuanSheng Wang
ad2b67ee81
feature: supported to added pluings to stream routes. (#513)
* feature: supported to added pluings to stream routes.
* feature: supported MQTT protocol.
2019-09-16 10:58:27 +08:00
YuanSheng Wang
4aaaf3ee5a
feature: support dynamic stream(TCP/UDP) proxy in apisix. (#501)
* feature: support stream in apisix.
* doc: added new feature in README.
* CLI and added more doc.
2019-09-12 13:27:18 +08:00
YuanSheng Wang
912685c818
feature: supported to save/delete/change global rule. (#492)
* feature: supported to load and run global rule.
2019-09-10 15:27:40 +08:00
YuanSheng Wang
d8d7f018dc
feature: support to load routes from local yaml file. (#464)
* feature: support to load routes from local yaml file.
2019-09-09 17:42:20 +08:00
YuanSheng Wang
ad98a2bfdb
feature: supported to set more upstream options. (#451)
* feature: supported to set more upstream options.
* feature: supported to enable websocket for upstream.
2019-08-30 10:15:58 +08:00
nic-chen
e46e8f2130 * feature: support grpc-proxy REST <-> gRPC case. (#410) 2019-08-21 23:10:34 +08:00
YuanSheng Wang
275cfa8c73
change(router): use radixtree_sni as default SSL router. (#419)
* change(router): use `radixtree_sni` as default SSL router.

* change(route): use `radixtree_uri` as default HTTP(S) router.

* luarocks: removed `lua-resty-libr3` component by default.
2019-08-20 22:07:59 +08:00
Yuansheng
3bc0d64b49 feature: supported to match route by host + uri. 2019-08-04 23:20:55 +08:00
Yuansheng
2d15718a2c feature: allowed to use different router. 2019-08-04 23:20:55 +08:00
YuanSheng Wang
b8fd0da486
feature: allow user to define how to create route index. (#325) 2019-07-28 19:37:31 +08:00
YuanSheng Wang
02f66d4cc4
feature: allow plugins to handler balance phase. (#299)
*  feature: allow plugins to handler balance phase.
2019-07-24 09:01: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
9513e3d37c change: moved service and ssl source file to http folder. 2019-07-12 10:40:45 +08:00
Yuansheng
20d2ee5d7b change: moved service and upstream source file to http folder. 2019-07-12 10:40:45 +08:00
YuanSheng Wang
85f420977c change: added prefix http_ for http request. (#179) 2019-07-01 17:24:38 +08:00
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
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
912e8b106d
feature: supported to match host of client request. (#130) 2019-06-19 12:41:38 +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
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
7a60149b6d feature: checked the id of route. 2019-06-15 07:17:34 +08:00
Yuansheng
09cd32eb62 bugfix: return directly if failed to fetch service attribute by
service id.
2019-06-14 17:56:13 +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
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
c86e778925 test: checked the error log if it contains error level log. 2019-06-12 06:13:39 +08:00
Yuansheng
a66c393536 bugfix: supported for the json library encoding cdata type. 2019-06-11 11:16:03 +08:00
Yuansheng
d5fa0598fa feature: generated an uuid for each apisix instance, and this uuid will
be reported to heartbeat service center.
2019-06-10 17:25:49 +08:00
Yuansheng
6336f4b9ef feature: implemented heartbeat mechanism. 2019-06-10 17:25:49 +08:00
Yuansheng Wang
abbf95d78a feature: implemented consumer and key-auth plugin. 2019-06-06 16:06:28 +08:00
Yuansheng Wang
fe22428ab5 optimize: merged phase rewrite and access, make it faster. 2019-06-06 10:49:29 +08:00
Yuansheng Wang
656b87017e optimize: avoided to generate temporary Lua table. 2019-06-05 15:21:35 +08:00
Yuansheng Wang
9290af2c47 doc: added how to use service. 2019-06-05 01:25:48 -04:00
Yuansheng Wang
c5395ce6d7 bugfix: disabled some feature under MAC OS X. 2019-06-03 14:16:27 +08:00
Yuansheng Wang
67e0b333ad bugfix: the routes maybe empty. 2019-05-31 15:50:53 +08:00
Yuansheng Wang
a6425f3a8f change: updated the calling way of ngxvar module which is faster. 2019-05-30 11:14:58 +08:00
Yuansheng Wang
0da8c5d9b0 optimize: merged the api router and user router to one instance. 2019-05-29 16:20:02 +08:00
Yuansheng Wang
46a5e7ac19 optimize: reused temporary Lua table by tablepool. 2019-05-29 10:29:40 +08:00
Yuansheng Wang
849df38ace optimize: used lua table to cache the ngx variable. 2019-05-28 10:49:53 +08:00
Yuansheng Wang
2c0cf0594a feature: support service model. 2019-05-28 09:51:38 +08:00
Yuansheng Wang
7aa5b22505 optimize: used lrucache to store the api router. 2019-05-24 23:20:21 +08:00
Yuansheng Wang
122777cffa feature: implemented plugin prometheus. 2019-05-24 23:20:21 +08:00
Yuansheng Wang
c3f61fa080 optmize: used common lrucache to store and fetch the server_piker. 2019-05-23 22:38:08 +08:00
Yuansheng Wang
3cf18bb4eb bugfix: maybe missing body when calling response.exit. 2019-05-23 21:57:51 +08:00
Yuansheng Wang
f454328605 feature: get the consumer id by auth plugin like key-auth. 2019-05-23 09:27:15 -04:00
Yuansheng Wang
162c2e0dc7 feature: added core.request module. 2019-05-23 15:19:07 +08:00
Yuansheng Wang
0d64f7d1c3 change: used response which is a fully name. 2019-05-23 14:42:42 +08:00
Yuansheng Wang
2a3b1c87e9 change: renamed plugin file, made it simple. 2019-05-21 23:24:19 +08:00
Yuansheng Wang
f447835f2c optmize: used lrucache + config_etcd to cache all of the routes from etcd, deleted the duplicated code. 2019-05-21 22:53:28 +08:00
Yuansheng Wang
b947dab39c feature: implemented set_header in response module. 2019-05-21 11:51:46 +08:00