Commit Graph

45 Commits

Author SHA1 Message Date
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
Yuansheng Wang
20e240bb96 feature: implemented new feature limit-req. 2019-05-21 10:02:06 +08:00
Yuansheng Wang
ee1d508e04 change: code style. 2019-05-20 12:06:34 +08:00
YuanSheng Wang
4fc74ea6e7
feature: the upstream data can be stored under /user_upstream and indexed by id. (#18)
* change: code style, used `apisix.core` if possible.
2019-05-20 10:36:23 +08:00
Yuansheng Wang
097ef81d69 feature: supported for automatically getting the latest etcd data. 2019-05-17 17:47:58 +08:00
Yuansheng Wang
c7f7bceda5 optimize: cached the version of config to api_ctx, make it more easy to use. 2019-05-17 16:23:51 +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