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

Allow PropertyInitializer to also use system and environment properties.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 4.5
    • 4.3.8, 4.4.1
    • core
    • None
    • Yes

    Description

      Another strange system architecture required another patch to the property initializer. This time the problem is that all the instances in the cluster must be exactly the same, without the possibility to use a context param just like I did in the other patch. So this time I propose to add also the possibility to use system properties to get the configuration files correctly.
      System properties are resolved correctly inside the property file, but they can't be used (at the moment) to resolve the property file itself. The attached patch takes care of the job (it's really minimal).

      I know that the entire property initializer should be refactored, even if the patch is not accepted I'd just like to write another real life scenario that should be included in the refactoring...

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                gjoseph Magnolia International
                dfghi Danilo Ghirardelli
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD