Commit Graph

62 Commits

Author SHA1 Message Date
John Bampton
696cb50ba5
feat(CI): check for trailing whitespace (#3250) 2021-02-16 12:14:46 +08:00
罗泽轩
7aa6c123b0
fix(zipkin): always delivery x-b3-sampled header (#3519)
According to
https://github.com/openzipkin/b3-propagation#sampling-state:

> sampling applies consistently per-trace: once the sampling decision is
made, the same value should be consistently sent downstream

We should pass the right x-b3-sampled according to our decision.
2021-02-04 23:39:46 +08:00
Yuelin Zheng
75c69237d7
test: sort the output data of the plugin_proxy_rewrite_args method (#3448)
close #3403
2021-01-29 07:53:41 +08:00
Jens Keiner
b5374bb66c
feat(authz-keycloak): dynamic scope and resource mapping. (#3308) 2021-01-27 21:50:18 +08:00
罗泽轩
e3601e6876
feat: support dubbo (#3224)
Fix #89
2021-01-20 09:47:09 +08:00
罗泽轩
357a2efa68
feat: expose schema via control API (#3092)
Close #3022
2020-12-23 16:40:19 +08:00
罗泽轩
81c8d806a3
test: remove useless skywalking mock (#3066)
Now we connect to real skywalking for test.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 08:30:55 +08:00
罗泽轩
93e2f1647a
feat: route accroding to the graphql attributes (#2964)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:51:00 +08:00
罗泽轩
44855ec1a7
ci: make it work under OpenResty 1.19 (#2768) 2020-11-30 10:32:35 +08:00
Yuelin Zheng
d7e59113d5
feat: How to distinguish whether the 5xx status code (eg 500) comes from upstream or apisix (#2817)
close #2501
2020-11-27 18:33:02 +08:00
Yousa
208ae3d2b7
chore: format the string.find (#2785) 2020-11-18 23:58:36 +08:00
罗泽轩
e7223e77a3
fix(http-logger): correct the Content-Type of newline format log report (#2780) 2020-11-18 17:51:03 +08:00
罗泽轩
0654687aed
test: write the config.yaml according to the profile (#2736) 2020-11-15 19:36:53 +08:00
Firstsawyou
3ff46e28eb
chore: code format optimization of t/lib/server.lua file. (#2742)
fix #2697
2020-11-13 22:27:03 +08:00
Firstsawyou
2ba28ff6a7
chore: sort the request headers output by the _M.uri and _M.old_uri function in t/lib/server.lua (#2696)
fix #2636
2020-11-12 14:37:51 +08:00
罗泽轩
432c954a74
fix: plugin hot reload should work on node (#2430) 2020-11-03 13:46:24 +08:00
罗泽轩
960077f245
fix(echo): modify response body correctly (#2561)
Fix #2427, #2554
2020-10-29 16:48:53 +08:00
YuanSheng Wang
6a7dfa6775
feat: implement api breaker plugin. (#2455)
Co-authored-by: liuheng <liuhengloveyou@gmail.com>
2020-10-27 13:40:23 +08:00
罗泽轩
2a66762ca6
change(batch-requests): limit the body size to 1M (#2507)
To avoid blocking on reading large body file and
spending too much memory in encode JSON body.
2020-10-26 21:50:51 +08:00
罗泽轩
009681179f
feat(response-rewrite): clear cache headers to avoid polluting the cache (#2504) 2020-10-26 20:25:53 +08:00
罗泽轩
70bd9802c5
bugfix: avoid overwriting Vary header in cors plugin (#2271) 2020-09-27 16:43:09 +08:00
YuanSheng Wang
3f9685f823
feat(http-logger): support to concat multiple log with separator. (#2286) 2020-09-24 10:58:44 +08:00
罗泽轩
8493a607ce
test: also lint the test helpers (#2252)
Close #2215
2020-09-19 19:07:39 +08:00
Shuyang Wu
4722198548
feature: support etcd v3 by mocking v2 API (#2036) 2020-09-16 10:19:04 +08:00
redynasc
98bb5933d6
feature: implement ewma balancer for upstream node (#2001)
ewma is a different balancing implementation that will generate a weight for every backend IP based on the last server response time, basically it tries to dispatch more requests to the backends that reply faster, supposing that they are less loaded.

fix #1996
2020-08-29 23:14:16 +08:00
Vinci Xu
2936c7d89d
feat: add option for cors and bugfix (#1963)
fix #1915 #1704
2020-08-01 08:03:22 +08:00
YuanSheng Wang
f9a8a26dd4
feature: add a new option, decide if we remove the "/" at the end of … (#1766)
* feature: add a new option, decide if we remove the "/" at the end of the URI before route matching.

fix #1765
2020-07-29 19:25:30 +08:00
YuanSheng Wang
2d667ecb70
bugfix: should not save the runtime data of plugin into etcd. (#1910)
Fixed #1836 .
2020-07-27 14:43:50 +08:00
nic-chen
56aeb4a6a9
feature: ssl enhance (#1678)
support enable or disable ssl by patch method
support encrypted storage of the SSL private key in etcd
support multi snis

Fix #1668
2020-06-13 16:10:27 +08:00
dabue
171db26e12
test: add test case for #1625 to test the filed of overhead (#1645) 2020-06-05 21:23:42 +08:00
Wen Ming
82f85e5946
test: added test tests for skywalking. (#1621) 2020-06-02 12:24:56 +08:00
Vinci Xu
6faf3ef2ed
bugfix(batch-requests): support cookie (#1599) 2020-06-02 09:26:24 +08:00
Wen Ming
398941b72f
feature: add skywalking plugin. (#1241) 2020-05-27 17:55:47 +08:00
YuanSheng Wang
cafbfe160a
feature: support new field exptime for SSL object. (#1575)
fix #1571.
2020-05-12 15:50:52 +08:00
YuanSheng Wang
669772f5d5
bugfix: check if the service's upstream node is host. (#1402) 2020-04-12 09:31:58 +08:00
Lien
f5a078274f
feature: add service name and report local server IP for Zipkin plugin (#1386) 2020-04-08 08:47:41 +08:00
iGeeky
84707263d0
plugin(wolf-rbac): added new api change_pwd and user_info. (#1204) 2020-03-31 13:39:49 +08:00
Wen Ming
0ff1c820ae
bugfix: hide ssl private key in admin API. (#1240) 2020-03-13 15:56:38 +08:00
YuanSheng Wang
6cca341b7f
test: exported ENV{APISIX_HOME}, allow user to define the working path by himself. (#1160)
* change: enable Lua code coverage.
2020-02-26 21:26:01 +08:00
iGeeky
5fff97d0b1
feature: Add wolf rbac plugin (#1095) 2020-02-06 15:22:49 +08:00
Lien
e6804360d1 feature: supported to enable Websocket in upstream object (#1051) 2020-01-14 14:37:24 +08:00
Lien
fbb51ddadd plugin: implement plugin response rewrite 2019-11-21 21:49:53 +08:00
WenMing
12a2b01b71
license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
Janko
ff0d82c40c bugfix: keep args of uri when using proxy-write plugin. (#642) 2019-10-09 16:02:38 +08:00
YuanSheng Wang
d2f891fc51
plugin(proxy-rewrite): added more test cases. (#615)
* plugin(proxy-rewrite): added more test cases.
* bugfix: host of upstream should not support wildcard domain.
2019-09-27 15:57:04 +08:00
Janko
25fd6983ea feature(plugin): rewrite upstream info with plugin proxy-rewrite (#594)
* test: add `proxy-rewrite` plugin test cases
2019-09-27 15:14:48 +08:00
Carlos Hwang
c0a1363e6e feature: support http method 'connect' & 'trace' (#530) 2019-09-17 16:57:51 +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
YuanSheng Wang
1002765831
feature: support to match IPv6 request. (#341)
* CLI: supported to listen IPv6.

* feature: supported to match route by remote address.
2019-08-24 09:10:11 +08:00
YuanSheng Wang
59da5e78e5
bugfix: stop the checker if the config source is changed. (#406)
* bugfix: stop the checker if the config source is changed.

* test: added new test cases.
2019-08-19 14:02:33 +08:00