Commit Graph

55 Commits

Author SHA1 Message Date
YuanSheng Wang
681a42cbed
feature: support upstream nodes with a weight of 0. (#536)
* test: added test cases.

* doc: updated doc.

current implementation is enough, it supports weight equal 0 now.
2019-09-18 12:00:53 +08:00
Carlos Hwang
c0a1363e6e feature: support http method 'connect' & 'trace' (#530) 2019-09-17 16:57:51 +08:00
YuanSheng Wang
c080f6cc66
doc: added new example to stream-proxy. (#520)
* doc: added new example to `stream-proxy`.
* doc: new doc about `mqtt-proxy`.
2019-09-16 13:03:26 +08:00
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
14d5a38fc3 test: renamed base component. 2019-09-10 16:15:59 +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
4bb40df857 change(test): name style. 2019-09-10 10:07:29 +08:00
WenMing
f7c04747d5
feature: implemented openid-connect plugin. (#447) 2019-08-30 19:49:45 +08:00
WenMing
816048338b
feature: added serverless plugins. (#86) 2019-08-26 10:37:36 +08:00
Yuansheng
1108ea786b change: renamed plugin grpc-proxy to grpc-transcode. 2019-08-22 14:57:02 +08:00
nic-chen
e46e8f2130 * feature: support grpc-proxy REST <-> gRPC case. (#410) 2019-08-21 23:10:34 +08:00
Yuansheng
6963fbb6c0 feature: added new API /apisix/admin/plugins/reload to hot reload plugin. 2019-08-20 22:25:11 +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
chnliyong
f26f8ba6da feature: added IPv4 whitelist/blacklist plugin ip-restriction (#398) 2019-08-19 13:59:47 +08:00
WenMing
ffc71f529c
plugins: removed example-plugin from yaml configure. (#383) 2019-08-07 16:35:45 +08:00
Yuansheng
ea7099b410 feature: supported PATCH method for upstream API. 2019-08-05 13:26:16 +08:00
YuanSheng Wang
4850f91e82
feature: supported PATCH method for service API. (#370)
* feature: supported `PATCH` method for `service` API.
2019-08-05 12:51:21 +08:00
Yuansheng
77e5b50591 feature: supported to patch whole route content. 2019-08-05 00:04:42 +08:00
Yuansheng
19e09b539f feature: supported PATCH method for admin routes API. 2019-08-05 00:04:42 +08:00
YuanSheng Wang
011e0eff5d
test: use a simple way to write test case. (#323)
* test: avoid duplicate code and make test cases clearer.
2019-07-28 11:10:30 +08:00
chnliyong
38b5d6d3d9 add health check json schema constraint and test cases. issue#266 2019-07-28 10:28:13 +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
WenMing
e6bc0040c1
feature: added desc for upstream and service in schema. (#289) 2019-07-22 10:42:02 +08:00
YuanSheng Wang
398579e511
schema(healthcheck): added the passive definition to schema. (#285) 2019-07-21 22:52:52 +08:00
YuanSheng Wang
56a8b152b7
schema: added more valid method. (#287)
* schema: added more valid method.
2019-07-21 22:39:07 +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 Wang
85f420977c change: added prefix http_ for http request. (#179) 2019-07-01 17:24:38 +08:00
WenMing
df7afe4f95
feature: added admin API to get plugins' list. (#176) 2019-07-01 13:29:21 +08:00
WenMing
92f019c7a1
feature: added admin API for plugins' schema. (#174) 2019-06-30 22:35:39 +08:00
Yuansheng
9309abaed7 feature: support to fetch the ssl schema. 2019-06-24 18:49:30 -04: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
WenMing
2480171c8c
test: only check part of schema. (#153) 2019-06-24 16:07:24 +08:00
WenMing
c0c5c08644
feature: added admin API to get schema for FE. (#148)
* feature: added admin API to get schema for FE.

* added test cases.

* bugfix
2019-06-21 21:25:24 +08:00
YuanSheng Wang
ca1f5e7b0d
feature: added remote_addr attribute to route. (#142)
* feature: added `remote_addr` attribute to route.
2019-06-21 06:39:47 +08:00
Yuansheng
678e4228a0 feature: supported for using wildcard pattern to match host. 2019-06-20 10:00:07 -04:00
WenMing
6af8957f87
feature: added admin api for consumer. (#135) 2019-06-19 19:14:58 +08:00
YuanSheng Wang
36338bc95b
feature: merged the configuration between route and service. (#133)
* feature: merged the configuration between route and service.
2019-06-19 15:51:28 +08:00
YuanSheng Wang
2647bdddcb
test: removed useless option. (#132) 2019-06-19 15:48:16 +08:00
Yuansheng
c3f3ddb4d4 bugfix: checked if the service or upstream were referenced when user
submit a delete operation.
2019-06-18 17:06:49 +08:00
YuanSheng Wang
43cbd138e7
change: merged the similar code, and not allowed to specify id when use POST method. (#128)
* change: merged the similar code, and not allowed to specify id when use
  POST method.
2019-06-18 16:15:55 +08:00
YuanSheng Wang
c02d44f8e7
feature: added test cases about round-robin load balance algorithms. (#123)
* feature: added test cases about round-robin load balance algorithms.

* feature: added test cases about consistent hash algorithms.
2019-06-17 23:17:41 +08:00
YuanSheng Wang
3ca005eb7a
feature: checked the upstream id in route or service. (#114)
* feature: checked the upstream id in route or service.
2019-06-17 11:45:04 +08:00
Yuansheng
33e78fd43b feature: used schema to check the upstream configuration.
Fix #102 .
2019-06-17 09:57:05 +08:00
Yuansheng
1921ea8ba5 feature: use schema check for service configuration.
Fix #111.
2019-06-17 09:08:16 +08:00
Yuansheng
180cca723b feature: the minimum is 1 if the route id is integer. 2019-06-15 08:32:28 +08:00
Yuansheng
7a60149b6d feature: checked the id of route. 2019-06-15 07:17:34 +08:00