Conversation
- 사용자,동화,문단 엔티티 생성 - 동화 엔티티 enum값은 빈 칸으로 생성, 추후 수정바람
…로직, 예외 핸들러와 비밀번호 인코더 객체, 모든 요청에 대해 모두 허용으로 선언
errorResponse.getMessage()만 직렬화하여 문자열만 반환되던 문제를 errorResponse 전체 객체를 직렬화하도록 수정
MissingServletRequestParameterException 핸들러가 없어서 파라미터 누락 시 Security 에러 핸들러로 빠지던 문제 수정
익명 사용자(anonymousUser)가 isAuthenticated()=true로 통과하여 UserNotFoundException(404)이 발생하던 문제를 UNAUTHORIZED_ERROR(401)로 처리하도록 수정
토큰 인증 시 유저 존재가 보장되므로 불필요한 DB 조회 제거
@authuser로 주입된 User가 detached 상태일 수 있어 dirty checking이 작동하지 않는 문제를 UserRepository.findById()로 managed 엔티티를 다시 조회하여 해결
매 요청마다 new ObjectMapper() 생성하던 오버헤드를 제거하고 Spring Bean으로 주입받도록 수정
feat: 동화 조회 API 구현 (내 동화, 공유 동화, 상세 조회)
feat: 프로필 조회/수정 API 구현
- Dockerfile: --spring.config.additional-location 옵션으로 외부 properties 우선 적용 - docker-compose: env_file 제거, application.properties를 호스트에서 직접 마운트 - CD 워크플로우: ENV_FILE 시크릿 의존성 제거 (BACKEND_IMAGE만 .env에 작성) - nginx: server_name을 와일드카드(_)로 변경
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.
🔎 관련 이슈
📋 작업 내용
💡 알림
✅ 체크리스트