Skip to content
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

Support Hocon/Json Configuration Source for MP #4347

Merged
merged 3 commits into from
Jun 8, 2022

Conversation

klustria
Copy link
Member

@klustria klustria commented Jun 7, 2022

Forward-port of 2.x PR: #4218

  1. Meta-config is refactored to allow it to be customizable by users for other types.
  2. Hocon/Json is parsed as a config source only via meta-config.
  • Create hocon includer per instance of hocon config source and add justification comment for security bug filtering

  • Remove support of application.conf/json hocon/json as default discoverable sources

  • Initial commit for Mp config-source provider implementation

  • Add MP meta-config provider test for Environment Variables

  • Add Yaml MP meta-config provider tests and various resolution to review feedback

  • Add helidon-config-yaml-mp as a dependency of helidon-microprofile-cdi

  • Declare "uses io.helidon.config.mp.spi.MpMetaConfigProvider" in config-mp’s module-info and set priority of all implementations of MpMetaConfigProvider to 300

  • Various updates/cleanups from review feedback

  • Add helidon-config-yaml dependency to metrics examples after they were failing because of dependency on yaml-mp

klustria added 2 commits June 7, 2022 15:27
* Support Hocon/Json Configuration Source for MP

1. Meta-config is refactored to allow it to be customizable by users for other types.
2. Hocon/Json is parsed as a config source only via meta-config.

* Create hocon includer per instance of hocon config source and add justification comment for security bug filtering

* Remove support of application.conf/json hocon/json as default discoverable sources

* Initial commit for Mp config-source provider implementation

* Add MP meta-config provider test for Environment Variables

* Add Yaml MP meta-config provider tests and various resolution to review feedback

* Add helidon-config-yaml-mp as a dependency of helidon-microprofile-cdi

* Declare "uses io.helidon.config.mp.spi.MpMetaConfigProvider" in config-mp’s module-info and set priority of all implementations of MpMetaConfigProvider to 300

* Various updates/cleanups from review feedback

* Add helidon-config-yaml dependency to metrics examples after they were failing because of dependency on yaml-mp
@klustria klustria requested a review from tomas-langer June 8, 2022 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants