sermant-io / Sermant

CNCF sandbox project, a Cloud-Native Proxyless Service Mesh based on Java Bytecode Enhancement Technology
https://sermant.io/
Apache License 2.0
1.25k stars 164 forks source link

router plugin: HttpAsyncClient xDS router #1627

Closed daizhenyu closed 1 month ago

daizhenyu commented 1 month ago

What type of PR is this?

Feature.

What this PR does / why we need it?

router plugin: supporting HttpAsyncClient xDS routing

Which issue(s) this PR fixes?

Fixes #1604

Does this PR introduce a user-facing change?

No

Checklist

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 2.89855% with 67 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ring/interceptor/HttpAsyncClient4xInterceptor.java 0.00% 44 Missing :warning:
...ring/entity/HttpAsyncRequestProducerDecorator.java 0.00% 18 Missing :warning:
...er/spring/interceptor/HttpClient4xInterceptor.java 0.00% 2 Missing :warning:
...r/spring/interceptor/OkHttp3ClientInterceptor.java 0.00% 2 Missing :warning:
...terceptor/HttpUrlConnectionConnectInterceptor.java 0.00% 1 Missing :warning:
Flag Coverage Δ Complexity Δ
unittests 44.02% <2.89%> (-0.09%) 182.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ Complexity Δ
...ermant/router/common/constants/RouterConstant.java 100.00% <ø> (ø) 0.00 <0.00> (ø)
...eptor/OkHttpClientInterceptorChainInterceptor.java 75.67% <100.00%> (+0.67%) 0.00 <0.00> (ø)
...terceptor/HttpUrlConnectionConnectInterceptor.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...er/spring/interceptor/HttpClient4xInterceptor.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...r/spring/interceptor/OkHttp3ClientInterceptor.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...ring/entity/HttpAsyncRequestProducerDecorator.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...ring/interceptor/HttpAsyncClient4xInterceptor.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)

... and 1 file with indirect coverage changes