-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0904aa3
commit 93541c2
Showing
23 changed files
with
97 additions
and
42 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
server/.gradle/7.6.1/executionHistory/executionHistory.lock
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
17 changes: 17 additions & 0 deletions
17
...r/Recruit-Api/src/main/java/com/econovation/recruit/api/user/docs/LoginExceptionDocs.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,17 @@ | ||
package com.econovation.recruit.api.user.docs; | ||
|
||
import com.econovation.recruitcommon.annotation.ExceptionDoc; | ||
import com.econovation.recruitcommon.annotation.ExplainError; | ||
import com.econovation.recruitcommon.exception.RecruitCodeException; | ||
import com.econovation.recruitcommon.interfaces.SwaggerExampleExceptions; | ||
import com.econovation.recruitdomain.domains.interviewer.exception.InterviewerNotMatchException; | ||
import com.econovation.recruitdomain.domains.interviewer.exception.InvalidPasswordException; | ||
|
||
@ExceptionDoc | ||
public class LoginExceptionDocs implements SwaggerExampleExceptions { | ||
@ExplainError("유효하지 않은 비밀번호를 입력한 경우") | ||
public RecruitCodeException 비밀번호_부적절 = InvalidPasswordException.EXCEPTION; | ||
|
||
@ExplainError("등록되지 않은 이메일과 비밀번호로 로그인을 시도한 경우") | ||
public RecruitCodeException 이메일_비밀번호_불일치 = InterviewerNotMatchException.EXCEPTION; | ||
} |
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
.../Recruit-Api/src/main/java/com/econovation/recruit/api/user/usecase/UserLoginUseCase.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
...ruitdomain/domains/dto/TokenResponse.java → ...tion/recruitcommon/dto/TokenResponse.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
5 changes: 4 additions & 1 deletion
5
.../java/com/econovation/recruitdomain/domains/interviewer/domain/InterviewerRepository.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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
package com.econovation.recruitdomain.domains.interviewer.domain; | ||
|
||
import java.util.Optional; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
import org.springframework.stereotype.Repository; | ||
|
||
@Repository | ||
public interface InterviewerRepository extends JpaRepository<Interviewer, Long> {} | ||
public interface InterviewerRepository extends JpaRepository<Interviewer, Long> { | ||
Optional<Interviewer> findByEmail(String email); | ||
} |
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
11 changes: 11 additions & 0 deletions
11
...econovation/recruitdomain/domains/interviewer/exception/InterviewerNotMatchException.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 com.econovation.recruitdomain.domains.interviewer.exception; | ||
|
||
import com.econovation.recruitcommon.exception.RecruitCodeException; | ||
|
||
public class InterviewerNotMatchException extends RecruitCodeException { | ||
public static final RecruitCodeException EXCEPTION = new InterviewerNotMatchException(); | ||
|
||
private InterviewerNotMatchException() { | ||
super(InterviewerErrorCode.INTERVIEWER_NOT_MATCH); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,4 @@ INSERT INTO navigation (navigation_id, created_at, updated_at, title) VALUES (4, | |
INSERT INTO navigation (navigation_id, created_at, updated_at, title) VALUES (5,NOW(),NOW(),"지원자 대응팀"); | ||
INSERT INTO navigation (navigation_id, created_at, updated_at, title) VALUES (6,NOW(),NOW(),"OT 담당팀"); | ||
INSERT INTO navigation (navigation_id, created_at, updated_at, title) VALUES (7,NOW(),NOW(),"기타 참고"); | ||
INSERT INTO interviewer (idp_id, name, role, year) VALUES (0,"이서현_관리자","ROLE_TF", 21); | ||
INSERT INTO interviewer (idp_id, name, role, year) VALUES (1,"임채승","ROLE_TF", 22); | ||
INSERT INTO interviewer (idp_id, name, role, year) VALUES (2,"강바다","ROLE_TF", 24); | ||
INSERT INTO interviewer (idp_id, name, role, year) VALUES (3,"이도연","ROLE_PRESIDENT", 23); | ||
INSERT INTO interviewer (idp_id, name, role, year, email, password) VALUES (0,"이서현_관리자","ROLE_TF", 21, "[email protected]","asldnwlq!@Tqwashg"); |