Conversation
- SQL 실행 쿼리 로그를 확인하기 위해서 application.yml 파일 설정을 추가하였습니다. - SQL 쿼리에서 바인딩된 실제 값을 출력하기 위해서 TRACE 설정을 추가하였습니다. issue #9
- 도메인 별로 묶기 위해서 파일 이동을 하였습니다. - 타자 정보가 담긴 Typing 관련 파일들을 typing 폴더를 만들어 이동하였습니다. issue #9
- 타자 결과 정보의 생성일과 수정일을 함께 저장하기 위해서 BaseEntity 추상 클래스 상속 issue #9
- API 호출 및 조회한 랭킹 정보를 반환하는 RankingController를 구현했습니다. - DB에서 전달받은 데이터를 Controller 측으로 전달해주는 RankingService를 구현했습니다. - 상위 최대 50등까지 타자 정보를 가져올 수 있는 JPA native query를 TypingRepository에 구현했습니다. - JPA native query의 결과물을 직접 받을 수 있는 RankingResponse 객체를 구현했습니다. issue #9
- CSRF 공격을 막기 위한 보호 기능을 비활성화했습니다. - HTTP 기본 인증 방식을 비활성화했습니다. - Form Login 설정을 비활성화했습니다. - Logout 설정을 비활성화했습니다. - 테스트를 진행하기 위해서 모든 요청에 대한 접근을 허용하였습니다. - 추후 JWT 인증 방식을 도입하기 위해서 Session 설정을 비활성화했습니다. issue #9
- 약 60개의 데이터를 미리 DB에 넣어 테스트하기 위해서 ranking.sql 파일을 만들어 저장하도록 구현했습니다. - TypingRepository에 작성한 JPA native query가 정상적으로 작동하는지 단위 테스트를 진행했습니다. - Repository에서 가져온 데이터가 RankingResponse DTO 객체에 잘 담겨있는지 RankingService 단위 테스트를 진행했습니다. - Controller -> Service -> Repository -> DB -> Repository -> Service -> Controller 통합 테스트를 진행했습니다. issue #9
Closed
4 tasks
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.
#️⃣ 연관된 이슈
#9
📝 작업 내용
💬 리뷰 요구사항