Update: consolidate recent changes

This commit is contained in:
jade
2026-08-07 09:04:04 +09:00
parent 1c0ceaef15
commit 867f2efabe
141 changed files with 2392 additions and 3464 deletions

View File

@@ -1,11 +1,14 @@
package io.shinhanlife.dap.mcc.biz.sms.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.ai.mcp.annotation.McpToolParam;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import io.shinhanlife.dap.lib.annotation.McpParameter;
import io.shinhanlife.dap.lib.annotation.McpValidation;
import lombok.Getter;
import lombok.Setter;
@@ -30,13 +33,14 @@ import lombok.Setter;
@AllArgsConstructor
public class SmsSendRequest {
@McpParameter(description = "수신자 전화번호", required = true)
@McpValidation(pattern = "^01[0-9]-?\\d{3,4}-?\\d{4}$")
@McpToolParam(description = "수신자 전화번호", required = true)
@Schema(pattern = "^01[0-9]-?\\d{3,4}-?\\d{4}$", example = "01012345678")
private String phoneNumber;
@McpParameter(description = "전송할 메시지 내용", required = true)
@McpValidation(pattern = "\\S")
@McpToolParam(description = "전송할 메시지 내용", required = true)
@Schema(pattern = "\\S", example = "테스트 메시지입니다.")
private String message;
}
}

View File

@@ -1,26 +1,11 @@
package io.shinhanlife.dap.mcc.biz.sms.usecase;
/**
* @package io.shinhanlife.dap.mcc.biz.sms.usecase
* @className SmsToolUseCase
* @description AX HUB 시스템 처리 클래스
* @author 0986406
* @create 2026.09.01
* <pre>
* ---------- 개정이력 ----------
* 수정일 수정자 수정내용
* ---------- -------- ---------------------------
* 2026.09.01 0986406 최초생성
*
* </pre>
*/
import io.shinhanlife.dap.lib.annotation.McpTool;
import io.shinhanlife.dap.lib.annotation.McpFunction;
import org.springframework.ai.mcp.annotation.McpTool;
import io.shinhanlife.dap.lib.annotation.ToolHint;
import io.shinhanlife.dap.mcc.biz.sms.dto.*;
@McpTool(routingType = "EAI", categoryKey = "notification")
public interface SmsToolUseCase {
@McpTool(name = "sms.send", title = "SMS 발송 툴", description = "SMS 발송 기능을 제공합니다.")
@ToolHint(register = false, categoryKey = "notification", mappingId = "SMS_SEND")
Object sendSms(SmsSendRequest req);
}

View File

@@ -4,7 +4,7 @@ spring:
url: jdbc:p6spy:h2:mem:testdb;DB_CLOSE_DELAY=-1;
driverClassName: com.p6spy.engine.spy.P6SpyDriver
username: sa
password: ${REDIS_PASSWORD:}
password: password
h2:
console:
enabled: true
@@ -33,5 +33,7 @@ mcp:
mcp-client-2: ALL
axhub:
gateway:
url: http://localhost:8081
tool:
url: ${AXHUB_TOOL_URL:http://localhost:${server.port}}