-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Provide new API to programmatically create REST Client reactive #32856
Comments
/cc @cescoffier (rest-client), @geoand (rest-client) |
The new API includes these additional options: - verifyHost - trustStore by truststore and password (it was requested in quarkusio#31891) - proxyUser - proxyPassword - nonProxyHosts Fix quarkusio#32856
I'm +1 for this. @radcortez do you think this should be Quarkus specific or something we can have in Smallrye? |
SmallRye doesn't provide the REST Client implementation (it used to, but it was moved to RESTEasy). My recommendation is to do it in RESTEasy. |
That wouldn't allow us however to share it for RESTEasy Reactive and RESTEasy Classic. It would definitely be easier at this point to have this be Quarkus specific and only have it apply to RESTEasy Reactive |
Note that we will keep supporting the existing Microprofile API. The idea is to provide a new Quarkus-specific API to extend the options to configure the REST Client Reactive. |
And do we want to exclude RESTEasy Classic? |
We could provide another API for RESTEasy Classic, with the supported options for only RESTEasy Classic, but I would keep our efforts to improve the user experience on RESTEasy Reactive for now. |
+1 |
Also very interested in the functionality.
|
The new API includes these additional options: - verifyHost - trustStore by truststore and password (it was requested in quarkusio#31891) - proxyUser - proxyPassword - nonProxyHosts Fix quarkusio#32856
The new API includes these additional options: - verifyHost - trustStore by truststore and password (it was requested in quarkusio#31891) - proxyUser - proxyPassword - nonProxyHosts Fix quarkusio#32856
Description
When creating a REST Client reactive programmatically, we use the Microprofile API
RestClientBuilder
as:However, having to use the Microprofile API limits the ability of Quarkus to programmatically configure some features, so this issue is about providing our Quarkus-specific RestClientBuilder API.
At the moment, the additional options would include:
In next iterations, we could extend the API with:
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: