fix: resolve bean injection error and gateway routing configs
Some checks failed
Deploy to OCIWP / deploy (push) Has been cancelled

This commit is contained in:
jade
2026-07-26 15:34:43 +09:00
parent ad950071b2
commit bea517c4c1
5 changed files with 16 additions and 13 deletions

View File

@@ -10,10 +10,10 @@
mcp: mcp:
gateway: gateway:
fallback: fallback:
default-url: http://nginx:8284 default-url: http://tool-oth:8084
routes: routes:
sms: http://nginx:8282 sms: http://tool-sms:8082
hr: http://nginx:8284 hr: http://tool-oth:8084
# --- 신한라이프 EAI/MCI 연계 IP 정보 (개발 환경) --- # --- 신한라이프 EAI/MCI 연계 IP 정보 (개발 환경) ---
shinhan: shinhan:

View File

@@ -34,10 +34,12 @@ mcp:
gateway: gateway:
url: http://localhost:${server.port}/mcp/api/v1 url: http://localhost:${server.port}/mcp/api/v1
fallback: fallback:
default-url: http://tool-oth:8084 default-url: http://localhost:8084
routes: routes:
sms: http://tool-sms:8082 sms: http://localhost:8082
hr: http://tool-oth:8084 email: http://localhost:8083
payment: http://localhost:8085
hr: http://localhost:8084
tool: tool:
host: localhost host: localhost

View File

@@ -26,12 +26,10 @@ server:
mcp: mcp:
gateway: gateway:
fallback: fallback:
default-url: http://nginx:8284 default-url: http://tool-oth:8084
routes: routes:
sms: http://nginx:8282 sms: http://tool-sms:8082
email: http://nginx:8283 hr: http://tool-oth:8084
payment: http://nginx:8285
hr: http://nginx:8286
agent-claims-required: false agent-claims-required: false
trusted-claims-required: false trusted-claims-required: false
write-approval-required: false write-approval-required: false

View File

@@ -20,8 +20,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan; import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.annotation.EnableCaching;
@SpringBootApplication(scanBasePackages = {"io.shinhanlife.dap.mcc", "io.shinhanlife.dap.common.adapter", "io.shinhanlife.dap.common.mcp", "io.shinhanlife.dap.common.config", "io.shinhanlife.dap.common.integration"}) @SpringBootApplication(scanBasePackages = {"io.shinhanlife.dap.mcc", "io.shinhanlife.dap.lib.adapter", "io.shinhanlife.dap.lib.mcp", "io.shinhanlife.dap.lib.config", "io.shinhanlife.dap.lib.integration"})
@ConfigurationPropertiesScan(basePackages = {"io.shinhanlife.dap.mcc", "io.shinhanlife.dap.common.adapter", "io.shinhanlife.dap.common.mcp", "io.shinhanlife.dap.common.config", "io.shinhanlife.dap.common.integration"}) @ConfigurationPropertiesScan(basePackages = {"io.shinhanlife.dap.mcc", "io.shinhanlife.dap.lib.adapter", "io.shinhanlife.dap.lib.mcp", "io.shinhanlife.dap.lib.config", "io.shinhanlife.dap.lib.integration"})
@EnableCaching @EnableCaching
public class DapToolSmsApplication { public class DapToolSmsApplication {
public static void main(String[] args) { public static void main(String[] args) {

View File

@@ -31,6 +31,9 @@ services:
- AXHUB_SOURCE_DIR=/src - AXHUB_SOURCE_DIR=/src
- JAVA_TOOL_OPTIONS=-Xms64m -Xmx384m - JAVA_TOOL_OPTIONS=-Xms64m -Xmx384m
- SPRING_PROFILES_ACTIVE=${ACTIVE_PROFILE:-local} - 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
mci-mock: mci-mock:
image: wiremock/wiremock:latest image: wiremock/wiremock:latest