Skip to content

Commit 799d26c

Browse files
committed
refactor: package 구조 변경
1 parent 1323f44 commit 799d26c

19 files changed

+38
-36
lines changed

src/main/java/com/somemore/global/develop/controller/TokenGenerateMachine.java renamed to src/main/java/com/somemore/develop/controller/TokenGenerateMachine.java

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

33
import com.somemore.global.auth.jwt.domain.EncodedToken;
44
import com.somemore.global.auth.jwt.domain.TokenType;

src/main/java/com/somemore/notification/event/converter/NotificationMessageConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import com.fasterxml.jackson.databind.JsonNode;
55
import com.fasterxml.jackson.databind.ObjectMapper;
66
import com.somemore.community.event.CommentAddedEvent;
7-
import com.somemore.facade.event.VolunteerReviewRequestEvent;
7+
import com.somemore.volunteerapply.event.VolunteerReviewRequestEvent;
88
import com.somemore.interestcenter.event.domain.InterestCenterCreateRecruitBoardEvent;
99
import com.somemore.notification.domain.Notification;
1010
import com.somemore.notification.domain.NotificationSubType;

src/main/java/com/somemore/volunteer/service/VolunteerQueryService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import static com.somemore.global.exception.ExceptionMessage.NOT_EXISTS_VOLUNTEER;
44

5-
import com.somemore.facade.validator.VolunteerDetailAccessValidator;
65
import com.somemore.global.exception.BadRequestException;
76
import com.somemore.volunteer.domain.Volunteer;
87
import com.somemore.volunteer.domain.VolunteerDetail;
@@ -13,6 +12,7 @@
1312
import com.somemore.volunteer.repository.mapper.VolunteerOverviewForRankingByHours;
1413
import com.somemore.volunteer.repository.mapper.VolunteerSimpleInfo;
1514
import com.somemore.volunteer.usecase.VolunteerQueryUseCase;
15+
import com.somemore.volunteer.validator.VolunteerDetailAccessValidator;
1616
import java.util.List;
1717
import java.util.UUID;
1818
import lombok.RequiredArgsConstructor;

src/main/java/com/somemore/facade/validator/VolunteerDetailAccessValidator.java renamed to src/main/java/com/somemore/volunteer/validator/VolunteerDetailAccessValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.somemore.facade.validator;
1+
package com.somemore.volunteer.validator;
22

33
import java.util.UUID;
44

src/main/java/com/somemore/facade/validator/VolunteerDetailAccessValidatorImpl.java renamed to src/main/java/com/somemore/volunteer/validator/VolunteerDetailAccessValidatorImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.somemore.facade.validator;
1+
package com.somemore.volunteer.validator;
22

33
import com.somemore.global.exception.BadRequestException;
44
import com.somemore.recruitboard.usecase.query.RecruitBoardQueryUseCase;
@@ -34,4 +34,4 @@ public void validateByCenterId(UUID centerId, UUID targetVolunteerId) {
3434

3535
throw new BadRequestException(UNAUTHORIZED_VOLUNTEER_DETAIL);
3636
}
37-
}
37+
}

src/main/java/com/somemore/volunteerapply/controller/CenterVolunteerApplyCommandApiController.java

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

33
import com.somemore.global.auth.annotation.CurrentUser;
4-
import com.somemore.facade.volunteerapply.SettleVolunteerApplyFacadeUseCase;
4+
import com.somemore.volunteerapply.usecase.SettleVolunteerApplyFacadeUseCase;
55
import com.somemore.global.common.response.ApiResponse;
66
import com.somemore.volunteerapply.dto.request.VolunteerApplySettleRequestDto;
77
import com.somemore.volunteerapply.usecase.ApproveVolunteerApplyUseCase;

src/main/java/com/somemore/volunteerapply/controller/VolunteerApplyQueryApiController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import static org.springframework.data.domain.Sort.Direction.DESC;
44

55
import com.somemore.global.auth.annotation.CurrentUser;
6-
import com.somemore.facade.volunteerapply.VolunteerApplyQueryFacadeUseCase;
6+
import com.somemore.volunteerapply.usecase.VolunteerApplyQueryFacadeUseCase;
77
import com.somemore.global.common.response.ApiResponse;
88
import com.somemore.global.exception.BadRequestException;
99
import com.somemore.volunteerapply.domain.ApplyStatus;

src/main/java/com/somemore/facade/event/VolunteerReviewRequestEvent.java renamed to src/main/java/com/somemore/volunteerapply/event/VolunteerReviewRequestEvent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.somemore.facade.event;
1+
package com.somemore.volunteerapply.event;
22

33
import com.fasterxml.jackson.annotation.JsonCreator;
44
import com.fasterxml.jackson.annotation.JsonProperty;

src/main/java/com/somemore/facade/volunteerapply/SettleVolunteerApplyFacadeService.java renamed to src/main/java/com/somemore/volunteerapply/service/SettleVolunteerApplyFacadeService.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package com.somemore.facade.volunteerapply;
1+
package com.somemore.volunteerapply.service;
22

33
import static com.somemore.global.exception.ExceptionMessage.RECRUIT_BOARD_ID_MISMATCH;
44
import static com.somemore.global.exception.ExceptionMessage.UNAUTHORIZED_RECRUIT_BOARD;
55
import static com.somemore.global.exception.ExceptionMessage.VOLUNTEER_APPLY_LIST_MISMATCH;
66

7-
import com.somemore.facade.event.VolunteerReviewRequestEvent;
7+
import com.somemore.volunteerapply.event.VolunteerReviewRequestEvent;
88
import com.somemore.global.common.event.ServerEventPublisher;
99
import com.somemore.global.common.event.ServerEventType;
1010
import com.somemore.global.exception.BadRequestException;
@@ -14,6 +14,7 @@
1414
import com.somemore.volunteer.usecase.UpdateVolunteerUseCase;
1515
import com.somemore.volunteerapply.domain.VolunteerApply;
1616
import com.somemore.volunteerapply.dto.request.VolunteerApplySettleRequestDto;
17+
import com.somemore.volunteerapply.usecase.SettleVolunteerApplyFacadeUseCase;
1718
import com.somemore.volunteerapply.usecase.VolunteerApplyQueryUseCase;
1819
import java.util.List;
1920
import java.util.UUID;

src/main/java/com/somemore/facade/volunteerapply/VolunteerApplyQueryFacadeService.java renamed to src/main/java/com/somemore/volunteerapply/service/VolunteerApplyQueryFacadeService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.somemore.facade.volunteerapply;
1+
package com.somemore.volunteerapply.service;
22

33
import static com.somemore.global.exception.ExceptionMessage.UNAUTHORIZED_RECRUIT_BOARD;
44

@@ -11,6 +11,7 @@
1111
import com.somemore.volunteerapply.dto.condition.VolunteerApplySearchCondition;
1212
import com.somemore.volunteerapply.dto.response.VolunteerApplyRecruitInfoResponseDto;
1313
import com.somemore.volunteerapply.dto.response.VolunteerApplyVolunteerInfoResponseDto;
14+
import com.somemore.volunteerapply.usecase.VolunteerApplyQueryFacadeUseCase;
1415
import com.somemore.volunteerapply.usecase.VolunteerApplyQueryUseCase;
1516
import java.util.List;
1617
import java.util.Map;

0 commit comments

Comments
 (0)