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

OIDC: reuse shared Vert.x instance in DEV and test mode whenever it is possible #45621

Conversation

michalvavrik
Copy link
Member

@michalvavrik michalvavrik commented Jan 15, 2025

For OIDC extensions in DEV and test mode, this PR propposes using managed Vertx when it is possible because creating of a new Vertx is expensive and it should be preferred to reuse Vertx. Sadly I added some runtime code required in a DEV mode, but I don't think it matters as soon classes used for a DEV UI will only affect the DEV mode #45053.

context: https://quarkusio.zulipchat.com/#narrow/channel/187038-dev/topic/Using.20managed.20.28shared.29.20Vert.2Ex.20instance.20to.20create.20WebClient

Copy link

quarkus-bot bot commented Jan 15, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 985c5a3.

✅ 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.

You can consult the Develocity build scans.

@sberyozkin sberyozkin merged commit beee3db into quarkusio:main Jan 16, 2025
23 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.19 - main milestone Jan 16, 2025
@michalvavrik michalvavrik deleted the feature/oidc-dev-test-reuse-vertx-when-possible branch January 16, 2025 12:23
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.

2 participants