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
Enhance RestClient Reactive to support registering providers via custom annotations #16522
Comments
I'm looking into migration of an app that is using Change of extensions doesn't work, code doesn't compile as it is using Unfortunately it is not possible for RESTEasy Reactive because of this issue. This makes transition to |
@sberyozkin what's your take on #16522 (comment)? Is there something we need to do to make the experience better? Or maybe just add some more documentation? |
Hey @geoand, apologies, I've just discovered your comment after following on the related comments from Rostislav in QUARKUS-2389. I think that if RestEasy Reactive could allow supporting the same style of registering OIDC Reactive client filter as the one allowed in RestEasy Classic for OIDC client,
in addition to the standard
then it would indeed be a bit nicer and as @rsvoboda has indicated, would not even require the code changes during the migration to Resteasy Reactive which Rostislav is quite concerned about. Have a look at the description please - I've provided links to the RestEasy Classic code showing how thanks |
Thanks @sberyozkin, I'll have a look next week. |
For example, |
@geoand Np at all, yeah, lets see if it can be done without too many problems, ping me please if you'd like me to help somehow, cheers |
👍🏼 |
@sberyozkin can you take a look at #28451? It should cover this |
Hey @geoand what a good Friday, sorry, had to step outside for a very late lunch :-) |
No problem at all :) |
Introduce a version of @OidcClientFilter for the reactive client
Closes: quarkusio#16522 (cherry picked from commit 527f84a)
Description
The following is possible with
quarkus-rest-client
, for example, withOidcClientRequestFilter
where the
quarkus-oidc-client-filter
extension registersOidcClientFilter annotation and OidcClientRequestFilter.class
pair, and wherequarkus-rest-client
's RestClientProcessor discovers such registrations and passes them to RestClientBase.Note as far as
OidcClientRequestFilter
is concerned, the alternative solution (explicitly register it with MP RestClientRegisterProvider
) is available. This issue is not aboutOidcClientRequestFilter
but about a generic support for registering providers via custom annotations.Implementation ideas
Do something similar in the reactive rest client to what is done in
quarkus-rest-client
's RestClientProcessor and RestClientBase.The text was updated successfully, but these errors were encountered: