Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20358

camel-microprofile-config: CamelMicroProfilePropertiesSource should consider active profiles when loading properties

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.4.0
    • None
    • Unknown

    Description

      CamelMicroProfilePropertiesSource loadProperties() gets the names of all available config properties and proceeds to try and resolve their values.

      There are some edge cases where if properties are prefixed with a profile qualifier (E.g %foo.some.property) , and that specific config profile is not active, then there can potentially be issues trying to resolve the config value.

      So it would probably be safer to filter out profile specific config if the relevant profile is not activated.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jamesnetherton James Netherton
            jamesnetherton James Netherton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment