[MAGNOLIA-7821] DOC: Environment variable for profile-based configuration Created: 05/Jun/20 Updated: 19/Aug/20 Resolved: 19/Aug/20 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 6.2.2 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Ashraf Khamis | Assignee: | Ashraf Khamis |
| Resolution: | Done | Votes: | 0 |
| Labels: | configuration | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||
| Epic Link: | Product improvements for Cloud project features | ||||||||||||||||||||||||||||
| Sprint: | TE 8, TE 9 | ||||||||||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||||||||||
| Description |
|
There is a new environment variable (MAGNOLIA_PROFILE) that enables a profile-based configuration style when set ( There is also the new EnvironmentPropertySource, which exposes environment variables such as SystemPropertySource. To simplify test setups, both EnvironmentPropertySource and SystemPropertySource have been made injectable ( The previous configuration style, which was based on server name and app name, is now deprecated. It will be removed at some point in the future, and the profile-based configuration will be made the default style (MAGNOLIA-7811). |
| Comments |
| Comment by Ashraf Khamis [ 19/Aug/20 ] |
|
Added MAGNOLIA_PROFILE and profile-based configuration of property files to the following pages:
Reviewed by Michael. |