Skip to content

repro issue with Spring Boot multi-doc profiled YAML file

Notifications You must be signed in to change notification settings

shakuzen/demo-compound-profile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduces an issue in ordering of active profiles and multi-document profile-scoped YAML files.

Given a file like application-dev.yml

---
spring:
  profiles: cloud

my.prop: hi

The property my.prop will not be loaded if the active profiles are in the order cloud,dev instead of dev,cloud.

The sole test class in this project demonstrates this.

About

repro issue with Spring Boot multi-doc profiled YAML file

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published