Refactor: Use import for MediaType instead of fully qualified class name in ExecuteService

This commit is contained in:
jade
2026-07-06 17:15:52 +09:00
parent 7c0d145d59
commit 0e519f1643

View File

@@ -7,6 +7,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestClient;
import org.springframework.http.MediaType;
import java.util.Map;
import java.util.List;
@@ -66,7 +67,7 @@ public class ExecuteService {
private Object executeWithUrl(Map<String, Object> payload, String url) {
return restClient.post()
.uri(url)
.contentType(org.springframework.http.MediaType.APPLICATION_JSON)
.contentType(MediaType.APPLICATION_JSON)
.header("X-API-KEY", "SHINHAN_MCP_TEST_KEY_9999") // TODO: Use actual tenant's key
.header("X-Trace-Id", java.util.UUID.randomUUID().toString())
.body(payload)