refactor: rename project codes mcg to dapms and mcc to dapmt
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 37s

This commit is contained in:
jade
2026-07-22 15:48:32 +09:00
parent fabbd368a2
commit b57d96f83f
115 changed files with 411 additions and 411 deletions

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg;
package io.shinhanlife.dap.dapms;
/**
* @package io.shinhanlife.dap.mcg
* @package io.shinhanlife.dap.dapms
* @className DapGatewayApplication
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -20,8 +20,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cache.annotation.EnableCaching;
@SpringBootApplication(scanBasePackages = {"io.shinhanlife.dap.mcg", "io.shinhanlife.dap.common.mcp", "io.shinhanlife.dap.common.config"})
@ConfigurationPropertiesScan(basePackages = {"io.shinhanlife.dap.mcg", "io.shinhanlife.dap.common.mcp", "io.shinhanlife.dap.common.config"})
@SpringBootApplication(scanBasePackages = {"io.shinhanlife.dap.dapms", "io.shinhanlife.dap.common.mcp", "io.shinhanlife.dap.common.config"})
@ConfigurationPropertiesScan(basePackages = {"io.shinhanlife.dap.dapms", "io.shinhanlife.dap.common.mcp", "io.shinhanlife.dap.common.config"})
@EnableCaching
public class DapGatewayApplication {
public static void main(String[] args) {

View File

@@ -1,4 +1,4 @@
package io.shinhanlife.dap.mcg.aop;
package io.shinhanlife.dap.dapms.aop;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
@@ -8,7 +8,7 @@ import org.springframework.stereotype.Component;
import org.springframework.util.StopWatch;
/**
* @package io.shinhanlife.dap.mcg.aop
* @package io.shinhanlife.dap.dapms.aop
* @className GatewayLoggingAspect
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -27,7 +27,7 @@ import org.springframework.util.StopWatch;
public class GatewayLoggingAspect {
// gateway의 controller 패키지 하위의 모든 클래스/메서드 실행 작동
@Around("execution(* io.shinhanlife.dap.mcg.presentation..*(..))")
@Around("execution(* io.shinhanlife.dap.dapms.presentation..*(..))")
public Object logGatewayExecutionTime(ProceedingJoinPoint joinPoint) throws Throwable {
String targetMethod = joinPoint.getSignature().toShortString();
StopWatch stopWatch = new StopWatch();

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.audit;
package io.shinhanlife.dap.dapms.audit;
/**
* @package io.shinhanlife.dap.mcg.audit
* @package io.shinhanlife.dap.dapms.audit
* @className AuditLogService
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -15,9 +15,9 @@ package io.shinhanlife.dap.mcg.audit;
*
* </pre>
*/
import io.shinhanlife.dap.mcg.config.McpGatewayProperties;
import io.shinhanlife.dap.mcg.guardrail.SensitiveDataMasker;
import io.shinhanlife.dap.mcg.security.McpRequestContext;
import io.shinhanlife.dap.dapms.config.McpGatewayProperties;
import io.shinhanlife.dap.dapms.guardrail.SensitiveDataMasker;
import io.shinhanlife.dap.dapms.security.McpRequestContext;
import com.fasterxml.jackson.databind.JsonNode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.config;
package io.shinhanlife.dap.dapms.config;
/**
* @package io.shinhanlife.dap.mcg.config
* @package io.shinhanlife.dap.dapms.config
* @className AgentResponseBudgetProperties
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,4 +1,4 @@
package io.shinhanlife.dap.mcg.config;
package io.shinhanlife.dap.dapms.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -8,7 +8,7 @@ import java.util.HashMap;
import java.util.Map;
/**
* @package io.shinhanlife.dap.mcg.config
* @package io.shinhanlife.dap.dapms.config
* @className GatewayFallbackProperties
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.config;
package io.shinhanlife.dap.dapms.config;
/**
* @package io.shinhanlife.dap.mcg.config
* @package io.shinhanlife.dap.dapms.config
* @className McpGatewayProperties
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,6 +1,6 @@
package io.shinhanlife.dap.mcg.config;
package io.shinhanlife.dap.dapms.config;
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.RedisConnectionFactory;
@@ -10,7 +10,7 @@ import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
import org.springframework.data.redis.serializer.StringRedisSerializer;
/**
* @package io.shinhanlife.dap.mcg.config
* @package io.shinhanlife.dap.dapms.config
* @className RedisConfig
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,7 +1,7 @@
package io.shinhanlife.dap.mcg.dto;
package io.shinhanlife.dap.dapms.dto;
/**
* @package io.shinhanlife.dap.mcg.dto
* @package io.shinhanlife.dap.dapms.dto
* @className OperationType
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,4 +1,4 @@
package io.shinhanlife.dap.mcg.dto;
package io.shinhanlife.dap.dapms.dto;
import lombok.Getter;
import lombok.Setter;
@@ -17,7 +17,7 @@ import java.util.HashSet;
* Redis 레지스트리에 저장되며, Planner와 Router 간의 통신 객체(Plan) 사용됩니다.
*/
/**
* @package io.shinhanlife.dap.mcg.dto
* @package io.shinhanlife.dap.dapms.dto
* @className ToolMetadata
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.guardrail;
package io.shinhanlife.dap.dapms.guardrail;
/**
* @package io.shinhanlife.dap.mcg.guardrail
* @package io.shinhanlife.dap.dapms.guardrail
* @className GuardrailService
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -15,9 +15,9 @@ package io.shinhanlife.dap.mcg.guardrail;
*
* </pre>
*/
import io.shinhanlife.dap.mcg.resilience.FailureType;
import io.shinhanlife.dap.mcg.resilience.ToolExecutionException;
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.resilience.FailureType;
import io.shinhanlife.dap.dapms.resilience.ToolExecutionException;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.springframework.stereotype.Service;

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.guardrail;
package io.shinhanlife.dap.dapms.guardrail;
/**
* @package io.shinhanlife.dap.mcg.guardrail
* @package io.shinhanlife.dap.dapms.guardrail
* @className SensitiveDataMasker
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.guardrail;
package io.shinhanlife.dap.dapms.guardrail;
/**
* @package io.shinhanlife.dap.mcg.guardrail
* @package io.shinhanlife.dap.dapms.guardrail
* @className ToolResponseGuardrailService
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -15,9 +15,9 @@ package io.shinhanlife.dap.mcg.guardrail;
*
* </pre>
*/
import io.shinhanlife.dap.mcg.resilience.FailureType;
import io.shinhanlife.dap.mcg.resilience.ToolExecutionException;
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.resilience.FailureType;
import io.shinhanlife.dap.dapms.resilience.ToolExecutionException;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import org.springframework.stereotype.Service;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;

View File

@@ -1,4 +1,4 @@
package io.shinhanlife.dap.mcg.messaging;
package io.shinhanlife.dap.dapms.messaging;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
@@ -10,7 +10,7 @@ import java.util.Map;
import java.util.UUID;
/**
* @package io.shinhanlife.dap.mcg.messaging
* @package io.shinhanlife.dap.dapms.messaging
* @className KafkaProducerService
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.presentation;
package io.shinhanlife.dap.dapms.presentation;
/**
* @package io.shinhanlife.dap.mcg.presentation
* @package io.shinhanlife.dap.dapms.presentation
* @className ChatController
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -15,9 +15,9 @@ package io.shinhanlife.dap.mcg.presentation;
*
* </pre>
*/
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.mcg.registry.RedisRegistryService;
import io.shinhanlife.dap.mcg.service.ExecuteService;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.registry.RedisRegistryService;
import io.shinhanlife.dap.dapms.service.ExecuteService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.ai.chat.client.ChatClient;

View File

@@ -1,6 +1,6 @@
package io.shinhanlife.dap.mcg.presentation;
package io.shinhanlife.dap.dapms.presentation;
import io.shinhanlife.dap.mcg.service.KillSwitchService;
import io.shinhanlife.dap.dapms.service.KillSwitchService;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.Map;
/**
* @package io.shinhanlife.dap.mcg.presentation
* @package io.shinhanlife.dap.dapms.presentation
* @className KillSwitchController
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.presentation;
package io.shinhanlife.dap.dapms.presentation;
/**
* @package io.shinhanlife.dap.mcg.presentation
* @package io.shinhanlife.dap.dapms.presentation
* @className McpRouterController
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -19,10 +19,10 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import io.shinhanlife.dap.common.adapter.dto.JsonRpcRequest;
import io.shinhanlife.dap.common.adapter.dto.JsonRpcResponse;
import io.shinhanlife.dap.common.adapter.dto.Params;
import io.shinhanlife.dap.mcg.config.GatewayFallbackProperties;
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.mcg.registry.RedisRegistryService;
import io.shinhanlife.dap.mcg.service.ExecuteService;
import io.shinhanlife.dap.dapms.config.GatewayFallbackProperties;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.registry.RedisRegistryService;
import io.shinhanlife.dap.dapms.service.ExecuteService;
import io.shinhanlife.dap.common.mcp.security.SecurityProperties;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.presentation;
package io.shinhanlife.dap.dapms.presentation;
/**
* @package io.shinhanlife.dap.mcg.presentation
* @package io.shinhanlife.dap.dapms.presentation
* @className ScaffoldingController
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.redis;
package io.shinhanlife.dap.dapms.redis;
/**
* @package io.shinhanlife.dap.mcg.redis
* @package io.shinhanlife.dap.dapms.redis
* @className McpMonitorEventService
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.redis;
package io.shinhanlife.dap.dapms.redis;
/**
* @package io.shinhanlife.dap.mcg.redis
* @package io.shinhanlife.dap.dapms.redis
* @className RedisToolTraceService
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -15,10 +15,10 @@ package io.shinhanlife.dap.mcg.redis;
*
* </pre>
*/
import io.shinhanlife.dap.mcg.config.McpGatewayProperties;
import io.shinhanlife.dap.mcg.guardrail.SensitiveDataMasker;
import io.shinhanlife.dap.mcg.security.McpRequestContext;
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.config.McpGatewayProperties;
import io.shinhanlife.dap.dapms.guardrail.SensitiveDataMasker;
import io.shinhanlife.dap.dapms.security.McpRequestContext;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.ObjectProvider;

View File

@@ -1,6 +1,6 @@
package io.shinhanlife.dap.mcg.registry;
package io.shinhanlife.dap.dapms.registry;
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.redis.core.RedisTemplate;
@@ -13,7 +13,7 @@ import java.util.stream.Collectors;
import java.util.Objects;
/**
* @package io.shinhanlife.dap.mcg.registry
* @package io.shinhanlife.dap.dapms.registry
* @className RedisRegistryService
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.resilience;
package io.shinhanlife.dap.dapms.resilience;
/**
* @package io.shinhanlife.dap.mcg.resilience
* @package io.shinhanlife.dap.dapms.resilience
* @className CircuitBreaker
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.resilience;
package io.shinhanlife.dap.dapms.resilience;
/**
* @package io.shinhanlife.dap.mcg.resilience
* @package io.shinhanlife.dap.dapms.resilience
* @className CircuitBreakerMonitorController
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.resilience;
package io.shinhanlife.dap.dapms.resilience;
/**
* @package io.shinhanlife.dap.mcg.resilience
* @package io.shinhanlife.dap.dapms.resilience
* @className CircuitBreakerService
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -15,7 +15,7 @@ package io.shinhanlife.dap.mcg.resilience;
*
* </pre>
*/
import io.shinhanlife.dap.mcg.config.McpGatewayProperties;
import io.shinhanlife.dap.dapms.config.McpGatewayProperties;
import org.springframework.stereotype.Service;
import java.time.Clock;

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.resilience;
package io.shinhanlife.dap.dapms.resilience;
/**
* @package io.shinhanlife.dap.mcg.resilience
* @package io.shinhanlife.dap.dapms.resilience
* @className CircuitBreakerSnapshot
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.resilience;
package io.shinhanlife.dap.dapms.resilience;
/**
* @package io.shinhanlife.dap.mcg.resilience
* @package io.shinhanlife.dap.dapms.resilience
* @className CircuitBreakerState
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.resilience;
package io.shinhanlife.dap.dapms.resilience;
/**
* @package io.shinhanlife.dap.mcg.resilience
* @package io.shinhanlife.dap.dapms.resilience
* @className FailureType
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.resilience;
package io.shinhanlife.dap.dapms.resilience;
/**
* @package io.shinhanlife.dap.mcg.resilience
* @package io.shinhanlife.dap.dapms.resilience
* @className RetryPolicy
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.resilience;
package io.shinhanlife.dap.dapms.resilience;
/**
* @package io.shinhanlife.dap.mcg.resilience
* @package io.shinhanlife.dap.dapms.resilience
* @className ToolExecutionException
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.security;
package io.shinhanlife.dap.dapms.security;
/**
* @package io.shinhanlife.dap.mcg.security
* @package io.shinhanlife.dap.dapms.security
* @className McpRequestContext
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.security;
package io.shinhanlife.dap.dapms.security;
/**
* @package io.shinhanlife.dap.mcg.security
* @package io.shinhanlife.dap.dapms.security
* @className McpRequestContextResolver
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.security;
package io.shinhanlife.dap.dapms.security;
/**
* @package io.shinhanlife.dap.mcg.security
* @package io.shinhanlife.dap.dapms.security
* @className ToolAuthorizationService
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -15,11 +15,11 @@ package io.shinhanlife.dap.mcg.security;
*
* </pre>
*/
import io.shinhanlife.dap.mcg.config.McpGatewayProperties;
import io.shinhanlife.dap.mcg.resilience.FailureType;
import io.shinhanlife.dap.mcg.resilience.ToolExecutionException;
import io.shinhanlife.dap.mcg.dto.OperationType;
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.config.McpGatewayProperties;
import io.shinhanlife.dap.dapms.resilience.FailureType;
import io.shinhanlife.dap.dapms.resilience.ToolExecutionException;
import io.shinhanlife.dap.dapms.dto.OperationType;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import org.springframework.stereotype.Service;
import java.util.Set;

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.service;
package io.shinhanlife.dap.dapms.service;
/**
* @package io.shinhanlife.dap.mcg.service
* @package io.shinhanlife.dap.dapms.service
* @className ExecuteService
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -17,21 +17,21 @@ package io.shinhanlife.dap.mcg.service;
*/
import java.util.HashMap;
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.mcg.resilience.FailureType;
import io.shinhanlife.dap.mcg.resilience.RetryPolicy;
import io.shinhanlife.dap.mcg.resilience.ToolExecutionException;
import io.shinhanlife.dap.mcg.dto.OperationType;
import io.shinhanlife.dap.mcg.config.McpGatewayProperties;
import io.shinhanlife.dap.mcg.guardrail.SensitiveDataMasker;
import io.shinhanlife.dap.mcg.guardrail.GuardrailService;
import io.shinhanlife.dap.mcg.security.McpRequestContext;
import io.shinhanlife.dap.mcg.security.McpRequestContextResolver;
import io.shinhanlife.dap.mcg.audit.AuditLogService;
import io.shinhanlife.dap.mcg.resilience.CircuitBreaker;
import io.shinhanlife.dap.mcg.resilience.CircuitBreakerService;
import io.shinhanlife.dap.mcg.security.ToolAuthorizationService;
import io.shinhanlife.dap.mcg.redis.RedisToolTraceService;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.resilience.FailureType;
import io.shinhanlife.dap.dapms.resilience.RetryPolicy;
import io.shinhanlife.dap.dapms.resilience.ToolExecutionException;
import io.shinhanlife.dap.dapms.dto.OperationType;
import io.shinhanlife.dap.dapms.config.McpGatewayProperties;
import io.shinhanlife.dap.dapms.guardrail.SensitiveDataMasker;
import io.shinhanlife.dap.dapms.guardrail.GuardrailService;
import io.shinhanlife.dap.dapms.security.McpRequestContext;
import io.shinhanlife.dap.dapms.security.McpRequestContextResolver;
import io.shinhanlife.dap.dapms.audit.AuditLogService;
import io.shinhanlife.dap.dapms.resilience.CircuitBreaker;
import io.shinhanlife.dap.dapms.resilience.CircuitBreakerService;
import io.shinhanlife.dap.dapms.security.ToolAuthorizationService;
import io.shinhanlife.dap.dapms.redis.RedisToolTraceService;
import jakarta.annotation.PreDestroy;
import java.util.Map;
@@ -44,12 +44,12 @@ import org.springframework.web.client.RestClient;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import io.shinhanlife.dap.mcg.tool.large.LargeToolResponseService;
import io.shinhanlife.dap.mcg.tool.large.PaginationRequestValidator;
import io.shinhanlife.dap.mcg.tool.result.ToolExecutionResultFormatter;
import io.shinhanlife.dap.mcg.tool.result.ToolExecutionResult;
import io.shinhanlife.dap.mcg.guardrail.ToolResponseGuardrailService;
import io.shinhanlife.dap.mcg.transport.ToolInvoker;
import io.shinhanlife.dap.dapms.tool.large.LargeToolResponseService;
import io.shinhanlife.dap.dapms.tool.large.PaginationRequestValidator;
import io.shinhanlife.dap.dapms.tool.result.ToolExecutionResultFormatter;
import io.shinhanlife.dap.dapms.tool.result.ToolExecutionResult;
import io.shinhanlife.dap.dapms.guardrail.ToolResponseGuardrailService;
import io.shinhanlife.dap.dapms.transport.ToolInvoker;
@Slf4j
@Service

View File

@@ -1,4 +1,4 @@
package io.shinhanlife.dap.mcg.service;
package io.shinhanlife.dap.dapms.service;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
@@ -6,7 +6,7 @@ import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;
/**
* @package io.shinhanlife.dap.mcg.service
* @package io.shinhanlife.dap.dapms.service
* @className KillSwitchService
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,9 +1,9 @@
package io.shinhanlife.dap.mcg.service;
package io.shinhanlife.dap.dapms.service;
import io.shinhanlife.dap.common.mcp.security.SecurityProperties;
import io.shinhanlife.dap.mcg.registry.RedisRegistryService;
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.mcg.config.GatewayFallbackProperties;
import io.shinhanlife.dap.dapms.registry.RedisRegistryService;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.config.GatewayFallbackProperties;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
@@ -12,7 +12,7 @@ import java.util.List;
import java.util.Map;
/**
* @package io.shinhanlife.dap.mcg.service
* @package io.shinhanlife.dap.dapms.service
* @className ToolPlanner
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,7 +1,7 @@
package io.shinhanlife.dap.mcg.sync;
package io.shinhanlife.dap.dapms.sync;
/**
* @package io.shinhanlife.dap.mcg.sync
* @package io.shinhanlife.dap.dapms.sync
* @className CustomWebMvcSseServerTransportProvider
* @description AX HUB MCP Gateway SSE 전송 제공자 - SSE 기반의 MCP 서버 트랜스포트를 구현하는 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.sync;
package io.shinhanlife.dap.dapms.sync;
/**
* @package io.shinhanlife.dap.mcg.sync
* @package io.shinhanlife.dap.dapms.sync
* @className DynamicMcpController
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -26,7 +26,7 @@ import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
import io.shinhanlife.dap.mcg.sync.CustomWebMvcSseServerTransportProvider;
import io.shinhanlife.dap.dapms.sync.CustomWebMvcSseServerTransportProvider;
@RestController
public class DynamicMcpController {

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.sync;
package io.shinhanlife.dap.dapms.sync;
/**
* @package io.shinhanlife.dap.mcg.sync
* @package io.shinhanlife.dap.dapms.sync
* @className DynamicMcpServerManager
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -18,8 +18,8 @@ package io.shinhanlife.dap.mcg.sync;
import io.modelcontextprotocol.spec.McpSchema.ServerCapabilities;
import io.modelcontextprotocol.server.McpServer;
import io.modelcontextprotocol.server.McpSyncServer;
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.mcg.sync.CustomWebMvcSseServerTransportProvider;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.sync.CustomWebMvcSseServerTransportProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.sync;
package io.shinhanlife.dap.dapms.sync;
/**
* @package io.shinhanlife.dap.mcg.sync
* @package io.shinhanlife.dap.dapms.sync
* @className RegistryMcpToolSpecificationFactory
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -15,11 +15,11 @@ package io.shinhanlife.dap.mcg.sync;
*
* </pre>
*/
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.mcg.service.ExecuteService;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.service.ExecuteService;
import io.modelcontextprotocol.server.McpServerFeatures;
import io.modelcontextprotocol.spec.McpSchema;
import io.shinhanlife.dap.mcg.tool.result.ToolExecutionResult;
import io.shinhanlife.dap.dapms.tool.result.ToolExecutionResult;
import org.springframework.stereotype.Component;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;

View File

@@ -1,7 +1,7 @@
package io.shinhanlife.dap.mcg.sync;
package io.shinhanlife.dap.dapms.sync;
import io.shinhanlife.dap.mcg.dto.ToolMetadata;
import io.shinhanlife.dap.mcg.registry.RedisRegistryService;
import io.shinhanlife.dap.dapms.dto.ToolMetadata;
import io.shinhanlife.dap.dapms.registry.RedisRegistryService;
import io.modelcontextprotocol.server.McpSyncServer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -19,7 +19,7 @@ import java.util.concurrent.locks.ReentrantLock;
import java.util.stream.Collectors;
/**
* @package io.shinhanlife.dap.mcg.sync
* @package io.shinhanlife.dap.dapms.sync
* @className RegistryMcpToolSynchronizer
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.tool.large;
package io.shinhanlife.dap.dapms.tool.large;
/**
* @package io.shinhanlife.dap.mcg.tool.large
* @package io.shinhanlife.dap.dapms.tool.large
* @className AgentResponseBudgetService
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -18,8 +18,8 @@ package io.shinhanlife.dap.mcg.tool.large;
import java.util.Iterator;
import java.util.Map;
import io.shinhanlife.dap.mcg.config.AgentResponseBudgetProperties;
import io.shinhanlife.dap.mcg.guardrail.SensitiveDataMasker;
import io.shinhanlife.dap.dapms.config.AgentResponseBudgetProperties;
import io.shinhanlife.dap.dapms.guardrail.SensitiveDataMasker;
import org.springframework.stereotype.Service;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.tool.large;
package io.shinhanlife.dap.dapms.tool.large;
/**
* @package io.shinhanlife.dap.mcg.tool.large
* @package io.shinhanlife.dap.dapms.tool.large
* @className LargeToolResponseService
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -17,10 +17,10 @@ package io.shinhanlife.dap.mcg.tool.large;
*/
import java.util.Iterator;
import io.shinhanlife.dap.mcg.config.McpGatewayProperties;
import io.shinhanlife.dap.mcg.guardrail.SensitiveDataMasker;
import io.shinhanlife.dap.mcg.resilience.FailureType;
import io.shinhanlife.dap.mcg.resilience.ToolExecutionException;
import io.shinhanlife.dap.dapms.config.McpGatewayProperties;
import io.shinhanlife.dap.dapms.guardrail.SensitiveDataMasker;
import io.shinhanlife.dap.dapms.resilience.FailureType;
import io.shinhanlife.dap.dapms.resilience.ToolExecutionException;
import org.springframework.stereotype.Service;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.tool.large;
package io.shinhanlife.dap.dapms.tool.large;
/**
* @package io.shinhanlife.dap.mcg.tool.large
* @package io.shinhanlife.dap.dapms.tool.large
* @className PaginationRequestValidator
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -15,9 +15,9 @@ package io.shinhanlife.dap.mcg.tool.large;
*
* </pre>
*/
import io.shinhanlife.dap.mcg.config.McpGatewayProperties;
import io.shinhanlife.dap.mcg.resilience.FailureType;
import io.shinhanlife.dap.mcg.resilience.ToolExecutionException;
import io.shinhanlife.dap.dapms.config.McpGatewayProperties;
import io.shinhanlife.dap.dapms.resilience.FailureType;
import io.shinhanlife.dap.dapms.resilience.ToolExecutionException;
import org.springframework.stereotype.Component;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.tool.result;
package io.shinhanlife.dap.dapms.tool.result;
/**
* @package io.shinhanlife.dap.mcg.tool.result
* @package io.shinhanlife.dap.dapms.tool.result
* @className ToolExecutionResult
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.tool.result;
package io.shinhanlife.dap.dapms.tool.result;
/**
* @package io.shinhanlife.dap.mcg.tool.result
* @package io.shinhanlife.dap.dapms.tool.result
* @className ToolExecutionResultFormatter
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -15,7 +15,7 @@ package io.shinhanlife.dap.mcg.tool.result;
*
* </pre>
*/
import io.shinhanlife.dap.mcg.guardrail.SensitiveDataMasker;
import io.shinhanlife.dap.dapms.guardrail.SensitiveDataMasker;
import org.springframework.stereotype.Service;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.transport;
package io.shinhanlife.dap.dapms.transport;
/**
* @package io.shinhanlife.dap.mcg.transport
* @package io.shinhanlife.dap.dapms.transport
* @className HttpToolInvoker
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -15,8 +15,8 @@ package io.shinhanlife.dap.mcg.transport;
*
* </pre>
*/
import io.shinhanlife.dap.mcg.resilience.FailureType;
import io.shinhanlife.dap.mcg.resilience.ToolExecutionException;
import io.shinhanlife.dap.dapms.resilience.FailureType;
import io.shinhanlife.dap.dapms.resilience.ToolExecutionException;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestClient;

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.transport;
package io.shinhanlife.dap.dapms.transport;
/**
* @package io.shinhanlife.dap.mcg.transport
* @package io.shinhanlife.dap.dapms.transport
* @className ToolInvoker
* @description AX HUB 시스템 처리 클래스
* @author 0986406

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg;
package io.shinhanlife.dap.dapms;
/**
* @package io.shinhanlife.dap.mcg
* @package io.shinhanlife.dap.dapms
* @className DapGatewayApplicationTests
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -19,8 +19,8 @@ import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import io.shinhanlife.dap.mcg.audit.AuditLogService;
import io.shinhanlife.dap.mcg.redis.RedisToolTraceService;
import io.shinhanlife.dap.dapms.audit.AuditLogService;
import io.shinhanlife.dap.dapms.redis.RedisToolTraceService;
@SpringBootTest
@ActiveProfiles("test")

View File

@@ -1,8 +1,8 @@
package io.shinhanlife.dap.mcg.tool.large;
package io.shinhanlife.dap.dapms.tool.large;
/**
* @package io.shinhanlife.dap.mcg.tool.large
* @package io.shinhanlife.dap.dapms.tool.large
* @className PaginationRequestValidatorTest
* @description AX HUB 시스템 처리 클래스
* @author 0986406
@@ -17,8 +17,8 @@ package io.shinhanlife.dap.mcg.tool.large;
*/
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import io.shinhanlife.dap.mcg.config.McpGatewayProperties;
import io.shinhanlife.dap.mcg.resilience.ToolExecutionException;
import io.shinhanlife.dap.dapms.config.McpGatewayProperties;
import io.shinhanlife.dap.dapms.resilience.ToolExecutionException;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;