-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
TE 3
-
2
Code that relies on system properties or environment variables can be hard to test (See e.g. info.magnolia.init.DefaultMagnoliaPropertiesResolver). To simplify such test setups I suggest that we introduce a component providing the values of system properties and environment variables to its users. While the default implementation just relays back to System.getenv() and System.getProperty(), test could inject their own implementations.
Acceptance criteria
- split from
-
MAGNOLIA-7781 Follow-up - Improve profile and magnolia.properties handling in cloud bundle
- Closed
- to be documented by
-
MAGNOLIA-7821 DOC: Environment variable for profile-based configuration
- Closed