refactor: apply Option B, remove heartbeat and register tools once on startup
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 44s

This commit is contained in:
jade
2026-08-13 17:34:32 +09:00
parent 34e678ad63
commit 8f1c64ac58
177 changed files with 718 additions and 170 deletions

View File

@@ -19,12 +19,15 @@ services:
- AXHUB_SOURCE_DIR=/src
- JAVA_TOOL_OPTIONS=-Xms64m -Xmx384m
- SPRING_PROFILES_ACTIVE=${ACTIVE_PROFILE:-local}
- MCP_GATEWAY_FALLBACK_DEFAULT_URL=http://tool-oth:8084
- MCP_GATEWAY_FALLBACK_ROUTES_SMS=http://tool-sms:8082
- MCP_GATEWAY_FALLBACK_ROUTES_HR=http://tool-oth:8084
- MCP_GATEWAY_FALLBACK_DEFAULT_URL=http://was-oth:8084
- MCP_GATEWAY_FALLBACK_ROUTES_SMS=http://was-sms:8082
- MCP_GATEWAY_FALLBACK_ROUTES_HR=http://was-oth:8084
- MCP_GATEWAY_FALLBACK_DEFAULT_URL=http://was-cus:8084
- MCP_GATEWAY_FALLBACK_ROUTES_CUS=http://was-cus:8084
- MCP_GATEWAY_FALLBACK_ROUTES_SAL=http://was-sal:8082
# Backward-compatible route during the SMS-to-SAL Pod name transition.
- MCP_GATEWAY_FALLBACK_ROUTES_SMS=http://was-sal:8082
- MCP_GATEWAY_FALLBACK_ROUTES_OTH=http://was-cus:8084
- MCP_GATEWAY_FALLBACK_ROUTES_HR=http://was-cus:8084
- MCP_GATEWAY_FALLBACK_ROUTES_PRO=http://was-pro:8085
- MCP_GATEWAY_FALLBACK_ROUTES_SYS=http://was-sys:8086
- REPORT_SERVICE_URL=http://tool-report:8092
tool-report:
@@ -47,40 +50,40 @@ services:
volumes:
- ./mci-mock:/home/wiremock
was-sms:
was-sal:
build:
context: .
dockerfile: dap-was-sms/Dockerfile
dockerfile: dap-was-sal/Dockerfile
ports:
- "8282:8082"
environment:
- TZ=Asia/Seoul
- AXHUB_GATEWAY_URL=http://gateway:8081
- AXHUB_SOURCE_DIR=/src
- AXHUB_TOOL_URL=http://was-sms:8082
- GLOW_COMMUNICATION_MCI_HOMT=http://mci-mock
- AXHUB_TOOL_URL=http://was-sal:8082
- GLOW_COMMUNICATION_MCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_MCI_PORT=8080
- GLOW_COMMUNICATION_EXTMCI_HOMT=http://mci-mock
- GLOW_COMMUNICATION_EXTMCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EXTMCI_PORT=8080
- GLOW_COMMUNICATION_EAI_HOMT=http://mci-mock
- GLOW_COMMUNICATION_EAI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EAI_PORT=8080
- SPRING_PROFILES_ACTIVE=${ACTIVE_PROFILE:-local}
was-oth:
was-cus:
build:
context: .
dockerfile: dap-was-oth/Dockerfile
dockerfile: dap-was-cus/Dockerfile
ports:
- "8284:8084"
environment:
- TZ=Asia/Seoul
- AXHUB_GATEWAY_URL=http://gateway:8081
- AXHUB_TOOL_URL=http://was-oth:8084
- GLOW_COMMUNICATION_MCI_HOMT=http://mci-mock
- AXHUB_TOOL_URL=http://was-cus:8084
- GLOW_COMMUNICATION_MCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_MCI_PORT=8080
- GLOW_COMMUNICATION_EXTMCI_HOMT=http://mci-mock
- GLOW_COMMUNICATION_EXTMCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EXTMCI_PORT=8080
- GLOW_COMMUNICATION_EAI_HOMT=http://mci-mock
- GLOW_COMMUNICATION_EAI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EAI_PORT=8080
- SPRING_PROFILES_ACTIVE=${ACTIVE_PROFILE:-local}
@@ -108,3 +111,37 @@ services:
- ./bin/docker:/usr/bin/docker
- /usr/libexec/docker/cli-plugins/docker-compose:/usr/libexec/docker/cli-plugins/docker-compose
restart: always
was-pro:
build:
context: .
dockerfile: dap-was-pro/Dockerfile
ports:
- "8085:8085"
environment:
- TZ=Asia/Seoul
- AXHUB_GATEWAY_URL=http://gateway:8081
- AXHUB_TOOL_URL=http://was-pro:8085
- 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=http://mci-mock
- GLOW_COMMUNICATION_EAI_PORT=8080
was-sys:
build:
context: .
dockerfile: dap-was-sys/Dockerfile
ports:
- "8086:8086"
environment:
- TZ=Asia/Seoul
- AXHUB_GATEWAY_URL=http://gateway:8081
- AXHUB_TOOL_URL=http://was-sys:8086
- 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=http://mci-mock
- GLOW_COMMUNICATION_EAI_PORT=8080