chore: Rename tool groups to business domain names
This commit is contained in:
@@ -12,7 +12,7 @@ import io.shinhanlife.axhub.biz.mcp.tool.dto.BillingProcessReq;
|
||||
@McpTool(
|
||||
name = "billing_process_tool",
|
||||
description = "청구 심사 및 처리 상태 툴",
|
||||
group = "group_2",
|
||||
group = "biz_channel",
|
||||
routingType = "MCI"
|
||||
)
|
||||
@lombok.extern.slf4j.Slf4j
|
||||
|
||||
@@ -8,7 +8,7 @@ import io.shinhanlife.axhub.biz.mcp.tool.dto.BondIssueReq;
|
||||
@McpTool(
|
||||
name = "bond_issue_tool",
|
||||
description = "디지털 증권 발행 가능 여부 조회 툴",
|
||||
group = "group_3",
|
||||
group = "biz_support",
|
||||
routingType = "EAI"
|
||||
)
|
||||
public class BondIssueService extends AbstractMcpToolService {
|
||||
|
||||
@@ -8,7 +8,7 @@ import io.shinhanlife.axhub.biz.mcp.tool.dto.ContractDetailReq;
|
||||
@McpTool(
|
||||
name = "contract_inquiry_tool",
|
||||
description = "계약 상태 및 상세 정보 조회 툴",
|
||||
group = "group_2",
|
||||
group = "biz_channel",
|
||||
routingType = "HTTP"
|
||||
)
|
||||
public class ContractInquiryService extends AbstractMcpToolService {
|
||||
|
||||
@@ -8,7 +8,7 @@ import io.shinhanlife.axhub.biz.mcp.tool.dto.CustomerDetailReq;
|
||||
@McpTool(
|
||||
name = "customer_info_tool",
|
||||
description = "고객 등급 및 상세 정보 조회 툴",
|
||||
group = "group_3",
|
||||
group = "biz_support",
|
||||
routingType = "TCP"
|
||||
)
|
||||
public class CustomerInfoService extends AbstractMcpToolService {
|
||||
|
||||
@@ -35,7 +35,8 @@ public class ToolScaffolder {
|
||||
String baseName = getOrAsk(args, 0, scanner, "1. 생성할 Tool의 기본 이름 (예: ExchangeRate) [영문 PascalCase]: ");
|
||||
String interfaceId = getOrAsk(args, 1, scanner, "2. 레거시 API 인터페이스 ID (예: EXCH_001): ");
|
||||
String description = getOrAsk(args, 2, scanner, "3. Tool 기능 설명 (예: 환율 조회): ");
|
||||
String group = getOrAsk(args, 3, scanner, "4. Tool 소속 그룹 (예: group_1): ");
|
||||
String group = getOrAsk(args, 3, scanner, "4. Tool 소속 그룹 (기본: biz_core): ");
|
||||
if (group.isEmpty()) group = "biz_core";
|
||||
String routingType = getOrAsk(args, 4, scanner, "5. 통신 프로토콜 (예: HTTP, TCP, MCI): ");
|
||||
if (routingType.trim().isEmpty()) {
|
||||
routingType = "HTTP";
|
||||
|
||||
@@ -341,7 +341,13 @@
|
||||
Object.keys(groupedTools).sort().forEach(group => {
|
||||
const optgroup = document.createElement('optgroup');
|
||||
let label = group;
|
||||
if (group.toLowerCase().startsWith('group_')) {
|
||||
if (group === 'biz_core') {
|
||||
label = '핵심 업무 (Biz Core)';
|
||||
} else if (group === 'biz_channel') {
|
||||
label = '채널/고객 (Biz Channel)';
|
||||
} else if (group === 'biz_support') {
|
||||
label = '지원/인사 (Biz Support)';
|
||||
} else if (group.toLowerCase().startsWith('group_')) {
|
||||
label = 'Group ' + group.split('_')[1];
|
||||
}
|
||||
optgroup.label = label;
|
||||
|
||||
Reference in New Issue
Block a user