Skip to content

Commit 92fea60

Browse files
authored
refactor: 패키지 구조 정리 (#246)
* refactor: package 이름 변경 - configure -> config * refactor: package 구조 변경 - 일부 패키지 global 이동 * refactor: test package 구조 변경 - 일부 패키지 global 이동 및 support 패키지 * refactor: package 구조 변경 * refactor: ExceptionMessage 도메인별 구분 * refactor: sonar qube 이슈 해결 * refactor: 불필요한 import 제거 * refactor: 불필요한 import 제거 * refactor: 불필요한 import 제거 * refactor: 불필요한 import 제거 * refactor: 불필요한 import 제거
1 parent 66f747f commit 92fea60

File tree

225 files changed

+629
-597
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

225 files changed

+629
-597
lines changed

src/main/java/com/somemore/auth/jwt/generator/JwtGenerator.java

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/main/java/com/somemore/auth/jwt/refresh/refresher/JwtRefresher.java

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/main/java/com/somemore/auth/jwt/validator/JwtValidator.java

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/main/java/com/somemore/center/controller/CenterProfileCommandApiController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package com.somemore.center.controller;
22

3-
import com.somemore.auth.annotation.CurrentUser;
3+
import com.somemore.global.auth.annotation.CurrentUser;
44
import com.somemore.center.dto.request.CenterProfileUpdateRequestDto;
55
import com.somemore.center.usecase.command.UpdateCenterProfileUseCase;
66
import com.somemore.global.common.response.ApiResponse;
7-
import com.somemore.imageupload.dto.ImageUploadRequestDto;
8-
import com.somemore.imageupload.usecase.ImageUploadUseCase;
7+
import com.somemore.global.imageupload.dto.ImageUploadRequestDto;
8+
import com.somemore.global.imageupload.usecase.ImageUploadUseCase;
99
import io.swagger.v3.oas.annotations.Operation;
1010
import io.swagger.v3.oas.annotations.tags.Tag;
1111
import jakarta.validation.Valid;

src/main/java/com/somemore/center/controller/CenterSignController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.somemore.center.controller;
22

3-
import com.somemore.auth.signout.usecase.SignOutUseCase;
3+
import com.somemore.global.auth.signout.usecase.SignOutUseCase;
44
import com.somemore.center.dto.request.CenterSignRequestDto;
55
import com.somemore.global.common.response.ApiResponse;
66
import io.swagger.v3.oas.annotations.tags.Tag;

src/main/java/com/somemore/center/controller/PreferItemCommandApiController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.somemore.center.controller;
22

3-
import com.somemore.auth.annotation.CurrentUser;
3+
import com.somemore.global.auth.annotation.CurrentUser;
44
import com.somemore.center.dto.request.PreferItemCreateRequestDto;
55
import com.somemore.center.dto.response.PreferItemCreateResponseDto;
66
import com.somemore.center.usecase.command.CreatePreferItemUseCase;

src/main/java/com/somemore/community/controller/CommunityBoardCommandApiController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
package com.somemore.community.controller;
22

3-
import com.somemore.auth.annotation.CurrentUser;
3+
import com.somemore.global.auth.annotation.CurrentUser;
44
import com.somemore.community.dto.request.CommunityBoardCreateRequestDto;
55
import com.somemore.community.dto.request.CommunityBoardUpdateRequestDto;
66
import com.somemore.community.usecase.board.CreateCommunityBoardUseCase;
77
import com.somemore.community.usecase.board.DeleteCommunityBoardUseCase;
88
import com.somemore.community.usecase.board.UpdateCommunityBoardUseCase;
99
import com.somemore.global.common.response.ApiResponse;
10-
import com.somemore.imageupload.dto.ImageUploadRequestDto;
11-
import com.somemore.imageupload.usecase.ImageUploadUseCase;
10+
import com.somemore.global.imageupload.dto.ImageUploadRequestDto;
11+
import com.somemore.global.imageupload.usecase.ImageUploadUseCase;
1212
import io.swagger.v3.oas.annotations.Operation;
1313
import io.swagger.v3.oas.annotations.tags.Tag;
1414
import jakarta.validation.Valid;

src/main/java/com/somemore/community/controller/CommunityCommentCommandApiController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.somemore.community.controller;
22

3-
import com.somemore.auth.annotation.CurrentUser;
3+
import com.somemore.global.auth.annotation.CurrentUser;
44
import com.somemore.community.dto.request.CommunityCommentCreateRequestDto;
55
import com.somemore.community.dto.request.CommunityCommentUpdateRequestDto;
66
import com.somemore.community.usecase.comment.CreateCommunityCommentUseCase;

src/main/java/com/somemore/develop/controller/TokenGenerateMachine.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package com.somemore.develop.controller;
22

3-
import com.somemore.auth.jwt.domain.EncodedToken;
4-
import com.somemore.auth.jwt.domain.TokenType;
5-
import com.somemore.auth.jwt.domain.UserRole;
6-
import com.somemore.auth.jwt.generator.JwtGenerator;
3+
import com.somemore.global.auth.jwt.domain.EncodedToken;
4+
import com.somemore.global.auth.jwt.domain.TokenType;
5+
import com.somemore.global.auth.jwt.domain.UserRole;
6+
import com.somemore.global.auth.jwt.generator.JwtGenerator;
77
import com.somemore.global.common.response.ApiResponse;
88
import lombok.RequiredArgsConstructor;
99
import org.springframework.web.bind.annotation.GetMapping;

src/main/java/com/somemore/auth/annotation/CurrentUser.java renamed to src/main/java/com/somemore/global/auth/annotation/CurrentUser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.somemore.auth.annotation;
1+
package com.somemore.global.auth.annotation;
22

33
import java.lang.annotation.ElementType;
44
import java.lang.annotation.Retention;

0 commit comments

Comments
 (0)