현재 사용하지 않는 API 제거, 캐시 전략 변경을 위해 @Cacheable 제거

This commit is contained in:
2023-10-26 18:42:22 +09:00
parent 5b85c2e8a4
commit 3ec16b5045
6 changed files with 0 additions and 282 deletions

View File

@@ -5,7 +5,6 @@ import kr.co.vividnext.sodalive.aws.s3.S3Uploader
import kr.co.vividnext.sodalive.common.SodaException
import kr.co.vividnext.sodalive.utils.generateFileName
import org.springframework.beans.factory.annotation.Value
import org.springframework.cache.annotation.Cacheable
import org.springframework.data.repository.findByIdOrNull
import org.springframework.stereotype.Service
import org.springframework.transaction.annotation.Transactional
@@ -21,10 +20,6 @@ class EventService(
@Value("\${cloud.aws.cloud-front.host}")
private val cloudFrontHost: String
) {
@Cacheable(
value = ["getEventList"],
cacheManager = "cacheManager"
)
fun getEventList(): GetEventResponse {
val eventList = repository.getEventList()
.asSequence()