罗泽轩
b72404f643
feat(ext-plugin): support ExtraInfo ( #4835 )
...
* feat(ext-plugin): support ExtraInfo
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
* ensure to use str
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
* fix test
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
* ws
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-08-18 13:20:33 +08:00
罗泽轩
1b247c8e1e
feat(ext-plugin): send the idempotent key when preparing conf ( #4736 )
2021-08-03 12:20:44 +08:00
tzssangglass
316d23074f
fix(ext-plugin): avoid using 0 as the default http status code ( #4734 )
2021-08-03 10:15:17 +08:00
罗泽轩
ab16d9956f
test: save a port in the test framework ( #4677 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-31 16:10:50 -04:00
罗泽轩
a04f3649b7
feat: add gzip plugin ( #4640 )
2021-07-22 12:04:38 +08:00
罗泽轩
3509d1db9d
feat: enable balancer phase for plugins ( #4549 )
2021-07-14 12:16:35 +08:00
罗泽轩
302073ed22
test: clean fake upstream API ( #4578 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-14 10:53:05 +08:00
chen zhuo
307c7f69eb
feat: Add option retry_timeout that like nginx's proxy_next_upstream_timeout ( #4574 )
...
Co-authored-by: zhuo.chen <zhuo.chen@upai.com>
2021-07-14 09:53:29 +08:00
罗泽轩
808d511dd4
feat(stream): add limit-conn ( #4515 )
...
* feat(stream): add limit-conn
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
* break down long bracket to avoid missing the closing long bracket "]]"
https: //github.com/apache/apisix/pull/4515/checks?check_run_id=2962435093
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-13 13:17:52 +08:00
罗泽轩
8282046bd8
feat(client-control): set client_max_body_size dynamically ( #4423 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-16 17:25:50 +08:00
罗泽轩
619ac84c88
fix(ext-plugin): when token is stale, refresh token and try again ( #4345 )
2021-06-01 19:46:26 +08:00
罗泽轩
5d58dacaa8
feat: avoid overriding customized X-Forwarded-Proto header ( #4260 )
...
Close #4252
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-17 21:23:56 +08:00
Peter Zhu
adc9977dd0
feat: add 50x html for error page ( #4164 )
2021-05-11 16:52:48 +08:00
罗泽轩
6a7db721bb
ci: remove whitelist of whitespace check ( #4203 )
2021-05-10 11:59:51 +08:00
罗泽轩
ffed4383f1
feat(ext-plugin): implement the http-req-call protocol ( #4183 )
2021-05-06 10:07:56 +08:00
罗泽轩
50e9bfa54e
feat(ext-plugin): handle error response ( #4179 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-06 10:00:12 +08:00
罗泽轩
624f59fc78
feat: step 3, manage the plugin runner ( #4163 )
...
* feat: step 3, manage the plugin runner
* feat: step 4, add prepare_conf protocol
2021-05-04 10:41:08 +08:00
罗泽轩
f3b057609f
feat(ext-plugin): step 2, add basic structure ( #4119 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-29 11:07:05 +08:00
罗泽轩
5b2be581d8
test: add cases for wss ( #3961 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-05 11:41:25 +08:00
罗泽轩
116deb2f36
change(zipkin): rearrange the child span ( #3877 )
...
Fix #3827
2021-03-23 20:19:16 +08:00
罗泽轩
01da213e6f
test: don't crash when dubbo upstream returns integer status code ( #3823 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-16 15:19:58 +08:00
罗泽轩
013db0dd2f
feat: support to bind plugin config by plugin_config_id
( #3567 )
...
Fix #3532
2021-02-20 20:42:10 +08:00
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