-
Notifications
You must be signed in to change notification settings - Fork 18
Support client certificate refresh from certificate service #1164
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
Conversation
❌ Oracle Cloud CI 17 latest failed: https://ge.micronaut.io/s/eyg3j26x2vgvg |
❌ Oracle Cloud CI 17 latest failed: https://ge.micronaut.io/s/q42vyonlhjff6 |
❌ Oracle Cloud CI 17 latest failed: https://ge.micronaut.io/s/vip5g34eg42wq |
❌ Oracle Cloud CI 17 latest failed: https://ge.micronaut.io/s/k3q7yhmbbqpck |
❌ Oracle Cloud CI 17 latest failed: https://ge.micronaut.io/s/z7fzicdup5t5w |
❌ Oracle Cloud CI 17 latest failed: |
1 similar comment
❌ Oracle Cloud CI 17 latest failed: |
buildSrc/src/main/groovy/io.micronaut.build.internal.oraclecloud-base.gradle
Outdated
Show resolved
Hide resolved
buildSrc/src/main/groovy/io.micronaut.build.internal.ocisdk-metadata-module.gradle
Outdated
Show resolved
Hide resolved
oraclecloud-certificates/src/main/java/io/micronaut/http/ssl/OracleCloudCertificateFetcher.java
Outdated
Show resolved
Hide resolved
oraclecloud-certificates/src/main/java/io/micronaut/http/ssl/OracleCloudCertificateFetcher.java
Outdated
Show resolved
Hide resolved
oraclecloud-certificates/src/main/java/io/micronaut/http/ssl/OracleCloudCertificateFetcher.java
Outdated
Show resolved
Hide resolved
.../src/main/java/io/micronaut/oraclecloud/certificates/ssl/OracleCloudCertificateProvider.java
Outdated
Show resolved
Hide resolved
.../main/java/io/micronaut/oraclecloud/certificates/services/OracleCloudCertificateFetcher.java
Outdated
Show resolved
Hide resolved
oraclecloud-certificates/src/main/java/io/micronaut/http/ssl/OracleCloudCertificateFetcher.java
Outdated
Show resolved
Hide resolved
oraclecloud-certificates/src/main/java/io/micronaut/http/ssl/OracleCloudCertificateFetcher.java
Outdated
Show resolved
Hide resolved
oraclecloud-certificates/src/main/java/io/micronaut/http/ssl/OracleCloudCertificateFetcher.java
Outdated
Show resolved
Hide resolved
…racleCloudCertificateFetcher.java Co-authored-by: Jonas Konrad <[email protected]>
@NonNull String certificateId, | ||
@Nullable Long versionNumber, | ||
@Nullable String certificateVersionName, | ||
@Nullable Boolean enabled |
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.
I think you can use bindable to give a default instead of making this nullable
...n/java/io/micronaut/oraclecloud/certificates/config/OracleCloudCertificateConfiguration.java
Outdated
Show resolved
Hide resolved
...main/java/io/micronaut/oraclecloud/certificates/config/OracleCloudCertificateProperties.java
Outdated
Show resolved
Hide resolved
@Requires(classes = {Certificates.class}) | ||
@Requires(beans = {Certificates.class}) | ||
@Requires(property = OracleCloudCertificationsConfiguration.PREFIX + ".enabled", value = "true") | ||
@Internal |
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.
breaking change?
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.
@graemerocher WDYT
...s/src/main/java/io/micronaut/oraclecloud/certificates/ssl/OracleCloudCertificateFactory.java
Outdated
Show resolved
Hide resolved
.../src/main/java/io/micronaut/oraclecloud/certificates/ssl/OracleCloudCertificateProvider.java
Outdated
Show resolved
Hide resolved
❌ Oracle Cloud CI 17 latest failed: |
❌ Oracle Cloud CI 17 latest failed: |
...in/java/io/micronaut/oraclecloud/certificates/config/CertificateClientContextConfigurer.java
Outdated
Show resolved
Hide resolved
...n/java/io/micronaut/oraclecloud/certificates/config/OracleCloudCertificateConfiguration.java
Outdated
Show resolved
Hide resolved
.../main/java/io/micronaut/oraclecloud/certificates/OracleCloudCertificationsConfiguration.java
Outdated
Show resolved
Hide resolved
❌ Oracle Cloud CI 17 latest failed: |
public void configure(ApplicationContextBuilder builder) { | ||
System.setProperty(Environment.BOOTSTRAP_CONTEXT_PROPERTY, StringUtils.TRUE); | ||
builder.properties(Map.of( | ||
"oci.clients.certificates.ssl.enabled", "true" |
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.
this is the default, right? So why is this needed? Does it somehow prevent loading the default micronaut.http.client.ssl.key-name
?
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.
Yes it does I added it in the doc it creates a specific config that will be used only by Certificate client
|
No description provided.