Ability for ConfigSourceProvider to use Config
See original GitHub issueIt would be nice if it was possible for ConfigSourceProvider
instances to read the current Config
of higher ordinal sources for use in defining it.
For instance, a config property in system or microprofile-config.properties
that specifies a list of directories that contain config elements, which a ConfigSourceProvider
can reference to retrieve. At present there’s no way to do this, meaning values need to be hard coded into the instance directly as to where something might be.
Might require a “piecemeal” construction of Config
so that each lower ordinal can take the Config
up to that point and use it
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:37 (35 by maintainers)
Top Results From Across the Web
Extending Configuration Support - Quarkus
ConfigSourceProvider . Each implementation requires registration via the ServiceLoader mechanism, either in META-INF/services/org.eclipse.microprofile.config.
Read more >ConfigSourceProvider (MicroProfile Config API) - javadoc.io
A provider for configuration source instances. Implementations of this interface may supply zero or more configuration source instances for a given ...
Read more >Custom - SmallRye Config
A custom ConfigSource requires an implementation of org.eclipse.microprofile.config.spi.ConfigSource or org.eclipse.microprofile.config.spi.ConfigSourceProvider ...
Read more >Chapter 3. Administer MicroProfile in JBoss EAP
Enable the microprofile-opentracing-smallrye subsystem using the following ... If you want to use a config-source-provider from the org.example module, ...
Read more >MicroProfile – Atbash blog
The ability to define configuration values for your application outside the deployment ... Since MicroProfile Config 3.0 is using the Jakarta namespace, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Implemented a feature in SmallRye Config to support this: https://github.com/smallrye/smallrye-config/pull/313
I understand. So, you think that both should different solutions? Ideally if we could find something that works for both it would be great, but yes, in CDI it might be tricky.