Lv5/api logging#77
Open
jinyp01 wants to merge 34 commits into
Open
Conversation
base64로 인코딩된 키로 변경
WebMvcConfig.java 파일 추가
AuthUserArgumentResolver.java 파일에 어노테이션 추가
불필요한 어노테이션 삭제
불필요한 어노테이션 삭제
이미 존재하는 이메일인 경우 바로 리턴하게 하여 불필요한 과정이 수행되는 것을 방지, 불필요한 import문 삭제
if-else의 else문에 다시 if문을 넣어 가독성이 떨어지는 것을 프로그램 흐름에 맞춰 if문만 사용하도록 리팩토링
불필요한 import문 삭제
비밀번호 변경 request DTO에 정규식을 이용한 validation 추가
컨트롤러에 @Valid 어노테이션 추가
UserService에 작성된 비밀번호 검증 로직 삭제
@EntityGraph 식으로 변경
교체하면서 사용되지 않는 메서드 삭제
서비스에서 변경된 메서드를 사용하도록 수정
사용하지 않는 import문, 메서드 추가 삭제
matches의 파라미터가 반대로 들어가있는 코드 수정
NPE 에러를 던진다 -> InvalidRequestException 에러를 던진다 로 수정 Manager Not found -> Todo not found
SeverException -> InvalidRequestException 에러를 던지도록 수정
if(todo.getUser() == null) 검사 로직을 추가
클래스 생성 후 WebMvcConfig에 등록
AOP 작성 도중 감시 경로를 따로 적어주는게 비효율적이라고 생각하여 파사드 클래스 작성 후 해당 경로를 사용
Admin 패키지를 생성하여 관련 서비스 파일을 이동
이전에 작성된 어드민 컨트롤러 삭제
Interceptor에서 UserRole을 잘못 받는 문제 수정
objectMapper를 이용하여 json 형식으로 출력되도록 수정
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.
No description provided.