일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- 프로그래머스
- 자바
- HttpRequestMethodNotSupportedException
- 1260
- amazon-ecr-login
- github actions
- 14891
- Spring
- self-hosted runners
- Session Registry
- 백준
- Session Fixation Protection
- Java
- ConcurrentSessionControlAuthenticationStrategy
- AWS
- 14889
- aws-mysql-jdbc
- openTelemetry
- github
- tailsamplingprocessor
- Spring Authorization Server
- RequiredArgsConstructor
- 17144
- Spring Security
- RestControllerAdvice
- Value annotation
- 12100
- SpringCloudConfig
- 15686
- 1916
Archives
- Today
- Total
목록SpringCloudConfig (1)
한울이

회사에서 spring cloud conifg를 사용하면서 있었던 일 개발환경은 properties를 설정파일을 외부로 분리하고 Spring Cloud Config를 사용하여 읽어오도록 되어있다. local에서 개발환경으로 프로젝트를 띄우기 위해 profile을 dev로 설정하고 Spring Cloud Config을 사용하여 개발환경 properties를 읽어왔다. 그리고 몇가지 properties를 local에 맞게 override를 하려고 환경변수에 추가했는데 override되지 않고 계속 Spring Cloud Config를 사용하여 읽어온 값으로 설정되었다. (사진의 값들은 예시) 그래서 찾아본 결과 remote properties는 따로 설정을 하지 않으면 override가 되지 않는다고 한다. ..
PROGRAMMING
2022. 8. 21. 19:39