Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ObjectMapper 삭제 실패 수정 #204

Merged
merged 16 commits into from
Nov 30, 2023
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
f33cc2f
feat: 회원의 랭킹 redis에 추가 및 삭제, 업데이트 기능 추가
parksey Nov 28, 2023
55bc1c5
Merge branch 'develop' of https://github.com/team-moabam/moabam-BE in…
parksey Nov 28, 2023
490b4a9
test: 회원 정보 변경 및 삭제 추가에 따른 랭킹 참여, 제외 테스트 코드 추가
parksey Nov 28, 2023
51fe353
feat: 랭킹시스템 API 추가 및 랭킹 조회 기능 추가
parksey Nov 29, 2023
fbe427a
Merge branch 'develop' of https://github.com/team-moabam/moabam-BE in…
parksey Nov 29, 2023
0ac854c
feat: 랭킹 조회 테스트 코드 추가 및 랭킹 업데이트 로직 각 업데이트 -> 스케쥴러
parksey Nov 29, 2023
ff26e4d
Merge branch 'develop' of https://github.com/team-moabam/moabam-BE in…
parksey Nov 30, 2023
f585949
style: checkstyle 에러 fix
parksey Nov 30, 2023
f5783bb
refactor: 응답 객체명 변경 TopRankingInfoResponse -> TopRankingInfo
parksey Nov 30, 2023
b0c12ca
fix: 랭킹 업데이트 시간 15분 매초마다 동작하는 방식 -> 15분에 한 번만 실행되도록 변경
parksey Nov 30, 2023
286820b
refactor: 랭킹 응답 반환 객체 변수면 s 제거
parksey Nov 30, 2023
431c95b
refactor: ToprankingResponses 응답 객체 반환명 TopRankingResponse로 변경
parksey Nov 30, 2023
2b8f721
fix: ObjectMapper에러 수정
parksey Nov 30, 2023
00c5705
Merge branch 'develop' of https://github.com/team-moabam/moabam-BE in…
parksey Nov 30, 2023
6057cc7
Merge branch 'develop' of https://github.com/team-moabam/moabam-BE in…
parksey Nov 30, 2023
3c995d4
fix: objectMapper 삭제 추가
parksey Nov 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions src/main/java/com/moabam/global/config/RedisConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
import org.springframework.data.redis.serializer.StringRedisSerializer;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;

@Configuration
@Profile("!test")
public class RedisConfig {
Expand All @@ -38,12 +35,4 @@ public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory redisC

return redisTemplate;
}

@Bean
public ObjectMapper objectMapper() {
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.registerModules(new JavaTimeModule());

return objectMapper;
}
}