fix: resolve SSE stream completion issue, fix mapstruct typo, and remove duplicate GlowLogger
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 14s

This commit is contained in:
jade
2026-08-12 18:20:48 +09:00
parent 4ecff183c6
commit a661e07a9f
3 changed files with 3 additions and 4 deletions

View File

@@ -179,7 +179,7 @@ public class CustomWebMvcSseServerTransportProvider implements McpServerTranspor
log.info("Message sent to session handler"); log.info("Message sent to session handler");
if (emitter != null && !map.containsKey("id")) { if (emitter != null && !map.containsKey("id")) {
emitter.complete(); // emitter.complete();
log.info("Completed emitter for notification (disabled for keep-alive)"); log.info("Completed emitter for notification (disabled for keep-alive)");
} }
@@ -220,7 +220,7 @@ public class CustomWebMvcSseServerTransportProvider implements McpServerTranspor
// Custom 프로토콜: 1회 요청당 1응답 후 종료 (스트림을 닫아버림) // Custom 프로토콜: 1회 요청당 1응답 후 종료 (스트림을 닫아버림)
// 클라이언트가 한 번의 POST 후 응답을 받고 연결을 끊기 때문 // 클라이언트가 한 번의 POST 후 응답을 받고 연결을 끊기 때문
this.emitter.complete(); // this.emitter.complete(); // MCP 표준 클라이언트 지원을 위해 스트림 강제 종료 제거
} }
} catch (Exception e) { } catch (Exception e) {
log.error("Error sending message to SSE emitter", e); log.error("Error sending message to SSE emitter", e);

View File

@@ -15,7 +15,7 @@ public interface CustomerGuidanceToolConverter {
* 고객통합이력조회 전사 Request -> I/F * 고객통합이력조회 전사 Request -> I/F
*/ */
@Mapping(target = "cstUnfcNotiCarhInqrInDto.inqrEndYmd", source = "inqrEndYmd") @Mapping(target = "cstUnfcNotiCarhInqrInDto.inqrEndYmd", source = "inqrEndYmd")
@Mapping(target = "cstUnfcNotiCarhInqrInDto.inqrStrtYmd", source = "inqrStrtYmd") @Mapping(target = "cstUnfcNotiCarhInqrInDto.inqrStrtYmd", source = "inqrStrYmd")
@Mapping(target = "cstUnfcNotiCarhInqrInDto.notiPmlMdCd", source = "notiPmlMdCd") @Mapping(target = "cstUnfcNotiCarhInqrInDto.notiPmlMdCd", source = "notiPmlMdCd")
@Mapping(target = "cstUnfcNotiCarhInqrInDto.ntleCd", source = "ntleCd") @Mapping(target = "cstUnfcNotiCarhInqrInDto.ntleCd", source = "ntleCd")
@Mapping(target = "cstUnfcNotiCarhInqrInDto.csNo", source = "csNo") @Mapping(target = "cstUnfcNotiCarhInqrInDto.csNo", source = "csNo")

View File

@@ -29,7 +29,6 @@ import io.shinhanlife.glow.communication.dto.Transfer;
@RequiredArgsConstructor @RequiredArgsConstructor
public class MciNildClient { public class MciNildClient {
private final AxhubMciComponent mci; private final AxhubMciComponent mci;
private final GlowLogger log;
public ONILD0320_O callOnild0320(ONILD0320_I onild0320_i){ public ONILD0320_O callOnild0320(ONILD0320_I onild0320_i){
try { try {