Details
-
Type:
Bug
-
Status: To Do
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.1 GA
-
Fix Version/s: None
-
Component/s: Configuration
-
Labels:None
-
Story Points:1
-
Rank (Obsolete):9223372036854775807
-
Acceptance Criteria:
Description
When setting an active property via SPRING_PROFILES_ACTIVE environment variable the profile set ContainerServerApplication or AdminServerApplication is ignored.
ConfigFileApplicationListener in spring boot has an if else in the load method which skips adding the additional properties added to the StandardEnvironment if the environment variable exists.
This could be a bug for Spring Boot, but I wasn't sure if the mutual exclusion was intentional. Additionally it would be nice to know when this feature is included in spring xd if it is a spring boot bug.