Skip to content

Commit

Permalink
Weekly 9 프로필 질문 createdAt 변경 (#203)
Browse files Browse the repository at this point in the history
* Weekly/8/issue#144 동시성 제어 (#189)

* Feat: RedissonConfig 설정

* Feat: Redisson Lock 구현(임시)

* Fix: RaceCondition 테스트 오류 수정

1. RedissonLock의 value로 hostId만 넘기기
2. RaceConditionTest를 SpringBootTest로 테스트
3. BeforeEach로 Redis 초기화

* Refactor: GroupMember 조회 fetch join 적용

* Refactor: random GroupMember 조회 fetch join 적용

* Refactor: 방문자 조회수 비동기 로직 추가

* Feat: 질문 지목 시 count 증가 동시성 제어

* Refactor: merge weekly9

* Refactor: 누락된 코드 추가

* Refactor: 누락된 코드 추가

* Refactor: 코드 수정

* Refactor: redissonClient 제거

* Refactor: redis 설정 변경

* Refactor: redis 설정 변경

* HotFix: 이미지 파일 resize 비율 조정

* Refactor: RedissonClient 사용 테스트 ActiveProfile 설정

* Refactor: RedissonClient 사용 테스트 Profile 설정

* Fix: Profile() 메서드에 적용

* Fix: ProfileIntegrationTest, RaceConditionTest 주석처리

* Fix: 충돌 해결

* Refactor: Random Question Response 수정

* Chore: 불필요한 Import 제거

* Import: 충돌 해결

---------

Co-authored-by: hjinshin <gudwls818@gmail.com>
Co-authored-by: Kwon Da woon <82216606+momnpa333@users.noreply.github.com>

* Refactor: 알림 타임아웃 수정

* Refactor: 프로필 질문 createdAt 형식 변경

---------

Co-authored-by: yso8296 <66588512+yso8296@users.noreply.github.com>
Co-authored-by: Kwon Da woon <82216606+momnpa333@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 9, 2024
1 parent 6bc4943 commit 56208ff
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import lombok.Builder;
import supernova.whokie.profilequestion.service.dto.ProfileQuestionModel;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

public class ProfileQuestionResponse {
Expand All @@ -24,14 +24,14 @@ public static Questions from(ProfileQuestionModel.InfoList infoList) {
public record Question(
Long profileQuestionId,
String profileQuestionContent,
LocalDate createdAt
LocalDateTime createdAt
) {

public static Question from(ProfileQuestionModel.Info info) {
return Question.builder()
.profileQuestionId(info.id())
.profileQuestionContent(info.content())
.createdAt(info.createdAt().toLocalDate())
.createdAt(info.createdAt())
.build();
}
}
Expand Down

0 comments on commit 56208ff

Please sign in to comment.