-
Notifications
You must be signed in to change notification settings - Fork 1
refactor: global 패키지 정리 #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
global 패키지 구조를 정리하고(전역 레이어 vs 외부 시스템), 관련 클래스들의 패키지 선언/참조(import)를 일괄 정리하는 리팩터링 PR입니다.
Changes:
- S3/CDN 설정 및 Properties를
infra.storage하위로 이동(패키지 선언 정합성 확보) - OAuth 제공자 구현체를
infra.oauth로 분리하고, 공통 계약/핸들러는global.auth.oauth로 정리 - 인증 관련 컴포넌트를
global.auth.jwt/global.auth.web로 재구성하고 참조 경로 갱신
Reviewed changes
Copilot reviewed 25 out of 25 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/main/java/gg/agit/konect/infra/storage/s3/S3StorageProperties.java | S3 설정 Properties 패키지 선언을 infra.storage.s3로 정리 |
| src/main/java/gg/agit/konect/infra/storage/s3/S3ClientConfig.java | S3 클라이언트 설정 클래스 패키지 선언을 infra.storage.s3로 정리 |
| src/main/java/gg/agit/konect/infra/storage/cdn/StorageCdnProperties.java | CDN 설정 Properties 패키지 선언을 infra.storage.cdn로 정리 |
| src/main/java/gg/agit/konect/infra/oauth/NaverOAuthServiceImpl.java | Naver OAuth 구현체를 infra.oauth로 이동 및 공통 인터페이스 import 정리 |
| src/main/java/gg/agit/konect/infra/oauth/KakaoOAuthServiceImpl.java | Kakao OAuth 구현체를 infra.oauth로 이동 및 공통 인터페이스 import 정리 |
| src/main/java/gg/agit/konect/infra/oauth/GoogleOAuthServiceImpl.java | Google OAuth 구현체를 infra.oauth로 이동 및 공통 인터페이스 import 정리 |
| src/main/java/gg/agit/konect/infra/oauth/CustomRequestEntityConverter.java | Apple 토큰 요청 변환기 패키지 선언을 infra.oauth로 정리 |
| src/main/java/gg/agit/konect/infra/oauth/AppleOAuthServiceImpl.java | Apple OAuth(OIDC) 구현체 패키지 선언을 infra.oauth로 정리 |
| src/main/java/gg/agit/konect/infra/oauth/AppleOAuthProperties.java | Apple OAuth 설정 Properties 패키지 선언을 infra.oauth로 정리 |
| src/main/java/gg/agit/konect/infra/oauth/AppleClientSecretProvider.java | Apple client secret 제공자 패키지 선언을 infra.oauth로 정리 |
| src/main/java/gg/agit/konect/global/config/WebConfig.java | 인터셉터/리졸버 import 경로를 global.auth.web로 갱신 |
| src/main/java/gg/agit/konect/global/config/SecurityConfig.java | OAuth 관련 import를 global.auth.oauth 및 infra.oauth로 재정리 |
| src/main/java/gg/agit/konect/global/auth/web/NativeSessionController.java | 컨트롤러 패키지 경로를 global.auth.web로 정리 |
| src/main/java/gg/agit/konect/global/auth/web/LoginUserArgumentResolver.java | ArgumentResolver 패키지 경로를 global.auth.web로 정리 |
| src/main/java/gg/agit/konect/global/auth/web/LoginCheckInterceptor.java | 인터셉터 패키지 경로를 global.auth.web로 정리 및 JwtProvider import 갱신 |
| src/main/java/gg/agit/konect/global/auth/web/AuthorizationInterceptor.java | 인터셉터 패키지 경로를 global.auth.web로 정리 |
| src/main/java/gg/agit/konect/global/auth/web/AuthCookieService.java | 쿠키 유틸 패키지 경로를 global.auth.web로 정리 |
| src/main/java/gg/agit/konect/global/auth/oauth/OAuth2RedirectUriSaveFilter.java | OAuth2 필터 패키지 선언을 global.auth.oauth로 정리 |
| src/main/java/gg/agit/konect/global/auth/oauth/OAuth2LoginSuccessHandler.java | OAuth2 성공 핸들러 패키지 선언을 global.auth.oauth로 정리 및 의존 import 갱신 |
| src/main/java/gg/agit/konect/global/auth/oauth/NativeSessionBridgeService.java | 네이티브 세션 브릿지 서비스 패키지 선언을 global.auth.oauth로 정리 |
| src/main/java/gg/agit/konect/global/auth/jwt/JwtProvider.java | JWT 관련 클래스를 global.auth.jwt 하위로 정리 |
| src/main/java/gg/agit/konect/global/auth/jwt/JwtProperties.java | JWT Properties 패키지 선언을 global.auth.jwt로 정리 |
| src/main/java/gg/agit/konect/global/auth/jwt/AccessTokenBlacklistService.java | AccessToken blacklist 서비스 패키지 선언을 global.auth.jwt로 정리 |
| src/main/java/gg/agit/konect/domain/user/controller/UserController.java | JWT/쿠키 서비스 import 경로를 신규 패키지로 갱신 |
| src/main/java/gg/agit/konect/domain/upload/service/UploadService.java | S3/CDN Properties import 경로를 infra.storage로 갱신 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔍 개요
🚀 주요 변경 내용
💬 참고 사항
✅ Checklist (완료 조건)