Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6059

Context-Aware Config: Make resource inheritance for configuration collections configurable

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

Details

    Description

      currently and automatic merging/combining of configuration resource items takes place. example:

      /conf/site1/feature/a
      /conf/site1/feature/c
      /conf/global/feature/b
      /libs/conf/feature/c
      

      this returns a,b,c when config resource collection for "feature" is requested. c is from /conf/site1/feature/c and not from /libs/conf/feature/c.

      this is inconsistent to the support for properties (where currently no such "merging" is supported), and can have undesired effects.

      furthermore it is problematic when saving configuration collections via the ConfigurationManager interface (SLING-6026). when storing a set of config resources for /conf/site1 they are stored as children of /conf/site1/feature. but when reading them again they are automatically merged with the others from the fallback paths, and the user has no possibility to prevent this.

      so we should either disable this merging on paths, or implement it correctly with giving the user control when merging should take place or not (confmgr has a special property for this).

      Attachments

        Issue Links

        Activity

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

          People

            sseifert Stefan Seifert
            sseifert Stefan Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment