- 2.4에서 spring-cloud-config-client 설정
https://hongdori2.tistory.com/112
https://multifrontgarden.tistory.com/m/278
- git repository
https://velog.io/@yaincoding/%EC%95%A0%ED%94%8C%EB%A6%AC%EC%BC%80%EC%9D%B4%EC%85%98%EC%9D%98-%EA%B5%AC%EC%84%B1%EC%A0%95%EB%B3%B4-%EB%B6%84%EB%A6%AC-feat.-Spring-Cloud-Config
https://www.baeldung.com/spring-cloud-configuration
@RefreshScope
https://coding-start.tistory.com/m/122
https://elfinlas.github.io/2019/06/25/spring-config-refresh/
@RefreshScope 생성자 reload
https://a-half-human-half-developer.tistory.com/m/52
https://circlee7.medium.com/spring-cloud-config-%EC%A0%95%EB%A6%AC-1-%EB%B2%88%EC%99%B8-da81585400fa
- file system
https://wonit.tistory.com/m/502
- another method
https://www.baeldung.com/spring-reloading-properties
- external configuration files
-Dspring.profiles.active=local 옵션으로 실행
[application.yml]
spring:
config:
import:
- optional:classpath:common.yml
- optional:file:///C:/FOLDER_PATH/common-${spring.profiles.active}.yml