From 9748e90c210f849313b461551afa6785ea3d686e Mon Sep 17 00:00:00 2001 From: jade Date: Mon, 6 Jul 2026 10:29:23 +0900 Subject: [PATCH] Fix: Add validation dependency & update local gateway/tool url properties --- axhub-common/build.gradle | 1 + .../src/main/resources/application-local.properties | 5 ++--- .../src/main/resources/application-local.properties | 5 ++--- .../src/main/resources/application-local.properties | 5 ++--- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/axhub-common/build.gradle b/axhub-common/build.gradle index e7d453d..7b15e28 100644 --- a/axhub-common/build.gradle +++ b/axhub-common/build.gradle @@ -4,6 +4,7 @@ plugins { dependencies { api 'org.springframework.boot:spring-boot-starter-web' + api 'org.springframework.boot:spring-boot-starter-validation' api 'org.springframework.boot:spring-boot-starter-data-redis' api 'io.github.resilience4j:resilience4j-spring-boot3:2.2.0' diff --git a/axhub-tool-email/src/main/resources/application-local.properties b/axhub-tool-email/src/main/resources/application-local.properties index 977032d..6a25d62 100644 --- a/axhub-tool-email/src/main/resources/application-local.properties +++ b/axhub-tool-email/src/main/resources/application-local.properties @@ -21,9 +21,8 @@ mcp.security.tenant-domains.mcp-client-1=CUSTOMER,COMMON mcp.security.tenant-domains.mcp-client-2=ALL # Gateway/Tool URLs -mcp.adapter.url=http://localhost:${server.port}/rpc/v1/execute -mcp.gateway.url=http://localhost:${server.port}/mcp/api/v1 -mcp.tool.host=localhost +axhub.gateway.url=http://localhost:8081 +axhub.tool.url=http://localhost:${server.port} # Disable Kafka spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration diff --git a/axhub-tool-other/src/main/resources/application-local.properties b/axhub-tool-other/src/main/resources/application-local.properties index 977032d..6a25d62 100644 --- a/axhub-tool-other/src/main/resources/application-local.properties +++ b/axhub-tool-other/src/main/resources/application-local.properties @@ -21,9 +21,8 @@ mcp.security.tenant-domains.mcp-client-1=CUSTOMER,COMMON mcp.security.tenant-domains.mcp-client-2=ALL # Gateway/Tool URLs -mcp.adapter.url=http://localhost:${server.port}/rpc/v1/execute -mcp.gateway.url=http://localhost:${server.port}/mcp/api/v1 -mcp.tool.host=localhost +axhub.gateway.url=http://localhost:8081 +axhub.tool.url=http://localhost:${server.port} # Disable Kafka spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration diff --git a/axhub-tool-sms/src/main/resources/application-local.properties b/axhub-tool-sms/src/main/resources/application-local.properties index 977032d..6a25d62 100644 --- a/axhub-tool-sms/src/main/resources/application-local.properties +++ b/axhub-tool-sms/src/main/resources/application-local.properties @@ -21,9 +21,8 @@ mcp.security.tenant-domains.mcp-client-1=CUSTOMER,COMMON mcp.security.tenant-domains.mcp-client-2=ALL # Gateway/Tool URLs -mcp.adapter.url=http://localhost:${server.port}/rpc/v1/execute -mcp.gateway.url=http://localhost:${server.port}/mcp/api/v1 -mcp.tool.host=localhost +axhub.gateway.url=http://localhost:8081 +axhub.tool.url=http://localhost:${server.port} # Disable Kafka spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration