260421_03_ENH: 전체적으로 정리2
This commit is contained in:
19
README.md
19
README.md
@@ -315,25 +315,6 @@ kri:
|
||||
|
||||
---
|
||||
|
||||
## Migration Guide
|
||||
|
||||
- `kri.webmvc.enabled` 설정은 제거하고 `kri.web.enabled`만 사용합니다.
|
||||
- `kri.webmvc.ip.*` 설정은 제거하고 Swagger IP 제어는 `kri.swagger.allowed-ips`만 사용합니다.
|
||||
- 프록시 환경에서는 API Key admin API와 Swagger가 모두 `IpUtil` 기준으로 클라이언트 IP를 해석합니다. `kri.auth.apikey.admin-allow-ips` 값을 다시 확인하세요.
|
||||
- 내부 클래스를 직접 import하고 있었다면 아래처럼 경로를 변경해야 합니다.
|
||||
- `com.kri.common.runtime.webmvc.CodeEnumConverter` -> `com.kri.common.runtime.web.CodeEnumConverter`
|
||||
- `com.kri.common.runtime.webmvc.IpUtil` -> `com.kri.common.runtime.web.IpUtil`
|
||||
- `com.kri.common.runtime.webmvc.RequestUserContextArgumentResolver` -> `com.kri.common.runtime.web.RequestUserContextArgumentResolver`
|
||||
- 아래 클래스와 설정 객체는 제거되었습니다.
|
||||
- `com.kri.common.autoconfigure.webmvc.KriWebMvcAutoConfiguration`
|
||||
- `com.kri.common.autoconfigure.webmvc.KriIpAccessProperties`
|
||||
- `com.kri.common.runtime.web.IpAccessControlInterceptor`
|
||||
- `com.kri.common.runtime.web.IpAccessControlService`
|
||||
- `com.kri.common.runtime.web.MdcHandlerConfig`
|
||||
- Swagger 문서의 인증 표시는 `BearerAuth`와 `ApiKeyAuth`를 동시에 요구하지 않고, 둘 중 하나로 인증 가능한 형태로 바뀌었습니다.
|
||||
|
||||
---
|
||||
|
||||
## AutoConfiguration 목록
|
||||
|
||||
`src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports`
|
||||
|
||||
@@ -4,7 +4,7 @@ plugins {
|
||||
}
|
||||
|
||||
//버전 변경은 여기서
|
||||
def commonVer = "beta.1.1.17"
|
||||
def commonVer = "beta.1.1.18"
|
||||
|
||||
group = 'com.kri.common'
|
||||
version = commonVer
|
||||
|
||||
@@ -38,7 +38,10 @@ public class ApiKeyProperties {
|
||||
/**
|
||||
* 내부 관리 API 접근 허용 IP(CIDR)
|
||||
*/
|
||||
private List<String> adminAllowIps = List.of("127.0.0.1/32");
|
||||
private List<String> adminAllowIps = List.of(
|
||||
"127.0.0.1/32",
|
||||
"0:0:0:0:0:0:0:1"
|
||||
);
|
||||
|
||||
/**
|
||||
* apikey 전용 DB 설정(기본값 포함)
|
||||
|
||||
Reference in New Issue
Block a user