refactor: rename LicoMciComponent to AxhubMciComponent
This commit is contained in:
@@ -12,12 +12,12 @@ import org.springframework.stereotype.Component;
|
||||
@Slf4j
|
||||
@Component
|
||||
@RequiredArgsConstructor
|
||||
public class LicoMciComponent {
|
||||
public class AxhubMciComponent {
|
||||
|
||||
private final GlowMciComponent<Object, Object> mci;
|
||||
|
||||
public <O, I> Transfer<O> callTo(String itrfName, String rcvSvcId, I inputDto, Class<O> resBodyClass) {
|
||||
log.info("[LicoMciComponent] MCI 호출 준비 - 인터페이스: {}", itrfName);
|
||||
log.info("[AxhubMciComponent] MCI 호출 준비 - 인터페이스: {}", itrfName);
|
||||
|
||||
// Header 세팅 로직 생략 (Mock)
|
||||
|
||||
@@ -31,7 +31,7 @@ public class LicoMciComponent {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private <O> Transfer<O> syncMci(Transfer<Object> request) {
|
||||
log.info("[LicoMciComponent] GlowMciComponent.sync() 호출");
|
||||
log.info("[AxhubMciComponent] GlowMciComponent.sync() 호출");
|
||||
return (Transfer<O>) mci.sync(request);
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
package io.shinhanlife.dap.mcc.service;
|
||||
|
||||
import io.shinhanlife.dap.mcc.component.LicoMciComponent;
|
||||
import io.shinhanlife.dap.mcc.component.AxhubMciComponent;
|
||||
import io.shinhanlife.glow.communication.dto.Transfer;
|
||||
import org.springframework.stereotype.Service;
|
||||
import io.shinhanlife.dap.mcc.annotation.McpFunction;
|
||||
@@ -31,8 +31,8 @@ public class OnnbaMciToolService {
|
||||
|
||||
private static final String INTERFACE_CODE_3011 = "CLCNNB00001";
|
||||
|
||||
// Glow 기반의 LicoMciComponent 주입
|
||||
private final LicoMciComponent mci;
|
||||
// Glow 기반의 AxhubMciComponent 주입
|
||||
private final AxhubMciComponent mci;
|
||||
|
||||
/**
|
||||
* AI Agent가 호출하게 될 메서드입니다.
|
||||
|
||||
Reference in New Issue
Block a user