Closed zhenyuT closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
b49be05
) 93.15% compared to head (81aa7ca
) 93.15%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label
之前在tool-chains提过一个pr,直接修改client的代码将jersey使用okhttp替换
现在尝试直接修改common的代码,不过common的代码中单元测试和jersey是强相关的,在这一块遇到一些问题,然后尝试自己修改单测代码进行跑通。不过由于对单测的代码不太熟悉,对于代码的意图不太了解,麻烦社区同学帮忙看看
Breaking Changes
org.apache.http.HttpStatus
is removed now, replace it tojava.net.HttpURLConnection
(JDK bundled)jakarta.ws.rs.core.MultivaluedHashMap
is removed now, replace it toorg.apache.hugegraph.rest.RestHeaders
For example,replace the upon code to:
jakarta.ws.rs.core.Response
is removed now, replace it tookhttp3.Response
.org.glassfish.jersey.uri.UriComponent
is removed, just not use it. There's no need to encode the query params manual, just remove the codeUriComponent.encode(raw, Type.QUERY_PARAM_SPACE_ENCODED)
.Other repo/users could refer the info to update/adapt the new version, and comment in this PR if anything missed