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

Expose system exclusions for configuration files

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Outdated
    • Neutral
    • None
    • None
    • configuration
    • None

    Description

      System directories are currently excluded from loading of config files and registration of the watch service, via a constant array of string patterns in YamlConfigurationSourceBuilder.

      YamlConfigurationSourceBuilder.java
      private static final List<String> SYSTEM_DIRECTORIES = Arrays.asList("META-INF", "WEB-INF", "cache", "docroot", "logs", "repositories*", "tmp");
      

      Besides META-INF and WEB-INF, the others are highly installation dependent.
      Therefore we should rather expose them through some mechanism (e.g. magnolia property).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mgeljic Mikaël Geljić
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD