강의(교육) 신청 고도화 작업#125
Open
hot666666 wants to merge 16 commits into
Open
Conversation
verifyAuthNum2 - 기존 메서드와 달리 인증에 사용된 번호를 세션처럼 이용
- SendAuthNumReq의 MessageType에 TEMP 추가 - VerifyAuthNumReq, VerifyAuthNumRes 수정
인증된 전화번호를 위한 세션을 생성해주는 엔드포인트 추가("message/verify2")
- MessageControllerTest.java - MessageServiceImplTest.java - MessageServiceTestSetup.java
- User - Lecture
- LectureRepository - UserLectureService
- RedisServiceTest
세션필터는 "/education-application/**" 주소에만 적용됨 요청 헤더의 Session-Id를 통해 휴대폰 번호를 컨트롤러에 전달 - SessionFilter - SessionFilterHandler - SessionException - SecurityConfig
@order을 추가해 JwtAuthenticationFilter 순서 지정
- EducationApplicationReq - RetrieveApplicationReq
세션인증과 관련된 오류 enum 추가
세션필터를 통해 phoneNumber를 얻어 EducationApplication API에서 사용합니다
인증된 핸드폰 번호와 같은지 검사하는 로직 추가 - EducationApplicationService - ClassGroupService
인증된 핸드폰 번호와 엔티티 아이디를 한번에 검색하는 메서드 추가
- SessionFilterTest
기존 테스트에서 인증된 핸드폰을 추가한 테스트 업데이트 - EducationApplicationTestSetup - EducationApplicationApiTest - EducationApplicationServiceTest - ClassGroupServiceTest
Collaborator
|
고생하셨습니다!! 프론트 측이랑 테스트 해서 잘 작동하면 끝날거 같습니다!! 😀 프론트측이랑 테스트하면서 얘기해보시고 혹시 필요하신거 있으면 말해주세요! 😊 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR 타입(하나 이상의 PR 타입을 선택해주세요)
반영 브랜치
ex) hot666666/feat-124 -> DOROEDU/develop
변경 사항
테스트 결과