Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20318

Provide a configuration source builder

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 14.9
    • Configuration
    • None
    • Unknown

    Description

      Current, developers that want to define a configuration source can either:

      • Implement a component for org.xwiki.configuration.ConfigurationSource
      • Inherits from the internal abstract classes from xwiki-platform-configuration-default with is not a good practice

      We should provide a configuration source builder allowing developers to configure a chain of configuration (indicate the class where you want to store it, the levels you want, etc.) and generate ConfigurationSource for you to use. You would call the builder in your typed MyConfiguration component #initialize()

      Also this should allow to define some configuration that should never be overridden in subwikis.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: