-
Notifications
You must be signed in to change notification settings - Fork 2
refactor/KD-65 Certificate/Thesis 제출 API의 request 명세 변경 #319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
cf3e058
refactor: scheduleId 제거와, 이에 따른 CertificateSubmitRequest 제거
JangYeongHu e0dd664
refactor: ThesisSubmitRequest의 scheduleId를 SubmissionType으로 대체
JangYeongHu 8735dae
fix: 잘못된 에러코드값 수정
JangYeongHu d0c9a84
refactor: ThesisSubmitRequest Schema 추가
JangYeongHu 475398c
refactor: Thesis, Certificate, GraduationUser의 exception 도메인 코드 수정
JangYeongHu 74eccbc
fix: 졸업 방식 제출 시 일정 검증 로직 추가
JangYeongHu 57a5874
test: 테스트 코드 추가
JangYeongHu e8b26d0
refactor: 예외 코드 문맥 수정
JangYeongHu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
...in/java/kgu/developers/api/certificate/presentation/request/CertificateSubmitRequest.java
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...api/src/main/java/kgu/developers/api/thesis/presentation/request/ThesisSubmitRequest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,10 @@ | ||
| package kgu.developers.api.thesis.presentation.request; | ||
|
|
||
| import jakarta.validation.constraints.NotNull; | ||
| import kgu.developers.domain.schedule.domain.SubmissionType; | ||
|
|
||
| public record ThesisSubmitRequest( | ||
| @NotNull(message = "졸업 논문 일정 id는 필수입니다.") | ||
| Long scheduleId | ||
| @NotNull(message = "졸업 논문 유형은 필수입니다.") | ||
| SubmissionType type | ||
| ) { | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
aics-domain/src/main/java/kgu/developers/domain/thesis/domain/ThesisType.java
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...ain/java/kgu/developers/domain/thesis/exception/ThesisInvalidSubmissionTypeException.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| package kgu.developers.domain.thesis.exception; | ||
|
|
||
| import kgu.developers.common.exception.CustomException; | ||
|
|
||
| import static kgu.developers.domain.thesis.exception.ThesisDomainExceptionCode.THESIS_INVALID_SUBMISSION_TYPE_EXCEPTION; | ||
|
|
||
| public class ThesisInvalidSubmissionTypeException extends CustomException { | ||
| public ThesisInvalidSubmissionTypeException() { | ||
| super(THESIS_INVALID_SUBMISSION_TYPE_EXCEPTION); | ||
| } | ||
| } |
13 changes: 6 additions & 7 deletions
13
aics-domain/src/testFixtures/java/carousel/application/CarouselCommandServiceTest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 6 additions & 7 deletions
13
aics-domain/src/testFixtures/java/carousel/application/CarouselQueryServiceTest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.