-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 연관 대화 주제 조회 API, 대화 주제 ID 명세 추가(#114) path variable인 topicId(대화 주제 ID) 명세 추가 * test: 연관 대화 주제 조회, 대화 주제 상세 조회 API 테스트 추가(#114) * test: JWT 생성, 파싱 기능 테스트 작성(#114) * test: ID 기반 대화 주제 조회 기능 테스트 작성(#114) * feat: 코드 정렬 수정(#114) * test: 스크랩 제목 수정 API 단위 테스트 작성(#114) * feat: 명세 오타 수정(#114) * feat: 코드 정렬 수정(#114) * test: 연관 대화 주제 조회, 대화 주제 상세 조회 단위 테스트 작성(#114) * test: 사용자 대화 주제 스크랩 여부 조회 로직, 단위 테스트 작성(#114) * chore: llm 패키지 테스트 커버리지 측정 제외 설정(#114) 철저히 외부 서비스와의 상호작용을 위해 정의된 클래스, 테스트 대상에서 제외 * test: fcm 알림 전송 기능, 단위 테스트 작성(#114) * feat: 코드 정렬 수정(#114) * test: 카카오 소셜 로그인 API 단위 테스트 작성(#114) * test: 카카오 소셜 로그인 단위 테스트 작성, 기타 TC 추가(#114) - 카카오 소셜 로그인 단위 테스트 작성 - access token refresh, refresh token 불일치 TC 추가 * feat: 스크랩과 알림 연관관계, 다대일로 변경(#114) - 하나의 스크랩에 대해 알림을 여러 개 설정할 수 있음 - 이를 제대로 반영하기 위해 기존의 일대일 관계, 다대일로 수정 * feat: 스트림내 변수명 적절히 수정(#114) 알림 목록 조회 로직내 변수명 적절히 수정 * test: 알림 목록 조회 쿼리, 단위 테스트 작성(#114) - 추가 내용 - 알림 목록 조회 쿼리에 대한 단위 테스트 작성 - 예정 알림 목록 조회 쿼리에 대한 단위 테스트 작성 - LocalTime 타입 데이터를 DB에서 조회한 후 코드에서 비교 시, DB 시간 타입의 정밀도 차이로 인해 밀리초 단위 이하에서 비교가 어려운 문제 발생 - 이를 해결하기 위해 시간 비교를 초 단위로 수행하는 보조 비교 로직 구현 * feat: LocalDateTime 제공 유틸 기능 개발(#114) 일자/시간 데이터를 제공하는 유틸 클래스 구현 * feat: TimeProvider를 통해 송신 일시 제공받도록 로직 수정(#114) - 기존 로직은 LocalDateTime.now()를 통해 송신 일시 결정 - 이 구조는 테스트가 어려운, 블랙 박스에 가까운 구조 - 테스트 가능하도록 TimeProvider를 이용하는 형식으로 변경 * test: 예정된 알림 전송 로직, 단위 테스트 작성(#114)
- Loading branch information
Showing
20 changed files
with
1,049 additions
and
119 deletions.
There are no files selected for viewing
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
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
13 changes: 13 additions & 0 deletions
13
src/main/java/org/example/tokpik_be/util/TimeProvider.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,13 @@ | ||
package org.example.tokpik_be.util; | ||
|
||
import java.time.LocalDateTime; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Component | ||
public class TimeProvider { | ||
|
||
public LocalDateTime provideSystemTime() { | ||
|
||
return LocalDateTime.now(); | ||
} | ||
} |
Oops, something went wrong.