-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
-
Yes
-
Yes
-
Yes
so that we can ship reasonable default with the new MP approach within webapps, while MP allows customers to override config easily from external sources.
- WEB-INF should be able to override META-INF from modules (100)
- external files via smallrye.config.locations should override WEB-INF (at least)
- external locations sources use the same ordinal of the source that found the smallrye.config.locations configuration property. For instance, if smallrye.config.locations is set as a system property, then all loaded sources have their ordinals set to 400 (system properties use 400 as their ordinal).
https://smallrye.io/smallrye-config/3.5.4/config-sources/locations/
- external locations sources use the same ordinal of the source that found the smallrye.config.locations configuration property. For instance, if smallrye.config.locations is set as a system property, then all loaded sources have their ordinals set to 400 (system properties use 400 as their ordinal).
by default SmallRye looks into jar files under META-INF/microprofile-config.properties
see smallrye docs for how to add configuration sources
smallrye.io/smallrye-config/Main/config/getting-started/
Acceptance criteria
- clones
-
MGNLCE-381 Provide a default MicroProfile config in empty-webapp
- Closed
- is depended upon by
-
PUBLISHING-318 Remove default receiver config from module's MicroProfile Config
- Closed