fix(chat-character): 캐릭터 등록/수정 API

- 재시도 규칙 제거
This commit is contained in:
Klaus 2025-09-01 11:02:54 +09:00
parent 034472defa
commit def6296d4d
1 changed files with 0 additions and 12 deletions

View File

@ -18,8 +18,6 @@ import org.springframework.http.HttpHeaders
import org.springframework.http.HttpMethod
import org.springframework.http.MediaType
import org.springframework.http.client.SimpleClientHttpRequestFactory
import org.springframework.retry.annotation.Backoff
import org.springframework.retry.annotation.Retryable
import org.springframework.security.access.prepost.PreAuthorize
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PathVariable
@ -86,11 +84,6 @@ class AdminChatCharacterController(
}
@PostMapping("/register")
@Retryable(
value = [Exception::class],
maxAttempts = 3,
backoff = Backoff(delay = 1000)
)
fun registerCharacter(
@RequestPart("image") image: MultipartFile,
@RequestPart("request") requestString: String
@ -236,11 +229,6 @@ class AdminChatCharacterController(
* @throws SodaException 변경된 데이터가 없거나 캐릭터를 찾을 없는 경우
*/
@PutMapping("/update")
@Retryable(
value = [Exception::class],
maxAttempts = 3,
backoff = Backoff(delay = 1000)
)
fun updateCharacter(
@RequestPart(value = "image", required = false) image: MultipartFile?,
@RequestPart("request") requestString: String