Commit Graph

93 Commits

Author SHA1 Message Date
Bisakh
53420f65fb
feat: development of Loggly logging plugin (#6113) 2022-01-26 13:05:01 +08:00
tzssangglass
e7ceda0387
feat(ext-plugin): support to get request body (#5600) 2021-11-29 10:41:06 +08:00
帅进超
7242216076
feat(google-cloud-logging): set token type based on the Oauth response (#5619) 2021-11-26 19:03:17 +08:00
帅进超
59497deb8f
feat(plugin): support google cloud logging service (#5538) 2021-11-23 16:37:35 +08:00
Bisakh
3a6a4db281
feat(plugin): azure serverless functions (#5479)
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
2021-11-19 10:31:20 +08:00
Bisakh
da691b92b8
feat(plugins): Datadog for metrics collection (#5372) 2021-11-09 09:35:30 +08:00
Zhendong Qi
a348ffffe4
feat(proxy-rewrite): add method proxy (#5292)
Co-authored-by: qizhendong <qizhendong@cmss.chinamobile.com>
2021-10-25 10:34:25 +08:00
罗泽轩
6798a7ce12
feat: use lock to ensure fetching token from shdict always (#5263) 2021-10-18 20:43:50 +08:00
罗泽轩
621c7b8199
fix: pass correct host header to health checker target nodes (#5175) 2021-10-09 17:37:51 +08:00
罗泽轩
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