-
Notifications
You must be signed in to change notification settings - Fork 565
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
[4.x] OciExtension refinements #7563
Conversation
...ions/oci/sdk/runtime/src/main/java/io/helidon/integrations/oci/sdk/runtime/OciExtension.java
Outdated
Show resolved
Hide resolved
* @see #configSupplier() | ||
*/ | ||
public static void fallbackConfigSupplier(Supplier<io.helidon.common.config.Config> configSupplier) { | ||
fallbackConfigSupplier = configSupplier; |
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.
fallbackConfigSupplier = Objects.requireNonNull(configSupplier, "configSupplier")
? (And @exception NullPointerException if {@code configSupplier} is {@code null}
.)
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.
pushed
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.
From code point of view looks good
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 like fallbackConfigSupplier
will let me give you what you need from MicroProfile Config-land, so approved per request!
Fix for #7562.
This change, in conjunction with the upcoming work in #7373 will make oci auth integration backwards compatible with 3.x behavior.