From 4d83aac0ed303a43b2914abd57128baefff61fcd Mon Sep 17 00:00:00 2001 From: hectick Date: Thu, 23 Nov 2023 16:06:22 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=ED=8C=A8=ED=82=A4=EC=A7=80=20=EC=9D=B4=EB=8F=99=20=EB=B0=8F=20?= =?UTF-8?q?=ED=8C=A8=ED=82=A4=EC=A7=80=EB=AA=85=20=EC=A0=9C=EB=8C=80?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/ConsumptionService.java | 2 +- .../MemberConsumptionServiceImpl.java | 6 +-- .../consumption/ui/ConsumptionController.java | 4 +- .../comment/application/CommentService.java | 6 +-- .../content/comment/domain/Comment.java | 2 +- .../content/comment/ui/CommentController.java | 4 +- .../post/application/MyPostService.java | 2 +- .../post/application/PostReadService.java | 6 +-- .../content/post/application/PostService.java | 6 +-- .../post/application/PostThumbsService.java | 2 +- .../response/SpecificPostInfoResponse.java | 2 +- .../backend/content/post/domain/Post.java | 2 +- .../content/post/ui/MyPostController.java | 4 +- .../content/post/ui/PostController.java | 4 +- .../content/post/ui/PostReadController.java | 4 +- .../application/PostThumbsServiceImpl.java | 4 +- .../thumbs/application/ThumbsService.java | 6 +-- .../backend/content/thumbs/domain/Thumbs.java | 2 +- .../content/thumbs/ui/ThumbsController.java | 4 +- .../auth/application/dto/LogoutRequest.java | 4 -- .../application/event/JoinMemberEvent.java | 6 --- .../auth/application/event/LoginEvent.java | 6 --- .../auth/application/event/LogoutEvent.java | 4 -- .../dto/response/MemberUpdateResponse.java | 5 --- .../application/dto/SettingRequest.java | 5 --- .../auth/annotation/AuthPrincipal.java | 2 +- .../auth/application/AuthService.java | 36 +++++++++--------- .../KakaoAuthResponseProvider.java | 6 +-- .../auth/application/dto/JoinRequest.java | 2 +- .../application/dto/KakaoLoginRequest.java | 2 +- .../application/dto/KakaoLoginResponse.java | 2 +- .../auth/application/dto/LoginRequest.java | 2 +- .../auth/application/dto/LogoutRequest.java | 4 ++ .../auth/application/dto/MemberResponse.java | 2 +- .../application/event/JoinMemberEvent.java | 6 +++ .../auth/application/event/LoginEvent.java | 6 +++ .../auth/application/event/LogoutEvent.java | 4 ++ .../auth/domain/BasicTokenGenerator.java | 2 +- .../auth/domain/PasswordEncoder.java | 2 +- .../auth/domain/SimplePasswordEncoder.java | 2 +- .../auth/domain/TokenGenerator.java | 2 +- .../auth/domain/ValidateType.java | 2 +- .../auth/ui/AuthController.java | 24 ++++++------ .../auth/ui/SessionConst.java | 2 +- .../AuthArgumentResolver.java | 12 +++--- .../config/WebMvcMemberConfiguration.java | 4 +- .../application/DeviceRepository.java | 4 +- .../application/MemberConsumptionService.java | 6 +-- .../application/MemberEventListener.java | 8 ++-- .../profile}/application/MemberService.java | 38 +++++++++---------- .../application/dto/ActiveMemberId.java | 2 +- .../application/dto/AnonymousMemberId.java | 2 +- .../profile}/application/dto/MemberId.java | 2 +- .../application/dto/YearMonthDto.java | 2 +- .../dto/request/MemberUpdateRequest.java | 2 +- .../dto/request/PurchaseConfirmRequest.java | 2 +- .../dto/request/SavingConfirmRequest.java | 2 +- .../dto/response/DuplicateCheckResponse.java | 2 +- .../dto/response/MemberUpdateResponse.java | 5 +++ .../dto/response/MyPageResponseV1_0.java | 2 +- .../dto/response/MyPageResponseV1_1.java | 2 +- .../event/ProfileImageDeletionEvent.java | 2 +- .../event/ProfileImageUploadEvent.java | 2 +- .../profile}/domain/Device.java | 2 +- .../profile}/domain/Email.java | 4 +- .../profile}/domain/Member.java | 6 +-- .../profile}/domain/Nickname.java | 4 +- .../profile}/domain/Password.java | 6 +-- .../profile}/domain/PasswordValidator.java | 2 +- .../profile}/domain/SocialInfo.java | 2 +- .../ProfileImageEventListener.java | 4 +- .../profileimage/domain/ProfileImageInfo.java | 2 +- .../ProfileImageInfoRepository.java | 4 +- .../repository/MemberCustomRepository.java | 4 +- .../MemberCustomRepositoryImpl.java | 4 +- .../profile}/repository/MemberRepository.java | 10 ++--- .../profile}/ui/MemberController.java | 22 +++++------ .../application/SettingEventListener.java | 4 +- .../setting/application/SettingService.java | 20 +++++----- .../ActivatingPrimaryManager.java | 4 +- .../activationmanager/ActivationManager.java | 4 +- .../DeactivatingSameWeightsManager.java | 4 +- .../DeactivatingLowerWeightManager.java | 4 +- .../DeactivatingPrimaryManager.java | 4 +- .../DeactivationManager.java | 4 +- .../application/dto/SettingRequest.java | 5 +++ .../application/dto/SettingResponse.java | 4 +- .../application/dto/SettingsResponse.java | 4 +- .../setting/domain/Category.java | 2 +- .../setting/domain/Setting.java | 4 +- .../setting/domain/SettingType.java | 2 +- .../setting/domain/SettingTypeCategory.java | 2 +- .../setting/domain/Weight.java | 2 +- .../repository/SettingCustomRepository.java | 4 +- .../setting/repository/SettingRepository.java | 6 +-- .../repository/SettingRepositoryImpl.java | 4 +- .../setting/ui/SettingController.java | 12 +++--- .../application/NotificationService.java | 12 +++--- .../application/dto/Receiver.java | 2 +- .../notification/domain/Notification.java | 2 +- .../ui/NotificationController.java | 4 +- .../report/application/ReportService.java | 6 +-- .../backend/report/domain/Report.java | 2 +- .../backend/report/ui/ReportController.java | 4 +- .../java/edonymyeon/backend/CacheConfig.java | 2 +- .../java/edonymyeon/backend/TestConfig.java | 2 +- .../MemberConsumptionServiceImplTest.java | 6 +-- .../docs/ConsumptionControllerDocsTest.java | 8 ++-- .../domain/ConsumptionsPerMonthTest.java | 2 +- .../ConsumptionIntegrationTest.java | 2 +- .../repository/ConsumptionRepositoryTest.java | 2 +- .../application/CommentServiceTest.java | 7 ++-- .../docs/CommentControllerDocsTest.java | 6 +-- .../integration/CommentIntegrationTest.java | 6 +-- .../{ => content}/post/ImageFileCleaner.java | 2 +- .../ImageFileNameMockStrategy.java | 2 +- .../post/application/MyPostServiceTest.java | 9 ++--- .../PostFindingSpecificPostTest.java | 17 ++++----- .../PostServiceFindingAllPostsTest.java | 11 ++---- .../application/PostServiceHotPostsTest.java | 2 +- .../PostServiceSearchPostsTest.java | 6 +-- .../post/application/PostServiceTest.java | 14 +++---- .../post/application/PostViewTest.java | 11 +++--- .../application/TestCacheKeyStrategy.java | 2 +- .../post/docs/MyPostControllerDocsTest.java | 10 ++--- .../post/docs/PostControllerDocsTest.java | 14 +++---- .../post/docs/PostCreationDocsTest.java | 8 ++-- .../integration/HotPostIntegrationTest.java | 6 +-- .../integration/MyPostIntegrationTest.java | 4 +- .../PostCommentCountIntegrationTest.java | 4 +- .../post/integration/PostIntegrationTest.java | 10 ++--- .../PostSearchIntegrationTest.java | 4 +- .../integration/PostViewIntegrationTest.java | 6 +-- .../post/repository/PostRepositoryTest.java | 7 ++-- .../repository/PostSpecificationTest.java | 2 +- .../post/ui/PostControllerTest.java | 8 ++-- .../application/DeleteThumbsServiceTest.java | 11 +++--- .../application/ThumbsDownServiceTest.java | 11 +++--- .../application/ThumbsInPostServiceTest.java | 13 +++---- .../application/ThumbsUpServiceTest.java | 11 +++--- .../thumbs/docs/ThumbsControllerDocsTest.java | 10 ++--- .../thumbs/domain/AllThumbsInPostTest.java | 6 +-- .../integration/ThumbsIntegrationTest.java | 8 ++-- .../application/LoggingServiceTest.java | 4 +- .../{ => global}/logging/application/info.log | 0 .../image/ImageFileSizeIntegrationTest.java | 4 +- .../image/application/ImageServiceTest.java | 2 +- .../auth/AuthIntegrationTest.java | 26 ++++++------- .../application/AuthDeleteServiceTest.java | 7 ++-- .../auth/application/AuthServiceTest.java | 33 ++++++++-------- .../auth/docs/AuthControllerDocsTest.java | 18 ++++----- .../domain/SimplePasswordEncoderTest.java | 3 +- .../application/MemberServiceTest.java | 26 ++++++------- .../docs/MemberControllerDocsTest.java | 22 +++++------ .../{ => profile}/domain/EmailTest.java | 4 +- .../{ => profile}/domain/MemberTest.java | 3 +- .../{ => profile}/domain/NicknameTest.java | 5 +-- .../{ => profile}/domain/PasswordTest.java | 6 +-- .../MemberConsumptionIntegrationTest.java | 8 ++-- .../integration/MemberIntegrationTest.java | 10 ++--- .../repository/MemberRepositoryTest.java | 11 +++--- .../application/SettingServiceTest.java | 17 ++++----- .../docs/SettingControllerDocsTest.java | 18 ++++----- .../setting/domain/SettingTest.java | 4 +- .../setting/ui/SettingIntegrationTest.java | 10 ++--- .../NotificationEventListenerTest.java | 12 +++--- .../application/NotificationServiceTest.java | 18 ++++----- .../NotificationIntegrationTest.java | 14 +++---- .../report/application/ReportServiceTest.java | 2 +- .../backend/report/docs/ReportDocsTest.java | 10 ++--- .../report/ui/ReportIntegrationTest.java | 4 +- .../backend/support/CommentTestSupport.java | 2 +- .../backend/support/IntegrationFixture.java | 8 ++-- .../support/PostIntegrationTestSupport.java | 4 +- .../backend/support/PostTestSupport.java | 2 +- .../support/ProfileImageInfoTestSupport.java | 4 +- .../backend/support/TestMemberBuilder.java | 12 +++--- .../support/ThumbsUpPostTestSupport.java | 2 +- 178 files changed, 546 insertions(+), 581 deletions(-) delete mode 100644 backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/LogoutRequest.java delete mode 100644 backend/src/main/java/edonymyeon/backend/membber/auth/application/event/JoinMemberEvent.java delete mode 100644 backend/src/main/java/edonymyeon/backend/membber/auth/application/event/LoginEvent.java delete mode 100644 backend/src/main/java/edonymyeon/backend/membber/auth/application/event/LogoutEvent.java delete mode 100644 backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/MemberUpdateResponse.java delete mode 100644 backend/src/main/java/edonymyeon/backend/membber/setting/application/dto/SettingRequest.java rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/annotation/AuthPrincipal.java (85%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/application/AuthService.java (84%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/application/KakaoAuthResponseProvider.java (82%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/application/dto/JoinRequest.java (63%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/application/dto/KakaoLoginRequest.java (57%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/application/dto/KakaoLoginResponse.java (73%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/application/dto/LoginRequest.java (59%) create mode 100644 backend/src/main/java/edonymyeon/backend/member/auth/application/dto/LogoutRequest.java rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/application/dto/MemberResponse.java (53%) create mode 100644 backend/src/main/java/edonymyeon/backend/member/auth/application/event/JoinMemberEvent.java create mode 100644 backend/src/main/java/edonymyeon/backend/member/auth/application/event/LoginEvent.java create mode 100644 backend/src/main/java/edonymyeon/backend/member/auth/application/event/LogoutEvent.java rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/domain/BasicTokenGenerator.java (88%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/domain/PasswordEncoder.java (75%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/domain/SimplePasswordEncoder.java (98%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/domain/TokenGenerator.java (62%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/domain/ValidateType.java (91%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/ui/AuthController.java (80%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/ui/SessionConst.java (92%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/auth/ui/argumentresolver/AuthArgumentResolver.java (86%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/config/WebMvcMemberConfiguration.java (82%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/DeviceRepository.java (83%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/MemberConsumptionService.java (71%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/MemberEventListener.java (78%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/MemberService.java (85%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/dto/ActiveMemberId.java (67%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/dto/AnonymousMemberId.java (76%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/dto/MemberId.java (80%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/dto/YearMonthDto.java (51%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/dto/request/MemberUpdateRequest.java (72%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/dto/request/PurchaseConfirmRequest.java (59%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/dto/request/SavingConfirmRequest.java (53%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/dto/response/DuplicateCheckResponse.java (50%) create mode 100644 backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/MemberUpdateResponse.java rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/dto/response/MyPageResponseV1_0.java (53%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/dto/response/MyPageResponseV1_1.java (58%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/event/ProfileImageDeletionEvent.java (75%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/application/event/ProfileImageUploadEvent.java (75%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/domain/Device.java (97%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/domain/Email.java (91%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/domain/Member.java (96%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/domain/Nickname.java (92%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/domain/Password.java (90%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/domain/PasswordValidator.java (95%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/domain/SocialInfo.java (93%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/profileimage/application/ProfileImageEventListener.java (82%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/profileimage/domain/ProfileImageInfo.java (88%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/profileimage/repository/ProfileImageInfoRepository.java (58%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/repository/MemberCustomRepository.java (55%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/repository/MemberCustomRepositoryImpl.java (88%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/repository/MemberRepository.java (58%) rename backend/src/main/java/edonymyeon/backend/{membber/member => member/profile}/ui/MemberController.java (84%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/application/SettingEventListener.java (76%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/application/SettingService.java (82%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/application/activationmanager/ActivatingPrimaryManager.java (84%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/application/activationmanager/ActivationManager.java (80%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/application/activationmanager/DeactivatingSameWeightsManager.java (84%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/application/deactivationmanager/DeactivatingLowerWeightManager.java (84%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/application/deactivationmanager/DeactivatingPrimaryManager.java (82%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/application/deactivationmanager/DeactivationManager.java (80%) create mode 100644 backend/src/main/java/edonymyeon/backend/member/setting/application/dto/SettingRequest.java rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/application/dto/SettingResponse.java (65%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/application/dto/SettingsResponse.java (71%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/domain/Category.java (54%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/domain/Setting.java (95%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/domain/SettingType.java (97%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/domain/SettingTypeCategory.java (58%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/domain/Weight.java (85%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/repository/SettingCustomRepository.java (50%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/repository/SettingRepository.java (68%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/repository/SettingRepositoryImpl.java (92%) rename backend/src/main/java/edonymyeon/backend/{membber => member}/setting/ui/SettingController.java (76%) rename backend/src/test/java/edonymyeon/backend/{ => content}/comment/application/CommentServiceTest.java (84%) rename backend/src/test/java/edonymyeon/backend/{ => content}/comment/docs/CommentControllerDocsTest.java (98%) rename backend/src/test/java/edonymyeon/backend/{ => content}/comment/integration/CommentIntegrationTest.java (99%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/ImageFileCleaner.java (96%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/application/ImageFileNameMockStrategy.java (92%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/application/MyPostServiceTest.java (93%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/application/PostFindingSpecificPostTest.java (89%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/application/PostServiceFindingAllPostsTest.java (96%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/application/PostServiceHotPostsTest.java (99%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/application/PostServiceSearchPostsTest.java (94%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/application/PostServiceTest.java (97%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/application/PostViewTest.java (88%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/application/TestCacheKeyStrategy.java (90%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/docs/MyPostControllerDocsTest.java (96%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/docs/PostControllerDocsTest.java (97%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/docs/PostCreationDocsTest.java (94%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/integration/HotPostIntegrationTest.java (96%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/integration/MyPostIntegrationTest.java (96%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/integration/PostCommentCountIntegrationTest.java (98%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/integration/PostIntegrationTest.java (99%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/integration/PostSearchIntegrationTest.java (97%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/integration/PostViewIntegrationTest.java (91%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/repository/PostRepositoryTest.java (97%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/repository/PostSpecificationTest.java (98%) rename backend/src/test/java/edonymyeon/backend/{ => content}/post/ui/PostControllerTest.java (97%) rename backend/src/test/java/edonymyeon/backend/{ => content}/thumbs/application/DeleteThumbsServiceTest.java (93%) rename backend/src/test/java/edonymyeon/backend/{ => content}/thumbs/application/ThumbsDownServiceTest.java (94%) rename backend/src/test/java/edonymyeon/backend/{ => content}/thumbs/application/ThumbsInPostServiceTest.java (94%) rename backend/src/test/java/edonymyeon/backend/{ => content}/thumbs/application/ThumbsUpServiceTest.java (95%) rename backend/src/test/java/edonymyeon/backend/{ => content}/thumbs/docs/ThumbsControllerDocsTest.java (95%) rename backend/src/test/java/edonymyeon/backend/{ => content}/thumbs/domain/AllThumbsInPostTest.java (89%) rename backend/src/test/java/edonymyeon/backend/{ => content}/thumbs/integration/ThumbsIntegrationTest.java (97%) rename backend/src/test/java/edonymyeon/backend/{ => global}/logging/application/LoggingServiceTest.java (95%) rename backend/src/test/java/edonymyeon/backend/{ => global}/logging/application/info.log (100%) rename backend/src/test/java/edonymyeon/backend/{ => member}/auth/AuthIntegrationTest.java (93%) rename backend/src/test/java/edonymyeon/backend/{ => member}/auth/application/AuthDeleteServiceTest.java (87%) rename backend/src/test/java/edonymyeon/backend/{ => member}/auth/application/AuthServiceTest.java (90%) rename backend/src/test/java/edonymyeon/backend/{ => member}/auth/docs/AuthControllerDocsTest.java (92%) rename backend/src/test/java/edonymyeon/backend/{ => member}/auth/domain/SimplePasswordEncoderTest.java (92%) rename backend/src/test/java/edonymyeon/backend/member/{ => profile}/application/MemberServiceTest.java (92%) rename backend/src/test/java/edonymyeon/backend/member/{ => profile}/docs/MemberControllerDocsTest.java (95%) rename backend/src/test/java/edonymyeon/backend/member/{ => profile}/domain/EmailTest.java (90%) rename backend/src/test/java/edonymyeon/backend/member/{ => profile}/domain/MemberTest.java (97%) rename backend/src/test/java/edonymyeon/backend/member/{ => profile}/domain/NicknameTest.java (90%) rename backend/src/test/java/edonymyeon/backend/member/{ => profile}/domain/PasswordTest.java (93%) rename backend/src/test/java/edonymyeon/backend/member/{ => profile}/integration/MemberConsumptionIntegrationTest.java (97%) rename backend/src/test/java/edonymyeon/backend/member/{ => profile}/integration/MemberIntegrationTest.java (95%) rename backend/src/test/java/edonymyeon/backend/member/{ => profile}/repository/MemberRepositoryTest.java (93%) rename backend/src/test/java/edonymyeon/backend/{ => member}/setting/application/SettingServiceTest.java (93%) rename backend/src/test/java/edonymyeon/backend/{ => member}/setting/docs/SettingControllerDocsTest.java (91%) rename backend/src/test/java/edonymyeon/backend/{ => member}/setting/domain/SettingTest.java (79%) rename backend/src/test/java/edonymyeon/backend/{ => member}/setting/ui/SettingIntegrationTest.java (92%) diff --git a/backend/src/main/java/edonymyeon/backend/consumption/application/ConsumptionService.java b/backend/src/main/java/edonymyeon/backend/consumption/application/ConsumptionService.java index 6aedcea2b..2bed42b11 100644 --- a/backend/src/main/java/edonymyeon/backend/consumption/application/ConsumptionService.java +++ b/backend/src/main/java/edonymyeon/backend/consumption/application/ConsumptionService.java @@ -5,7 +5,7 @@ import edonymyeon.backend.consumption.domain.Consumption; import edonymyeon.backend.consumption.domain.ConsumptionsPerMonth; import edonymyeon.backend.consumption.repository.ConsumptionRepository; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import java.time.LocalDate; import java.util.ArrayList; import java.util.List; diff --git a/backend/src/main/java/edonymyeon/backend/consumption/application/MemberConsumptionServiceImpl.java b/backend/src/main/java/edonymyeon/backend/consumption/application/MemberConsumptionServiceImpl.java index 11d90ddd7..2f05fce4f 100644 --- a/backend/src/main/java/edonymyeon/backend/consumption/application/MemberConsumptionServiceImpl.java +++ b/backend/src/main/java/edonymyeon/backend/consumption/application/MemberConsumptionServiceImpl.java @@ -9,9 +9,9 @@ import edonymyeon.backend.consumption.domain.Consumption; import edonymyeon.backend.consumption.repository.ConsumptionRepository; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.application.MemberConsumptionService; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.application.dto.YearMonthDto; +import edonymyeon.backend.member.profile.application.MemberConsumptionService; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.YearMonthDto; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.post.repository.PostRepository; import lombok.RequiredArgsConstructor; diff --git a/backend/src/main/java/edonymyeon/backend/consumption/ui/ConsumptionController.java b/backend/src/main/java/edonymyeon/backend/consumption/ui/ConsumptionController.java index 6186b0e36..7e6dae005 100644 --- a/backend/src/main/java/edonymyeon/backend/consumption/ui/ConsumptionController.java +++ b/backend/src/main/java/edonymyeon/backend/consumption/ui/ConsumptionController.java @@ -1,10 +1,10 @@ package edonymyeon.backend.consumption.ui; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; import edonymyeon.backend.consumption.application.ConsumptionService; import edonymyeon.backend.consumption.application.dto.RecentConsumptionsResponse; import edonymyeon.backend.global.version.ApiVersion; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; diff --git a/backend/src/main/java/edonymyeon/backend/content/comment/application/CommentService.java b/backend/src/main/java/edonymyeon/backend/content/comment/application/CommentService.java index 018d5e941..cb8428a16 100644 --- a/backend/src/main/java/edonymyeon/backend/content/comment/application/CommentService.java +++ b/backend/src/main/java/edonymyeon/backend/content/comment/application/CommentService.java @@ -12,9 +12,9 @@ import edonymyeon.backend.image.domain.ImageType; import edonymyeon.backend.content.comment.commentimage.domain.CommentImageInfo; import edonymyeon.backend.content.comment.commentimage.repository.CommentImageInfoRepository; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.post.repository.PostRepository; import java.util.ArrayList; diff --git a/backend/src/main/java/edonymyeon/backend/content/comment/domain/Comment.java b/backend/src/main/java/edonymyeon/backend/content/comment/domain/Comment.java index 0551057a1..51e5f09f0 100644 --- a/backend/src/main/java/edonymyeon/backend/content/comment/domain/Comment.java +++ b/backend/src/main/java/edonymyeon/backend/content/comment/domain/Comment.java @@ -5,7 +5,7 @@ import edonymyeon.backend.global.domain.TemporalRecord; import edonymyeon.backend.global.exception.EdonymyeonException; import edonymyeon.backend.content.comment.commentimage.domain.CommentImageInfo; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import jakarta.persistence.Column; import jakarta.persistence.Entity; diff --git a/backend/src/main/java/edonymyeon/backend/content/comment/ui/CommentController.java b/backend/src/main/java/edonymyeon/backend/content/comment/ui/CommentController.java index d286a721a..5cdfc6fad 100644 --- a/backend/src/main/java/edonymyeon/backend/content/comment/ui/CommentController.java +++ b/backend/src/main/java/edonymyeon/backend/content/comment/ui/CommentController.java @@ -1,11 +1,11 @@ package edonymyeon.backend.content.comment.ui; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; import edonymyeon.backend.content.comment.application.CommentService; import edonymyeon.backend.content.comment.application.dto.request.CommentRequest; import edonymyeon.backend.content.comment.application.dto.response.CommentsResponse; import edonymyeon.backend.global.version.ApiVersion; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import java.net.URI; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity; diff --git a/backend/src/main/java/edonymyeon/backend/content/post/application/MyPostService.java b/backend/src/main/java/edonymyeon/backend/content/post/application/MyPostService.java index 6872a3102..0cab32ae6 100644 --- a/backend/src/main/java/edonymyeon/backend/content/post/application/MyPostService.java +++ b/backend/src/main/java/edonymyeon/backend/content/post/application/MyPostService.java @@ -5,7 +5,7 @@ import edonymyeon.backend.content.post.repository.PostRepository; import edonymyeon.backend.image.application.ImageService; import edonymyeon.backend.image.domain.ImageType; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import edonymyeon.backend.content.post.domain.Post; import java.util.List; import java.util.Map; diff --git a/backend/src/main/java/edonymyeon/backend/content/post/application/PostReadService.java b/backend/src/main/java/edonymyeon/backend/content/post/application/PostReadService.java index 20bc73064..ab4b9bc49 100644 --- a/backend/src/main/java/edonymyeon/backend/content/post/application/PostReadService.java +++ b/backend/src/main/java/edonymyeon/backend/content/post/application/PostReadService.java @@ -18,9 +18,9 @@ import edonymyeon.backend.global.exception.ExceptionInformation; import edonymyeon.backend.image.application.ImageService; import edonymyeon.backend.image.domain.ImageType; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.domain.HotPostPolicy; import edonymyeon.backend.content.post.domain.Post; import lombok.RequiredArgsConstructor; diff --git a/backend/src/main/java/edonymyeon/backend/content/post/application/PostService.java b/backend/src/main/java/edonymyeon/backend/content/post/application/PostService.java index f40927f6f..68d87fb1d 100644 --- a/backend/src/main/java/edonymyeon/backend/content/post/application/PostService.java +++ b/backend/src/main/java/edonymyeon/backend/content/post/application/PostService.java @@ -10,9 +10,9 @@ import edonymyeon.backend.image.domain.ImageType; import edonymyeon.backend.content.post.postimage.domain.PostImageInfos; import edonymyeon.backend.content.post.postimage.repository.PostImageInfoRepository; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.domain.Post; import lombok.RequiredArgsConstructor; import org.springframework.context.ApplicationEventPublisher; diff --git a/backend/src/main/java/edonymyeon/backend/content/post/application/PostThumbsService.java b/backend/src/main/java/edonymyeon/backend/content/post/application/PostThumbsService.java index 0435c1bd0..e7f6320d5 100644 --- a/backend/src/main/java/edonymyeon/backend/content/post/application/PostThumbsService.java +++ b/backend/src/main/java/edonymyeon/backend/content/post/application/PostThumbsService.java @@ -2,7 +2,7 @@ import edonymyeon.backend.content.post.application.dto.response.AllThumbsInPostResponse; import edonymyeon.backend.content.post.application.dto.response.ThumbsStatusInPostResponse; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; public interface PostThumbsService { diff --git a/backend/src/main/java/edonymyeon/backend/content/post/application/dto/response/SpecificPostInfoResponse.java b/backend/src/main/java/edonymyeon/backend/content/post/application/dto/response/SpecificPostInfoResponse.java index 6843bd2d7..d3c9183e6 100644 --- a/backend/src/main/java/edonymyeon/backend/content/post/application/dto/response/SpecificPostInfoResponse.java +++ b/backend/src/main/java/edonymyeon/backend/content/post/application/dto/response/SpecificPostInfoResponse.java @@ -1,6 +1,6 @@ package edonymyeon.backend.content.post.application.dto.response; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import java.time.LocalDateTime; import java.util.List; diff --git a/backend/src/main/java/edonymyeon/backend/content/post/domain/Post.java b/backend/src/main/java/edonymyeon/backend/content/post/domain/Post.java index 7cbefc824..058ad3d2c 100644 --- a/backend/src/main/java/edonymyeon/backend/content/post/domain/Post.java +++ b/backend/src/main/java/edonymyeon/backend/content/post/domain/Post.java @@ -4,7 +4,7 @@ import edonymyeon.backend.global.exception.EdonymyeonException; import edonymyeon.backend.content.post.postimage.domain.PostImageInfo; import edonymyeon.backend.content.post.postimage.domain.PostImageInfos; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import jakarta.persistence.*; import lombok.*; import org.hibernate.annotations.ColumnDefault; diff --git a/backend/src/main/java/edonymyeon/backend/content/post/ui/MyPostController.java b/backend/src/main/java/edonymyeon/backend/content/post/ui/MyPostController.java index 3933d12bc..76fe50449 100644 --- a/backend/src/main/java/edonymyeon/backend/content/post/ui/MyPostController.java +++ b/backend/src/main/java/edonymyeon/backend/content/post/ui/MyPostController.java @@ -4,9 +4,9 @@ import edonymyeon.backend.content.post.application.MyPostService; import edonymyeon.backend.content.post.application.PostSlice; import edonymyeon.backend.content.post.application.dto.response.MyPostResponse; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; import edonymyeon.backend.global.version.ApiVersion; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import edonymyeon.backend.content.post.ui.annotation.PostPaging; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity; diff --git a/backend/src/main/java/edonymyeon/backend/content/post/ui/PostController.java b/backend/src/main/java/edonymyeon/backend/content/post/ui/PostController.java index 18bca0e17..23fed9bc5 100644 --- a/backend/src/main/java/edonymyeon/backend/content/post/ui/PostController.java +++ b/backend/src/main/java/edonymyeon/backend/content/post/ui/PostController.java @@ -1,8 +1,8 @@ package edonymyeon.backend.content.post.ui; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; import edonymyeon.backend.global.version.ApiVersion; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import edonymyeon.backend.content.post.application.PostService; import edonymyeon.backend.content.post.application.dto.request.PostModificationRequest; import edonymyeon.backend.content.post.application.dto.request.PostRequest; diff --git a/backend/src/main/java/edonymyeon/backend/content/post/ui/PostReadController.java b/backend/src/main/java/edonymyeon/backend/content/post/ui/PostReadController.java index 7038aaf10..b796ce490 100644 --- a/backend/src/main/java/edonymyeon/backend/content/post/ui/PostReadController.java +++ b/backend/src/main/java/edonymyeon/backend/content/post/ui/PostReadController.java @@ -6,9 +6,9 @@ import edonymyeon.backend.content.post.application.PostSlice; import edonymyeon.backend.content.post.application.dto.response.GeneralPostInfoResponse; import edonymyeon.backend.content.post.application.dto.response.SpecificPostInfoResponse; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; import edonymyeon.backend.global.version.ApiVersion; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import edonymyeon.backend.content.post.ui.annotation.HotPostSizing; import edonymyeon.backend.content.post.ui.annotation.PostPaging; import lombok.RequiredArgsConstructor; diff --git a/backend/src/main/java/edonymyeon/backend/content/thumbs/application/PostThumbsServiceImpl.java b/backend/src/main/java/edonymyeon/backend/content/thumbs/application/PostThumbsServiceImpl.java index 7de37434e..7ccc4cd71 100644 --- a/backend/src/main/java/edonymyeon/backend/content/thumbs/application/PostThumbsServiceImpl.java +++ b/backend/src/main/java/edonymyeon/backend/content/thumbs/application/PostThumbsServiceImpl.java @@ -3,8 +3,8 @@ import edonymyeon.backend.content.thumbs.domain.AllThumbsInPost; import edonymyeon.backend.content.thumbs.domain.Thumbs; import edonymyeon.backend.content.thumbs.repository.ThumbsRepository; -import edonymyeon.backend.membber.member.application.dto.AnonymousMemberId; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.AnonymousMemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import edonymyeon.backend.content.post.application.PostThumbsService; import edonymyeon.backend.content.post.application.dto.response.AllThumbsInPostResponse; import edonymyeon.backend.content.post.application.dto.response.ThumbsStatusInPostResponse; diff --git a/backend/src/main/java/edonymyeon/backend/content/thumbs/application/ThumbsService.java b/backend/src/main/java/edonymyeon/backend/content/thumbs/application/ThumbsService.java index 9bfa5f4a4..a3ecfd864 100644 --- a/backend/src/main/java/edonymyeon/backend/content/thumbs/application/ThumbsService.java +++ b/backend/src/main/java/edonymyeon/backend/content/thumbs/application/ThumbsService.java @@ -5,9 +5,9 @@ import edonymyeon.backend.content.thumbs.repository.ThumbsRepository; import edonymyeon.backend.global.exception.EdonymyeonException; import edonymyeon.backend.global.exception.ExceptionInformation; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.post.repository.PostRepository; import edonymyeon.backend.content.thumbs.application.event.ThumbsDownEvent; diff --git a/backend/src/main/java/edonymyeon/backend/content/thumbs/domain/Thumbs.java b/backend/src/main/java/edonymyeon/backend/content/thumbs/domain/Thumbs.java index a61f06ebf..0c735c92c 100644 --- a/backend/src/main/java/edonymyeon/backend/content/thumbs/domain/Thumbs.java +++ b/backend/src/main/java/edonymyeon/backend/content/thumbs/domain/Thumbs.java @@ -2,7 +2,7 @@ import edonymyeon.backend.global.domain.TemporalRecord; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import jakarta.persistence.*; import lombok.AccessLevel; diff --git a/backend/src/main/java/edonymyeon/backend/content/thumbs/ui/ThumbsController.java b/backend/src/main/java/edonymyeon/backend/content/thumbs/ui/ThumbsController.java index 19ed58101..47e089ba2 100644 --- a/backend/src/main/java/edonymyeon/backend/content/thumbs/ui/ThumbsController.java +++ b/backend/src/main/java/edonymyeon/backend/content/thumbs/ui/ThumbsController.java @@ -1,8 +1,8 @@ package edonymyeon.backend.content.thumbs.ui; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; import edonymyeon.backend.global.version.ApiVersion; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import edonymyeon.backend.content.thumbs.application.ThumbsService; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity; diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/LogoutRequest.java b/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/LogoutRequest.java deleted file mode 100644 index 07bc64fdf..000000000 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/LogoutRequest.java +++ /dev/null @@ -1,4 +0,0 @@ -package edonymyeon.backend.membber.auth.application.dto; - -public record LogoutRequest(String deviceToken) { -} diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/application/event/JoinMemberEvent.java b/backend/src/main/java/edonymyeon/backend/membber/auth/application/event/JoinMemberEvent.java deleted file mode 100644 index 71b7f2edf..000000000 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/application/event/JoinMemberEvent.java +++ /dev/null @@ -1,6 +0,0 @@ -package edonymyeon.backend.membber.auth.application.event; - -import edonymyeon.backend.membber.member.domain.Member; - -public record JoinMemberEvent(Member member, String deviceToken) { -} diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/application/event/LoginEvent.java b/backend/src/main/java/edonymyeon/backend/membber/auth/application/event/LoginEvent.java deleted file mode 100644 index 350e746b0..000000000 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/application/event/LoginEvent.java +++ /dev/null @@ -1,6 +0,0 @@ -package edonymyeon.backend.membber.auth.application.event; - -import edonymyeon.backend.membber.member.domain.Member; - -public record LoginEvent(Member member, String deviceToken) { -} diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/application/event/LogoutEvent.java b/backend/src/main/java/edonymyeon/backend/membber/auth/application/event/LogoutEvent.java deleted file mode 100644 index e85430c2c..000000000 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/application/event/LogoutEvent.java +++ /dev/null @@ -1,4 +0,0 @@ -package edonymyeon.backend.membber.auth.application.event; - -public record LogoutEvent(String deviceToken) { -} diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/MemberUpdateResponse.java b/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/MemberUpdateResponse.java deleted file mode 100644 index d73accc4e..000000000 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/MemberUpdateResponse.java +++ /dev/null @@ -1,5 +0,0 @@ -package edonymyeon.backend.membber.member.application.dto.response; - -public record MemberUpdateResponse(Long id) { - -} diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/application/dto/SettingRequest.java b/backend/src/main/java/edonymyeon/backend/membber/setting/application/dto/SettingRequest.java deleted file mode 100644 index 9eec68e3c..000000000 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/application/dto/SettingRequest.java +++ /dev/null @@ -1,5 +0,0 @@ -package edonymyeon.backend.membber.setting.application.dto; - -public record SettingRequest(String preferenceType) { - -} diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/annotation/AuthPrincipal.java b/backend/src/main/java/edonymyeon/backend/member/auth/annotation/AuthPrincipal.java similarity index 85% rename from backend/src/main/java/edonymyeon/backend/membber/auth/annotation/AuthPrincipal.java rename to backend/src/main/java/edonymyeon/backend/member/auth/annotation/AuthPrincipal.java index 600c851db..249ec35c4 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/annotation/AuthPrincipal.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/annotation/AuthPrincipal.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.annotation; +package edonymyeon.backend.member.auth.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/application/AuthService.java b/backend/src/main/java/edonymyeon/backend/member/auth/application/AuthService.java similarity index 84% rename from backend/src/main/java/edonymyeon/backend/membber/auth/application/AuthService.java rename to backend/src/main/java/edonymyeon/backend/member/auth/application/AuthService.java index 74cad46cd..c90801fae 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/application/AuthService.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/application/AuthService.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.application; +package edonymyeon.backend.member.auth.application; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_EMAIL_DUPLICATE; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_EMAIL_NOT_FOUND; @@ -7,24 +7,24 @@ import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_NICKNAME_INVALID; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_PASSWORD_NOT_MATCH; -import edonymyeon.backend.membber.member.application.dto.response.DuplicateCheckResponse; -import edonymyeon.backend.membber.auth.application.dto.JoinRequest; -import edonymyeon.backend.membber.auth.application.dto.KakaoLoginResponse; -import edonymyeon.backend.membber.auth.application.dto.LoginRequest; -import edonymyeon.backend.membber.auth.application.event.JoinMemberEvent; -import edonymyeon.backend.membber.auth.application.event.LoginEvent; -import edonymyeon.backend.membber.auth.application.event.LogoutEvent; -import edonymyeon.backend.membber.auth.domain.PasswordEncoder; +import edonymyeon.backend.member.profile.application.dto.response.DuplicateCheckResponse; +import edonymyeon.backend.member.auth.application.dto.JoinRequest; +import edonymyeon.backend.member.auth.application.dto.KakaoLoginResponse; +import edonymyeon.backend.member.auth.application.dto.LoginRequest; +import edonymyeon.backend.member.auth.application.event.JoinMemberEvent; +import edonymyeon.backend.member.auth.application.event.LoginEvent; +import edonymyeon.backend.member.auth.application.event.LogoutEvent; +import edonymyeon.backend.member.auth.domain.PasswordEncoder; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.application.MemberService; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Email; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.domain.Nickname; -import edonymyeon.backend.membber.member.domain.SocialInfo; -import edonymyeon.backend.membber.member.domain.SocialInfo.SocialType; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.MemberService; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Email; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.domain.Nickname; +import edonymyeon.backend.member.profile.domain.SocialInfo; +import edonymyeon.backend.member.profile.domain.SocialInfo.SocialType; +import edonymyeon.backend.member.profile.repository.MemberRepository; import java.util.List; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/application/KakaoAuthResponseProvider.java b/backend/src/main/java/edonymyeon/backend/member/auth/application/KakaoAuthResponseProvider.java similarity index 82% rename from backend/src/main/java/edonymyeon/backend/membber/auth/application/KakaoAuthResponseProvider.java rename to backend/src/main/java/edonymyeon/backend/member/auth/application/KakaoAuthResponseProvider.java index 271471bf3..4f194a425 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/application/KakaoAuthResponseProvider.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/application/KakaoAuthResponseProvider.java @@ -1,7 +1,7 @@ -package edonymyeon.backend.membber.auth.application; +package edonymyeon.backend.member.auth.application; -import edonymyeon.backend.membber.auth.application.dto.KakaoLoginRequest; -import edonymyeon.backend.membber.auth.application.dto.KakaoLoginResponse; +import edonymyeon.backend.member.auth.application.dto.KakaoLoginRequest; +import edonymyeon.backend.member.auth.application.dto.KakaoLoginResponse; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType; diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/JoinRequest.java b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/JoinRequest.java similarity index 63% rename from backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/JoinRequest.java rename to backend/src/main/java/edonymyeon/backend/member/auth/application/dto/JoinRequest.java index 7fa5616dd..21ee44615 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/JoinRequest.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/JoinRequest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.application.dto; +package edonymyeon.backend.member.auth.application.dto; public record JoinRequest(String email, String password, String nickname, String deviceToken) { diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/KakaoLoginRequest.java b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/KakaoLoginRequest.java similarity index 57% rename from backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/KakaoLoginRequest.java rename to backend/src/main/java/edonymyeon/backend/member/auth/application/dto/KakaoLoginRequest.java index fca36208d..ce0c0a3e6 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/KakaoLoginRequest.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/KakaoLoginRequest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.application.dto; +package edonymyeon.backend.member.auth.application.dto; public record KakaoLoginRequest(String accessToken, String deviceToken) { diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/KakaoLoginResponse.java b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/KakaoLoginResponse.java similarity index 73% rename from backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/KakaoLoginResponse.java rename to backend/src/main/java/edonymyeon/backend/member/auth/application/dto/KakaoLoginResponse.java index b9d735929..78a0cc0e5 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/KakaoLoginResponse.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/KakaoLoginResponse.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.application.dto; +package edonymyeon.backend.member.auth.application.dto; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/LoginRequest.java b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/LoginRequest.java similarity index 59% rename from backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/LoginRequest.java rename to backend/src/main/java/edonymyeon/backend/member/auth/application/dto/LoginRequest.java index 3d495197b..2c4e8c189 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/LoginRequest.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/LoginRequest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.application.dto; +package edonymyeon.backend.member.auth.application.dto; public record LoginRequest(String email, String password, String deviceToken) { diff --git a/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/LogoutRequest.java b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/LogoutRequest.java new file mode 100644 index 000000000..8e96ca00b --- /dev/null +++ b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/LogoutRequest.java @@ -0,0 +1,4 @@ +package edonymyeon.backend.member.auth.application.dto; + +public record LogoutRequest(String deviceToken) { +} diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/MemberResponse.java b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/MemberResponse.java similarity index 53% rename from backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/MemberResponse.java rename to backend/src/main/java/edonymyeon/backend/member/auth/application/dto/MemberResponse.java index 7ac2e8fc7..b86258080 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/application/dto/MemberResponse.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/application/dto/MemberResponse.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.application.dto; +package edonymyeon.backend.member.auth.application.dto; public record MemberResponse(String email, String password) { diff --git a/backend/src/main/java/edonymyeon/backend/member/auth/application/event/JoinMemberEvent.java b/backend/src/main/java/edonymyeon/backend/member/auth/application/event/JoinMemberEvent.java new file mode 100644 index 000000000..30fdcedc3 --- /dev/null +++ b/backend/src/main/java/edonymyeon/backend/member/auth/application/event/JoinMemberEvent.java @@ -0,0 +1,6 @@ +package edonymyeon.backend.member.auth.application.event; + +import edonymyeon.backend.member.profile.domain.Member; + +public record JoinMemberEvent(Member member, String deviceToken) { +} diff --git a/backend/src/main/java/edonymyeon/backend/member/auth/application/event/LoginEvent.java b/backend/src/main/java/edonymyeon/backend/member/auth/application/event/LoginEvent.java new file mode 100644 index 000000000..968c84750 --- /dev/null +++ b/backend/src/main/java/edonymyeon/backend/member/auth/application/event/LoginEvent.java @@ -0,0 +1,6 @@ +package edonymyeon.backend.member.auth.application.event; + +import edonymyeon.backend.member.profile.domain.Member; + +public record LoginEvent(Member member, String deviceToken) { +} diff --git a/backend/src/main/java/edonymyeon/backend/member/auth/application/event/LogoutEvent.java b/backend/src/main/java/edonymyeon/backend/member/auth/application/event/LogoutEvent.java new file mode 100644 index 000000000..e574d421d --- /dev/null +++ b/backend/src/main/java/edonymyeon/backend/member/auth/application/event/LogoutEvent.java @@ -0,0 +1,4 @@ +package edonymyeon.backend.member.auth.application.event; + +public record LogoutEvent(String deviceToken) { +} diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/domain/BasicTokenGenerator.java b/backend/src/main/java/edonymyeon/backend/member/auth/domain/BasicTokenGenerator.java similarity index 88% rename from backend/src/main/java/edonymyeon/backend/membber/auth/domain/BasicTokenGenerator.java rename to backend/src/main/java/edonymyeon/backend/member/auth/domain/BasicTokenGenerator.java index 8c9a8e1fd..e71c77e13 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/domain/BasicTokenGenerator.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/domain/BasicTokenGenerator.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.domain; +package edonymyeon.backend.member.auth.domain; import java.util.Base64; import org.springframework.stereotype.Component; diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/domain/PasswordEncoder.java b/backend/src/main/java/edonymyeon/backend/member/auth/domain/PasswordEncoder.java similarity index 75% rename from backend/src/main/java/edonymyeon/backend/membber/auth/domain/PasswordEncoder.java rename to backend/src/main/java/edonymyeon/backend/member/auth/domain/PasswordEncoder.java index 4390e48fe..4b0093dea 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/domain/PasswordEncoder.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/domain/PasswordEncoder.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.domain; +package edonymyeon.backend.member.auth.domain; public interface PasswordEncoder { diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/domain/SimplePasswordEncoder.java b/backend/src/main/java/edonymyeon/backend/member/auth/domain/SimplePasswordEncoder.java similarity index 98% rename from backend/src/main/java/edonymyeon/backend/membber/auth/domain/SimplePasswordEncoder.java rename to backend/src/main/java/edonymyeon/backend/member/auth/domain/SimplePasswordEncoder.java index 859294874..ff586cd9f 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/domain/SimplePasswordEncoder.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/domain/SimplePasswordEncoder.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.domain; +package edonymyeon.backend.member.auth.domain; import static edonymyeon.backend.global.exception.ExceptionInformation.NOT_SUPPORTED_ALGORITHM; import static edonymyeon.backend.global.exception.ExceptionInformation.NOT_SUPPORTED_VERSION; diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/domain/TokenGenerator.java b/backend/src/main/java/edonymyeon/backend/member/auth/domain/TokenGenerator.java similarity index 62% rename from backend/src/main/java/edonymyeon/backend/membber/auth/domain/TokenGenerator.java rename to backend/src/main/java/edonymyeon/backend/member/auth/domain/TokenGenerator.java index c98534aa0..ca7c03849 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/domain/TokenGenerator.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/domain/TokenGenerator.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.domain; +package edonymyeon.backend.member.auth.domain; public interface TokenGenerator { diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/domain/ValidateType.java b/backend/src/main/java/edonymyeon/backend/member/auth/domain/ValidateType.java similarity index 91% rename from backend/src/main/java/edonymyeon/backend/membber/auth/domain/ValidateType.java rename to backend/src/main/java/edonymyeon/backend/member/auth/domain/ValidateType.java index ae845a261..20982fafa 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/domain/ValidateType.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/domain/ValidateType.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.domain; +package edonymyeon.backend.member.auth.domain; import edonymyeon.backend.global.exception.EdonymyeonException; import edonymyeon.backend.global.exception.ExceptionInformation; diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/ui/AuthController.java b/backend/src/main/java/edonymyeon/backend/member/auth/ui/AuthController.java similarity index 80% rename from backend/src/main/java/edonymyeon/backend/membber/auth/ui/AuthController.java rename to backend/src/main/java/edonymyeon/backend/member/auth/ui/AuthController.java index 0905c5023..abf22c070 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/ui/AuthController.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/ui/AuthController.java @@ -1,18 +1,18 @@ -package edonymyeon.backend.membber.auth.ui; +package edonymyeon.backend.member.auth.ui; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; -import edonymyeon.backend.membber.auth.application.AuthService; -import edonymyeon.backend.membber.auth.application.KakaoAuthResponseProvider; -import edonymyeon.backend.membber.auth.application.dto.JoinRequest; -import edonymyeon.backend.membber.auth.application.dto.KakaoLoginRequest; -import edonymyeon.backend.membber.auth.application.dto.KakaoLoginResponse; -import edonymyeon.backend.membber.auth.application.dto.LoginRequest; -import edonymyeon.backend.membber.member.application.dto.response.DuplicateCheckResponse; -import edonymyeon.backend.membber.auth.application.dto.LogoutRequest; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.application.AuthService; +import edonymyeon.backend.member.auth.application.KakaoAuthResponseProvider; +import edonymyeon.backend.member.auth.application.dto.JoinRequest; +import edonymyeon.backend.member.auth.application.dto.KakaoLoginRequest; +import edonymyeon.backend.member.auth.application.dto.KakaoLoginResponse; +import edonymyeon.backend.member.auth.application.dto.LoginRequest; +import edonymyeon.backend.member.profile.application.dto.response.DuplicateCheckResponse; +import edonymyeon.backend.member.auth.application.dto.LogoutRequest; import edonymyeon.backend.global.version.ApiVersion; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import jakarta.servlet.http.HttpSession; import java.net.URI; import lombok.RequiredArgsConstructor; diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/ui/SessionConst.java b/backend/src/main/java/edonymyeon/backend/member/auth/ui/SessionConst.java similarity index 92% rename from backend/src/main/java/edonymyeon/backend/membber/auth/ui/SessionConst.java rename to backend/src/main/java/edonymyeon/backend/member/auth/ui/SessionConst.java index 993a91845..976f7e3c1 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/ui/SessionConst.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/ui/SessionConst.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.auth.ui; +package edonymyeon.backend.member.auth.ui; public enum SessionConst { diff --git a/backend/src/main/java/edonymyeon/backend/membber/auth/ui/argumentresolver/AuthArgumentResolver.java b/backend/src/main/java/edonymyeon/backend/member/auth/ui/argumentresolver/AuthArgumentResolver.java similarity index 86% rename from backend/src/main/java/edonymyeon/backend/membber/auth/ui/argumentresolver/AuthArgumentResolver.java rename to backend/src/main/java/edonymyeon/backend/member/auth/ui/argumentresolver/AuthArgumentResolver.java index 2d443bf7c..326244433 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/auth/ui/argumentresolver/AuthArgumentResolver.java +++ b/backend/src/main/java/edonymyeon/backend/member/auth/ui/argumentresolver/AuthArgumentResolver.java @@ -1,13 +1,13 @@ -package edonymyeon.backend.membber.auth.ui.argumentresolver; +package edonymyeon.backend.member.auth.ui.argumentresolver; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; import static edonymyeon.backend.global.exception.ExceptionInformation.AUTHORIZATION_EMPTY; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.AnonymousMemberId; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.AnonymousMemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpSession; import java.util.Objects; diff --git a/backend/src/main/java/edonymyeon/backend/membber/config/WebMvcMemberConfiguration.java b/backend/src/main/java/edonymyeon/backend/member/config/WebMvcMemberConfiguration.java similarity index 82% rename from backend/src/main/java/edonymyeon/backend/membber/config/WebMvcMemberConfiguration.java rename to backend/src/main/java/edonymyeon/backend/member/config/WebMvcMemberConfiguration.java index 0581f7bd9..5303f9e29 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/config/WebMvcMemberConfiguration.java +++ b/backend/src/main/java/edonymyeon/backend/member/config/WebMvcMemberConfiguration.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.config; +package edonymyeon.backend.member.config; -import edonymyeon.backend.membber.auth.ui.argumentresolver.AuthArgumentResolver; +import edonymyeon.backend.member.auth.ui.argumentresolver.AuthArgumentResolver; import java.util.List; import lombok.RequiredArgsConstructor; import org.springframework.context.annotation.Configuration; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/DeviceRepository.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/DeviceRepository.java similarity index 83% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/DeviceRepository.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/DeviceRepository.java index d7fe31539..03546ca75 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/DeviceRepository.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/DeviceRepository.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.member.application; +package edonymyeon.backend.member.profile.application; -import edonymyeon.backend.membber.member.domain.Device; +import edonymyeon.backend.member.profile.domain.Device; import java.util.List; import java.util.Optional; import org.springframework.data.jpa.repository.EntityGraph; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/MemberConsumptionService.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/MemberConsumptionService.java similarity index 71% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/MemberConsumptionService.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/MemberConsumptionService.java index 05cd645a9..2406d0525 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/MemberConsumptionService.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/MemberConsumptionService.java @@ -1,7 +1,7 @@ -package edonymyeon.backend.membber.member.application; +package edonymyeon.backend.member.profile.application; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.application.dto.YearMonthDto; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.YearMonthDto; public interface MemberConsumptionService { diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/MemberEventListener.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/MemberEventListener.java similarity index 78% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/MemberEventListener.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/MemberEventListener.java index 4606d2fe1..028ffe7e1 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/MemberEventListener.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/MemberEventListener.java @@ -1,8 +1,8 @@ -package edonymyeon.backend.membber.member.application; +package edonymyeon.backend.member.profile.application; -import edonymyeon.backend.membber.auth.application.event.JoinMemberEvent; -import edonymyeon.backend.membber.auth.application.event.LoginEvent; -import edonymyeon.backend.membber.auth.application.event.LogoutEvent; +import edonymyeon.backend.member.auth.application.event.JoinMemberEvent; +import edonymyeon.backend.member.auth.application.event.LoginEvent; +import edonymyeon.backend.member.auth.application.event.LogoutEvent; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Component; import org.springframework.transaction.event.TransactionPhase; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/MemberService.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/MemberService.java similarity index 85% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/MemberService.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/MemberService.java index 959882b29..b03f94a4b 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/MemberService.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/MemberService.java @@ -1,30 +1,30 @@ -package edonymyeon.backend.membber.member.application; +package edonymyeon.backend.member.profile.application; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_ID_NOT_FOUND; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_NICKNAME_DUPLICATE; -import edonymyeon.backend.membber.auth.domain.ValidateType; +import edonymyeon.backend.member.auth.domain.ValidateType; import edonymyeon.backend.global.exception.EdonymyeonException; import edonymyeon.backend.image.application.ImageService; import edonymyeon.backend.image.domain.ImageType; import edonymyeon.backend.image.domain.ImageInfo; -import edonymyeon.backend.membber.member.profileimage.domain.ProfileImageInfo; -import edonymyeon.backend.membber.member.profileimage.repository.ProfileImageInfoRepository; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.application.dto.request.MemberUpdateRequest; -import edonymyeon.backend.membber.member.application.dto.request.PurchaseConfirmRequest; -import edonymyeon.backend.membber.member.application.dto.request.SavingConfirmRequest; -import edonymyeon.backend.membber.member.application.dto.response.DuplicateCheckResponse; -import edonymyeon.backend.membber.member.application.dto.response.MemberUpdateResponse; -import edonymyeon.backend.membber.member.application.dto.response.MyPageResponseV1_0; -import edonymyeon.backend.membber.member.application.dto.response.MyPageResponseV1_1; -import edonymyeon.backend.membber.member.application.event.ProfileImageDeletionEvent; -import edonymyeon.backend.membber.member.application.dto.YearMonthDto; -import edonymyeon.backend.membber.member.domain.Device; -import edonymyeon.backend.membber.member.domain.Email; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.domain.Nickname; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.profileimage.domain.ProfileImageInfo; +import edonymyeon.backend.member.profile.profileimage.repository.ProfileImageInfoRepository; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.request.MemberUpdateRequest; +import edonymyeon.backend.member.profile.application.dto.request.PurchaseConfirmRequest; +import edonymyeon.backend.member.profile.application.dto.request.SavingConfirmRequest; +import edonymyeon.backend.member.profile.application.dto.response.DuplicateCheckResponse; +import edonymyeon.backend.member.profile.application.dto.response.MemberUpdateResponse; +import edonymyeon.backend.member.profile.application.dto.response.MyPageResponseV1_0; +import edonymyeon.backend.member.profile.application.dto.response.MyPageResponseV1_1; +import edonymyeon.backend.member.profile.application.event.ProfileImageDeletionEvent; +import edonymyeon.backend.member.profile.application.dto.YearMonthDto; +import edonymyeon.backend.member.profile.domain.Device; +import edonymyeon.backend.member.profile.domain.Email; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.domain.Nickname; +import edonymyeon.backend.member.profile.repository.MemberRepository; import java.util.Objects; import java.util.Optional; import lombok.RequiredArgsConstructor; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/ActiveMemberId.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/ActiveMemberId.java similarity index 67% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/dto/ActiveMemberId.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/dto/ActiveMemberId.java index 18ae79c66..1b59a329f 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/ActiveMemberId.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/ActiveMemberId.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.dto; +package edonymyeon.backend.member.profile.application.dto; public final class ActiveMemberId extends MemberId { diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/AnonymousMemberId.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/AnonymousMemberId.java similarity index 76% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/dto/AnonymousMemberId.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/dto/AnonymousMemberId.java index 9f3d90124..6a04e3de6 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/AnonymousMemberId.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/AnonymousMemberId.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.dto; +package edonymyeon.backend.member.profile.application.dto; public final class AnonymousMemberId extends MemberId { diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/MemberId.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/MemberId.java similarity index 80% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/dto/MemberId.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/dto/MemberId.java index a5d26f4ad..768514a62 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/MemberId.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/MemberId.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.dto; +package edonymyeon.backend.member.profile.application.dto; import lombok.EqualsAndHashCode; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/YearMonthDto.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/YearMonthDto.java similarity index 51% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/dto/YearMonthDto.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/dto/YearMonthDto.java index ee701a663..d1fad593d 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/YearMonthDto.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/YearMonthDto.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.dto; +package edonymyeon.backend.member.profile.application.dto; public record YearMonthDto(Integer year, Integer month) { diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/request/MemberUpdateRequest.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/request/MemberUpdateRequest.java similarity index 72% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/dto/request/MemberUpdateRequest.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/dto/request/MemberUpdateRequest.java index 29ff07ee0..a5ae9a626 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/request/MemberUpdateRequest.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/request/MemberUpdateRequest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.dto.request; +package edonymyeon.backend.member.profile.application.dto.request; import org.springframework.web.multipart.MultipartFile; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/request/PurchaseConfirmRequest.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/request/PurchaseConfirmRequest.java similarity index 59% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/dto/request/PurchaseConfirmRequest.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/dto/request/PurchaseConfirmRequest.java index 8371653d9..813a4bb95 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/request/PurchaseConfirmRequest.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/request/PurchaseConfirmRequest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.dto.request; +package edonymyeon.backend.member.profile.application.dto.request; public record PurchaseConfirmRequest(Long purchasePrice, Integer year, Integer month) { diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/request/SavingConfirmRequest.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/request/SavingConfirmRequest.java similarity index 53% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/dto/request/SavingConfirmRequest.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/dto/request/SavingConfirmRequest.java index 3b2aeedc8..469556777 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/request/SavingConfirmRequest.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/request/SavingConfirmRequest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.dto.request; +package edonymyeon.backend.member.profile.application.dto.request; public record SavingConfirmRequest(Integer year, Integer month) { diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/DuplicateCheckResponse.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/DuplicateCheckResponse.java similarity index 50% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/DuplicateCheckResponse.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/DuplicateCheckResponse.java index ea51dc9af..b37267780 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/DuplicateCheckResponse.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/DuplicateCheckResponse.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.dto.response; +package edonymyeon.backend.member.profile.application.dto.response; public record DuplicateCheckResponse(Boolean isUnique) { diff --git a/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/MemberUpdateResponse.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/MemberUpdateResponse.java new file mode 100644 index 000000000..0958e4874 --- /dev/null +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/MemberUpdateResponse.java @@ -0,0 +1,5 @@ +package edonymyeon.backend.member.profile.application.dto.response; + +public record MemberUpdateResponse(Long id) { + +} diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/MyPageResponseV1_0.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/MyPageResponseV1_0.java similarity index 53% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/MyPageResponseV1_0.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/MyPageResponseV1_0.java index c649d0673..f43626d5e 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/MyPageResponseV1_0.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/MyPageResponseV1_0.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.dto.response; +package edonymyeon.backend.member.profile.application.dto.response; public record MyPageResponseV1_0(Long memberId, String nickname) { diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/MyPageResponseV1_1.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/MyPageResponseV1_1.java similarity index 58% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/MyPageResponseV1_1.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/MyPageResponseV1_1.java index 33dee63a3..a57fcc577 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/dto/response/MyPageResponseV1_1.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/dto/response/MyPageResponseV1_1.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.dto.response; +package edonymyeon.backend.member.profile.application.dto.response; public record MyPageResponseV1_1(Long id, String nickname, String profileImage) { diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/event/ProfileImageDeletionEvent.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/event/ProfileImageDeletionEvent.java similarity index 75% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/event/ProfileImageDeletionEvent.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/event/ProfileImageDeletionEvent.java index 69dfceb07..b81bcf43c 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/event/ProfileImageDeletionEvent.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/event/ProfileImageDeletionEvent.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.event; +package edonymyeon.backend.member.profile.application.event; import edonymyeon.backend.image.domain.ImageType; import edonymyeon.backend.image.domain.ImageInfo; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/application/event/ProfileImageUploadEvent.java b/backend/src/main/java/edonymyeon/backend/member/profile/application/event/ProfileImageUploadEvent.java similarity index 75% rename from backend/src/main/java/edonymyeon/backend/membber/member/application/event/ProfileImageUploadEvent.java rename to backend/src/main/java/edonymyeon/backend/member/profile/application/event/ProfileImageUploadEvent.java index 2e7394ce4..82cae6c10 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/application/event/ProfileImageUploadEvent.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/application/event/ProfileImageUploadEvent.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.application.event; +package edonymyeon.backend.member.profile.application.event; import edonymyeon.backend.image.domain.ImageInfo; import org.springframework.web.multipart.MultipartFile; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/domain/Device.java b/backend/src/main/java/edonymyeon/backend/member/profile/domain/Device.java similarity index 97% rename from backend/src/main/java/edonymyeon/backend/membber/member/domain/Device.java rename to backend/src/main/java/edonymyeon/backend/member/profile/domain/Device.java index b5bc961b0..76f851709 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/domain/Device.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/domain/Device.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.domain; +package edonymyeon.backend.member.profile.domain; import edonymyeon.backend.global.domain.TemporalRecord; import jakarta.persistence.Entity; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/domain/Email.java b/backend/src/main/java/edonymyeon/backend/member/profile/domain/Email.java similarity index 91% rename from backend/src/main/java/edonymyeon/backend/membber/member/domain/Email.java rename to backend/src/main/java/edonymyeon/backend/member/profile/domain/Email.java index 5efd955f6..3f3cd3046 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/domain/Email.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/domain/Email.java @@ -1,9 +1,9 @@ -package edonymyeon.backend.membber.member.domain; +package edonymyeon.backend.member.profile.domain; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_EMAIL_INVALID; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.domain.SocialInfo.SocialType; +import edonymyeon.backend.member.profile.domain.SocialInfo.SocialType; import jakarta.persistence.Column; import jakarta.persistence.Embeddable; import java.util.UUID; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/domain/Member.java b/backend/src/main/java/edonymyeon/backend/member/profile/domain/Member.java similarity index 96% rename from backend/src/main/java/edonymyeon/backend/membber/member/domain/Member.java rename to backend/src/main/java/edonymyeon/backend/member/profile/domain/Member.java index d6e64c478..6bf7209e6 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/domain/Member.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/domain/Member.java @@ -1,8 +1,8 @@ -package edonymyeon.backend.membber.member.domain; +package edonymyeon.backend.member.profile.domain; -import edonymyeon.backend.membber.auth.domain.PasswordEncoder; +import edonymyeon.backend.member.auth.domain.PasswordEncoder; import edonymyeon.backend.global.domain.TemporalRecord; -import edonymyeon.backend.membber.member.profileimage.domain.ProfileImageInfo; +import edonymyeon.backend.member.profile.profileimage.domain.ProfileImageInfo; import jakarta.persistence.CascadeType; import jakarta.persistence.Embedded; import jakarta.persistence.Entity; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/domain/Nickname.java b/backend/src/main/java/edonymyeon/backend/member/profile/domain/Nickname.java similarity index 92% rename from backend/src/main/java/edonymyeon/backend/membber/member/domain/Nickname.java rename to backend/src/main/java/edonymyeon/backend/member/profile/domain/Nickname.java index 116434e75..9ac641241 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/domain/Nickname.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/domain/Nickname.java @@ -1,9 +1,9 @@ -package edonymyeon.backend.membber.member.domain; +package edonymyeon.backend.member.profile.domain; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_NICKNAME_INVALID; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.domain.SocialInfo.SocialType; +import edonymyeon.backend.member.profile.domain.SocialInfo.SocialType; import jakarta.persistence.Column; import jakarta.persistence.Embeddable; import java.util.UUID; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/domain/Password.java b/backend/src/main/java/edonymyeon/backend/member/profile/domain/Password.java similarity index 90% rename from backend/src/main/java/edonymyeon/backend/membber/member/domain/Password.java rename to backend/src/main/java/edonymyeon/backend/member/profile/domain/Password.java index 5e95ead7b..ce164ddbd 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/domain/Password.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/domain/Password.java @@ -1,9 +1,9 @@ -package edonymyeon.backend.membber.member.domain; +package edonymyeon.backend.member.profile.domain; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_PASSWORD_INVALID; -import static edonymyeon.backend.membber.member.domain.SocialInfo.SocialType; +import static edonymyeon.backend.member.profile.domain.SocialInfo.SocialType; -import edonymyeon.backend.membber.auth.domain.PasswordEncoder; +import edonymyeon.backend.member.auth.domain.PasswordEncoder; import edonymyeon.backend.global.exception.BusinessLogicException; import edonymyeon.backend.global.exception.EdonymyeonException; import edonymyeon.backend.global.exception.ExceptionInformation; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/domain/PasswordValidator.java b/backend/src/main/java/edonymyeon/backend/member/profile/domain/PasswordValidator.java similarity index 95% rename from backend/src/main/java/edonymyeon/backend/membber/member/domain/PasswordValidator.java rename to backend/src/main/java/edonymyeon/backend/member/profile/domain/PasswordValidator.java index 8bf322ca7..837484b8a 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/domain/PasswordValidator.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/domain/PasswordValidator.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.domain; +package edonymyeon.backend.member.profile.domain; import java.util.Objects; import java.util.regex.Pattern; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/domain/SocialInfo.java b/backend/src/main/java/edonymyeon/backend/member/profile/domain/SocialInfo.java similarity index 93% rename from backend/src/main/java/edonymyeon/backend/membber/member/domain/SocialInfo.java rename to backend/src/main/java/edonymyeon/backend/member/profile/domain/SocialInfo.java index 895565453..2a7f49c24 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/domain/SocialInfo.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/domain/SocialInfo.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.domain; +package edonymyeon.backend.member.profile.domain; import jakarta.persistence.Embeddable; import jakarta.persistence.EnumType; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/profileimage/application/ProfileImageEventListener.java b/backend/src/main/java/edonymyeon/backend/member/profile/profileimage/application/ProfileImageEventListener.java similarity index 82% rename from backend/src/main/java/edonymyeon/backend/membber/member/profileimage/application/ProfileImageEventListener.java rename to backend/src/main/java/edonymyeon/backend/member/profile/profileimage/application/ProfileImageEventListener.java index 07a98b0d3..e7682c8e6 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/profileimage/application/ProfileImageEventListener.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/profileimage/application/ProfileImageEventListener.java @@ -1,7 +1,7 @@ -package edonymyeon.backend.membber.member.profileimage.application; +package edonymyeon.backend.member.profile.profileimage.application; import edonymyeon.backend.image.application.ImageService; -import edonymyeon.backend.membber.member.application.event.ProfileImageDeletionEvent; +import edonymyeon.backend.member.profile.application.event.ProfileImageDeletionEvent; import lombok.RequiredArgsConstructor; import org.springframework.scheduling.annotation.Async; import org.springframework.stereotype.Component; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/profileimage/domain/ProfileImageInfo.java b/backend/src/main/java/edonymyeon/backend/member/profile/profileimage/domain/ProfileImageInfo.java similarity index 88% rename from backend/src/main/java/edonymyeon/backend/membber/member/profileimage/domain/ProfileImageInfo.java rename to backend/src/main/java/edonymyeon/backend/member/profile/profileimage/domain/ProfileImageInfo.java index ae99fcabb..bdc20e6bc 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/profileimage/domain/ProfileImageInfo.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/profileimage/domain/ProfileImageInfo.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.member.profileimage.domain; +package edonymyeon.backend.member.profile.profileimage.domain; import edonymyeon.backend.image.domain.ImageInfo; import jakarta.persistence.Entity; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/profileimage/repository/ProfileImageInfoRepository.java b/backend/src/main/java/edonymyeon/backend/member/profile/profileimage/repository/ProfileImageInfoRepository.java similarity index 58% rename from backend/src/main/java/edonymyeon/backend/membber/member/profileimage/repository/ProfileImageInfoRepository.java rename to backend/src/main/java/edonymyeon/backend/member/profile/profileimage/repository/ProfileImageInfoRepository.java index ea0d50589..fa4cf624a 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/profileimage/repository/ProfileImageInfoRepository.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/profileimage/repository/ProfileImageInfoRepository.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.member.profileimage.repository; +package edonymyeon.backend.member.profile.profileimage.repository; -import edonymyeon.backend.membber.member.profileimage.domain.ProfileImageInfo; +import edonymyeon.backend.member.profile.profileimage.domain.ProfileImageInfo; import org.springframework.data.jpa.repository.JpaRepository; public interface ProfileImageInfoRepository extends JpaRepository { diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/repository/MemberCustomRepository.java b/backend/src/main/java/edonymyeon/backend/member/profile/repository/MemberCustomRepository.java similarity index 55% rename from backend/src/main/java/edonymyeon/backend/membber/member/repository/MemberCustomRepository.java rename to backend/src/main/java/edonymyeon/backend/member/profile/repository/MemberCustomRepository.java index eeeade16c..2fd9db4de 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/repository/MemberCustomRepository.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/repository/MemberCustomRepository.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.member.repository; +package edonymyeon.backend.member.profile.repository; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import java.util.List; public interface MemberCustomRepository { diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/repository/MemberCustomRepositoryImpl.java b/backend/src/main/java/edonymyeon/backend/member/profile/repository/MemberCustomRepositoryImpl.java similarity index 88% rename from backend/src/main/java/edonymyeon/backend/membber/member/repository/MemberCustomRepositoryImpl.java rename to backend/src/main/java/edonymyeon/backend/member/profile/repository/MemberCustomRepositoryImpl.java index b6f4e3fc5..9382f029a 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/repository/MemberCustomRepositoryImpl.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/repository/MemberCustomRepositoryImpl.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.member.repository; +package edonymyeon.backend.member.profile.repository; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import jakarta.persistence.EntityManager; import java.time.LocalDateTime; import java.util.List; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/repository/MemberRepository.java b/backend/src/main/java/edonymyeon/backend/member/profile/repository/MemberRepository.java similarity index 58% rename from backend/src/main/java/edonymyeon/backend/membber/member/repository/MemberRepository.java rename to backend/src/main/java/edonymyeon/backend/member/profile/repository/MemberRepository.java index 3ad05fd5a..7819f4f4c 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/repository/MemberRepository.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/repository/MemberRepository.java @@ -1,9 +1,9 @@ -package edonymyeon.backend.membber.member.repository; +package edonymyeon.backend.member.profile.repository; -import edonymyeon.backend.membber.member.domain.Nickname; -import edonymyeon.backend.membber.member.domain.SocialInfo; -import edonymyeon.backend.membber.member.domain.Email; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Nickname; +import edonymyeon.backend.member.profile.domain.SocialInfo; +import edonymyeon.backend.member.profile.domain.Email; +import edonymyeon.backend.member.profile.domain.Member; import java.util.Optional; import org.springframework.data.jpa.repository.JpaRepository; diff --git a/backend/src/main/java/edonymyeon/backend/membber/member/ui/MemberController.java b/backend/src/main/java/edonymyeon/backend/member/profile/ui/MemberController.java similarity index 84% rename from backend/src/main/java/edonymyeon/backend/membber/member/ui/MemberController.java rename to backend/src/main/java/edonymyeon/backend/member/profile/ui/MemberController.java index 1875b9eaa..e5b7d0c78 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/member/ui/MemberController.java +++ b/backend/src/main/java/edonymyeon/backend/member/profile/ui/MemberController.java @@ -1,16 +1,16 @@ -package edonymyeon.backend.membber.member.ui; +package edonymyeon.backend.member.profile.ui; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; import edonymyeon.backend.global.version.ApiVersion; -import edonymyeon.backend.membber.member.application.MemberService; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.application.dto.request.MemberUpdateRequest; -import edonymyeon.backend.membber.member.application.dto.request.PurchaseConfirmRequest; -import edonymyeon.backend.membber.member.application.dto.request.SavingConfirmRequest; -import edonymyeon.backend.membber.member.application.dto.response.DuplicateCheckResponse; -import edonymyeon.backend.membber.member.application.dto.response.MemberUpdateResponse; -import edonymyeon.backend.membber.member.application.dto.response.MyPageResponseV1_0; -import edonymyeon.backend.membber.member.application.dto.response.MyPageResponseV1_1; +import edonymyeon.backend.member.profile.application.MemberService; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.request.MemberUpdateRequest; +import edonymyeon.backend.member.profile.application.dto.request.PurchaseConfirmRequest; +import edonymyeon.backend.member.profile.application.dto.request.SavingConfirmRequest; +import edonymyeon.backend.member.profile.application.dto.response.DuplicateCheckResponse; +import edonymyeon.backend.member.profile.application.dto.response.MemberUpdateResponse; +import edonymyeon.backend.member.profile.application.dto.response.MyPageResponseV1_0; +import edonymyeon.backend.member.profile.application.dto.response.MyPageResponseV1_1; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.DeleteMapping; diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/application/SettingEventListener.java b/backend/src/main/java/edonymyeon/backend/member/setting/application/SettingEventListener.java similarity index 76% rename from backend/src/main/java/edonymyeon/backend/membber/setting/application/SettingEventListener.java rename to backend/src/main/java/edonymyeon/backend/member/setting/application/SettingEventListener.java index fc3e700fa..263509619 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/application/SettingEventListener.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/application/SettingEventListener.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.setting.application; +package edonymyeon.backend.member.setting.application; -import edonymyeon.backend.membber.auth.application.event.JoinMemberEvent; +import edonymyeon.backend.member.auth.application.event.JoinMemberEvent; import lombok.RequiredArgsConstructor; import org.springframework.context.event.EventListener; import org.springframework.stereotype.Component; diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/application/SettingService.java b/backend/src/main/java/edonymyeon/backend/member/setting/application/SettingService.java similarity index 82% rename from backend/src/main/java/edonymyeon/backend/membber/setting/application/SettingService.java rename to backend/src/main/java/edonymyeon/backend/member/setting/application/SettingService.java index 4a3457524..6207c6cd0 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/application/SettingService.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/application/SettingService.java @@ -1,16 +1,16 @@ -package edonymyeon.backend.membber.setting.application; +package edonymyeon.backend.member.setting.application; import edonymyeon.backend.global.exception.EdonymyeonException; import edonymyeon.backend.global.exception.ExceptionInformation; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; -import edonymyeon.backend.membber.setting.application.activationmanager.ActivationManager; -import edonymyeon.backend.membber.setting.application.deactivationmanager.DeactivationManager; -import edonymyeon.backend.membber.setting.application.dto.SettingsResponse; -import edonymyeon.backend.membber.setting.repository.SettingRepository; -import edonymyeon.backend.membber.setting.domain.Setting; -import edonymyeon.backend.membber.setting.domain.SettingType; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; +import edonymyeon.backend.member.setting.application.activationmanager.ActivationManager; +import edonymyeon.backend.member.setting.application.deactivationmanager.DeactivationManager; +import edonymyeon.backend.member.setting.application.dto.SettingsResponse; +import edonymyeon.backend.member.setting.repository.SettingRepository; +import edonymyeon.backend.member.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.SettingType; import java.util.List; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/application/activationmanager/ActivatingPrimaryManager.java b/backend/src/main/java/edonymyeon/backend/member/setting/application/activationmanager/ActivatingPrimaryManager.java similarity index 84% rename from backend/src/main/java/edonymyeon/backend/membber/setting/application/activationmanager/ActivatingPrimaryManager.java rename to backend/src/main/java/edonymyeon/backend/member/setting/application/activationmanager/ActivatingPrimaryManager.java index a092e5f22..8957af165 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/application/activationmanager/ActivatingPrimaryManager.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/application/activationmanager/ActivatingPrimaryManager.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.setting.application.activationmanager; +package edonymyeon.backend.member.setting.application.activationmanager; -import edonymyeon.backend.membber.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.Setting; import java.util.List; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/application/activationmanager/ActivationManager.java b/backend/src/main/java/edonymyeon/backend/member/setting/application/activationmanager/ActivationManager.java similarity index 80% rename from backend/src/main/java/edonymyeon/backend/membber/setting/application/activationmanager/ActivationManager.java rename to backend/src/main/java/edonymyeon/backend/member/setting/application/activationmanager/ActivationManager.java index 7838410cd..b6a780433 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/application/activationmanager/ActivationManager.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/application/activationmanager/ActivationManager.java @@ -1,8 +1,8 @@ -package edonymyeon.backend.membber.setting.application.activationmanager; +package edonymyeon.backend.member.setting.application.activationmanager; import edonymyeon.backend.global.exception.BusinessLogicException; import edonymyeon.backend.global.exception.ExceptionInformation; -import edonymyeon.backend.membber.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.Setting; import java.util.List; public abstract class ActivationManager { diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/application/activationmanager/DeactivatingSameWeightsManager.java b/backend/src/main/java/edonymyeon/backend/member/setting/application/activationmanager/DeactivatingSameWeightsManager.java similarity index 84% rename from backend/src/main/java/edonymyeon/backend/membber/setting/application/activationmanager/DeactivatingSameWeightsManager.java rename to backend/src/main/java/edonymyeon/backend/member/setting/application/activationmanager/DeactivatingSameWeightsManager.java index a21683c4e..377aa2767 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/application/activationmanager/DeactivatingSameWeightsManager.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/application/activationmanager/DeactivatingSameWeightsManager.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.setting.application.activationmanager; +package edonymyeon.backend.member.setting.application.activationmanager; -import edonymyeon.backend.membber.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.Setting; import java.util.List; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/application/deactivationmanager/DeactivatingLowerWeightManager.java b/backend/src/main/java/edonymyeon/backend/member/setting/application/deactivationmanager/DeactivatingLowerWeightManager.java similarity index 84% rename from backend/src/main/java/edonymyeon/backend/membber/setting/application/deactivationmanager/DeactivatingLowerWeightManager.java rename to backend/src/main/java/edonymyeon/backend/member/setting/application/deactivationmanager/DeactivatingLowerWeightManager.java index 9add2dc31..1e463c6fe 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/application/deactivationmanager/DeactivatingLowerWeightManager.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/application/deactivationmanager/DeactivatingLowerWeightManager.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.setting.application.deactivationmanager; +package edonymyeon.backend.member.setting.application.deactivationmanager; -import edonymyeon.backend.membber.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.Setting; import java.util.List; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/application/deactivationmanager/DeactivatingPrimaryManager.java b/backend/src/main/java/edonymyeon/backend/member/setting/application/deactivationmanager/DeactivatingPrimaryManager.java similarity index 82% rename from backend/src/main/java/edonymyeon/backend/membber/setting/application/deactivationmanager/DeactivatingPrimaryManager.java rename to backend/src/main/java/edonymyeon/backend/member/setting/application/deactivationmanager/DeactivatingPrimaryManager.java index e9b6b7e4b..26b2d72c3 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/application/deactivationmanager/DeactivatingPrimaryManager.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/application/deactivationmanager/DeactivatingPrimaryManager.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.setting.application.deactivationmanager; +package edonymyeon.backend.member.setting.application.deactivationmanager; -import edonymyeon.backend.membber.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.Setting; import java.util.List; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/application/deactivationmanager/DeactivationManager.java b/backend/src/main/java/edonymyeon/backend/member/setting/application/deactivationmanager/DeactivationManager.java similarity index 80% rename from backend/src/main/java/edonymyeon/backend/membber/setting/application/deactivationmanager/DeactivationManager.java rename to backend/src/main/java/edonymyeon/backend/member/setting/application/deactivationmanager/DeactivationManager.java index 138d1277d..eaddc2ca1 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/application/deactivationmanager/DeactivationManager.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/application/deactivationmanager/DeactivationManager.java @@ -1,8 +1,8 @@ -package edonymyeon.backend.membber.setting.application.deactivationmanager; +package edonymyeon.backend.member.setting.application.deactivationmanager; import edonymyeon.backend.global.exception.BusinessLogicException; import edonymyeon.backend.global.exception.ExceptionInformation; -import edonymyeon.backend.membber.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.Setting; import java.util.List; public abstract class DeactivationManager { diff --git a/backend/src/main/java/edonymyeon/backend/member/setting/application/dto/SettingRequest.java b/backend/src/main/java/edonymyeon/backend/member/setting/application/dto/SettingRequest.java new file mode 100644 index 000000000..56dfa1587 --- /dev/null +++ b/backend/src/main/java/edonymyeon/backend/member/setting/application/dto/SettingRequest.java @@ -0,0 +1,5 @@ +package edonymyeon.backend.member.setting.application.dto; + +public record SettingRequest(String preferenceType) { + +} diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/application/dto/SettingResponse.java b/backend/src/main/java/edonymyeon/backend/member/setting/application/dto/SettingResponse.java similarity index 65% rename from backend/src/main/java/edonymyeon/backend/membber/setting/application/dto/SettingResponse.java rename to backend/src/main/java/edonymyeon/backend/member/setting/application/dto/SettingResponse.java index 9b378214f..6673694af 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/application/dto/SettingResponse.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/application/dto/SettingResponse.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.setting.application.dto; +package edonymyeon.backend.member.setting.application.dto; -import edonymyeon.backend.membber.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.Setting; public record SettingResponse(String preferenceType, boolean enabled) { public static SettingResponse from(final Setting setting) { diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/application/dto/SettingsResponse.java b/backend/src/main/java/edonymyeon/backend/member/setting/application/dto/SettingsResponse.java similarity index 71% rename from backend/src/main/java/edonymyeon/backend/membber/setting/application/dto/SettingsResponse.java rename to backend/src/main/java/edonymyeon/backend/member/setting/application/dto/SettingsResponse.java index d7becb0f8..494d74f8e 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/application/dto/SettingsResponse.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/application/dto/SettingsResponse.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.setting.application.dto; +package edonymyeon.backend.member.setting.application.dto; -import edonymyeon.backend.membber.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.Setting; import java.util.List; public record SettingsResponse(List notifications) { diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/domain/Category.java b/backend/src/main/java/edonymyeon/backend/member/setting/domain/Category.java similarity index 54% rename from backend/src/main/java/edonymyeon/backend/membber/setting/domain/Category.java rename to backend/src/main/java/edonymyeon/backend/member/setting/domain/Category.java index c34da5531..de6791f1d 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/domain/Category.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/domain/Category.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.setting.domain; +package edonymyeon.backend.member.setting.domain; public enum Category { ALL, THUMB, COMMENT, REMINDING diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/domain/Setting.java b/backend/src/main/java/edonymyeon/backend/member/setting/domain/Setting.java similarity index 95% rename from backend/src/main/java/edonymyeon/backend/membber/setting/domain/Setting.java rename to backend/src/main/java/edonymyeon/backend/member/setting/domain/Setting.java index 00253ea5b..4d3fd24f6 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/domain/Setting.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/domain/Setting.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.setting.domain; +package edonymyeon.backend.member.setting.domain; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import jakarta.persistence.Entity; import jakarta.persistence.EnumType; import jakarta.persistence.Enumerated; diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/domain/SettingType.java b/backend/src/main/java/edonymyeon/backend/member/setting/domain/SettingType.java similarity index 97% rename from backend/src/main/java/edonymyeon/backend/membber/setting/domain/SettingType.java rename to backend/src/main/java/edonymyeon/backend/member/setting/domain/SettingType.java index 49ca59c91..0c30b9a8d 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/domain/SettingType.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/domain/SettingType.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.setting.domain; +package edonymyeon.backend.member.setting.domain; import edonymyeon.backend.global.exception.EdonymyeonException; import edonymyeon.backend.global.exception.ExceptionInformation; diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/domain/SettingTypeCategory.java b/backend/src/main/java/edonymyeon/backend/member/setting/domain/SettingTypeCategory.java similarity index 58% rename from backend/src/main/java/edonymyeon/backend/membber/setting/domain/SettingTypeCategory.java rename to backend/src/main/java/edonymyeon/backend/member/setting/domain/SettingTypeCategory.java index 132ec1094..06a41012f 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/domain/SettingTypeCategory.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/domain/SettingTypeCategory.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.setting.domain; +package edonymyeon.backend.member.setting.domain; public enum SettingTypeCategory { ALL, THUMB, COMMENT, REMINDING diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/domain/Weight.java b/backend/src/main/java/edonymyeon/backend/member/setting/domain/Weight.java similarity index 85% rename from backend/src/main/java/edonymyeon/backend/membber/setting/domain/Weight.java rename to backend/src/main/java/edonymyeon/backend/member/setting/domain/Weight.java index 2f70de01d..17571c00d 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/domain/Weight.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/domain/Weight.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.membber.setting.domain; +package edonymyeon.backend.member.setting.domain; public enum Weight { diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/repository/SettingCustomRepository.java b/backend/src/main/java/edonymyeon/backend/member/setting/repository/SettingCustomRepository.java similarity index 50% rename from backend/src/main/java/edonymyeon/backend/membber/setting/repository/SettingCustomRepository.java rename to backend/src/main/java/edonymyeon/backend/member/setting/repository/SettingCustomRepository.java index 90a0729c6..0c0880852 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/repository/SettingCustomRepository.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/repository/SettingCustomRepository.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.setting.repository; +package edonymyeon.backend.member.setting.repository; -import edonymyeon.backend.membber.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.Setting; import java.util.List; public interface SettingCustomRepository { diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/repository/SettingRepository.java b/backend/src/main/java/edonymyeon/backend/member/setting/repository/SettingRepository.java similarity index 68% rename from backend/src/main/java/edonymyeon/backend/membber/setting/repository/SettingRepository.java rename to backend/src/main/java/edonymyeon/backend/member/setting/repository/SettingRepository.java index 194f4b2b1..ee94cc80f 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/repository/SettingRepository.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/repository/SettingRepository.java @@ -1,7 +1,7 @@ -package edonymyeon.backend.membber.setting.repository; +package edonymyeon.backend.member.setting.repository; -import edonymyeon.backend.membber.setting.domain.Setting; -import edonymyeon.backend.membber.setting.domain.SettingType; +import edonymyeon.backend.member.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.SettingType; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/repository/SettingRepositoryImpl.java b/backend/src/main/java/edonymyeon/backend/member/setting/repository/SettingRepositoryImpl.java similarity index 92% rename from backend/src/main/java/edonymyeon/backend/membber/setting/repository/SettingRepositoryImpl.java rename to backend/src/main/java/edonymyeon/backend/member/setting/repository/SettingRepositoryImpl.java index d3c7d20aa..aa6beac2e 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/repository/SettingRepositoryImpl.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/repository/SettingRepositoryImpl.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.membber.setting.repository; +package edonymyeon.backend.member.setting.repository; -import edonymyeon.backend.membber.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.Setting; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.List; diff --git a/backend/src/main/java/edonymyeon/backend/membber/setting/ui/SettingController.java b/backend/src/main/java/edonymyeon/backend/member/setting/ui/SettingController.java similarity index 76% rename from backend/src/main/java/edonymyeon/backend/membber/setting/ui/SettingController.java rename to backend/src/main/java/edonymyeon/backend/member/setting/ui/SettingController.java index b51372d3a..e12c1c381 100644 --- a/backend/src/main/java/edonymyeon/backend/membber/setting/ui/SettingController.java +++ b/backend/src/main/java/edonymyeon/backend/member/setting/ui/SettingController.java @@ -1,11 +1,11 @@ -package edonymyeon.backend.membber.setting.ui; +package edonymyeon.backend.member.setting.ui; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; import edonymyeon.backend.global.version.ApiVersion; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.setting.application.SettingService; -import edonymyeon.backend.membber.setting.application.dto.SettingRequest; -import edonymyeon.backend.membber.setting.application.dto.SettingsResponse; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.setting.application.SettingService; +import edonymyeon.backend.member.setting.application.dto.SettingRequest; +import edonymyeon.backend.member.setting.application.dto.SettingsResponse; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; diff --git a/backend/src/main/java/edonymyeon/backend/notification/application/NotificationService.java b/backend/src/main/java/edonymyeon/backend/notification/application/NotificationService.java index 1ea8dd921..bdca0adaa 100644 --- a/backend/src/main/java/edonymyeon/backend/notification/application/NotificationService.java +++ b/backend/src/main/java/edonymyeon/backend/notification/application/NotificationService.java @@ -3,10 +3,10 @@ import edonymyeon.backend.content.comment.domain.Comment; import edonymyeon.backend.consumption.application.ConsumptionService; import edonymyeon.backend.global.exception.BusinessLogicException; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.notification.application.dto.Data; import edonymyeon.backend.notification.application.dto.NotificationResponse; import edonymyeon.backend.notification.application.dto.Receiver; @@ -17,8 +17,8 @@ import edonymyeon.backend.content.post.application.GeneralFindingCondition; import edonymyeon.backend.content.post.application.PostSlice; import edonymyeon.backend.content.post.domain.Post; -import edonymyeon.backend.membber.setting.application.SettingService; -import edonymyeon.backend.membber.setting.domain.SettingType; +import edonymyeon.backend.member.setting.application.SettingService; +import edonymyeon.backend.member.setting.domain.SettingType; import edonymyeon.backend.content.thumbs.application.ThumbsService; import jakarta.persistence.EntityManager; import lombok.RequiredArgsConstructor; diff --git a/backend/src/main/java/edonymyeon/backend/notification/application/dto/Receiver.java b/backend/src/main/java/edonymyeon/backend/notification/application/dto/Receiver.java index e8941fe59..025387416 100644 --- a/backend/src/main/java/edonymyeon/backend/notification/application/dto/Receiver.java +++ b/backend/src/main/java/edonymyeon/backend/notification/application/dto/Receiver.java @@ -1,6 +1,6 @@ package edonymyeon.backend.notification.application.dto; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import lombok.Getter; @Getter diff --git a/backend/src/main/java/edonymyeon/backend/notification/domain/Notification.java b/backend/src/main/java/edonymyeon/backend/notification/domain/Notification.java index 7874d69a5..4a0624ef7 100644 --- a/backend/src/main/java/edonymyeon/backend/notification/domain/Notification.java +++ b/backend/src/main/java/edonymyeon/backend/notification/domain/Notification.java @@ -1,7 +1,7 @@ package edonymyeon.backend.notification.domain; import edonymyeon.backend.global.domain.TemporalRecord; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.EnumType; diff --git a/backend/src/main/java/edonymyeon/backend/notification/ui/NotificationController.java b/backend/src/main/java/edonymyeon/backend/notification/ui/NotificationController.java index 6c97337ee..4e7c87407 100644 --- a/backend/src/main/java/edonymyeon/backend/notification/ui/NotificationController.java +++ b/backend/src/main/java/edonymyeon/backend/notification/ui/NotificationController.java @@ -1,8 +1,8 @@ package edonymyeon.backend.notification.ui; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; import edonymyeon.backend.global.version.ApiVersion; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import edonymyeon.backend.notification.application.NotificationService; import edonymyeon.backend.notification.application.dto.NotificationResponse; import edonymyeon.backend.content.post.application.GeneralFindingCondition; diff --git a/backend/src/main/java/edonymyeon/backend/report/application/ReportService.java b/backend/src/main/java/edonymyeon/backend/report/application/ReportService.java index 924e5f24f..7c5ca0ebc 100644 --- a/backend/src/main/java/edonymyeon/backend/report/application/ReportService.java +++ b/backend/src/main/java/edonymyeon/backend/report/application/ReportService.java @@ -4,9 +4,9 @@ import edonymyeon.backend.content.comment.repository.CommentRepository; import edonymyeon.backend.global.exception.EdonymyeonException; import edonymyeon.backend.global.exception.ExceptionInformation; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.post.repository.PostRepository; import edonymyeon.backend.report.domain.AbusingType; diff --git a/backend/src/main/java/edonymyeon/backend/report/domain/Report.java b/backend/src/main/java/edonymyeon/backend/report/domain/Report.java index 0b9573ed6..665356abe 100644 --- a/backend/src/main/java/edonymyeon/backend/report/domain/Report.java +++ b/backend/src/main/java/edonymyeon/backend/report/domain/Report.java @@ -1,7 +1,7 @@ package edonymyeon.backend.report.domain; import edonymyeon.backend.global.domain.TemporalRecord; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import jakarta.persistence.*; import lombok.AccessLevel; import lombok.EqualsAndHashCode; diff --git a/backend/src/main/java/edonymyeon/backend/report/ui/ReportController.java b/backend/src/main/java/edonymyeon/backend/report/ui/ReportController.java index b97bec2df..eef5d14a2 100644 --- a/backend/src/main/java/edonymyeon/backend/report/ui/ReportController.java +++ b/backend/src/main/java/edonymyeon/backend/report/ui/ReportController.java @@ -1,8 +1,8 @@ package edonymyeon.backend.report.ui; -import edonymyeon.backend.membber.auth.annotation.AuthPrincipal; +import edonymyeon.backend.member.auth.annotation.AuthPrincipal; import edonymyeon.backend.global.version.ApiVersion; -import edonymyeon.backend.membber.member.application.dto.MemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import edonymyeon.backend.report.application.ReportRequest; import edonymyeon.backend.report.application.ReportService; import java.net.URI; diff --git a/backend/src/test/java/edonymyeon/backend/CacheConfig.java b/backend/src/test/java/edonymyeon/backend/CacheConfig.java index 5e685b351..a7ab2c262 100644 --- a/backend/src/test/java/edonymyeon/backend/CacheConfig.java +++ b/backend/src/test/java/edonymyeon/backend/CacheConfig.java @@ -1,7 +1,7 @@ package edonymyeon.backend; import edonymyeon.backend.content.cache.util.HotPostCachePolicy; -import edonymyeon.backend.post.application.TestCacheKeyStrategy; +import edonymyeon.backend.content.post.application.TestCacheKeyStrategy; import org.springframework.boot.test.context.TestConfiguration; import org.springframework.context.annotation.Bean; diff --git a/backend/src/test/java/edonymyeon/backend/TestConfig.java b/backend/src/test/java/edonymyeon/backend/TestConfig.java index 1c90c31f7..72eeb6b22 100644 --- a/backend/src/test/java/edonymyeon/backend/TestConfig.java +++ b/backend/src/test/java/edonymyeon/backend/TestConfig.java @@ -1,7 +1,7 @@ package edonymyeon.backend; import edonymyeon.backend.image.domain.ImageFileNameStrategy; -import edonymyeon.backend.post.application.ImageFileNameMockStrategy; +import edonymyeon.backend.content.post.application.ImageFileNameMockStrategy; import lombok.RequiredArgsConstructor; import org.springframework.boot.test.context.TestConfiguration; import org.springframework.context.annotation.Bean; diff --git a/backend/src/test/java/edonymyeon/backend/consumption/application/MemberConsumptionServiceImplTest.java b/backend/src/test/java/edonymyeon/backend/consumption/application/MemberConsumptionServiceImplTest.java index f8667923c..b4a16c202 100644 --- a/backend/src/test/java/edonymyeon/backend/consumption/application/MemberConsumptionServiceImplTest.java +++ b/backend/src/test/java/edonymyeon/backend/consumption/application/MemberConsumptionServiceImplTest.java @@ -3,9 +3,9 @@ import edonymyeon.backend.consumption.domain.Consumption; import edonymyeon.backend.consumption.domain.ConsumptionType; import edonymyeon.backend.consumption.repository.ConsumptionRepository; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.YearMonthDto; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.YearMonthDto; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.IntegrationTest; import edonymyeon.backend.support.PostTestSupport; diff --git a/backend/src/test/java/edonymyeon/backend/consumption/docs/ConsumptionControllerDocsTest.java b/backend/src/test/java/edonymyeon/backend/consumption/docs/ConsumptionControllerDocsTest.java index 8af7e552d..66994c173 100644 --- a/backend/src/test/java/edonymyeon/backend/consumption/docs/ConsumptionControllerDocsTest.java +++ b/backend/src/test/java/edonymyeon/backend/consumption/docs/ConsumptionControllerDocsTest.java @@ -1,6 +1,6 @@ package edonymyeon.backend.consumption.docs; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; import static org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document; @@ -17,9 +17,9 @@ import edonymyeon.backend.consumption.application.ConsumptionService; import edonymyeon.backend.consumption.application.dto.ConsumptionPriceResponse; import edonymyeon.backend.consumption.application.dto.RecentConsumptionsResponse; -import edonymyeon.backend.membber.member.domain.Email; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.domain.Email; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.support.DocsTest; import edonymyeon.backend.support.TestMemberBuilder; import java.util.List; diff --git a/backend/src/test/java/edonymyeon/backend/consumption/domain/ConsumptionsPerMonthTest.java b/backend/src/test/java/edonymyeon/backend/consumption/domain/ConsumptionsPerMonthTest.java index b9f2c7bef..e1aee7efc 100644 --- a/backend/src/test/java/edonymyeon/backend/consumption/domain/ConsumptionsPerMonthTest.java +++ b/backend/src/test/java/edonymyeon/backend/consumption/domain/ConsumptionsPerMonthTest.java @@ -1,6 +1,6 @@ package edonymyeon.backend.consumption.domain; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.TestMemberBuilder; import org.assertj.core.api.SoftAssertions; diff --git a/backend/src/test/java/edonymyeon/backend/consumption/integration/ConsumptionIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/consumption/integration/ConsumptionIntegrationTest.java index 841b65e0b..b75a15e7e 100644 --- a/backend/src/test/java/edonymyeon/backend/consumption/integration/ConsumptionIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/consumption/integration/ConsumptionIntegrationTest.java @@ -6,7 +6,7 @@ import edonymyeon.backend.consumption.domain.ConsumptionType; import edonymyeon.backend.global.controlleradvice.dto.ExceptionResponse; import edonymyeon.backend.global.exception.ExceptionInformation; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.ConsumptionTestSupport; import edonymyeon.backend.support.IntegrationFixture; diff --git a/backend/src/test/java/edonymyeon/backend/consumption/repository/ConsumptionRepositoryTest.java b/backend/src/test/java/edonymyeon/backend/consumption/repository/ConsumptionRepositoryTest.java index 8d5207e84..7121dea78 100644 --- a/backend/src/test/java/edonymyeon/backend/consumption/repository/ConsumptionRepositoryTest.java +++ b/backend/src/test/java/edonymyeon/backend/consumption/repository/ConsumptionRepositoryTest.java @@ -6,7 +6,7 @@ import edonymyeon.backend.support.IntegrationTest; import edonymyeon.backend.consumption.domain.Consumption; import edonymyeon.backend.consumption.domain.ConsumptionType; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.ConsumptionTestSupport; import edonymyeon.backend.support.PostTestSupport; diff --git a/backend/src/test/java/edonymyeon/backend/comment/application/CommentServiceTest.java b/backend/src/test/java/edonymyeon/backend/content/comment/application/CommentServiceTest.java similarity index 84% rename from backend/src/test/java/edonymyeon/backend/comment/application/CommentServiceTest.java rename to backend/src/test/java/edonymyeon/backend/content/comment/application/CommentServiceTest.java index 12f0a642c..b5b57519a 100644 --- a/backend/src/test/java/edonymyeon/backend/comment/application/CommentServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/comment/application/CommentServiceTest.java @@ -1,12 +1,11 @@ -package edonymyeon.backend.comment.application; +package edonymyeon.backend.content.comment.application; import static org.assertj.core.api.Assertions.assertThat; -import edonymyeon.backend.content.comment.application.CommentService; import edonymyeon.backend.content.comment.domain.Comment; import edonymyeon.backend.content.comment.repository.CommentRepository; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.IntegrationFixture; import java.util.Optional; diff --git a/backend/src/test/java/edonymyeon/backend/comment/docs/CommentControllerDocsTest.java b/backend/src/test/java/edonymyeon/backend/content/comment/docs/CommentControllerDocsTest.java similarity index 98% rename from backend/src/test/java/edonymyeon/backend/comment/docs/CommentControllerDocsTest.java rename to backend/src/test/java/edonymyeon/backend/content/comment/docs/CommentControllerDocsTest.java index 938ba404a..fdf7e09dc 100644 --- a/backend/src/test/java/edonymyeon/backend/comment/docs/CommentControllerDocsTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/comment/docs/CommentControllerDocsTest.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.comment.docs; +package edonymyeon.backend.content.comment.docs; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyLong; import static org.mockito.Mockito.doNothing; @@ -25,7 +25,7 @@ import edonymyeon.backend.content.comment.application.dto.response.CommentDto; import edonymyeon.backend.content.comment.application.dto.response.CommentsResponse; import edonymyeon.backend.content.comment.application.dto.response.WriterDto; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.support.IntegrationTest; import edonymyeon.backend.support.TestMemberBuilder; import jakarta.servlet.http.Part; diff --git a/backend/src/test/java/edonymyeon/backend/comment/integration/CommentIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/content/comment/integration/CommentIntegrationTest.java similarity index 99% rename from backend/src/test/java/edonymyeon/backend/comment/integration/CommentIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/content/comment/integration/CommentIntegrationTest.java index a3a039982..5a6a9bb03 100644 --- a/backend/src/test/java/edonymyeon/backend/comment/integration/CommentIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/comment/integration/CommentIntegrationTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.comment.integration; +package edonymyeon.backend.content.comment.integration; import static edonymyeon.backend.global.exception.ExceptionInformation.COMMENT_ID_NOT_FOUND; import static edonymyeon.backend.global.exception.ExceptionInformation.COMMENT_MEMBER_NOT_SAME; @@ -8,8 +8,8 @@ import edonymyeon.backend.TestConfig; import edonymyeon.backend.image.domain.ImageType; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.IntegrationFixture; import io.restassured.response.ExtractableResponse; diff --git a/backend/src/test/java/edonymyeon/backend/post/ImageFileCleaner.java b/backend/src/test/java/edonymyeon/backend/content/post/ImageFileCleaner.java similarity index 96% rename from backend/src/test/java/edonymyeon/backend/post/ImageFileCleaner.java rename to backend/src/test/java/edonymyeon/backend/content/post/ImageFileCleaner.java index 3685dcce2..8a2bd4524 100644 --- a/backend/src/test/java/edonymyeon/backend/post/ImageFileCleaner.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/ImageFileCleaner.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.post; +package edonymyeon.backend.content.post; import java.io.File; import java.io.FilenameFilter; diff --git a/backend/src/test/java/edonymyeon/backend/post/application/ImageFileNameMockStrategy.java b/backend/src/test/java/edonymyeon/backend/content/post/application/ImageFileNameMockStrategy.java similarity index 92% rename from backend/src/test/java/edonymyeon/backend/post/application/ImageFileNameMockStrategy.java rename to backend/src/test/java/edonymyeon/backend/content/post/application/ImageFileNameMockStrategy.java index fdc71ebb4..b8c7d950a 100644 --- a/backend/src/test/java/edonymyeon/backend/post/application/ImageFileNameMockStrategy.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/application/ImageFileNameMockStrategy.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.post.application; +package edonymyeon.backend.content.post.application; import edonymyeon.backend.image.domain.ImageFileNameStrategy; diff --git a/backend/src/test/java/edonymyeon/backend/post/application/MyPostServiceTest.java b/backend/src/test/java/edonymyeon/backend/content/post/application/MyPostServiceTest.java similarity index 93% rename from backend/src/test/java/edonymyeon/backend/post/application/MyPostServiceTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/application/MyPostServiceTest.java index 66adfc322..3812c4529 100644 --- a/backend/src/test/java/edonymyeon/backend/post/application/MyPostServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/application/MyPostServiceTest.java @@ -1,13 +1,10 @@ -package edonymyeon.backend.post.application; +package edonymyeon.backend.content.post.application; import edonymyeon.backend.consumption.domain.Consumption; -import edonymyeon.backend.content.post.application.GeneralFindingCondition; -import edonymyeon.backend.content.post.application.MyPostService; -import edonymyeon.backend.content.post.application.PostConsumptionService; import edonymyeon.backend.image.application.ImageService; import edonymyeon.backend.image.domain.ImageType; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.application.dto.response.MyPostResponse; import edonymyeon.backend.content.post.application.dto.response.PostConsumptionResponse; import edonymyeon.backend.content.post.domain.Post; diff --git a/backend/src/test/java/edonymyeon/backend/post/application/PostFindingSpecificPostTest.java b/backend/src/test/java/edonymyeon/backend/content/post/application/PostFindingSpecificPostTest.java similarity index 89% rename from backend/src/test/java/edonymyeon/backend/post/application/PostFindingSpecificPostTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/application/PostFindingSpecificPostTest.java index 31d620b67..80e910880 100644 --- a/backend/src/test/java/edonymyeon/backend/post/application/PostFindingSpecificPostTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/application/PostFindingSpecificPostTest.java @@ -1,20 +1,19 @@ -package edonymyeon.backend.post.application; +package edonymyeon.backend.content.post.application; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertAll; -import edonymyeon.backend.content.post.application.PostReadService; import edonymyeon.backend.image.domain.ImageInfo; import edonymyeon.backend.support.TestMemberBuilder; import edonymyeon.backend.support.IntegrationTest; import edonymyeon.backend.TestConfig; -import edonymyeon.backend.membber.member.profileimage.domain.ProfileImageInfo; -import edonymyeon.backend.membber.member.profileimage.repository.ProfileImageInfoRepository; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.AnonymousMemberId; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.profileimage.domain.ProfileImageInfo; +import edonymyeon.backend.member.profile.profileimage.repository.ProfileImageInfoRepository; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.AnonymousMemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.post.repository.PostRepository; import lombok.RequiredArgsConstructor; diff --git a/backend/src/test/java/edonymyeon/backend/post/application/PostServiceFindingAllPostsTest.java b/backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceFindingAllPostsTest.java similarity index 96% rename from backend/src/test/java/edonymyeon/backend/post/application/PostServiceFindingAllPostsTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceFindingAllPostsTest.java index cc50569f6..b1f136e3f 100644 --- a/backend/src/test/java/edonymyeon/backend/post/application/PostServiceFindingAllPostsTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceFindingAllPostsTest.java @@ -1,16 +1,13 @@ -package edonymyeon.backend.post.application; +package edonymyeon.backend.content.post.application; -import edonymyeon.backend.content.post.application.GeneralFindingCondition; -import edonymyeon.backend.content.post.application.PostReadService; -import edonymyeon.backend.content.post.application.PostService; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.support.IntegrationFixture; import edonymyeon.backend.TestConfig; import edonymyeon.backend.global.exception.EdonymyeonException; import edonymyeon.backend.global.exception.ExceptionInformation; import edonymyeon.backend.content.post.postimage.repository.PostImageInfoRepository; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; import edonymyeon.backend.content.post.application.dto.response.GeneralPostInfoResponse; import edonymyeon.backend.content.post.application.dto.request.PostRequest; import edonymyeon.backend.content.post.application.dto.response.PostIdResponse; diff --git a/backend/src/test/java/edonymyeon/backend/post/application/PostServiceHotPostsTest.java b/backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceHotPostsTest.java similarity index 99% rename from backend/src/test/java/edonymyeon/backend/post/application/PostServiceHotPostsTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceHotPostsTest.java index 1cb1f7b98..afddb308a 100644 --- a/backend/src/test/java/edonymyeon/backend/post/application/PostServiceHotPostsTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceHotPostsTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.post.application; +package edonymyeon.backend.content.post.application; import edonymyeon.backend.CacheConfig; import edonymyeon.backend.content.cache.application.PostCachingService; diff --git a/backend/src/test/java/edonymyeon/backend/post/application/PostServiceSearchPostsTest.java b/backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceSearchPostsTest.java similarity index 94% rename from backend/src/test/java/edonymyeon/backend/post/application/PostServiceSearchPostsTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceSearchPostsTest.java index d285646df..5c238c95a 100644 --- a/backend/src/test/java/edonymyeon/backend/post/application/PostServiceSearchPostsTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceSearchPostsTest.java @@ -1,11 +1,9 @@ -package edonymyeon.backend.post.application; +package edonymyeon.backend.content.post.application; import static org.assertj.core.api.AssertionsForClassTypes.assertThat; import static org.assertj.core.api.SoftAssertions.assertSoftly; -import edonymyeon.backend.content.post.application.GeneralFindingCondition; -import edonymyeon.backend.content.post.application.PostReadService; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.support.TestMemberBuilder; import edonymyeon.backend.support.IntegrationTest; import edonymyeon.backend.support.PostTestSupport; diff --git a/backend/src/test/java/edonymyeon/backend/post/application/PostServiceTest.java b/backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceTest.java similarity index 97% rename from backend/src/test/java/edonymyeon/backend/post/application/PostServiceTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceTest.java index f29113d1d..f01566084 100644 --- a/backend/src/test/java/edonymyeon/backend/post/application/PostServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/application/PostServiceTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.post.application; +package edonymyeon.backend.content.post.application; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; @@ -10,17 +10,15 @@ import edonymyeon.backend.content.comment.application.dto.request.CommentRequest; import edonymyeon.backend.content.comment.repository.CommentRepository; import edonymyeon.backend.consumption.repository.ConsumptionRepository; -import edonymyeon.backend.content.post.application.PostReadService; -import edonymyeon.backend.content.post.application.PostService; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.global.exception.EdonymyeonException; import edonymyeon.backend.global.exception.ExceptionInformation; import edonymyeon.backend.content.post.postimage.domain.PostImageInfo; import edonymyeon.backend.content.post.postimage.repository.PostImageInfoRepository; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.application.dto.request.PostModificationRequest; import edonymyeon.backend.content.post.application.dto.request.PostRequest; import edonymyeon.backend.content.post.application.dto.response.PostIdResponse; diff --git a/backend/src/test/java/edonymyeon/backend/post/application/PostViewTest.java b/backend/src/test/java/edonymyeon/backend/content/post/application/PostViewTest.java similarity index 88% rename from backend/src/test/java/edonymyeon/backend/post/application/PostViewTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/application/PostViewTest.java index dbade9231..e9c140350 100644 --- a/backend/src/test/java/edonymyeon/backend/post/application/PostViewTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/application/PostViewTest.java @@ -1,15 +1,14 @@ -package edonymyeon.backend.post.application; +package edonymyeon.backend.content.post.application; import static org.assertj.core.api.Assertions.assertThat; -import edonymyeon.backend.content.post.application.PostReadService; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.support.TestMemberBuilder; import edonymyeon.backend.support.IntegrationTest; import edonymyeon.backend.TestConfig; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.AnonymousMemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.AnonymousMemberId; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.post.repository.PostRepository; import edonymyeon.backend.support.PostTestSupport; diff --git a/backend/src/test/java/edonymyeon/backend/post/application/TestCacheKeyStrategy.java b/backend/src/test/java/edonymyeon/backend/content/post/application/TestCacheKeyStrategy.java similarity index 90% rename from backend/src/test/java/edonymyeon/backend/post/application/TestCacheKeyStrategy.java rename to backend/src/test/java/edonymyeon/backend/content/post/application/TestCacheKeyStrategy.java index deba5269f..de6f904ce 100644 --- a/backend/src/test/java/edonymyeon/backend/post/application/TestCacheKeyStrategy.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/application/TestCacheKeyStrategy.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.post.application; +package edonymyeon.backend.content.post.application; import edonymyeon.backend.content.cache.util.CacheKeyStrategy; diff --git a/backend/src/test/java/edonymyeon/backend/post/docs/MyPostControllerDocsTest.java b/backend/src/test/java/edonymyeon/backend/content/post/docs/MyPostControllerDocsTest.java similarity index 96% rename from backend/src/test/java/edonymyeon/backend/post/docs/MyPostControllerDocsTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/docs/MyPostControllerDocsTest.java index 8cd9ae817..253bb2f4d 100644 --- a/backend/src/test/java/edonymyeon/backend/post/docs/MyPostControllerDocsTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/docs/MyPostControllerDocsTest.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.post.docs; +package edonymyeon.backend.content.post.docs; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; import static org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document; @@ -18,9 +18,9 @@ import edonymyeon.backend.image.domain.ImageType; import edonymyeon.backend.image.domain.UrlManager; import edonymyeon.backend.content.post.postimage.domain.PostImageInfos; -import edonymyeon.backend.membber.member.domain.Email; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.domain.Email; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.application.GeneralFindingCondition; import edonymyeon.backend.content.post.application.MyPostService; import edonymyeon.backend.content.post.application.PostSlice; diff --git a/backend/src/test/java/edonymyeon/backend/post/docs/PostControllerDocsTest.java b/backend/src/test/java/edonymyeon/backend/content/post/docs/PostControllerDocsTest.java similarity index 97% rename from backend/src/test/java/edonymyeon/backend/post/docs/PostControllerDocsTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/docs/PostControllerDocsTest.java index 759c6ad98..91b60573a 100644 --- a/backend/src/test/java/edonymyeon/backend/post/docs/PostControllerDocsTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/docs/PostControllerDocsTest.java @@ -1,14 +1,14 @@ -package edonymyeon.backend.post.docs; +package edonymyeon.backend.content.post.docs; import edonymyeon.backend.CacheConfig; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.image.domain.ImageInfo; import edonymyeon.backend.content.post.postimage.domain.PostImageInfos; import edonymyeon.backend.content.post.postimage.repository.PostImageInfoRepository; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.domain.Email; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.domain.Email; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.application.GeneralFindingCondition; import edonymyeon.backend.content.post.application.HotFindingCondition; import edonymyeon.backend.content.post.application.dto.response.AllThumbsInPostResponse; @@ -44,7 +44,7 @@ import java.util.List; import java.util.Optional; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; import static org.mockito.ArgumentMatchers.*; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.when; diff --git a/backend/src/test/java/edonymyeon/backend/post/docs/PostCreationDocsTest.java b/backend/src/test/java/edonymyeon/backend/content/post/docs/PostCreationDocsTest.java similarity index 94% rename from backend/src/test/java/edonymyeon/backend/post/docs/PostCreationDocsTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/docs/PostCreationDocsTest.java index c036f93a0..1512c5f17 100644 --- a/backend/src/test/java/edonymyeon/backend/post/docs/PostCreationDocsTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/docs/PostCreationDocsTest.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.post.docs; +package edonymyeon.backend.content.post.docs; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; import static org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document; import static org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders.multipart; import static org.springframework.restdocs.operation.preprocess.Preprocessors.preprocessRequest; @@ -13,8 +13,8 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.header; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.content.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.support.IntegrationTest; import edonymyeon.backend.support.TestMemberBuilder; import jakarta.servlet.http.Part; diff --git a/backend/src/test/java/edonymyeon/backend/post/integration/HotPostIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/content/post/integration/HotPostIntegrationTest.java similarity index 96% rename from backend/src/test/java/edonymyeon/backend/post/integration/HotPostIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/integration/HotPostIntegrationTest.java index 6e6b51dd8..348ccc502 100644 --- a/backend/src/test/java/edonymyeon/backend/post/integration/HotPostIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/integration/HotPostIntegrationTest.java @@ -1,10 +1,10 @@ -package edonymyeon.backend.post.integration; +package edonymyeon.backend.content.post.integration; import edonymyeon.backend.CacheConfig; import edonymyeon.backend.content.cache.repository.HotPostsRepository; import edonymyeon.backend.content.cache.util.HotPostCachePolicy; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.application.HotFindingCondition; import edonymyeon.backend.content.post.application.PostReadService; import edonymyeon.backend.content.post.domain.Post; diff --git a/backend/src/test/java/edonymyeon/backend/post/integration/MyPostIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/content/post/integration/MyPostIntegrationTest.java similarity index 96% rename from backend/src/test/java/edonymyeon/backend/post/integration/MyPostIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/integration/MyPostIntegrationTest.java index d0bdf4f63..b9dea1576 100644 --- a/backend/src/test/java/edonymyeon/backend/post/integration/MyPostIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/integration/MyPostIntegrationTest.java @@ -1,8 +1,8 @@ -package edonymyeon.backend.post.integration; +package edonymyeon.backend.content.post.integration; import static org.assertj.core.api.SoftAssertions.assertSoftly; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.application.dto.response.MyPostResponse; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.IntegrationFixture; diff --git a/backend/src/test/java/edonymyeon/backend/post/integration/PostCommentCountIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/content/post/integration/PostCommentCountIntegrationTest.java similarity index 98% rename from backend/src/test/java/edonymyeon/backend/post/integration/PostCommentCountIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/integration/PostCommentCountIntegrationTest.java index 44348ac0e..98b68e314 100644 --- a/backend/src/test/java/edonymyeon/backend/post/integration/PostCommentCountIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/integration/PostCommentCountIntegrationTest.java @@ -1,10 +1,10 @@ -package edonymyeon.backend.post.integration; +package edonymyeon.backend.content.post.integration; import edonymyeon.backend.CacheConfig; import edonymyeon.backend.content.cache.repository.HotPostsRepository; import edonymyeon.backend.content.cache.util.HotPostCachePolicy; import edonymyeon.backend.content.comment.domain.Comment; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.application.HotFindingCondition; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.EdonymyeonRestAssured; diff --git a/backend/src/test/java/edonymyeon/backend/post/integration/PostIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/content/post/integration/PostIntegrationTest.java similarity index 99% rename from backend/src/test/java/edonymyeon/backend/post/integration/PostIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/integration/PostIntegrationTest.java index e97c5d9c7..6d1373a15 100644 --- a/backend/src/test/java/edonymyeon/backend/post/integration/PostIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/integration/PostIntegrationTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.post.integration; +package edonymyeon.backend.content.post.integration; import static edonymyeon.backend.global.exception.ExceptionInformation.AUTHORIZATION_EMPTY; import static edonymyeon.backend.global.exception.ExceptionInformation.IMAGE_DOMAIN_INVALID; @@ -10,12 +10,12 @@ import static org.junit.jupiter.api.Assertions.assertAll; import edonymyeon.backend.consumption.repository.ConsumptionRepository; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.image.domain.ImageType; import edonymyeon.backend.content.post.postimage.domain.PostImageInfo; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.request.PurchaseConfirmRequest; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.request.PurchaseConfirmRequest; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.application.GeneralFindingCondition; import edonymyeon.backend.content.post.application.PostReadService; import edonymyeon.backend.content.post.application.dto.response.SpecificPostInfoResponse; diff --git a/backend/src/test/java/edonymyeon/backend/post/integration/PostSearchIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/content/post/integration/PostSearchIntegrationTest.java similarity index 97% rename from backend/src/test/java/edonymyeon/backend/post/integration/PostSearchIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/integration/PostSearchIntegrationTest.java index d108b7067..4588ce757 100644 --- a/backend/src/test/java/edonymyeon/backend/post/integration/PostSearchIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/integration/PostSearchIntegrationTest.java @@ -1,7 +1,7 @@ -package edonymyeon.backend.post.integration; +package edonymyeon.backend.content.post.integration; import edonymyeon.backend.global.exception.ExceptionInformation; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.support.EdonymyeonRestAssured; import edonymyeon.backend.support.IntegrationFixture; import io.restassured.response.ExtractableResponse; diff --git a/backend/src/test/java/edonymyeon/backend/post/integration/PostViewIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/content/post/integration/PostViewIntegrationTest.java similarity index 91% rename from backend/src/test/java/edonymyeon/backend/post/integration/PostViewIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/integration/PostViewIntegrationTest.java index f09e26b00..5ccf7e03b 100644 --- a/backend/src/test/java/edonymyeon/backend/post/integration/PostViewIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/integration/PostViewIntegrationTest.java @@ -1,10 +1,10 @@ -package edonymyeon.backend.post.integration; +package edonymyeon.backend.content.post.integration; import static org.assertj.core.api.Assertions.assertThat; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.support.IntegrationFixture; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import io.restassured.response.ExtractableResponse; import io.restassured.response.Response; diff --git a/backend/src/test/java/edonymyeon/backend/post/repository/PostRepositoryTest.java b/backend/src/test/java/edonymyeon/backend/content/post/repository/PostRepositoryTest.java similarity index 97% rename from backend/src/test/java/edonymyeon/backend/post/repository/PostRepositoryTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/repository/PostRepositoryTest.java index 2f50ebf93..aea8e187f 100644 --- a/backend/src/test/java/edonymyeon/backend/post/repository/PostRepositoryTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/repository/PostRepositoryTest.java @@ -1,8 +1,7 @@ -package edonymyeon.backend.post.repository; +package edonymyeon.backend.content.post.repository; -import edonymyeon.backend.content.post.repository.PostRepository; -import edonymyeon.backend.membber.member.application.dto.AnonymousMemberId; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.application.dto.AnonymousMemberId; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.application.HotFindingCondition; import edonymyeon.backend.content.post.application.PostReadService; import edonymyeon.backend.content.post.domain.HotPostPolicy; diff --git a/backend/src/test/java/edonymyeon/backend/post/repository/PostSpecificationTest.java b/backend/src/test/java/edonymyeon/backend/content/post/repository/PostSpecificationTest.java similarity index 98% rename from backend/src/test/java/edonymyeon/backend/post/repository/PostSpecificationTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/repository/PostSpecificationTest.java index 5bdaca279..165df0dcc 100644 --- a/backend/src/test/java/edonymyeon/backend/post/repository/PostSpecificationTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/repository/PostSpecificationTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.post.repository; +package edonymyeon.backend.content.post.repository; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.post.repository.PostRepository; diff --git a/backend/src/test/java/edonymyeon/backend/post/ui/PostControllerTest.java b/backend/src/test/java/edonymyeon/backend/content/post/ui/PostControllerTest.java similarity index 97% rename from backend/src/test/java/edonymyeon/backend/post/ui/PostControllerTest.java rename to backend/src/test/java/edonymyeon/backend/content/post/ui/PostControllerTest.java index 23ec0c03e..9ef0f54b9 100644 --- a/backend/src/test/java/edonymyeon/backend/post/ui/PostControllerTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/post/ui/PostControllerTest.java @@ -1,14 +1,14 @@ -package edonymyeon.backend.post.ui; +package edonymyeon.backend.content.post.ui; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; import static edonymyeon.backend.global.exception.ExceptionInformation.POST_MEMBER_NOT_SAME; import static org.assertj.core.api.SoftAssertions.assertSoftly; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.global.controlleradvice.dto.ExceptionResponse; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.application.dto.response.PostIdResponse; import edonymyeon.backend.support.IntegrationTest; import edonymyeon.backend.support.TestMemberBuilder; diff --git a/backend/src/test/java/edonymyeon/backend/thumbs/application/DeleteThumbsServiceTest.java b/backend/src/test/java/edonymyeon/backend/content/thumbs/application/DeleteThumbsServiceTest.java similarity index 93% rename from backend/src/test/java/edonymyeon/backend/thumbs/application/DeleteThumbsServiceTest.java rename to backend/src/test/java/edonymyeon/backend/content/thumbs/application/DeleteThumbsServiceTest.java index 7559112ad..d6ae226a4 100644 --- a/backend/src/test/java/edonymyeon/backend/thumbs/application/DeleteThumbsServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/thumbs/application/DeleteThumbsServiceTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.thumbs.application; +package edonymyeon.backend.content.thumbs.application; import static edonymyeon.backend.global.exception.ExceptionInformation.THUMBS_DOWN_DELETE_FAIL_WHEN_THUMBS_UP; import static edonymyeon.backend.global.exception.ExceptionInformation.THUMBS_DOWN_IS_NOT_EXIST; @@ -6,12 +6,11 @@ import static edonymyeon.backend.global.exception.ExceptionInformation.THUMBS_UP_IS_NOT_EXIST; import static org.assertj.core.api.AssertionsForClassTypes.assertThatThrownBy; -import edonymyeon.backend.content.thumbs.application.ThumbsService; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.application.PostService; import edonymyeon.backend.content.post.application.dto.request.PostRequest; import edonymyeon.backend.content.post.application.dto.response.PostIdResponse; diff --git a/backend/src/test/java/edonymyeon/backend/thumbs/application/ThumbsDownServiceTest.java b/backend/src/test/java/edonymyeon/backend/content/thumbs/application/ThumbsDownServiceTest.java similarity index 94% rename from backend/src/test/java/edonymyeon/backend/thumbs/application/ThumbsDownServiceTest.java rename to backend/src/test/java/edonymyeon/backend/content/thumbs/application/ThumbsDownServiceTest.java index 1e42e00c6..749c16d98 100644 --- a/backend/src/test/java/edonymyeon/backend/thumbs/application/ThumbsDownServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/thumbs/application/ThumbsDownServiceTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.thumbs.application; +package edonymyeon.backend.content.thumbs.application; import static edonymyeon.backend.global.exception.ExceptionInformation.POST_ID_NOT_FOUND; import static edonymyeon.backend.global.exception.ExceptionInformation.THUMBS_DOWN_ALREADY_EXIST; @@ -6,12 +6,11 @@ import static org.assertj.core.api.AssertionsForClassTypes.assertThatThrownBy; import static org.assertj.core.api.SoftAssertions.assertSoftly; -import edonymyeon.backend.content.thumbs.application.ThumbsService; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.application.PostService; import edonymyeon.backend.content.post.application.dto.request.PostRequest; import edonymyeon.backend.content.post.application.dto.response.PostIdResponse; diff --git a/backend/src/test/java/edonymyeon/backend/thumbs/application/ThumbsInPostServiceTest.java b/backend/src/test/java/edonymyeon/backend/content/thumbs/application/ThumbsInPostServiceTest.java similarity index 94% rename from backend/src/test/java/edonymyeon/backend/thumbs/application/ThumbsInPostServiceTest.java rename to backend/src/test/java/edonymyeon/backend/content/thumbs/application/ThumbsInPostServiceTest.java index fadd0099d..389f58443 100644 --- a/backend/src/test/java/edonymyeon/backend/thumbs/application/ThumbsInPostServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/thumbs/application/ThumbsInPostServiceTest.java @@ -1,13 +1,12 @@ -package edonymyeon.backend.thumbs.application; +package edonymyeon.backend.content.thumbs.application; import static org.assertj.core.api.SoftAssertions.assertSoftly; -import edonymyeon.backend.content.thumbs.application.ThumbsService; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.AnonymousMemberId; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.AnonymousMemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.application.PostService; import edonymyeon.backend.content.post.application.PostThumbsService; import edonymyeon.backend.content.post.application.dto.response.AllThumbsInPostResponse; diff --git a/backend/src/test/java/edonymyeon/backend/thumbs/application/ThumbsUpServiceTest.java b/backend/src/test/java/edonymyeon/backend/content/thumbs/application/ThumbsUpServiceTest.java similarity index 95% rename from backend/src/test/java/edonymyeon/backend/thumbs/application/ThumbsUpServiceTest.java rename to backend/src/test/java/edonymyeon/backend/content/thumbs/application/ThumbsUpServiceTest.java index 0afee8843..9a7dc356c 100644 --- a/backend/src/test/java/edonymyeon/backend/thumbs/application/ThumbsUpServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/thumbs/application/ThumbsUpServiceTest.java @@ -1,11 +1,10 @@ -package edonymyeon.backend.thumbs.application; +package edonymyeon.backend.content.thumbs.application; -import edonymyeon.backend.content.thumbs.application.ThumbsService; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.MemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.MemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.application.PostService; import edonymyeon.backend.content.post.application.dto.request.PostRequest; import edonymyeon.backend.content.post.application.dto.response.PostIdResponse; diff --git a/backend/src/test/java/edonymyeon/backend/thumbs/docs/ThumbsControllerDocsTest.java b/backend/src/test/java/edonymyeon/backend/content/thumbs/docs/ThumbsControllerDocsTest.java similarity index 95% rename from backend/src/test/java/edonymyeon/backend/thumbs/docs/ThumbsControllerDocsTest.java rename to backend/src/test/java/edonymyeon/backend/content/thumbs/docs/ThumbsControllerDocsTest.java index 6dd1d314f..f1cfd4d56 100644 --- a/backend/src/test/java/edonymyeon/backend/thumbs/docs/ThumbsControllerDocsTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/thumbs/docs/ThumbsControllerDocsTest.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.thumbs.docs; +package edonymyeon.backend.content.thumbs.docs; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; import static org.mockito.Mockito.when; import static org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document; import static org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders.delete; @@ -9,9 +9,9 @@ import static org.springframework.restdocs.request.RequestDocumentation.pathParameters; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; -import edonymyeon.backend.membber.member.domain.Email; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.domain.Email; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.post.repository.PostRepository; import edonymyeon.backend.support.IntegrationTest; diff --git a/backend/src/test/java/edonymyeon/backend/thumbs/domain/AllThumbsInPostTest.java b/backend/src/test/java/edonymyeon/backend/content/thumbs/domain/AllThumbsInPostTest.java similarity index 89% rename from backend/src/test/java/edonymyeon/backend/thumbs/domain/AllThumbsInPostTest.java rename to backend/src/test/java/edonymyeon/backend/content/thumbs/domain/AllThumbsInPostTest.java index e6ca2e55f..b1416d02c 100644 --- a/backend/src/test/java/edonymyeon/backend/thumbs/domain/AllThumbsInPostTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/thumbs/domain/AllThumbsInPostTest.java @@ -1,8 +1,6 @@ -package edonymyeon.backend.thumbs.domain; +package edonymyeon.backend.content.thumbs.domain; -import edonymyeon.backend.content.thumbs.domain.AllThumbsInPost; -import edonymyeon.backend.content.thumbs.domain.Thumbs; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.TestMemberBuilder; import org.junit.jupiter.api.Test; diff --git a/backend/src/test/java/edonymyeon/backend/thumbs/integration/ThumbsIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/content/thumbs/integration/ThumbsIntegrationTest.java similarity index 97% rename from backend/src/test/java/edonymyeon/backend/thumbs/integration/ThumbsIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/content/thumbs/integration/ThumbsIntegrationTest.java index d7ecf2aca..a6c8b6dce 100644 --- a/backend/src/test/java/edonymyeon/backend/thumbs/integration/ThumbsIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/content/thumbs/integration/ThumbsIntegrationTest.java @@ -1,11 +1,11 @@ -package edonymyeon.backend.thumbs.integration; +package edonymyeon.backend.content.thumbs.integration; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.SoftAssertions.assertSoftly; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.application.PostService; import edonymyeon.backend.content.post.application.dto.request.PostRequest; import edonymyeon.backend.content.post.application.dto.response.PostIdResponse; diff --git a/backend/src/test/java/edonymyeon/backend/logging/application/LoggingServiceTest.java b/backend/src/test/java/edonymyeon/backend/global/logging/application/LoggingServiceTest.java similarity index 95% rename from backend/src/test/java/edonymyeon/backend/logging/application/LoggingServiceTest.java rename to backend/src/test/java/edonymyeon/backend/global/logging/application/LoggingServiceTest.java index 49fd3704b..517211dc4 100644 --- a/backend/src/test/java/edonymyeon/backend/logging/application/LoggingServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/global/logging/application/LoggingServiceTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.logging.application; +package edonymyeon.backend.global.logging.application; import static org.assertj.core.api.SoftAssertions.*; @@ -16,7 +16,7 @@ class LoggingServiceTest { @Test void info로그가_위치한_파일을_읽어_객체_리스트로_파싱한다() { LoggingResponse loggingResponse = loggingService.findLogs( - () -> Paths.get("src/test/java/edonymyeon/backend/logging/application/info.log").toAbsolutePath()); + () -> Paths.get("src/test/java/edonymyeon/backend/global/logging/application/info.log").toAbsolutePath()); assertSoftly(softAssertions -> { softAssertions.assertThat(loggingResponse.response().size()).isEqualTo(4); diff --git a/backend/src/test/java/edonymyeon/backend/logging/application/info.log b/backend/src/test/java/edonymyeon/backend/global/logging/application/info.log similarity index 100% rename from backend/src/test/java/edonymyeon/backend/logging/application/info.log rename to backend/src/test/java/edonymyeon/backend/global/logging/application/info.log diff --git a/backend/src/test/java/edonymyeon/backend/image/ImageFileSizeIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/image/ImageFileSizeIntegrationTest.java index 29af5636e..e86be8ca5 100644 --- a/backend/src/test/java/edonymyeon/backend/image/ImageFileSizeIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/image/ImageFileSizeIntegrationTest.java @@ -4,8 +4,8 @@ import static org.assertj.core.api.Assertions.assertThat; import edonymyeon.backend.global.controlleradvice.dto.ExceptionResponse; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.support.EdonymyeonRestAssured; import edonymyeon.backend.support.IntegrationFixture; import java.io.File; diff --git a/backend/src/test/java/edonymyeon/backend/image/application/ImageServiceTest.java b/backend/src/test/java/edonymyeon/backend/image/application/ImageServiceTest.java index 87c810a1b..44f265c77 100644 --- a/backend/src/test/java/edonymyeon/backend/image/application/ImageServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/image/application/ImageServiceTest.java @@ -4,7 +4,7 @@ import edonymyeon.backend.image.domain.ImageInfo; import edonymyeon.backend.image.domain.ImageType; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.support.IntegrationFixture; import edonymyeon.backend.support.MockMultipartFileTestSupport; import java.io.File; diff --git a/backend/src/test/java/edonymyeon/backend/auth/AuthIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/member/auth/AuthIntegrationTest.java similarity index 93% rename from backend/src/test/java/edonymyeon/backend/auth/AuthIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/member/auth/AuthIntegrationTest.java index 76a4b10e6..3af562b54 100644 --- a/backend/src/test/java/edonymyeon/backend/auth/AuthIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/auth/AuthIntegrationTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.auth; +package edonymyeon.backend.member.auth; import static edonymyeon.backend.global.exception.ExceptionInformation.AUTHORIZATION_EMPTY; import static org.assertj.core.api.Assertions.assertThat; @@ -6,18 +6,18 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; -import edonymyeon.backend.membber.auth.application.AuthService; -import edonymyeon.backend.membber.auth.application.KakaoAuthResponseProvider; -import edonymyeon.backend.membber.member.application.dto.response.DuplicateCheckResponse; -import edonymyeon.backend.membber.auth.application.dto.JoinRequest; -import edonymyeon.backend.membber.auth.application.dto.KakaoLoginRequest; -import edonymyeon.backend.membber.auth.application.dto.KakaoLoginResponse; -import edonymyeon.backend.membber.auth.application.dto.LoginRequest; -import edonymyeon.backend.membber.auth.application.dto.LogoutRequest; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.domain.SocialInfo; -import edonymyeon.backend.membber.member.domain.SocialInfo.SocialType; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.auth.application.AuthService; +import edonymyeon.backend.member.auth.application.KakaoAuthResponseProvider; +import edonymyeon.backend.member.profile.application.dto.response.DuplicateCheckResponse; +import edonymyeon.backend.member.auth.application.dto.JoinRequest; +import edonymyeon.backend.member.auth.application.dto.KakaoLoginRequest; +import edonymyeon.backend.member.auth.application.dto.KakaoLoginResponse; +import edonymyeon.backend.member.auth.application.dto.LoginRequest; +import edonymyeon.backend.member.auth.application.dto.LogoutRequest; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.domain.SocialInfo; +import edonymyeon.backend.member.profile.domain.SocialInfo.SocialType; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.support.EdonymyeonRestAssured; import edonymyeon.backend.support.IntegrationFixture; import edonymyeon.backend.support.TestMemberBuilder; diff --git a/backend/src/test/java/edonymyeon/backend/auth/application/AuthDeleteServiceTest.java b/backend/src/test/java/edonymyeon/backend/member/auth/application/AuthDeleteServiceTest.java similarity index 87% rename from backend/src/test/java/edonymyeon/backend/auth/application/AuthDeleteServiceTest.java rename to backend/src/test/java/edonymyeon/backend/member/auth/application/AuthDeleteServiceTest.java index 4b0820a96..31682e933 100644 --- a/backend/src/test/java/edonymyeon/backend/auth/application/AuthDeleteServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/auth/application/AuthDeleteServiceTest.java @@ -1,12 +1,11 @@ -package edonymyeon.backend.auth.application; +package edonymyeon.backend.member.auth.application; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_IS_DELETED; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import edonymyeon.backend.membber.auth.application.AuthService; -import edonymyeon.backend.membber.auth.application.dto.LoginRequest; +import edonymyeon.backend.member.auth.application.dto.LoginRequest; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.support.IntegrationTest; import edonymyeon.backend.support.TestMemberBuilder; import lombok.RequiredArgsConstructor; diff --git a/backend/src/test/java/edonymyeon/backend/auth/application/AuthServiceTest.java b/backend/src/test/java/edonymyeon/backend/member/auth/application/AuthServiceTest.java similarity index 90% rename from backend/src/test/java/edonymyeon/backend/auth/application/AuthServiceTest.java rename to backend/src/test/java/edonymyeon/backend/member/auth/application/AuthServiceTest.java index ce07987d7..eb53fc9b8 100644 --- a/backend/src/test/java/edonymyeon/backend/auth/application/AuthServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/auth/application/AuthServiceTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.auth.application; +package edonymyeon.backend.member.auth.application; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.SoftAssertions.assertSoftly; @@ -13,24 +13,23 @@ import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -import edonymyeon.backend.membber.auth.application.AuthService; -import edonymyeon.backend.membber.auth.application.dto.JoinRequest; -import edonymyeon.backend.membber.auth.application.dto.KakaoLoginResponse; -import edonymyeon.backend.membber.auth.application.dto.LoginRequest; -import edonymyeon.backend.membber.auth.domain.PasswordEncoder; +import edonymyeon.backend.member.auth.application.dto.JoinRequest; +import edonymyeon.backend.member.auth.application.dto.KakaoLoginResponse; +import edonymyeon.backend.member.auth.application.dto.LoginRequest; +import edonymyeon.backend.member.auth.domain.PasswordEncoder; import edonymyeon.backend.image.application.ImageService; import edonymyeon.backend.image.domain.ImageInfo; -import edonymyeon.backend.membber.member.profileimage.domain.ProfileImageInfo; -import edonymyeon.backend.membber.member.application.DeviceRepository; -import edonymyeon.backend.membber.member.application.MemberService; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.domain.Device; -import edonymyeon.backend.membber.member.domain.Email; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.domain.SocialInfo; -import edonymyeon.backend.membber.member.domain.SocialInfo.SocialType; -import edonymyeon.backend.membber.member.repository.MemberRepository; -import edonymyeon.backend.membber.setting.application.SettingService; +import edonymyeon.backend.member.profile.profileimage.domain.ProfileImageInfo; +import edonymyeon.backend.member.profile.application.DeviceRepository; +import edonymyeon.backend.member.profile.application.MemberService; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.domain.Device; +import edonymyeon.backend.member.profile.domain.Email; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.domain.SocialInfo; +import edonymyeon.backend.member.profile.domain.SocialInfo.SocialType; +import edonymyeon.backend.member.profile.repository.MemberRepository; +import edonymyeon.backend.member.setting.application.SettingService; import edonymyeon.backend.support.IntegrationTest; import jakarta.persistence.EntityManager; import java.util.Optional; diff --git a/backend/src/test/java/edonymyeon/backend/auth/docs/AuthControllerDocsTest.java b/backend/src/test/java/edonymyeon/backend/member/auth/docs/AuthControllerDocsTest.java similarity index 92% rename from backend/src/test/java/edonymyeon/backend/auth/docs/AuthControllerDocsTest.java rename to backend/src/test/java/edonymyeon/backend/member/auth/docs/AuthControllerDocsTest.java index b7e0313b8..703d7e20d 100644 --- a/backend/src/test/java/edonymyeon/backend/auth/docs/AuthControllerDocsTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/auth/docs/AuthControllerDocsTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.auth.docs; +package edonymyeon.backend.member.auth.docs; import static org.mockito.Mockito.when; import static org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document; @@ -15,14 +15,14 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import com.fasterxml.jackson.databind.ObjectMapper; -import edonymyeon.backend.membber.auth.application.AuthService; -import edonymyeon.backend.membber.auth.application.KakaoAuthResponseProvider; -import edonymyeon.backend.membber.member.application.dto.response.DuplicateCheckResponse; -import edonymyeon.backend.membber.auth.application.dto.JoinRequest; -import edonymyeon.backend.membber.auth.application.dto.KakaoLoginRequest; -import edonymyeon.backend.membber.auth.application.dto.KakaoLoginResponse; -import edonymyeon.backend.membber.auth.application.dto.LoginRequest; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; +import edonymyeon.backend.member.auth.application.AuthService; +import edonymyeon.backend.member.auth.application.KakaoAuthResponseProvider; +import edonymyeon.backend.member.profile.application.dto.response.DuplicateCheckResponse; +import edonymyeon.backend.member.auth.application.dto.JoinRequest; +import edonymyeon.backend.member.auth.application.dto.KakaoLoginRequest; +import edonymyeon.backend.member.auth.application.dto.KakaoLoginResponse; +import edonymyeon.backend.member.auth.application.dto.LoginRequest; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; import edonymyeon.backend.support.DocsTest; import org.junit.jupiter.api.Test; import org.springframework.boot.test.mock.mockito.MockBean; diff --git a/backend/src/test/java/edonymyeon/backend/auth/domain/SimplePasswordEncoderTest.java b/backend/src/test/java/edonymyeon/backend/member/auth/domain/SimplePasswordEncoderTest.java similarity index 92% rename from backend/src/test/java/edonymyeon/backend/auth/domain/SimplePasswordEncoderTest.java rename to backend/src/test/java/edonymyeon/backend/member/auth/domain/SimplePasswordEncoderTest.java index d80aa7e7b..c77fc0c14 100644 --- a/backend/src/test/java/edonymyeon/backend/auth/domain/SimplePasswordEncoderTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/auth/domain/SimplePasswordEncoderTest.java @@ -1,8 +1,7 @@ -package edonymyeon.backend.auth.domain; +package edonymyeon.backend.member.auth.domain; import static org.assertj.core.api.Assertions.assertThat; -import edonymyeon.backend.membber.auth.domain.SimplePasswordEncoder; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.DisplayNameGeneration; import org.junit.jupiter.api.DisplayNameGenerator; diff --git a/backend/src/test/java/edonymyeon/backend/member/application/MemberServiceTest.java b/backend/src/test/java/edonymyeon/backend/member/profile/application/MemberServiceTest.java similarity index 92% rename from backend/src/test/java/edonymyeon/backend/member/application/MemberServiceTest.java rename to backend/src/test/java/edonymyeon/backend/member/profile/application/MemberServiceTest.java index 0771df46e..5adeacdcf 100644 --- a/backend/src/test/java/edonymyeon/backend/member/application/MemberServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/profile/application/MemberServiceTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.member.application; +package edonymyeon.backend.member.profile.application; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; @@ -9,20 +9,18 @@ import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.verify; -import edonymyeon.backend.membber.auth.application.AuthService; -import edonymyeon.backend.membber.auth.application.dto.JoinRequest; -import edonymyeon.backend.membber.auth.application.dto.KakaoLoginResponse; -import edonymyeon.backend.membber.auth.application.dto.LoginRequest; +import edonymyeon.backend.member.auth.application.AuthService; +import edonymyeon.backend.member.auth.application.dto.JoinRequest; +import edonymyeon.backend.member.auth.application.dto.KakaoLoginResponse; +import edonymyeon.backend.member.auth.application.dto.LoginRequest; import edonymyeon.backend.image.application.ImageService; -import edonymyeon.backend.membber.member.profileimage.domain.ProfileImageInfo; -import edonymyeon.backend.membber.member.application.DeviceRepository; -import edonymyeon.backend.membber.member.application.MemberService; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.request.MemberUpdateRequest; -import edonymyeon.backend.membber.member.application.dto.response.MemberUpdateResponse; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.profileimage.domain.ProfileImageInfo; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.request.MemberUpdateRequest; +import edonymyeon.backend.member.profile.application.dto.response.MemberUpdateResponse; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.support.IntegrationFixture; import java.io.IOException; import lombok.RequiredArgsConstructor; diff --git a/backend/src/test/java/edonymyeon/backend/member/docs/MemberControllerDocsTest.java b/backend/src/test/java/edonymyeon/backend/member/profile/docs/MemberControllerDocsTest.java similarity index 95% rename from backend/src/test/java/edonymyeon/backend/member/docs/MemberControllerDocsTest.java rename to backend/src/test/java/edonymyeon/backend/member/profile/docs/MemberControllerDocsTest.java index f290c77b9..2a850cfbf 100644 --- a/backend/src/test/java/edonymyeon/backend/member/docs/MemberControllerDocsTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/profile/docs/MemberControllerDocsTest.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.member.docs; +package edonymyeon.backend.member.profile.docs; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; import static edonymyeon.backend.consumption.domain.ConsumptionType.SAVING; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doNothing; @@ -27,15 +27,15 @@ import edonymyeon.backend.consumption.repository.ConsumptionRepository; import edonymyeon.backend.image.domain.ImageType; import edonymyeon.backend.image.domain.UrlManager; -import edonymyeon.backend.membber.member.application.MemberService; -import edonymyeon.backend.membber.member.application.dto.request.PurchaseConfirmRequest; -import edonymyeon.backend.membber.member.application.dto.request.SavingConfirmRequest; -import edonymyeon.backend.membber.member.application.dto.response.DuplicateCheckResponse; -import edonymyeon.backend.membber.member.application.dto.response.MyPageResponseV1_0; -import edonymyeon.backend.membber.member.application.dto.response.MyPageResponseV1_1; -import edonymyeon.backend.membber.member.domain.Email; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.MemberService; +import edonymyeon.backend.member.profile.application.dto.request.PurchaseConfirmRequest; +import edonymyeon.backend.member.profile.application.dto.request.SavingConfirmRequest; +import edonymyeon.backend.member.profile.application.dto.response.DuplicateCheckResponse; +import edonymyeon.backend.member.profile.application.dto.response.MyPageResponseV1_0; +import edonymyeon.backend.member.profile.application.dto.response.MyPageResponseV1_1; +import edonymyeon.backend.member.profile.domain.Email; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.post.repository.PostRepository; import edonymyeon.backend.support.DocsTest; diff --git a/backend/src/test/java/edonymyeon/backend/member/domain/EmailTest.java b/backend/src/test/java/edonymyeon/backend/member/profile/domain/EmailTest.java similarity index 90% rename from backend/src/test/java/edonymyeon/backend/member/domain/EmailTest.java rename to backend/src/test/java/edonymyeon/backend/member/profile/domain/EmailTest.java index 42751711e..1302f30a0 100644 --- a/backend/src/test/java/edonymyeon/backend/member/domain/EmailTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/profile/domain/EmailTest.java @@ -1,11 +1,9 @@ -package edonymyeon.backend.member.domain; +package edonymyeon.backend.member.profile.domain; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_EMAIL_INVALID; import static org.assertj.core.api.Assertions.assertThatThrownBy; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.domain.Email; -import edonymyeon.backend.membber.member.domain.SocialInfo; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayNameGeneration; import org.junit.jupiter.api.DisplayNameGenerator; diff --git a/backend/src/test/java/edonymyeon/backend/member/domain/MemberTest.java b/backend/src/test/java/edonymyeon/backend/member/profile/domain/MemberTest.java similarity index 97% rename from backend/src/test/java/edonymyeon/backend/member/domain/MemberTest.java rename to backend/src/test/java/edonymyeon/backend/member/profile/domain/MemberTest.java index 63feb874d..a0b34b75f 100644 --- a/backend/src/test/java/edonymyeon/backend/member/domain/MemberTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/profile/domain/MemberTest.java @@ -1,4 +1,4 @@ -package edonymyeon.backend.member.domain; +package edonymyeon.backend.member.profile.domain; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_EMAIL_INVALID; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_NICKNAME_INVALID; @@ -6,7 +6,6 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.domain.Member; import java.util.Collections; import java.util.List; import org.assertj.core.api.Assertions; diff --git a/backend/src/test/java/edonymyeon/backend/member/domain/NicknameTest.java b/backend/src/test/java/edonymyeon/backend/member/profile/domain/NicknameTest.java similarity index 90% rename from backend/src/test/java/edonymyeon/backend/member/domain/NicknameTest.java rename to backend/src/test/java/edonymyeon/backend/member/profile/domain/NicknameTest.java index 932e5f1a5..35647eafe 100644 --- a/backend/src/test/java/edonymyeon/backend/member/domain/NicknameTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/profile/domain/NicknameTest.java @@ -1,12 +1,11 @@ -package edonymyeon.backend.member.domain; +package edonymyeon.backend.member.profile.domain; import static edonymyeon.backend.global.exception.ExceptionInformation.*; -import static edonymyeon.backend.membber.member.domain.SocialInfo.SocialType; +import static edonymyeon.backend.member.profile.domain.SocialInfo.SocialType; import static org.assertj.core.api.Assertions.*; import static org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.domain.Nickname; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayNameGeneration; import org.junit.jupiter.api.Test; diff --git a/backend/src/test/java/edonymyeon/backend/member/domain/PasswordTest.java b/backend/src/test/java/edonymyeon/backend/member/profile/domain/PasswordTest.java similarity index 93% rename from backend/src/test/java/edonymyeon/backend/member/domain/PasswordTest.java rename to backend/src/test/java/edonymyeon/backend/member/profile/domain/PasswordTest.java index 190bc57cf..afbd714fe 100644 --- a/backend/src/test/java/edonymyeon/backend/member/domain/PasswordTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/profile/domain/PasswordTest.java @@ -1,14 +1,12 @@ -package edonymyeon.backend.member.domain; +package edonymyeon.backend.member.profile.domain; import static edonymyeon.backend.global.exception.ExceptionInformation.ALREADY_ENCODED_PASSWORD; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_PASSWORD_INVALID; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import edonymyeon.backend.membber.auth.domain.SimplePasswordEncoder; +import edonymyeon.backend.member.auth.domain.SimplePasswordEncoder; import edonymyeon.backend.global.exception.BusinessLogicException; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.domain.Password; -import edonymyeon.backend.membber.member.domain.SocialInfo; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayNameGeneration; import org.junit.jupiter.api.DisplayNameGenerator; diff --git a/backend/src/test/java/edonymyeon/backend/member/integration/MemberConsumptionIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/member/profile/integration/MemberConsumptionIntegrationTest.java similarity index 97% rename from backend/src/test/java/edonymyeon/backend/member/integration/MemberConsumptionIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/member/profile/integration/MemberConsumptionIntegrationTest.java index fd890909d..4b51813ff 100644 --- a/backend/src/test/java/edonymyeon/backend/member/integration/MemberConsumptionIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/profile/integration/MemberConsumptionIntegrationTest.java @@ -1,12 +1,12 @@ -package edonymyeon.backend.member.integration; +package edonymyeon.backend.member.profile.integration; import static org.assertj.core.api.Assertions.assertThat; import edonymyeon.backend.global.controlleradvice.dto.ExceptionResponse; import edonymyeon.backend.global.exception.ExceptionInformation; -import edonymyeon.backend.membber.member.application.dto.request.PurchaseConfirmRequest; -import edonymyeon.backend.membber.member.application.dto.request.SavingConfirmRequest; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.application.dto.request.PurchaseConfirmRequest; +import edonymyeon.backend.member.profile.application.dto.request.SavingConfirmRequest; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.IntegrationFixture; import io.restassured.response.ExtractableResponse; diff --git a/backend/src/test/java/edonymyeon/backend/member/integration/MemberIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/member/profile/integration/MemberIntegrationTest.java similarity index 95% rename from backend/src/test/java/edonymyeon/backend/member/integration/MemberIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/member/profile/integration/MemberIntegrationTest.java index 1543181db..b695987e6 100644 --- a/backend/src/test/java/edonymyeon/backend/member/integration/MemberIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/profile/integration/MemberIntegrationTest.java @@ -1,15 +1,15 @@ -package edonymyeon.backend.member.integration; +package edonymyeon.backend.member.profile.integration; import static edonymyeon.backend.global.exception.ExceptionInformation.MEMBER_IS_DELETED; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.SoftAssertions.assertSoftly; import static org.junit.jupiter.api.Assertions.assertAll; -import edonymyeon.backend.membber.auth.application.dto.LoginRequest; +import edonymyeon.backend.member.auth.application.dto.LoginRequest; import edonymyeon.backend.global.controlleradvice.dto.ExceptionResponse; -import edonymyeon.backend.membber.member.application.dto.response.MyPageResponseV1_0; -import edonymyeon.backend.membber.member.application.dto.response.MyPageResponseV1_1; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.application.dto.response.MyPageResponseV1_0; +import edonymyeon.backend.member.profile.application.dto.response.MyPageResponseV1_1; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.application.dto.response.MyPostResponse; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.EdonymyeonRestAssured; diff --git a/backend/src/test/java/edonymyeon/backend/member/repository/MemberRepositoryTest.java b/backend/src/test/java/edonymyeon/backend/member/profile/repository/MemberRepositoryTest.java similarity index 93% rename from backend/src/test/java/edonymyeon/backend/member/repository/MemberRepositoryTest.java rename to backend/src/test/java/edonymyeon/backend/member/profile/repository/MemberRepositoryTest.java index b34e4a2ef..02eeba17d 100644 --- a/backend/src/test/java/edonymyeon/backend/member/repository/MemberRepositoryTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/profile/repository/MemberRepositoryTest.java @@ -1,12 +1,11 @@ -package edonymyeon.backend.member.repository; +package edonymyeon.backend.member.profile.repository; import static org.assertj.core.api.Assertions.assertThat; -import edonymyeon.backend.membber.member.application.MemberConsumptionService; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.YearMonthDto; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.profile.application.MemberConsumptionService; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.YearMonthDto; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.support.IntegrationFixture; import jakarta.persistence.EntityManager; diff --git a/backend/src/test/java/edonymyeon/backend/setting/application/SettingServiceTest.java b/backend/src/test/java/edonymyeon/backend/member/setting/application/SettingServiceTest.java similarity index 93% rename from backend/src/test/java/edonymyeon/backend/setting/application/SettingServiceTest.java rename to backend/src/test/java/edonymyeon/backend/member/setting/application/SettingServiceTest.java index 92da21a20..1ec790043 100644 --- a/backend/src/test/java/edonymyeon/backend/setting/application/SettingServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/setting/application/SettingServiceTest.java @@ -1,18 +1,17 @@ -package edonymyeon.backend.setting.application; +package edonymyeon.backend.member.setting.application; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.atLeastOnce; import static org.mockito.Mockito.verify; -import edonymyeon.backend.membber.auth.application.AuthService; -import edonymyeon.backend.membber.auth.application.dto.JoinRequest; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.setting.application.SettingService; -import edonymyeon.backend.membber.setting.domain.Setting; -import edonymyeon.backend.membber.setting.domain.SettingType; -import edonymyeon.backend.membber.setting.repository.SettingRepository; +import edonymyeon.backend.member.auth.application.AuthService; +import edonymyeon.backend.member.auth.application.dto.JoinRequest; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.setting.domain.Setting; +import edonymyeon.backend.member.setting.domain.SettingType; +import edonymyeon.backend.member.setting.repository.SettingRepository; import edonymyeon.backend.support.IntegrationFixture; import java.util.List; import lombok.RequiredArgsConstructor; diff --git a/backend/src/test/java/edonymyeon/backend/setting/docs/SettingControllerDocsTest.java b/backend/src/test/java/edonymyeon/backend/member/setting/docs/SettingControllerDocsTest.java similarity index 91% rename from backend/src/test/java/edonymyeon/backend/setting/docs/SettingControllerDocsTest.java rename to backend/src/test/java/edonymyeon/backend/member/setting/docs/SettingControllerDocsTest.java index df987fe36..5d74e8af8 100644 --- a/backend/src/test/java/edonymyeon/backend/setting/docs/SettingControllerDocsTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/setting/docs/SettingControllerDocsTest.java @@ -1,6 +1,6 @@ -package edonymyeon.backend.setting.docs; +package edonymyeon.backend.member.setting.docs; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; import static org.mockito.Mockito.when; import static org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document; import static org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders.get; @@ -13,13 +13,13 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import com.fasterxml.jackson.databind.ObjectMapper; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.setting.application.SettingService; -import edonymyeon.backend.membber.setting.application.dto.SettingRequest; -import edonymyeon.backend.membber.setting.application.dto.SettingResponse; -import edonymyeon.backend.membber.setting.application.dto.SettingsResponse; -import edonymyeon.backend.membber.setting.domain.SettingType; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.setting.application.SettingService; +import edonymyeon.backend.member.setting.application.dto.SettingRequest; +import edonymyeon.backend.member.setting.application.dto.SettingResponse; +import edonymyeon.backend.member.setting.application.dto.SettingsResponse; +import edonymyeon.backend.member.setting.domain.SettingType; import edonymyeon.backend.support.DocsTest; import edonymyeon.backend.support.TestMemberBuilder; import java.util.List; diff --git a/backend/src/test/java/edonymyeon/backend/setting/domain/SettingTest.java b/backend/src/test/java/edonymyeon/backend/member/setting/domain/SettingTest.java similarity index 79% rename from backend/src/test/java/edonymyeon/backend/setting/domain/SettingTest.java rename to backend/src/test/java/edonymyeon/backend/member/setting/domain/SettingTest.java index 37fe8497a..f38b7cae4 100644 --- a/backend/src/test/java/edonymyeon/backend/setting/domain/SettingTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/setting/domain/SettingTest.java @@ -1,9 +1,7 @@ -package edonymyeon.backend.setting.domain; +package edonymyeon.backend.member.setting.domain; import static org.assertj.core.api.Assertions.assertThat; -import edonymyeon.backend.membber.setting.domain.Setting; -import edonymyeon.backend.membber.setting.domain.SettingType; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; diff --git a/backend/src/test/java/edonymyeon/backend/setting/ui/SettingIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/member/setting/ui/SettingIntegrationTest.java similarity index 92% rename from backend/src/test/java/edonymyeon/backend/setting/ui/SettingIntegrationTest.java rename to backend/src/test/java/edonymyeon/backend/member/setting/ui/SettingIntegrationTest.java index 2475bcbf5..1334a7276 100644 --- a/backend/src/test/java/edonymyeon/backend/setting/ui/SettingIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/setting/ui/SettingIntegrationTest.java @@ -1,14 +1,14 @@ -package edonymyeon.backend.setting.ui; +package edonymyeon.backend.member.setting.ui; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.fail; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; -import edonymyeon.backend.membber.auth.application.AuthService; -import edonymyeon.backend.membber.auth.application.dto.JoinRequest; -import edonymyeon.backend.membber.setting.application.dto.SettingRequest; -import edonymyeon.backend.membber.setting.domain.SettingType; +import edonymyeon.backend.member.auth.application.AuthService; +import edonymyeon.backend.member.auth.application.dto.JoinRequest; +import edonymyeon.backend.member.setting.application.dto.SettingRequest; +import edonymyeon.backend.member.setting.domain.SettingType; import edonymyeon.backend.support.EdonymyeonRestAssured; import edonymyeon.backend.support.IntegrationFixture; import io.restassured.response.ExtractableResponse; diff --git a/backend/src/test/java/edonymyeon/backend/notification/application/NotificationEventListenerTest.java b/backend/src/test/java/edonymyeon/backend/notification/application/NotificationEventListenerTest.java index 844662d16..f12d22a0c 100644 --- a/backend/src/test/java/edonymyeon/backend/notification/application/NotificationEventListenerTest.java +++ b/backend/src/test/java/edonymyeon/backend/notification/application/NotificationEventListenerTest.java @@ -7,19 +7,19 @@ import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.verify; -import edonymyeon.backend.membber.auth.application.AuthService; -import edonymyeon.backend.membber.auth.application.dto.JoinRequest; +import edonymyeon.backend.member.auth.application.AuthService; +import edonymyeon.backend.member.auth.application.dto.JoinRequest; import edonymyeon.backend.content.comment.application.CommentService; import edonymyeon.backend.content.comment.application.dto.request.CommentRequest; import edonymyeon.backend.global.exception.BusinessLogicException; import edonymyeon.backend.global.exception.ExceptionInformation; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.notification.domain.Notification; import edonymyeon.backend.notification.repository.NotificationRepository; import edonymyeon.backend.content.post.domain.Post; -import edonymyeon.backend.membber.setting.application.SettingService; -import edonymyeon.backend.membber.setting.domain.SettingType; +import edonymyeon.backend.member.setting.application.SettingService; +import edonymyeon.backend.member.setting.domain.SettingType; import edonymyeon.backend.support.IntegrationFixture; import edonymyeon.backend.content.thumbs.application.ThumbsService; import edonymyeon.backend.content.thumbs.domain.Thumbs; diff --git a/backend/src/test/java/edonymyeon/backend/notification/application/NotificationServiceTest.java b/backend/src/test/java/edonymyeon/backend/notification/application/NotificationServiceTest.java index 316648cf4..ed87a5ba7 100644 --- a/backend/src/test/java/edonymyeon/backend/notification/application/NotificationServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/notification/application/NotificationServiceTest.java @@ -1,23 +1,23 @@ package edonymyeon.backend.notification.application; -import edonymyeon.backend.membber.auth.application.AuthService; -import edonymyeon.backend.membber.auth.application.dto.JoinRequest; -import edonymyeon.backend.membber.auth.application.dto.LoginRequest; +import edonymyeon.backend.member.auth.application.AuthService; +import edonymyeon.backend.member.auth.application.dto.JoinRequest; +import edonymyeon.backend.member.auth.application.dto.LoginRequest; import edonymyeon.backend.content.comment.application.CommentService; import edonymyeon.backend.content.comment.application.dto.request.CommentRequest; import edonymyeon.backend.global.exception.BusinessLogicException; import edonymyeon.backend.global.exception.ExceptionInformation; -import edonymyeon.backend.membber.member.application.MemberService; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.application.dto.request.PurchaseConfirmRequest; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.application.MemberService; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.request.PurchaseConfirmRequest; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.notification.domain.Notification; import edonymyeon.backend.notification.domain.ScreenType; import edonymyeon.backend.notification.repository.NotificationRepository; import edonymyeon.backend.content.post.application.PostService; import edonymyeon.backend.content.post.domain.Post; -import edonymyeon.backend.membber.setting.application.SettingService; -import edonymyeon.backend.membber.setting.domain.SettingType; +import edonymyeon.backend.member.setting.application.SettingService; +import edonymyeon.backend.member.setting.domain.SettingType; import edonymyeon.backend.support.IntegrationFixture; import edonymyeon.backend.content.thumbs.application.ThumbsService; import lombok.RequiredArgsConstructor; diff --git a/backend/src/test/java/edonymyeon/backend/notification/integration/NotificationIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/notification/integration/NotificationIntegrationTest.java index 19b3ec2f3..39bc0cff5 100644 --- a/backend/src/test/java/edonymyeon/backend/notification/integration/NotificationIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/notification/integration/NotificationIntegrationTest.java @@ -1,16 +1,16 @@ package edonymyeon.backend.notification.integration; -import edonymyeon.backend.membber.auth.application.AuthService; -import edonymyeon.backend.membber.auth.application.dto.JoinRequest; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.auth.application.AuthService; +import edonymyeon.backend.member.auth.application.dto.JoinRequest; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.notification.domain.Notification; import edonymyeon.backend.notification.domain.ScreenType; import edonymyeon.backend.notification.repository.NotificationRepository; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.content.post.application.PostSlice; -import edonymyeon.backend.membber.setting.application.SettingService; -import edonymyeon.backend.membber.setting.domain.SettingType; +import edonymyeon.backend.member.setting.application.SettingService; +import edonymyeon.backend.member.setting.domain.SettingType; import edonymyeon.backend.support.EdonymyeonRestAssured; import edonymyeon.backend.support.IntegrationFixture; import edonymyeon.backend.content.thumbs.application.ThumbsService; diff --git a/backend/src/test/java/edonymyeon/backend/report/application/ReportServiceTest.java b/backend/src/test/java/edonymyeon/backend/report/application/ReportServiceTest.java index 222bffb83..342a9a54b 100644 --- a/backend/src/test/java/edonymyeon/backend/report/application/ReportServiceTest.java +++ b/backend/src/test/java/edonymyeon/backend/report/application/ReportServiceTest.java @@ -2,7 +2,7 @@ import edonymyeon.backend.content.comment.domain.Comment; import edonymyeon.backend.global.exception.EdonymyeonException; -import edonymyeon.backend.membber.member.application.dto.ActiveMemberId; +import edonymyeon.backend.member.profile.application.dto.ActiveMemberId; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.report.domain.Report; import edonymyeon.backend.support.CommentTestSupport; diff --git a/backend/src/test/java/edonymyeon/backend/report/docs/ReportDocsTest.java b/backend/src/test/java/edonymyeon/backend/report/docs/ReportDocsTest.java index 1ed698f3b..765f10f9f 100644 --- a/backend/src/test/java/edonymyeon/backend/report/docs/ReportDocsTest.java +++ b/backend/src/test/java/edonymyeon/backend/report/docs/ReportDocsTest.java @@ -1,6 +1,6 @@ package edonymyeon.backend.report.docs; -import static edonymyeon.backend.membber.auth.ui.SessionConst.USER; +import static edonymyeon.backend.member.auth.ui.SessionConst.USER; import static edonymyeon.backend.report.domain.ReportType.POST; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doNothing; @@ -13,10 +13,10 @@ import com.fasterxml.jackson.databind.ObjectMapper; import edonymyeon.backend.content.post.postimage.domain.PostImageInfos; -import edonymyeon.backend.membber.member.domain.Email; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.repository.MemberRepository; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.domain.Email; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.repository.MemberRepository; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.post.repository.PostRepository; import edonymyeon.backend.report.application.ReportRepository; diff --git a/backend/src/test/java/edonymyeon/backend/report/ui/ReportIntegrationTest.java b/backend/src/test/java/edonymyeon/backend/report/ui/ReportIntegrationTest.java index 84215f15b..1ac66669b 100644 --- a/backend/src/test/java/edonymyeon/backend/report/ui/ReportIntegrationTest.java +++ b/backend/src/test/java/edonymyeon/backend/report/ui/ReportIntegrationTest.java @@ -3,8 +3,8 @@ import static org.assertj.core.api.Assertions.assertThat; import edonymyeon.backend.content.comment.domain.Comment; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.post.ImageFileCleaner; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.content.post.ImageFileCleaner; import edonymyeon.backend.report.application.ReportRequest; import edonymyeon.backend.support.EdonymyeonRestAssured; import edonymyeon.backend.support.IntegrationFixture; diff --git a/backend/src/test/java/edonymyeon/backend/support/CommentTestSupport.java b/backend/src/test/java/edonymyeon/backend/support/CommentTestSupport.java index 1d9b75010..dc6f10b06 100644 --- a/backend/src/test/java/edonymyeon/backend/support/CommentTestSupport.java +++ b/backend/src/test/java/edonymyeon/backend/support/CommentTestSupport.java @@ -5,7 +5,7 @@ import edonymyeon.backend.content.comment.commentimage.domain.CommentImageInfo; import edonymyeon.backend.content.comment.commentimage.repository.CommentImageInfoRepository; import edonymyeon.backend.image.domain.ImageInfo; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Component; diff --git a/backend/src/test/java/edonymyeon/backend/support/IntegrationFixture.java b/backend/src/test/java/edonymyeon/backend/support/IntegrationFixture.java index 53901b78d..98f88241b 100644 --- a/backend/src/test/java/edonymyeon/backend/support/IntegrationFixture.java +++ b/backend/src/test/java/edonymyeon/backend/support/IntegrationFixture.java @@ -3,10 +3,10 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doNothing; -import edonymyeon.backend.membber.auth.application.dto.LoginRequest; -import edonymyeon.backend.membber.member.application.dto.request.PurchaseConfirmRequest; -import edonymyeon.backend.membber.member.application.dto.request.SavingConfirmRequest; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.auth.application.dto.LoginRequest; +import edonymyeon.backend.member.profile.application.dto.request.PurchaseConfirmRequest; +import edonymyeon.backend.member.profile.application.dto.request.SavingConfirmRequest; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.notification.application.NotificationSender; import edonymyeon.backend.report.application.ReportRequest; import io.restassured.RestAssured; diff --git a/backend/src/test/java/edonymyeon/backend/support/PostIntegrationTestSupport.java b/backend/src/test/java/edonymyeon/backend/support/PostIntegrationTestSupport.java index 224a36a94..f27d17ad4 100644 --- a/backend/src/test/java/edonymyeon/backend/support/PostIntegrationTestSupport.java +++ b/backend/src/test/java/edonymyeon/backend/support/PostIntegrationTestSupport.java @@ -1,7 +1,7 @@ package edonymyeon.backend.support; -import edonymyeon.backend.membber.auth.application.dto.LoginRequest; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.auth.application.dto.LoginRequest; +import edonymyeon.backend.member.profile.domain.Member; import io.restassured.http.ContentType; import io.restassured.response.ExtractableResponse; import io.restassured.response.Response; diff --git a/backend/src/test/java/edonymyeon/backend/support/PostTestSupport.java b/backend/src/test/java/edonymyeon/backend/support/PostTestSupport.java index 659153f96..77be1ac18 100644 --- a/backend/src/test/java/edonymyeon/backend/support/PostTestSupport.java +++ b/backend/src/test/java/edonymyeon/backend/support/PostTestSupport.java @@ -1,6 +1,6 @@ package edonymyeon.backend.support; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.post.repository.PostRepository; import lombok.RequiredArgsConstructor; diff --git a/backend/src/test/java/edonymyeon/backend/support/ProfileImageInfoTestSupport.java b/backend/src/test/java/edonymyeon/backend/support/ProfileImageInfoTestSupport.java index 2ca801f11..296df9d5f 100644 --- a/backend/src/test/java/edonymyeon/backend/support/ProfileImageInfoTestSupport.java +++ b/backend/src/test/java/edonymyeon/backend/support/ProfileImageInfoTestSupport.java @@ -3,8 +3,8 @@ import edonymyeon.backend.image.application.ImageService; import edonymyeon.backend.image.domain.ImageType; import edonymyeon.backend.image.domain.ImageInfo; -import edonymyeon.backend.membber.member.profileimage.domain.ProfileImageInfo; -import edonymyeon.backend.membber.member.profileimage.repository.ProfileImageInfoRepository; +import edonymyeon.backend.member.profile.profileimage.domain.ProfileImageInfo; +import edonymyeon.backend.member.profile.profileimage.repository.ProfileImageInfoRepository; import java.io.IOException; import java.util.UUID; import lombok.RequiredArgsConstructor; diff --git a/backend/src/test/java/edonymyeon/backend/support/TestMemberBuilder.java b/backend/src/test/java/edonymyeon/backend/support/TestMemberBuilder.java index 529888e3a..b1d59113c 100644 --- a/backend/src/test/java/edonymyeon/backend/support/TestMemberBuilder.java +++ b/backend/src/test/java/edonymyeon/backend/support/TestMemberBuilder.java @@ -1,11 +1,11 @@ package edonymyeon.backend.support; -import edonymyeon.backend.membber.auth.domain.SimplePasswordEncoder; -import edonymyeon.backend.membber.member.profileimage.domain.ProfileImageInfo; -import edonymyeon.backend.membber.member.domain.Device; -import edonymyeon.backend.membber.member.domain.Member; -import edonymyeon.backend.membber.member.domain.SocialInfo; -import edonymyeon.backend.membber.member.repository.MemberRepository; +import edonymyeon.backend.member.auth.domain.SimplePasswordEncoder; +import edonymyeon.backend.member.profile.profileimage.domain.ProfileImageInfo; +import edonymyeon.backend.member.profile.domain.Device; +import edonymyeon.backend.member.profile.domain.Member; +import edonymyeon.backend.member.profile.domain.SocialInfo; +import edonymyeon.backend.member.profile.repository.MemberRepository; import java.lang.reflect.Field; import java.util.List; import java.util.Objects; diff --git a/backend/src/test/java/edonymyeon/backend/support/ThumbsUpPostTestSupport.java b/backend/src/test/java/edonymyeon/backend/support/ThumbsUpPostTestSupport.java index 4665a177a..d933c9ce2 100644 --- a/backend/src/test/java/edonymyeon/backend/support/ThumbsUpPostTestSupport.java +++ b/backend/src/test/java/edonymyeon/backend/support/ThumbsUpPostTestSupport.java @@ -1,6 +1,6 @@ package edonymyeon.backend.support; -import edonymyeon.backend.membber.member.domain.Member; +import edonymyeon.backend.member.profile.domain.Member; import edonymyeon.backend.content.post.domain.Post; import edonymyeon.backend.content.thumbs.domain.Thumbs; import edonymyeon.backend.content.thumbs.domain.ThumbsType;