-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GETP-196 refactor: member 컴포넌트 포트-어댑터 아키텍처 적용 (#128)
* GETP-196 refactor: member 컴포넌트의 application layer가 out port에 의존하도록 변경 * GETP-196 refactor: member 도메인 모델과 jpa 모델을 분리 * GETP-196 rename: member 컴포넌트의 application layer를 application.member 패키지로 이동 * GETP-196 refactor: member 컴포넌트의 web adapter가 application layer의 port에 의존하도록 변경
- Loading branch information
Showing
126 changed files
with
708 additions
and
972 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ain/java/es/princip/getp/api/controller/auth/dto/request/ServiceTermAgreementRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
src/main/java/es/princip/getp/api/controller/auth/dto/request/SignUpRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...n/java/es/princip/getp/api/controller/people/command/dto/request/CreatePeopleRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...n/java/es/princip/getp/api/controller/people/command/dto/request/UpdatePeopleRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...va/es/princip/getp/api/controller/project/command/dto/request/ScheduleMeetingRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/es/princip/getp/api/security/details/PrincipalDetails.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...mber/command/annotation/EmailPattern.java → ...cip/getp/api/validation/EmailPattern.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ommand/annotation/PhoneNumberPattern.java → ...tp/api/validation/PhoneNumberPattern.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...er/command/annotation/UserMemberType.java → ...p/getp/api/validation/UserMemberType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...d/annotation/UserMemberTypeValidator.java → ...i/validation/UserMemberTypeValidator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/main/java/es/princip/getp/application/member/command/ChangeProfileImageCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package es.princip.getp.application.member.command; | ||
|
||
import org.springframework.web.multipart.MultipartFile; | ||
|
||
public record ChangeProfileImageCommand( | ||
Long memberId, | ||
MultipartFile image | ||
) { | ||
} |
24 changes: 12 additions & 12 deletions
24
...lication/command/UpdateMemberCommand.java → ...ion/member/command/EditMemberCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/main/java/es/princip/getp/application/member/port/in/ChangeProfileImageUseCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package es.princip.getp.application.member.port.in; | ||
|
||
import es.princip.getp.application.member.command.ChangeProfileImageCommand; | ||
|
||
public interface ChangeProfileImageUseCase { | ||
|
||
String changeProfileImage(ChangeProfileImageCommand command); | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/es/princip/getp/application/member/port/in/EditMemberUseCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package es.princip.getp.application.member.port.in; | ||
|
||
import es.princip.getp.application.member.command.EditMemberCommand; | ||
|
||
public interface EditMemberUseCase { | ||
|
||
void editMember(EditMemberCommand command); | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/es/princip/getp/application/member/port/out/CheckMemberPort.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package es.princip.getp.application.member.port.out; | ||
|
||
import es.princip.getp.domain.member.model.Email; | ||
|
||
public interface CheckMemberPort { | ||
|
||
boolean existsByEmail(Email email); | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/es/princip/getp/application/member/port/out/LoadMemberPort.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package es.princip.getp.application.member.port.out; | ||
|
||
import es.princip.getp.domain.member.model.Email; | ||
import es.princip.getp.domain.member.model.Member; | ||
|
||
public interface LoadMemberPort { | ||
|
||
Member loadBy(Email email); | ||
|
||
Member loadBy(Long id); | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/es/princip/getp/application/member/port/out/SaveMemberPort.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package es.princip.getp.application.member.port.out; | ||
|
||
import es.princip.getp.domain.member.model.Member; | ||
|
||
public interface SaveMemberPort { | ||
|
||
Long save(Member member); | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/es/princip/getp/application/member/port/out/UpdateMemberPort.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package es.princip.getp.application.member.port.out; | ||
|
||
import es.princip.getp.domain.member.model.Member; | ||
|
||
public interface UpdateMemberPort { | ||
|
||
void update(Member member); | ||
} |
Oops, something went wrong.