罗泽轩
013db0dd2f
feat: support to bind plugin config by plugin_config_id
( #3567 )
...
Fix #3532
2021-02-20 20:42:10 +08:00
罗泽轩
2401ad5043
fix: don't use port 80 for all schemes ( #3544 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-20 16:01:00 +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
罗泽轩
18909a2a0b
feat: allow disabling search option in resolv.conf ( #3609 )
...
Also disable it in the test to avoid occassional DNS query timeout.
2021-02-20 15:38:45 +08:00
Shuyang Wu
5656649d11
ci: use httpbin.org in chaos test to make CI works ( #3614 )
...
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
2021-02-20 14:03:10 +08:00
大可
5f4e8df42d
feat: support listen http2 with plaintext ( #3547 )
2021-02-19 09:04:48 +08:00
John Bampton
2a9a52220f
test: fix grammar ( #3584 )
2021-02-18 12:33:20 +08:00
nic-chen
82018b9cea
fix: should assign value to api_ctx.global_rules
before running global rules ( #3595 )
...
related issue #3396
2021-02-18 11:34:59 +08:00
John Bampton
696cb50ba5
feat(CI): check for trailing whitespace ( #3250 )
2021-02-16 12:14:46 +08:00
idbeta
7bdb05a4db
test: add fuzzing on apisix dp ( #3525 )
...
relate #3340
fuzzing for the simple route's data plane.
2021-02-11 14:11:47 +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
nic-chen
13f3139fbb
change: global rules should not be executed on the internal api ( #3396 )
2021-02-10 12:01:58 +08:00
罗泽轩
653e15350b
change: default to cache DNS record according to the TTL ( #3530 )
...
Since lua-resty-dns-client provides an internal cache, we don't need to
cache it twice.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-10 11:41:13 +08:00
罗泽轩
37a7fae48c
test: detect if grpc_server_example starts ( #3566 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-10 00:50:58 +08:00
wettper
93a0d77ef1
feat: add select database for Redis related functions ( #3559 )
2021-02-09 23:03:50 +08:00
Shuyang Wu
26a4ed4ad4
refactor: remove kubectl dependency in chaos test, use k8s API instead ( #3501 )
2021-02-08 10:33:06 +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
罗泽轩
e1dbe2c4a4
feat: support DNS AAAA record ( #3484 )
2021-02-05 09:00:20 +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
罗泽轩
1d0e38a1d2
test: make 'not unwanted data, GET' stable ( #3513 )
2021-02-04 12:48:28 +08:00
Shuyang Wu
68c4fd556c
chore: refine chaos test ( #3491 )
...
* chore: refine chaos test
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
2021-02-03 09:53:23 +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
Shuyang Wu
a38cbf78b7
feat: chaos test on route could still works when etcd is down ( #3404 )
2021-01-29 19:22:43 +08:00
大可
ba11e7fa0a
feat: ewma use p2c to improve performance ( #3300 )
2021-01-29 17:17:22 +08:00
syz
0e1cefb6eb
fix: upstream dns resolver failed response 503 ( #3398 )
...
Co-authored-by: spacewander <spacewanderlzx@gmail.com>
2021-01-29 16:23:20 +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
罗泽轩
b32cec71aa
test: use the same buffer size across different platforms ( #3436 )
...
The buffer size in x86 is 8k while the one in arm64 is 16k.
Fix #3355
2021-01-27 22:38:09 +08:00
Jens Keiner
b5374bb66c
feat(authz-keycloak): dynamic scope and resource mapping. ( #3308 )
2021-01-27 21:50:18 +08:00
罗泽轩
3a09f8a8d5
feat: support specifying https in upstream to talk with https backend ( #3430 )
...
Fix #3336
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-27 20:18:57 +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
罗泽轩
da62190d95
feat: allow to pass SNI in HTTPS proxy ( #3420 )
...
Fix #2988
2021-01-26 23:36:12 +08:00
罗泽轩
a3c7c4098b
fix: remove stale checker before adding new one ( #3427 )
...
lua-resty-healthcheck remove target according to the `ip, port,
hostname` tuple. If the newly added target has the same tuple, it will
be removed accidently.
2021-01-26 23:33:21 +08:00
罗泽轩
3db8ebec26
feat: support gRPCS ( #3411 )
2021-01-26 11:04:16 +08:00
罗泽轩
8439c8d98d
test: make ci stable ( #3413 )
2021-01-26 00:01:48 +08:00
罗泽轩
c90f0dcfb4
fix: SSL resource supports PATCH with sub path ( #3405 )
...
Fix #3351
2021-01-25 23:57:34 +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
Yitian Huang
e02baebbef
fix: validation for timeouts in upstream schema that can be zero ( #3401 )
2021-01-25 10:08:29 +08:00
罗泽轩
c8d35cd73c
fix(standalone): require consumer's id to be the same as username ( #3394 )
...
We already did the same thing with the configuration from etcd.
2021-01-22 17:30:59 +08:00
罗泽轩
d698220341
fix: ignore the case of configured host ( #3377 )
...
Fix #3357 .
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-22 10:18:50 +08:00
罗泽轩
bf16615583
test: avoid unstable case caused by delete upstream 1 ( #3385 )
...
Test cases from other files may still refer upstream 1.
2021-01-21 23:40:58 +08:00
罗泽轩
c030783607
fix: support upstream_id & consumer with grpc ( #3387 )
...
Fix #1646 .
2021-01-21 23:38:19 +08:00
罗泽轩
64029e0ecc
feat: remove restriction of label pattern to support Chinese ( #3379 )
...
* feat: remove restriction of label pattern to support Chinese
Fix #3378 .
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
* whitespace
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-21 21:27:00 +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
罗泽轩
95c01707bf
feat: allow getting health check status via control API ( #3345 )
...
Fix #2798
2021-01-20 18:06:03 +08:00
罗泽轩
319c3ebefd
test: make ci stable ( #3329 )
2021-01-20 15:58:44 +08:00
罗泽轩
da99a03cbf
test: add more test to check if checker is stopped. ( #3350 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-20 13:32:26 +08:00