-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [feat/CK-179] ๋ก๋๋งต ์นดํ ๊ณ ๋ฆฌ ์์ฑ์ ๊ตฌํํ๋ค (#141) * feat: ๋ก๋๋งต ์นดํ ๊ณ ๋ฆฌ ์์ฑ ์ธ์ํ ์คํธ ์์ฑ * feat: ๋ก๋๋งต ์นดํ ๊ณ ๋ฆฌ ์์ฑ ์๋น์ค ๊ตฌํ * feat: ๋ก๋๋งต ์นดํ ๊ณ ๋ฆฌ ์์ฑ api ๊ตฌํ * docs: ๋ก๋๋งต ์นดํ ๊ณ ๋ฆฌ ์์ฑ docs ์์ฑ * refactor: ์ธ์ํ ์คํธ ์นดํ ๊ณ ๋ฆฌ ์์ฑ api๋ก ์์ * feat: ๋ก๋๋งต ์นดํ ๊ณ ๋ฆฌ ์๋ค ๊ณต๋ฐฑ ์ ๊ฑฐํ๋๋ก ์์ * [feat/CK-190] ๊ณจ๋ฃธ ์์ฑ ์ ํฌ๋๋ฆฌ์คํธ๋ฅผ ํ์๋ก ์ ๋ ฅ๋ฐ๋ ๋ก์ง์ ์ ๊ฑฐํ๋ค (#145) * feat: ๊ณจ๋ฃธ ์์ฑ ์ ํฌ๋๋ฆฌ์คํธ ํ์ ์ ๋ ฅ ๋ก์ง ์ ๊ฑฐ * refactor: ์ฌ์ฉํ์ง ์๋ ๋ฉ์๋ ์ ๊ฑฐ * [feat/CK-189] ๋ค์ด๋ฒ OAuth ๋ก๊ทธ์ธ ๊ธฐ๋ฅ์ ๊ตฌํํ๋ค (#144) * feat: ํ์ ์ ํ๋ฒํธ, ์๋ ์์ผ ์ญ์ , ์ด๋ฉ์ผ ์ถ๊ฐ * feat: naver oauth ๊ตฌํ ๋ฐ member field ๋ณ๊ฒฝ * feat: ๋ค์ด๋ฒ ๋ก๊ทธ์ธ uri ๋ณ๊ฒฝ * docs: ๋ค์ด๋ฒ ๋ก๊ทธ์ธ API ๋ช ์ธ ์์ฑ * feat: NaverOauthService ํ ์คํธ์ฝ๋ ์์ฑ * test: oauth ๊ธฐ๋ฅ ํ ์คํธ ์ฝ๋ ์ถ๊ฐ * test: NaverOauthNetworkService ํ ์คํธ ์์ * chore: git submodule ์ ๋ฐ์ดํธ --------- Co-authored-by: ChoiYoungHoon <[email protected]> Co-authored-by: Ohjintaek <[email protected]> * feat: MemberProfile email not null ๋ฐ Member salt nullable ์ค์ * feat: oauth ํ์๊ฐ์ ์ ์์ด๋์ uuid ๋ถํ๋๋ก ์์ * design: ๋ค์ด๋ฒ ๋ก๊ทธ์ธ ๋ฒํผ ๊ตฌํ * feat: naver oauth API ํต์ ๊ตฌํ * feat: ๋ค์ด๋ฒ ๋ก๊ทธ์ธ ์ฃผ์ ๋ฐํ ์ ์๋ต ์ฝ๋ 200์ผ๋ก ๋ณ๊ฒฝ * feat: ๋ค์ด๋ฒ oauth ๋ก๊ทธ์ธ ์ ์ฝ๋ฐฑ ๋ณ๊ฒฝ ๋ฐ auth code ๋ฐ๋๋ก ์์ * feat: ๋ค์ด๋ฒ oauth api ์์ * fix: ์์ ๋ ์ง๊ฐ ์ค๋ ์ด์ ์ด๋ฉด์ ๋ชจ์ง ์ค์ธ ๊ณจ๋ฃธ๋ ์๋์ผ๋ก ์์ํ๋๋ก ์์ * feat: ์ด๋ฏธ์ง ํ์ผ get url ์์ฒญ ์ cloud front๋ก ๋ด๋ ค์ฃผ๋๋ก ์์ * fix: ๋ก๋๋งต ํ๊ทธ ์ฌ๋ฌ๊ฐ์ผ์ ๋ฐ์ดํฐ ์กฐํ ์ค๋ณต ๋ฌธ์ ํด๊ฒฐ * fix: ํ์ผ ๊ฒฝ๋ก ์์ฑ์ ํ๊ธ๊ณผ ๊ณต๋ฐฑ์ ์ธ์ฝ๋ฉํ๋ค * test: test coverage ์์ * fix: file ํ์ฅ์ ์ค๋ฅ๋ฅผ ํด๊ฒฐํ๋ค * fix: file์ด๋ฆ์ ์ ์ฅํ ๋ uuid๋ก๋ง ์ ์ฅํ๋ค * feat: ๋ก๋๋งต ํ๊ทธ์ BatchSize ์ ์ฉ * [Release] ๊ณจ๋ฃธ ๋์๋ณด๋ ๋ด์ ๋ ธ๋ ๋ฐํ ๋ฐ์ดํฐ ์ถ๊ฐ ๋ฐ ๊ณจ๋ฃธ ๋ชฉ๋ก ์กฐํ ์ ๋ชจ๋ ์ํ์ ๊ณจ๋ฃธ์ ์กฐํํ๋๋ก ์์ ํ๋ค. (#188) * feat: ๊ณจ๋ฃธ ๋ ธ๋ ๋ชฉ๋ก ์กฐํ ์ ๋ ธ๋ ์ค๋ช ๊ณผ ์ด๋ฏธ์ง ๋ฐํํ๋๋ก ์์ * [feat/CK-227] ๋ก๋๋งต ๊ณจ๋ฃธ ์กฐํ ์ ์ต์ ์์ผ๋๋ ๋ชจ๋ ์ํ๋ฅผ, ๋ง๊ฐ์๋ฐ ์์ผ ๋ ๋ชจ์ง ์ค์ธ ์ํ๋ง ๋ฐํํ๋ค (#185) * chore: ํจํค์ง ๊ฒฝ๋ก ์์ * feat: ์กฐ๊ฑด์ ๋ฐ๋ฅธ ๋ก๋๋งต ๊ณจ๋ฃธ ์กฐํ ์ ์ฟผ๋ฆฌ ์์ * refactor: 1:N ๋ฌธ์ ๋ฐฉ์ง๋ฅผ ์ํด @batchsize ์ค์ * feat: ๋ก๋๋งต ๊ณจ๋ฃธ ์๋ต์ ๊ณจ๋ฃธ ์ํ ์ถ๊ฐ * chore: ์๋ธ๋ชจ๋ ์ ๋ฐ์ดํธ * chore: ํจํค์ง ๊ฒฝ๋ก ์์ * refactor: ๋ฉ์๋ ๋ค์ด๋ฐ ์์ --------- Co-authored-by: Ohjintaek <[email protected]> * [Release] ๋์์ฑ ๋ฌธ์ ํด๊ฒฐ ๋ฐ ์บ์๋ฅผ ์ ์ฉํ์ฌ ์ฑ๋ฅ ๊ฐ์ ์ ํ๋ค. (#203) * feat: ๊ณจ๋ฃธ ๋ ธ๋ ๋ชฉ๋ก ์กฐํ ์ ๋ ธ๋ ์ค๋ช ๊ณผ ์ด๋ฏธ์ง ๋ฐํํ๋๋ก ์์ * [feat/CK-227] ๋ก๋๋งต ๊ณจ๋ฃธ ์กฐํ ์ ์ต์ ์์ผ๋๋ ๋ชจ๋ ์ํ๋ฅผ, ๋ง๊ฐ์๋ฐ ์์ผ ๋ ๋ชจ์ง ์ค์ธ ์ํ๋ง ๋ฐํํ๋ค (#185) * chore: ํจํค์ง ๊ฒฝ๋ก ์์ * feat: ์กฐ๊ฑด์ ๋ฐ๋ฅธ ๋ก๋๋งต ๊ณจ๋ฃธ ์กฐํ ์ ์ฟผ๋ฆฌ ์์ * refactor: 1:N ๋ฌธ์ ๋ฐฉ์ง๋ฅผ ์ํด @batchsize ์ค์ * feat: ๋ก๋๋งต ๊ณจ๋ฃธ ์๋ต์ ๊ณจ๋ฃธ ์ํ ์ถ๊ฐ * chore: ์๋ธ๋ชจ๋ ์ ๋ฐ์ดํธ * chore: ํจํค์ง ๊ฒฝ๋ก ์์ * refactor: ๋ฉ์๋ ๋ค์ด๋ฐ ์์ * refactor: BaseEntity์ CreatedAt ์คํ๋ง ์์กด์ฑ ๋๊ธฐ (#191) * refactor: MemberIdentifierArgumentResolver์์ Authenticated ์ด๋ ธํ ์ด์ ํ์ธํ๋๋ก ์์ (#193) * [feat/CK-232] ์ ์ญ์ ์ผ๋ก ์ฌ์ฉํ๋ Exception์ ๋ถ๋ฆฌํ๊ณ AOP๋ก ์์ธ๋ฅผ ๋ณํํ๋ ๊ธฐ๋ฅ์ ๊ตฌํํ๋ค. (#194) * refactor: exception ํจํค์ง๋ฅผ service ํจํค์ง ํ์๋ก ์ด๋ * feat: ๋๋ฉ์ธ Exception์ ์๋น์ค Exception์ผ๋ก ๋ณํํด์ฃผ๋ AOP ๊ตฌํ * [feat/CK-222] Redis๋ฅผ ๋์ ํ๊ณ Refresh Token์ Redis์ ์ ์ฅํ๋๋ก ๋ณ๊ฒฝํ๋ค (#190) * build: spring data redis ๋ฐ testcontainers ์์กด์ฑ ์ถ๊ฐ * feat: RefreshToken ๋ ๋์ค์ ์ ์ฅํ๋๋ก ๋ณ๊ฒฝ * test: Redis ํ ์คํธ ์ค์ ๋ฐ RefreshTokenRedisRepository ํ ์คํธ * chore: ์๋ธ๋ชจ๋ ์ ๋ฐ์ดํธ * refactor: JwtTokenProvider์์ RefreshToken ์์ฑํด์ ๋ฐํํ๋๋ก ์์ * refactor: ๋ฆฌ๋ทฐ ๋ฐ์ * refactor: RedisTemplate์ผ๋ก ๋ณ๊ฒฝ * test: JwtTokenProvider ํ ์คํธ ์ถ๊ฐ * test: test config์ redis ์ค์ ์ถ๊ฐ * test: test ์ถ๊ฐ * chore: ๊ธฐ์กด refresh token table์ dropํ๋ ์ฟผ๋ฆฌ ์ถ๊ฐ * refactor: ttl์ ์ด๋จ์๋ก ๋ณ๊ฒฝํ๋ ๋ก์ง ๋ณ์ ์ถ์ถ * refactor: ๋ณ์๋ช ๋ณ๊ฒฝ * refactor: ๋ ๋์ค ํ ์คํธ ๊ฐ ๊ฒฉ๋ฆฌ * chore: git submodule ์ ๋ฐ์ดํธ * [feat/CK-235] Redis ์บ์๋ฅผ ์ ์ฉํ๋ค (#197) * test: test container์ ์์กดํ์ง ์๋๋ก ๋ณ๊ฒฝ * feat: redis cache ์ ์ฉ * feat: redis config ์ค์ ์์ * fix: RedisConfig๋ฅผ test์์ ๋นํ์ฑํ ์ํจ๋ค * test: CacheKeyGenerator test code ์์ฑ * feat: ์์ ์๊ตฌ์ฌํญ ๋ฐ์ * chore: ์๋ธ๋ชจ๋ ์ต์ ํ * chore: ์๋ธ๋ชจ๋ ์ต์ ํ * chore: flyway v4 ํ์ผ ์ ๊ฑฐ * chore: flyway v4 ํ์ผ ๋ณต๊ตฌ * [feat/CK-237] ๊ณจ๋ฃธ ์ฐธ์ฌ ์ ๋ฐ์ํ๋ ๋์์ฑ ์ด์๋ฅผ ํด๊ฒฐํ๋ค (#199) * refactor: ๊ณจ๋ฃธ ์ฐธ์ฌ ์ ๋ฐ์ํ๋ ๋์์ฑ ์ด์๋ฅผ ๋น๊ด์ ๋ฝ์ผ๋ก ํด๊ฒฐ * test: ํ ์คํธ ์ฝ๋ ์์ * [feat/CK-236] JdbcTemplate์ ์ด์ฉํ์ฌ bulk insert๋ฅผ ์ ์ฉํ๋ค (#198) * refactor: ๊ธฐ์กด saveAll, deleteAll์ bulk insert๋ก ๊ฐ์ * refactor: Dao ๋์ Repository ๊ณ์ธต์ ์์กดํ๋๋ก ์์ - JdbcRepository ์ถ์ํ * [feat/CK-239] Amazon S3 ์ ๊ทผ ์ credential ์ ๋ณด๋ฅผ ์ด์ฉํ๋๋ก ์์ ํ๋ค (#201) * feat: amazon s3 ์ ๊ทผ ์ credentials ์ฌ์ฉํ๋๋ก ์์ * test: test application.yml์ credentials ์ถ๊ฐ --------- Co-authored-by: Miseong Kim <[email protected]> Co-authored-by: Ohjintaek <[email protected]> Co-authored-by: Miseong Kim <[email protected]> Co-authored-by: Ohjintaek <[email protected]> * chore: properties ๋ฒ์ ผ ๋ณ๊ฒฝ --------- Co-authored-by: Miseong Kim <[email protected]> Co-authored-by: Ohjintaek <[email protected]> Co-authored-by: Miseong Kim <[email protected]> Co-authored-by: Jungwoo <[email protected]> Co-authored-by: ๋ถ์์ด <[email protected]> Co-authored-by: Ohjintaek <[email protected]>
- Loading branch information
1 parent
b9f89fc
commit 065f2b5
Showing
245 changed files
with
3,103 additions
and
1,603 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
10 changes: 0 additions & 10 deletions
10
backend/kirikiri/src/main/java/co/kirikiri/common/config/JpaConfig.java
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
backend/kirikiri/src/main/java/co/kirikiri/common/config/NetworkConfig.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,14 @@ | ||
package co.kirikiri.common.config; | ||
|
||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.web.client.RestTemplate; | ||
|
||
@Configuration | ||
public class NetworkConfig { | ||
|
||
@Bean | ||
public RestTemplate restTemplate() { | ||
return new RestTemplate(); | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
backend/kirikiri/src/main/java/co/kirikiri/common/config/RedisConfig.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,52 @@ | ||
package co.kirikiri.common.config; | ||
|
||
import com.fasterxml.jackson.databind.ObjectMapper; | ||
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; | ||
import java.time.Duration; | ||
import org.springframework.cache.CacheManager; | ||
import org.springframework.cache.annotation.EnableCaching; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.context.annotation.Profile; | ||
import org.springframework.data.redis.cache.RedisCacheConfiguration; | ||
import org.springframework.data.redis.cache.RedisCacheManager; | ||
import org.springframework.data.redis.connection.RedisConnectionFactory; | ||
import org.springframework.data.redis.core.RedisTemplate; | ||
import org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer; | ||
import org.springframework.data.redis.serializer.RedisSerializationContext; | ||
import org.springframework.data.redis.serializer.RedisSerializer; | ||
import org.springframework.data.redis.serializer.StringRedisSerializer; | ||
|
||
@Configuration | ||
@EnableCaching | ||
@Profile(value = {"prod", "dev", "local"}) | ||
public class RedisConfig { | ||
|
||
@Bean | ||
public RedisTemplate<String, String> redisTemplate(final RedisConnectionFactory redisConnectionFactory) { | ||
final RedisTemplate<String, String> redisTemplate = new RedisTemplate<>(); | ||
redisTemplate.setConnectionFactory(redisConnectionFactory); | ||
redisTemplate.setKeySerializer(new StringRedisSerializer()); | ||
redisTemplate.setValueSerializer(new StringRedisSerializer()); | ||
return redisTemplate; | ||
} | ||
|
||
@Bean | ||
public CacheManager redisCacheManager(final RedisConnectionFactory redisConnectionFactory) { | ||
final ObjectMapper objectMapper = new ObjectMapper(); | ||
objectMapper.registerModule(new JavaTimeModule()); | ||
objectMapper.activateDefaultTyping(objectMapper.getPolymorphicTypeValidator(), ObjectMapper.DefaultTyping.EVERYTHING); | ||
|
||
final RedisSerializer<Object> serializer = new GenericJackson2JsonRedisSerializer(objectMapper); | ||
|
||
final RedisCacheConfiguration redisCacheConfiguration = RedisCacheConfiguration.defaultCacheConfig() | ||
.entryTtl(Duration.ofMinutes(30L)) | ||
.disableCachingNullValues() | ||
.serializeValuesWith(RedisSerializationContext.SerializationPair.fromSerializer(serializer)); | ||
|
||
return RedisCacheManager.RedisCacheManagerBuilder | ||
.fromConnectionFactory(redisConnectionFactory) | ||
.cacheDefaults(redisCacheConfiguration) | ||
.build(); | ||
} | ||
} |
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
4 changes: 2 additions & 2 deletions
4
backend/kirikiri/src/main/java/co/kirikiri/common/interceptor/AuthInterceptor.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
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
2 changes: 1 addition & 1 deletion
2
backend/kirikiri/src/main/java/co/kirikiri/common/resolver/RoadmapSaveArgumentResolver.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
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
Oops, something went wrong.