Commit Graph

1231 Commits

Author SHA1 Message Date
HaiYan
01a6ab4450
feat(api-breaker): allow configuring response (#6949)
Co-authored-by: qihaiyan <qihaiyan@hisense.com>
Co-authored-by: tzssangglass <tzssangglass@gmail.com>
Co-authored-by: Alex Zhang <tokers@apache.org>
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
2022-05-10 13:42:54 +08:00
soulbird
c32caf3b11
feat(ext-plugin): support hook response body (#6968) 2022-05-10 10:10:14 +08:00
罗泽轩
5da97515cf
feat(redis): delay according to the cmd & key (#6999)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-05-10 09:44:21 +08:00
kwanhur
1b5c1900da
feat(ops): handle real_ip_from CIDR format (#6981)
Signed-off-by: kwanhur <huang_hua2012@163.com>
2022-05-09 13:29:41 +08:00
罗泽轩
63f69fe116
feat: add option to normalize uri like servlet (#6984)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-05-07 10:25:01 +08:00
LetsGO
382e710e99
feat: just change uri args or headers when hiding credentials (#6991)
Co-authored-by: Alex Zhang <tokers@apache.org>
2022-05-07 10:20:51 +08:00
kwanhur
32a8b8f6ba
feat(redirect): set redirect server port when enable http_to_https (#6686)
Signed-off-by: kwanhur <huang_hua2012@163.com>
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
2022-05-05 14:00:31 +08:00
罗泽轩
ea3828afef
feat(redis): support pipeline (#6959)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-05-05 10:46:01 +08:00
tzssangglass
3b7e3fde05
feat(stream): port syslog plugin (#6953) 2022-05-05 10:02:36 +08:00
罗泽轩
60e0ad6515
feat(xRPC): support timeout (#6965)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-05-05 09:59:12 +08:00
leslie
bd9f900023
fix: hide 5xx error message from client (#6982)
Co-authored-by: 高亮亮 <gll287546@alibaba-inc.com>
2022-05-05 09:54:20 +08:00
罗泽轩
1c90490d71
test: add client mTLS test for vanilla OpenResty (#6951)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-04-29 11:03:12 +08:00
罗泽轩
7b4bbba6b9
test: reject bad client TLS request in handshake (#6941) 2022-04-27 11:25:34 +08:00
蚊子先生
307b03baf3
fix: the same fix to other headers (#6921)
Co-authored-by: jiangyuncong <jiangyuncong@cecinvestment.com>
2022-04-26 10:15:30 +08:00
soulbird
fd9488da7c
fix: replace ngx.req.get_post_args to core.request.get_post_args (#6924) 2022-04-26 09:57:18 +08:00
tzssangglass
52c8a291ef
fix: replace get_headers and get_uri_args with the function in core.request (#6922) 2022-04-26 09:56:11 +08:00
罗泽轩
ea2cf66b45
feat(xRPC): support dynamic upstream with upstream_id (#6919)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-04-25 14:44:43 +08:00
soulbird
0bd8b5cbad
fix: upstream nodes cant't include ipv6 addr (#6908) 2022-04-25 14:41:55 +08:00
罗泽轩
d5ec37eb42
chore: don't report upstream http host check error in stream subsystem (#6904)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-04-24 10:34:01 +08:00
罗泽轩
4a0e2903f3
feat(xRPC): support dynamic upstream (#6901)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-04-22 15:49:40 +08:00
罗泽轩
c5856267ff
feat(xRPC): basic stream support (#6885) 2022-04-21 09:44:19 +08:00
罗泽轩
506c873fb0
chore(redis): avoid recording bad value (#6876)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-04-20 15:49:42 +08:00
tzssangglass
2518b18a7b
fix(grpc-transcode): fetch the response body cached in the ctx (#6862)
Closes #6848
2022-04-19 09:53:32 +08:00
罗泽轩
1d88741bdc
feat(xRPC): simple redis support (#6873)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-04-19 09:49:05 +08:00
soulbird
153f385f35
fix: do not expose internal errors to the client (#6859) 2022-04-18 19:14:31 +08:00
zhixiongdu
ec21242765
feat: inject kubernetes discovery environment variable (#6869) 2022-04-18 15:15:12 +08:00
罗泽轩
b08d8819e2
feat(serverless): return like other plugins (#6870)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-04-18 14:39:47 +08:00
tzssangglass
943436a16c
fix(authz-keycloak): do not expose internal errors to the client (#6854) 2022-04-18 08:56:13 +08:00
罗泽轩
605c2c40c4
fix(hmac-auth): don't let client know why it is rejected (#6853)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-04-17 19:36:35 +08:00
Zeping Bai
f3c9e80a2d
chore(jwt-auth): adjust error log level to warn (#6858) 2022-04-15 17:28:52 +08:00
tzssangglass
d6a4afd1f8
fix(grpc-web): don't override Access-Control-Allow-Origin header in response (#6842) 2022-04-15 11:09:33 +08:00
Zeping Bai
61a48a2524
fix: jwt-auth error may leak secret (#6846) 2022-04-14 22:54:42 +08:00
罗泽轩
7ba5b2b2f8
feat(xrpc): add unary structure (#6837) 2022-04-14 11:56:35 +08:00
罗泽轩
d7310e9393
ci: upgrade ancient redis image (#6838) 2022-04-14 10:38:05 +08:00
dependabot[bot]
b2184d85e1
build(deps): bump httpclient from 4.5.5 to 4.5.13 in /t/lib/dubbo-backend/dubbo-backend-provider (#6831)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 09:40:34 +08:00
罗泽轩
2199cdec18
feat(xRPC): add Admin API support (#6817) 2022-04-13 09:39:05 +08:00
蚊子先生
4831e6c414
fix: add support for multi-header with same key (#6811)
Co-authored-by: jiangyuncong <jiangyuncong@cecinvestment.com>
2022-04-12 17:33:57 +08:00
dependabot[bot]
6f9c3f8d81
build(deps): bump dubbo from 2.7.7 to 2.7.15 in /t/lib/dubbo-backend (#6819)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 17:33:32 +08:00
dependabot[bot]
f1148d1548
build(deps): bump dubbo from 2.7.7 to 2.7.15 in /t/lib/dubbo-backend/dubbo-backend-provider (#6820)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 10:04:52 +08:00
罗泽轩
f8bc7a61e3
test: rewrite test to bypass "missing the closing long bracket" err (#6818) 2022-04-11 17:23:22 +08:00
罗泽轩
9ec689885f
fix(admin): reject unknown stream plugin (#6813) 2022-04-11 09:51:49 +08:00
kwanhur
e89ab8d654
feat(response-rewrite): support filters (#6750)
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
2022-04-11 09:46:18 +08:00
aikin
51eec3ea64
feat(request-id): add algorithm support nanoid (#6779) 2022-04-07 14:31:00 +08:00
tzssangglass
fc3a1c9c74
feat(xds): using data written by xds to control dp behavior (#6759) 2022-04-07 11:32:14 +08:00
罗泽轩
1917631c14
fix(authz-keycloak): add missing path for access_denied_redirect_uri (#6794) 2022-04-07 08:59:02 +08:00
soulbird
f56923521c
fix: allow purge method in route (#6780)
Co-authored-by: soulbird <zhaothreee@gmail.com>
2022-04-06 16:53:16 +08:00
bin-ya
07d535def8
feat: Add the function to hide header for key-auth plugin (#6670) 2022-04-06 14:19:35 +08:00
罗泽轩
ecfd3ff3b4
feat(DNS): allow specifying port to override the discovered one (#6764)
It makes the workaround in https://github.com/apache/apisix/issues/6732#issuecomment-1082597439
work.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2022-04-01 09:29:51 +08:00
罗泽轩
de4e0bf8ed
fix(DNS): support SRV with port 0 (#6739) 2022-03-31 09:37:02 +08:00
罗泽轩
9c35e5d9c7
fix: need to invalidate req hdr cache properly (#6733) 2022-03-29 14:13:27 +08:00