fix: PodScaffolder application.properties template aligned with axhub-tool-email format

This commit is contained in:
jade
2026-07-13 17:19:08 +09:00
parent 5f8621916f
commit f87b547911
4 changed files with 18 additions and 8 deletions

View File

@@ -135,9 +135,17 @@ public class PodScaffolder {
Files.writeString(resPath.resolve("application-local.yml"), applicationYml);
String applicationProperties = """
server.port=%s
spring.application.name=%s
spring.profiles.active=local
# Suppress Kafka Connection Logs
logging.level.org.apache.kafka=ERROR
# Auto Prefix Namespace
mcp.namespace=%s
""".formatted(shortName);
""".formatted(portStr, moduleName, shortName);
Files.writeString(resPath.resolve("application.properties"), applicationProperties);
String applicationLocalProperties = """

View File

@@ -16,7 +16,7 @@ eims.mci.url=http://localhost:${server.port}/api/mock/esb/api
eims.mcistring.url=http://localhost:${server.port}/api/mock/esb/string
# API 보안 키 설정
mcp.security.tenant-domains.mcp-client-1=CUSTOMER,COMMON
mcp.security.tenant-domains.mcp-client-1=CUSTOMER,COMMON
mcp.security.tenant-domains.mcp-client-2=ALL
# Gateway/Tool URLs

View File

@@ -4,9 +4,3 @@ spring:
config:
import: "classpath:config/application-glow-local.yml"
server:
port: 8086
axhub:
tool:
url: "http://tool-hr:8086"

View File

@@ -1,2 +1,10 @@
server.port=8086
spring.application.name=axhub-tool-hr
spring.profiles.active=local
# Suppress Kafka Connection Logs
logging.level.org.apache.kafka=ERROR
# Auto Prefix Namespace
mcp.namespace=hr