Yuansheng Wang
|
c08a66bfe4
|
doc: fixed the wrong link.
|
2019-06-05 05:29:45 -04:00 |
|
Yuansheng Wang
|
56130f6e24
|
doc: added more section for plugin prometheus.
|
2019-06-05 17:23:46 +08:00 |
|
Yuansheng Wang
|
8b558944f0
|
doc: added document of plugin prometheus.
|
2019-06-05 17:23:46 +08:00 |
|
Yuansheng Wang
|
656b87017e
|
optimize: avoided to generate temporary Lua table.
|
2019-06-05 15:21:35 +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
|
80dc33e86e
|
plugin key-auth : added notice context.
|
2019-06-05 01:25:48 -04:00 |
|
Yuansheng Wang
|
9290af2c47
|
doc: added how to use service .
|
2019-06-05 01:25:48 -04:00 |
|
Yuansheng Wang
|
c78f6a207d
|
bugfix: updated the version of the configuration data if there are any changes.
|
2019-06-04 09:20:32 +08:00 |
|
Yuansheng Wang
|
ed0fa62a82
|
change: printed fewer logs when a duplicate error log is generated.
|
2019-06-03 16:17:30 +08: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
|
368f98b57f
|
plugin prometheus : printed error log if failed to fetch the Nginx status.
|
2019-05-31 15:22:55 +08:00 |
|
Yuansheng Wang
|
47c9c3dd5e
|
change: renamed the config version name to conf_version .
|
2019-05-31 11:27:52 +08:00 |
|
Yuansheng Wang
|
c3fbfc884c
|
plugin prometheus : collected the etcd server status.
|
2019-05-31 11:26:42 +08:00 |
|
Yuansheng Wang
|
aab9c87547
|
plugin prometheus: collected the bandwidth data.
|
2019-05-30 18:16:40 +08:00 |
|
Yuansheng Wang
|
2749c4fce7
|
plugin prometheus: added more union about connections.
|
2019-05-30 17:51:21 +08:00 |
|
Yuansheng Wang
|
fe0205629b
|
optimize: used table to store all of the small string parts.
|
2019-05-30 11:38:04 +08:00 |
|
Yuansheng Wang
|
8349925d03
|
optimize: used lrucache only for string objects.
|
2019-05-30 11:17:27 +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
|
0a94996d05
|
optmize prometheus : reduced to create temporary string object.
|
2019-05-29 16:21:39 +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
|
9c5bb8759a
|
optimize: found by flame graph.
|
2019-05-29 09:33:04 +08:00 |
|
Yuansheng Wang
|
68963748a1
|
bugfix: if there is no valid node under the observed 'key', sleep an extra second, avoided the dead loop.
|
2019-05-28 21:03:10 +08:00 |
|
Yuansheng Wang
|
e408b5a449
|
limit-req bugfix: used return value to set the response code.
|
2019-05-28 16:48:54 +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
|
6f2bd1f38e
|
Doc update (#34)
* doc: added doc.
* update
* added more examples
|
2019-05-28 16:26:30 +08:00 |
|
Yuansheng Wang
|
1e3f15b159
|
doc: added some basic concept definitions.
|
2019-05-28 15:35:49 +08:00 |
|
Yuansheng Wang
|
3c65b6ee29
|
change: code style by lj-releng.
|
2019-05-28 11:27:34 +08:00 |
|
Yuansheng Wang
|
ac67fb6dc1
|
change: typo.
|
2019-05-28 11:11:41 +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
|
cf05aef2d6
|
optimize: reused the temporary Lua table.
|
2019-05-27 10:22:30 +08:00 |
|
Yuansheng Wang
|
4b899530c2
|
optimize prometheus plugin: used lrucache way to cache the encoded label value.
|
2019-05-25 00:39:40 +08:00 |
|
Yuansheng Wang
|
c40dbf4b8d
|
bugfix: cleared the table cache when reload local plugins.
|
2019-05-24 23:20:21 +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
|
a03e076e4b
|
feature: allowed custom plugin lrucache parameters.
|
2019-05-24 13:37:51 +08:00 |
|
Yuansheng Wang
|
1b154f27a9
|
change: used different parameter for plugin balancer .
|
2019-05-24 11:50:10 +08:00 |
|
Yuansheng Wang
|
c3c046f0fc
|
optimize: removed the version in lrucache key .
|
2019-05-24 09:22:06 +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
|
6ab1dcde81
|
change: saved the consumer id to ctx.
|
2019-05-23 21:29:56 +08:00 |
|
Yuansheng Wang
|
743be5eaa0
|
doc: added doc for plugin key-auth .
|
2019-05-23 09:27:15 -04: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
|
ebd046dbdf
|
change: fetched all of the config from apisix.core.config .
|
2019-05-22 09:19:25 +08:00 |
|
Yuansheng Wang
|
2a3b1c87e9
|
change: renamed plugin file, made it simple.
|
2019-05-21 23:24:19 +08:00 |
|
Yuansheng Wang
|
d1e283d9d9
|
doc: added doc of limit count .
|
2019-05-21 23:08:30 +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
|
4f71bc97e8
|
change: added todo comments.
|
2019-05-21 11:53:04 +08:00 |
|
Yuansheng Wang
|
b947dab39c
|
feature: implemented set_header in response module.
|
2019-05-21 11:51:46 +08:00 |
|
Yuansheng Wang
|
1f1696c0e9
|
feature: implemented plugin limit-count .
|
2019-05-21 11:17:46 +08:00 |
|
Yuansheng Wang
|
31fac0c739
|
optmize: supported to use stale object for lrucache case.
|
2019-05-21 11:04:05 +08:00 |
|
Yuansheng Wang
|
242da97d4f
|
change: code style.
|
2019-05-21 10:42:26 +08:00 |
|
Yuansheng Wang
|
4570ba59c0
|
feature: supported to use lrucache for plugin developer.
|
2019-05-21 10:02:06 +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 |
|
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
|
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
|
618201c7ce
|
change: renamed the plugin's base file to base_plugin .
|
2019-05-07 16:06:01 +08:00 |
|
Yuansheng Wang
|
0b302a2d47
|
change: used '###-##-###' as the name style of plugin.
|
2019-05-07 15:58:44 +08:00 |
|
YuanSheng Wang
|
aa45402ba5
|
change: added Makefile to manage apimeta server. (#5)
* change: added Makefile to manage apimeta server.
|
2019-05-06 18:17:29 +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
|
ee9f074864
|
change: renamed the basic library to 'core'. (#3)
|
2019-05-06 14:40:10 +08:00 |
|
YuanSheng Wang
|
1703fc62ae
|
change: added an example of plugin. (#2)
* change: added an example of plugin.
|
2019-05-06 14:36:18 +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
|
4f2238a40d
|
test: added basic test case.
|
2019-04-11 15:00:59 +08:00 |
|
Yuansheng Wang
|
e2835eae52
|
optimize: local cache.
|
2019-04-11 14:36:53 +08:00 |
|
Yuansheng Wang
|
25b2bc84cd
|
feature: supported to run the mini case.
```
curl http://test.com:9080/hello
run route id: 1234 host: test.com
```
|
2019-04-11 14:34:18 +08:00 |
|
Yuansheng Wang
|
e083f9be46
|
feature: supported to load fake route。
|
2019-04-11 12:02:16 +08:00 |
|
Yuansheng Wang
|
4757416918
|
init version.
|
2019-04-10 11:08:25 +08:00 |
|