fix: PodScaffolder application.properties template aligned with axhub-tool-email format
This commit is contained in:
@@ -135,9 +135,17 @@ public class PodScaffolder {
|
|||||||
Files.writeString(resPath.resolve("application-local.yml"), applicationYml);
|
Files.writeString(resPath.resolve("application-local.yml"), applicationYml);
|
||||||
|
|
||||||
String applicationProperties = """
|
String applicationProperties = """
|
||||||
|
server.port=%s
|
||||||
|
spring.application.name=%s
|
||||||
|
|
||||||
spring.profiles.active=local
|
spring.profiles.active=local
|
||||||
|
|
||||||
|
# Suppress Kafka Connection Logs
|
||||||
|
logging.level.org.apache.kafka=ERROR
|
||||||
|
|
||||||
|
# Auto Prefix Namespace
|
||||||
mcp.namespace=%s
|
mcp.namespace=%s
|
||||||
""".formatted(shortName);
|
""".formatted(portStr, moduleName, shortName);
|
||||||
Files.writeString(resPath.resolve("application.properties"), applicationProperties);
|
Files.writeString(resPath.resolve("application.properties"), applicationProperties);
|
||||||
|
|
||||||
String applicationLocalProperties = """
|
String applicationLocalProperties = """
|
||||||
|
|||||||
@@ -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
|
eims.mcistring.url=http://localhost:${server.port}/api/mock/esb/string
|
||||||
|
|
||||||
# API 보안 키 설정
|
# 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
|
mcp.security.tenant-domains.mcp-client-2=ALL
|
||||||
|
|
||||||
# Gateway/Tool URLs
|
# Gateway/Tool URLs
|
||||||
|
|||||||
@@ -4,9 +4,3 @@ spring:
|
|||||||
config:
|
config:
|
||||||
import: "classpath:config/application-glow-local.yml"
|
import: "classpath:config/application-glow-local.yml"
|
||||||
|
|
||||||
server:
|
|
||||||
port: 8086
|
|
||||||
|
|
||||||
axhub:
|
|
||||||
tool:
|
|
||||||
url: "http://tool-hr:8086"
|
|
||||||
|
|||||||
@@ -1,2 +1,10 @@
|
|||||||
|
server.port=8086
|
||||||
|
spring.application.name=axhub-tool-hr
|
||||||
|
|
||||||
spring.profiles.active=local
|
spring.profiles.active=local
|
||||||
|
|
||||||
|
# Suppress Kafka Connection Logs
|
||||||
|
logging.level.org.apache.kafka=ERROR
|
||||||
|
|
||||||
|
# Auto Prefix Namespace
|
||||||
mcp.namespace=hr
|
mcp.namespace=hr
|
||||||
|
|||||||
Reference in New Issue
Block a user