Added simple test for multidocument properties file
This commit is contained in:
@@ -2,4 +2,14 @@ management.endpoints.web.exposure.include=refresh
|
||||
spring.properties.refreshDelay=1000
|
||||
spring.config.location=file:extra.properties
|
||||
spring.main.allow-bean-definition-overriding=true
|
||||
baeldung.customProperty=valueDefault
|
||||
#---
|
||||
spring.config.activate.on-profile=dev
|
||||
baeldung.customProperty=valueDev
|
||||
#---
|
||||
spring.config.activate.on-profile=test
|
||||
baeldung.customProperty=valueTest
|
||||
#---
|
||||
spring.config.activate.on-profile=prod
|
||||
baeldung.customProperty=valueProd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user