refactor: apply MSA naming standard for DTOs and Scaffold template (Req->Request, Res->Response)
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 30s
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 30s
This commit is contained in:
@@ -10,7 +10,7 @@ import lombok.Setter;
|
||||
|
||||
/**
|
||||
* @package io.shinhanlife.dap.mcc.dto
|
||||
* @className EmailSendReq
|
||||
* @className EmailSendRequest
|
||||
* @description AX HUB 시스템 처리 클래스
|
||||
* @author 0986406
|
||||
* @create 2026.09.01
|
||||
@@ -27,7 +27,7 @@ import lombok.Setter;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class EmailSendReq {
|
||||
public class EmailSendRequest {
|
||||
|
||||
@McpParameter(description = "수신자 이메일 주소", required = true)
|
||||
private String emailAddress;
|
||||
@@ -3,5 +3,5 @@ package io.shinhanlife.dap.mcc.service;
|
||||
import io.shinhanlife.dap.mcc.dto.*;
|
||||
|
||||
public interface EmailToolService {
|
||||
Object sendEmail(EmailSendReq req);
|
||||
Object sendEmail(EmailSendRequest req);
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import io.shinhanlife.dap.mcc.annotation.McpFunction;
|
||||
import io.shinhanlife.dap.mcc.annotation.McpTool;
|
||||
import io.shinhanlife.dap.mcc.service.EmailToolService;
|
||||
import io.shinhanlife.dap.mcc.service.AbstractMcpToolService;
|
||||
import io.shinhanlife.dap.mcc.dto.EmailSendReq;
|
||||
import io.shinhanlife.dap.mcc.dto.EmailSendRequest;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import java.util.HashMap;
|
||||
@@ -30,7 +30,7 @@ public class EmailToolServiceImpl extends AbstractMcpToolService implements Emai
|
||||
|
||||
@McpFunction(register = false, displayName = "send_email 툴", name = "send_email", description = "이메일 발송", prompt = "고객에게 이메일을 발송해줘.", mappingId = "EMAIL_SEND_001")
|
||||
@Override
|
||||
public Object sendEmail(EmailSendReq req) {
|
||||
public Object sendEmail(EmailSendRequest req) {
|
||||
log.info("[Email] 이메일 발송 요청 수신. 수신자: {}", req.getEmailAddress());
|
||||
|
||||
// EAI 연동을 위한 파라미터 변환
|
||||
|
||||
Reference in New Issue
Block a user