-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump RESTEasy to 4.5.8.Final #12270
Bump RESTEasy to 4.5.8.Final #12270
Conversation
"Initial JDK 11 Build' failed because RESTEasy 4.5.8.Final hasn't made it to https://repo.maven.apache.org/maven2. |
RESTEasy 4.5.8.Final is now on https://repo.maven.apache.org/maven2. Could someone restart the tests? |
done |
That's awesome, but can you squash all these commits and add a |
d1c814d
to
9dbc5eb
Compare
Hi @gastaldi, re: "squash all these commits and add a Co-authored-by in the single commit?" Done. |
[QUARKUS-423] Changes to conform to RESTEasy 4.5.7.Final [QUARKUS-398] RESTEasy 4.5.7.Final->4.5.8.Final Co-authored-by: Alessio Soldano <[email protected]>
9dbc5eb
to
6c08bcd
Compare
Done. |
@ronsigal thank you, yeah, it's just to give him credit for his commits ;) |
re: "it's just to give him credit for his commits" Cool. Maybe I can leverage this into a larger bonus. ;-) |
Is it also worth replacing https://github.com/quarkusio/quarkus/blob/master/extensions/rest-client/runtime/src/main/java/io/quarkus/restclient/runtime/RestClientRecorder.java#L64-L69 with the static call to |
Hi @kenfinnigan, re: "Is it also worth replacing" Sorry, I'm not following ... . https://github.com/quarkusio/quarkus/blob/master/extensions/rest-client/runtime/src/main/java/io/quarkus/restclient/runtime/RestClientRecorder.java#L64-L69 doesn't reference ResteasyClientBuilderImpl. What am I missing? |
Sorry @ronsigal Those lines were added because we didn't have the ability to set the static, so I think they can be removed and replaced with a call to the static, similar to calling the |
Oh, man, I'm still not getting it. I blame 2020 because nothing else makes sense either. :( |
No worries. Instead of the lines I highlighted that peek into the RESTEasy provider factory and set it, just call |
Mmmm, but ResteasyProviderFactory.instance and RestClientBuilderImpl.PROVIDER_FACTORY are two different things ... . I guess I still don't know the resteasy-client-microprofile code as well as I should. |
They most definitely are different, but hijacking the RESTEasy provider factory for everything was the only way we could hack it so that the With the static, we don't need those shenanigans and we can just set the static. Sound ok? |
Ahhhhhh. Yes, ok. ;-) Would you like me to add that change to this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given this is passing CI, I would deal with what @kenfinnigan is asking for (enhancements relying on the additions in 4.5.8.Final) in another PR.
@kenfinnigan , I've created issue #12325 "Remove unnecesary code from RestClientRecorder" and pull request #12326 to remove that bit of code. |
@kenfinnigan any chance you could address the static thing? You're probably the one with the best understanding of this. |
This is #12232 but with RESTEasy version 4.5.8.Final. I don't have permission to edit #12232 directly.
Fixes: #10133