문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
springframework:springboot:properties [2021/09/28 10:15] kwon37xi |
springframework:springboot:properties [2024/03/04 16:27] (현재) kwon37xi |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== SpringBoot Properties ====== | ====== SpringBoot Properties ====== | ||
* [[springframework: | * [[springframework: | ||
+ | * [[springframework: | ||
* 보통 '' | * 보통 '' | ||
* '' | * '' | ||
줄 9: | 줄 10: | ||
===== 기본값 설정 ===== | ===== 기본값 설정 ===== | ||
* 이미 지정된 property 이면, 해당 값을 사용하고, | * 이미 지정된 property 이면, 해당 값을 사용하고, | ||
+ | * '' | ||
<code yml> | <code yml> | ||
testing: | testing: | ||
my: | my: | ||
- | username: ${USERNAME:user} | + | username: ${external.username:system} |
- | password: ${PASSWORD:test} | + | password: ${external.password:test} |
</ | </ | ||
* [[https:// | * [[https:// | ||
줄 21: | 줄 22: | ||
testing: | testing: | ||
my: | my: | ||
- | username: ${USERNAME:user} | + | username: ${external.username:user} |
- | password: ${PASSWORD:#{' test' | + | password: ${external.password:#{' test' |
</ | </ | ||
<code java> | <code java> | ||
줄 230: | 줄 231: | ||
com.baeldung.environmentpostprocessor.PriceCalculationEnvironmentPostProcessor | com.baeldung.environmentpostprocessor.PriceCalculationEnvironmentPostProcessor | ||
</ | </ | ||
+ | |||
+ | ===== YAML Duration ===== | ||
+ | * Spring Boot 2.1 부터 [[https:// | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
===== 참고 ===== | ===== 참고 ===== |