-
Notifications
You must be signed in to change notification settings - Fork 566
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
Config for Helidon 2.0 #1102
Config for Helidon 2.0 #1102
Conversation
config/config/src/main/java/io/helidon/config/MetaConfigFinder.java
Outdated
Show resolved
Hide resolved
config/config/src/main/java/io/helidon/config/internal/UrlOverrideSource.java
Outdated
Show resolved
Hide resolved
Also resolves #1113 |
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Checkstyle and copyright fixes. Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Should be done as a separate change. Fixed examples to work with new API Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Use constants for strings. Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
461e3db
to
fdfb94d
Compare
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.
Joe asked me to look at metrics-related changes in the PR. I found three such files (all metrics tests), and those changes LGTM.
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've left some comments but probably this should just go in so we can see how it goes in practice.
Resolves #1101
Meta configuration now based on Java service loader
ConfigSourceProvider
- creates an instance of a config source based on a type (name -such asfile
) and meta configurationPollingStrategyProvider
- creates an instance of a polling strategy function based on a type and meta configuration (the function gets the target type instance and provides a polling strategy, where target type may bePath
and instance a specific file on a files system)RetryPolicyProvider
- creates an instance of a retry policy based on type and meta configurationThe
MetaConfig
class is responsible for locating meta configuration, creating config sources, retry policies and polling strategies from metaconfiguration