diff --git a/axhub-gateway/src/main/java/io/shinhanlife/axhub/biz/mcp/gateway/presentation/MciMockController.java b/axhub-gateway/src/main/java/io/shinhanlife/axhub/biz/mcp/gateway/presentation/MciMockController.java
deleted file mode 100644
index 2ee8f58..0000000
--- a/axhub-gateway/src/main/java/io/shinhanlife/axhub/biz/mcp/gateway/presentation/MciMockController.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package io.shinhanlife.axhub.biz.mcp.gateway.presentation;
-
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RestController;
-import java.util.Map;
-
-/**
- * @package io.shinhanlife.axhub.biz.mcp.gateway.presentation
- * @className MciMockController
- * @description AX HUB 시스템 처리 클래스
- * @author 김형식
- * @create 2026.09.01
- *
- * ---------- 개정이력 ----------
- * 수정일 수정자 수정내용
- * ---------- -------- ---------------------------
- * 2026.09.01 김형식 최초생성
- *
- *
- */
-@RestController
-public class MciMockController {
-
- @PostMapping("/mciSend")
- public Map mciSend() {
- return Map.of(
- "resCode", "0000",
- "resMsg", "정상 처리되었습니다.",
- "data", Map.of(
- "status", "SUCCESS",
- "mock", true,
- "protocol", "HTTP/2 (h2c)",
- "detail", "가짜 응답 서버(HTTP/2 WebFlux)에서 내려주는 대내(MCI) 샘플 데이터입니다."
- )
- );
- }
-
- @PostMapping("/extmci")
- public Map extmci() {
- return Map.of(
- "resCode", "0000",
- "resMsg", "정상 처리되었습니다.",
- "data", Map.of(
- "status", "SUCCESS",
- "mock", true,
- "protocol", "HTTP/2 (h2c)",
- "detail", "가짜 응답 서버(HTTP/2 WebFlux)에서 내려주는 대외(EXTMCI) 샘플 데이터입니다."
- )
- );
- }
-}
\ No newline at end of file
diff --git a/docker-compose.yml b/docker-compose.yml
index cc7eb01..4fcb473 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -29,6 +29,13 @@ services:
- SPRING_DATA_REDIS_PORT=6379
- AXHUB_SOURCE_DIR=/src
+ mci-mock:
+ image: wiremock/wiremock:latest
+ ports:
+ - "8080:8080"
+ volumes:
+ - ./mci-mock:/home/wiremock
+
tool-sms:
build:
context: ./axhub-tool-sms
@@ -43,10 +50,10 @@ services:
- SPRING_DATA_REDIS_PORT=6379
- AXHUB_GATEWAY_URL=http://gateway:8081
- AXHUB_TOOL_URL=http://tool-sms:8082
- - GLOW_COMMUNICATION_MCI_HOST=http://gateway
- - GLOW_COMMUNICATION_MCI_PORT=8081
- - GLOW_COMMUNICATION_EXTMCI_HOST=http://gateway
- - GLOW_COMMUNICATION_EXTMCI_PORT=8081
+ - GLOW_COMMUNICATION_MCI_HOST=http://mci-mock
+ - GLOW_COMMUNICATION_MCI_PORT=8080
+ - GLOW_COMMUNICATION_EXTMCI_HOST=http://mci-mock
+ - GLOW_COMMUNICATION_EXTMCI_PORT=8080
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
- GLOW_COMMUNICATION_EAI_PORT=8081
tool-email:
@@ -63,10 +70,10 @@ services:
- SPRING_DATA_REDIS_PORT=6379
- AXHUB_GATEWAY_URL=http://gateway:8081
- AXHUB_TOOL_URL=http://tool-email:8083
- - GLOW_COMMUNICATION_MCI_HOST=http://gateway
- - GLOW_COMMUNICATION_MCI_PORT=8081
- - GLOW_COMMUNICATION_EXTMCI_HOST=http://gateway
- - GLOW_COMMUNICATION_EXTMCI_PORT=8081
+ - GLOW_COMMUNICATION_MCI_HOST=http://mci-mock
+ - GLOW_COMMUNICATION_MCI_PORT=8080
+ - GLOW_COMMUNICATION_EXTMCI_HOST=http://mci-mock
+ - GLOW_COMMUNICATION_EXTMCI_PORT=8080
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
- GLOW_COMMUNICATION_EAI_PORT=8081
tool-other:
@@ -83,10 +90,10 @@ services:
- SPRING_DATA_REDIS_PORT=6379
- AXHUB_GATEWAY_URL=http://gateway:8081
- AXHUB_TOOL_URL=http://tool-other:8084
- - GLOW_COMMUNICATION_MCI_HOST=http://gateway
- - GLOW_COMMUNICATION_MCI_PORT=8081
- - GLOW_COMMUNICATION_EXTMCI_HOST=http://gateway
- - GLOW_COMMUNICATION_EXTMCI_PORT=8081
+ - GLOW_COMMUNICATION_MCI_HOST=http://mci-mock
+ - GLOW_COMMUNICATION_MCI_PORT=8080
+ - GLOW_COMMUNICATION_EXTMCI_HOST=http://mci-mock
+ - GLOW_COMMUNICATION_EXTMCI_PORT=8080
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
- GLOW_COMMUNICATION_EAI_PORT=8081
tool-payment:
@@ -103,9 +110,9 @@ services:
- SPRING_DATA_REDIS_PORT=6379
- AXHUB_GATEWAY_URL=http://gateway:8081
- AXHUB_TOOL_URL=http://tool-payment:8085
- - GLOW_COMMUNICATION_MCI_HOST=http://gateway
- - GLOW_COMMUNICATION_MCI_PORT=8081
- - GLOW_COMMUNICATION_EXTMCI_HOST=http://gateway
- - GLOW_COMMUNICATION_EXTMCI_PORT=8081
+ - GLOW_COMMUNICATION_MCI_HOST=http://mci-mock
+ - GLOW_COMMUNICATION_MCI_PORT=8080
+ - GLOW_COMMUNICATION_EXTMCI_HOST=http://mci-mock
+ - GLOW_COMMUNICATION_EXTMCI_PORT=8080
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
- GLOW_COMMUNICATION_EAI_PORT=8081