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

Expose system exclusions for configuration files

XMLWordPrintable

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

      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).

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: