forked from kimhyungsik/ax_hub_mcp_tool
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 = """
|
||||||
|
|||||||
@@ -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