소스 업데이트
All checks were successful
Deploy Tools / deploy (push) Successful in 1m26s

This commit is contained in:
jade
2026-08-31 16:39:16 +09:00
parent 42a04c03fd
commit 032b639291
4 changed files with 2 additions and 64 deletions

View File

@@ -45,8 +45,8 @@ dependencies {
// Boot 3.5.11 위에서 MCP Java SDK 2.0.0의 Server/Client와 Servlet 전송 계층을 사용합니다.
// Jackson 2 공급자를 명시해 Boot 3의 Jackson 계열과 맞춥니다.
api 'io.modelcontextprotocol.sdk:mcp-core'
api 'io.modelcontextprotocol.sdk:mcp-json-jackson2'
api 'io.modelcontextprotocol.sdk:mcp-core:2.0.0'
api 'io.modelcontextprotocol.sdk:mcp-json-jackson2:2.0.0'
// Boot 3.5 호환 Spring AI 어노테이션 API를 유지합니다.
api 'org.springaicommunity:mcp-annotations:0.9.0'

View File

@@ -1,24 +0,0 @@
package io.shinhanlife.dat.mcc.biz.agt.usecase.impl;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import io.shinhanlife.dat.mcc.biz.agt.dto.AgentToolRequest;
import org.junit.jupiter.api.Test;
class AgentInquiryUseCaseImplTest {
@Test
void returnsAgentProductionForRequestedAgent() {
AgentToolRequest request = new AgentToolRequest();
request.setAgentId("AGT-123456");
request.setQueryDate("2026-08-14");
var response = new AgentPerformanceUseCaseImpl().getProductionSummary(request);
assertEquals("agt_production_summary", response.getToolName());
assertEquals("AGT-123456", response.getReferenceId());
assertEquals("정상", response.getStatus());
assertFalse(response.getDetails().isEmpty());
}
}

View File

@@ -1,14 +0,0 @@
package io.shinhanlife.dat.mcc.biz.pro.usecase;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import org.junit.jupiter.api.Test;
class PersonalCustomerDetailInquiryUseCaseTest {
@Test
void createsToolRequestAndResponseDtos() {
assertNotNull(new PersonalCustomerDetailInquiryRequest());
assertNotNull(new PersonalCustomerDetailInquiryResponse());
}
}

View File

@@ -1,24 +0,0 @@
package io.shinhanlife.dat.mcc.biz.pro.usecase.impl;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import io.shinhanlife.dat.mcc.biz.pro.dto.ProductToolRequest;
import org.junit.jupiter.api.Test;
class ProductInquiryUseCaseImplTest {
@Test
void returnsContractDetailForRequestedCustomer() {
ProductToolRequest request = new ProductToolRequest();
request.setSubjectId("CUST-123456");
request.setQueryDate("2026-08-14");
var response = new ContractInquiryUseCaseImpl().getContractDetail(request);
assertEquals("pro_contract_detail", response.getToolName());
assertEquals("CUST-123456", response.getReferenceId());
assertEquals("정상", response.getStatus());
assertFalse(response.getDetails().isEmpty());
}
}