-
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
SSL support for Reactive SQL Clients #9469
Conversation
6a6fb7e
to
73acac4
Compare
@cescoffier can you please review? I have been able to test locally with PEM trust store and PEM Key Cert, in both JVM and native modes. I believe the build platform doesn't provide an SSL protected database for automated testing, does it? |
The build failures look unrelated to the changes, they are probably due to a Quay outage. |
The current failure does look related. |
...ve-pg-client/runtime/src/main/java/io/quarkus/reactive/pg/client/runtime/PgPoolRecorder.java
Outdated
Show resolved
Hide resolved
...ve-pg-client/runtime/src/main/java/io/quarkus/reactive/pg/client/runtime/PgPoolRecorder.java
Outdated
Show resolved
Hide resolved
extensions/vertx-core/runtime/src/main/java/io/quarkus/vertx/core/runtime/SSLConfigHelper.java
Outdated
Show resolved
Hide resolved
@cescoffier I've pushed the required changes. @cescoffier @gsmet as I'm looking into adding the same capability to the reactive MySQL client, can I make all the changes in this PR? |
@cescoffier @gsmet I went ahead and implemented SSL support for both SQL clients. I have tested locally both Postgres and MySQL. |
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.
It looks good overall, I just have a minor gripe for the javadoc. Could you adjust?
...me/src/main/java/io/quarkus/reactive/datasource/runtime/DataSourceReactiveRuntimeConfig.java
Outdated
Show resolved
Hide resolved
The failure looks unrelated |
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.
LGTM, I just made a few comments.
extensions/vertx-core/runtime/src/main/java/io/quarkus/vertx/core/runtime/SSLConfigHelper.java
Show resolved
Hide resolved
@gsmet @cescoffier anything else needed in this PR? |
5030577
to
da52dea
Compare
@cescoffier @gsmet rebased on |
@cescoffier failures again that look unrelated |
50d2691
to
e9eadcc
Compare
@gsmet can we dismiss your review? His change was implemented and CI is green. |
Fixes quarkusio/quarkus-quickstarts#552, Fixes #6321