Commit Graph

300 Commits

Author SHA1 Message Date
罗泽轩
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
罗泽轩
7047932548
feat: upgrade lua-resty-expr/radixtree to support logical expression (#3809)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-15 09:51:15 +08:00
John Bampton
9fafa43b37
chore: fix spelling, grammar and JSON example (#3821) 2021-03-15 08:56:43 +08:00
tzssangglass
210ca462b7
fix: the traffic-split plugin is invalid to bind upstream via upstream_id (#3758)
fix #3740
2021-03-15 08:55:49 +08:00
John Bampton
4ebccafbdc
chore: fix spelling (#3253) 2021-03-14 22:53:34 +08:00
罗泽轩
d538105b1a
fix: don't override cache relative headers (#3789) 2021-03-10 09:02:28 +08:00
jpgouin
6cbaf55aab
feat: Add filter on HTTP methods for consumer-restriction plugin (#3691) 2021-03-08 18:00:29 +08:00
Lien Li
66539b36e7
feat: support conditional response rewrite (#3577)
* support conditinal response rewrite

* fix code style

* fix typo

* fix typo

* fix test case

* add test case and fix code style

* drop space

* add fail test cases

* enhance docs
2021-03-04 10:10:13 +08:00
罗泽轩
0d40f81259
test: improve the unique request id check (#3738)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-03 23:02:00 +08:00
Yuelin Zheng
1d79ce57eb
feat: the traffic-split plugin supports upstream_id (#3512) 2021-02-25 20:59:16 +08:00
罗泽轩
de9ea13284
test: make key-auth-upstream-domain-node stable (#3666) 2021-02-25 13:07:18 +08:00
罗泽轩
16f017dfed
ci: avoid requesting IPv6 address as GitHub Action doesn't support it (#3656) 2021-02-24 16:09:25 +08:00
罗泽轩
728df41e16
fix: we should ensure one upstream only have one determinable scheme (#3637) 2021-02-24 14:37:30 +08:00
罗泽轩
9123e187d3
feat(zipkin): support b3 req header (#3551) 2021-02-22 09:23:09 +08:00
John Bampton
39ffe26c19
chore: remove unneeded whitespace before commas (#3626) 2021-02-22 09:11:39 +08:00
罗泽轩
013db0dd2f
feat: support to bind plugin config by plugin_config_id (#3567)
Fix #3532
2021-02-20 20:42:10 +08:00
罗泽轩
ea1ac0f4da
test: ensure all plugins have unique priority (#3582)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-20 15:40:28 +08:00
John Bampton
2a9a52220f
test: fix grammar (#3584) 2021-02-18 12:33:20 +08:00
John Bampton
696cb50ba5
feat(CI): check for trailing whitespace (#3250) 2021-02-16 12:14:46 +08:00
罗泽轩
0b6d35d965
test: split prometheus test case (#3563)
Fix #3561

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-10 14:37:46 +08:00
wettper
93a0d77ef1
feat: add select database for Redis related functions (#3559) 2021-02-09 23:03:50 +08:00
罗泽轩
65ef8ca3df
fix(zipkin): don't cache the per-req sample ratio (#3522)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-06 13:18:28 +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
罗泽轩
563b259a5a
feat: switch resolver to lua-resty-dns-client (#3442)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-02 09:07:40 +08:00
tzssangglass
d0816200e6
feat: kafka-logger implemented reuse kafka producer (#3429) 2021-01-31 14:52:13 +08:00
Yuelin Zheng
bca2210ac7
chore: fix the limit plugins schema (#3456) 2021-01-29 22:31:01 +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
halfcrazy
8d61d315b8
fix: proxy_set_header Host $host may lose port info (#2079) 2021-01-27 13:16:07 +08:00
halfcrazy
2b532f06ba
feat: proxy-rewrite host support host with port (#3428)
Fix #3136
2021-01-27 10:22:10 +08:00
罗泽轩
3db8ebec26
feat: support gRPCS (#3411) 2021-01-26 11:04:16 +08:00
Yuelin Zheng
fb9123d429
feat(fault-injection): support conditional fault injection using nginx variables (#3363)
close #2511
2021-01-25 23:44:00 +08:00
大可
95a04d2475
fix(grpc-transcode): ienum_as_name to enum_as_name (#3352) 2021-01-25 11:20:45 +08:00
罗泽轩
ab6e31fd63
test: clean unrun cases (#3356)
Those test may mislead people.
Also add a check to prevent skipping test by accident.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-20 19:14:56 +08:00
罗泽轩
e3601e6876
feat: support dubbo (#3224)
Fix #89
2021-01-20 09:47:09 +08:00
Yuelin Zheng
a1dd370962
fix(traffic-split): the header set in vars cannot have a horizontal line (#3310)
fix #3306
2021-01-17 12:40:31 +08:00
Yuelin Zheng
ff60e57996
chore(traffic-split): add additionalProperties field to restrict plugin configuration (#3285) 2021-01-14 16:37:36 +08:00
Jens Keiner
9f6e605a15
feat(authz-keycloak): Add Keycloak Authorization Services endpoint discovery. (#3263) 2021-01-13 23:22:34 +08:00
罗泽轩
a2ad12bf47
test: demonstrate http-logger works fine with JSON body (#3212)
Close #1710
2021-01-11 18:00:24 +08:00
罗泽轩
ee122cd048
feat: log when request is blocked by a plugin (#3214)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-07 19:45:08 +08:00
Jens Keiner
67df073ed4
feat: Make headers to add to request in openid-connect plugin configurable. (#2903) 2021-01-05 10:14:37 +08:00
Brandon Fergerson
05b1db7f53
feat: support var in upstream_uri on proxy-rewrite plugin (#3139) 2021-01-05 10:11:09 +08:00
nic-chen
4f6fce362d
fix: use config_util.iterate_values to avoid error by using invalid data type as table (#3173) 2021-01-04 19:52:53 +08:00
Yuelin Zheng
9b5fa0b4c4
test: limit-count add more test cases to cover the case where the upstream is a domain name (#3140)
close #3108
2020-12-29 11:25:25 +08:00
罗泽轩
b1e5edd7d8
tests: fix unstable test in traffic-split.t (#3135)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-28 20:55:29 +08:00
dabue
6dba053c08
update server-info.t (#3143)
related #3095
2020-12-28 20:51:56 +08:00
Yuelin Zheng
c4180ccbf9
feat: the proxy-rewrite plugin support pass nginx variable within header (#3144)
related #3117
2020-12-28 20:42:47 +08:00
Yuelin Zheng
86fa46d85b
feat: Implement traffic splitting plugin (#2935)
close #2303
close #2603
2020-12-25 15:53:00 +08:00
guyang
0802c95faf
feat: add batch process metrics (#3070) 2020-12-24 19:24:46 +08:00
Alex Zhang
c3d61fcfa3
feat: add control api for plugin server-info (#3088)
* feat: add control api for plugin server-info

Previously we added plugin server-info without exposing API since the same port problem of admin api and proxy. Now we have Control API support so we expose server-info API through Control API. People now can insight the server info about APISIX instance easily.
2020-12-22 11:04:56 +08:00