Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-9219

Provide MicroProfile ConfigSources for webapp WEB-INF resources

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0
    • None
    • None
    • 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/

      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

              ajuran Antonín Juran
              mgeljic Mikaël Geljić
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started: