Skip to content
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 #32857

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

Sgitario
Copy link
Contributor

@Sgitario Sgitario commented Apr 24, 2023

The new API includes these additional options:

Note that for the new API, I didn't add any breaking change, so users can keep using the Microprofile one.

Fix #32856

@geoand
Copy link
Contributor

geoand commented Apr 24, 2023

We'll need a resolution on #32856 (comment) before moving this forward

@github-actions
Copy link

github-actions bot commented Apr 24, 2023

🙈 The PR is closed and the preview is expired.

* @return the current builder with the connect timeout set.
* @throws IllegalArgumentException if the value of timeout is negative.
*/
QuarkusRestClientBuilder readTimeout(long timeout, TimeUnit unit);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably also have tests where these properties override the configured values in application.properties

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is covered by RestClientCDIDelegateBuilderTest

@quarkus-bot

This comment has been minimized.

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
Copy link
Contributor

@geoand geoand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@geoand geoand added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Apr 25, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Apr 25, 2023

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

@geoand geoand merged commit 585ebb2 into quarkusio:main Apr 25, 2023
@quarkus-bot quarkus-bot bot added kind/enhancement New feature or request and removed triage/waiting-for-ci Ready to merge when CI successfully finishes labels Apr 25, 2023
@quarkus-bot quarkus-bot bot added this to the 3.1 - main milestone Apr 25, 2023
@Sgitario Sgitario deleted the 32189_new branch April 25, 2023 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide new API to programmatically create REST Client reactive
2 participants