fix: resolve bean injection error and gateway routing configs
Some checks failed
Deploy to OCIWP / deploy (push) Has been cancelled
Some checks failed
Deploy to OCIWP / deploy (push) Has been cancelled
This commit is contained in:
@@ -10,10 +10,10 @@
|
||||
mcp:
|
||||
gateway:
|
||||
fallback:
|
||||
default-url: http://nginx:8284
|
||||
default-url: http://tool-oth:8084
|
||||
routes:
|
||||
sms: http://nginx:8282
|
||||
hr: http://nginx:8284
|
||||
sms: http://tool-sms:8082
|
||||
hr: http://tool-oth:8084
|
||||
|
||||
# --- 신한라이프 EAI/MCI 연계 IP 정보 (개발 환경) ---
|
||||
shinhan:
|
||||
|
||||
@@ -34,10 +34,12 @@ mcp:
|
||||
gateway:
|
||||
url: http://localhost:${server.port}/mcp/api/v1
|
||||
fallback:
|
||||
default-url: http://tool-oth:8084
|
||||
default-url: http://localhost:8084
|
||||
routes:
|
||||
sms: http://tool-sms:8082
|
||||
hr: http://tool-oth:8084
|
||||
sms: http://localhost:8082
|
||||
email: http://localhost:8083
|
||||
payment: http://localhost:8085
|
||||
hr: http://localhost:8084
|
||||
tool:
|
||||
host: localhost
|
||||
|
||||
|
||||
@@ -26,12 +26,10 @@ server:
|
||||
mcp:
|
||||
gateway:
|
||||
fallback:
|
||||
default-url: http://nginx:8284
|
||||
default-url: http://tool-oth:8084
|
||||
routes:
|
||||
sms: http://nginx:8282
|
||||
email: http://nginx:8283
|
||||
payment: http://nginx:8285
|
||||
hr: http://nginx:8286
|
||||
sms: http://tool-sms:8082
|
||||
hr: http://tool-oth:8084
|
||||
agent-claims-required: false
|
||||
trusted-claims-required: false
|
||||
write-approval-required: false
|
||||
|
||||
@@ -20,8 +20,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
|
||||
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"})
|
||||
@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"})
|
||||
@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.lib.adapter", "io.shinhanlife.dap.lib.mcp", "io.shinhanlife.dap.lib.config", "io.shinhanlife.dap.lib.integration"})
|
||||
@EnableCaching
|
||||
public class DapToolSmsApplication {
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -31,6 +31,9 @@ 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
|
||||
|
||||
mci-mock:
|
||||
image: wiremock/wiremock:latest
|
||||
|
||||
Reference in New Issue
Block a user