forked from kimhyungsik/ax_hub_mcp_tool
fix: application-local.yml template simplified to match axhub-tool-sms format
This commit is contained in:
@@ -120,18 +120,9 @@ public class PodScaffolder {
|
|||||||
Files.createDirectories(resPath);
|
Files.createDirectories(resPath);
|
||||||
String applicationYml = """
|
String applicationYml = """
|
||||||
spring:
|
spring:
|
||||||
application:
|
|
||||||
name: %s
|
|
||||||
config:
|
config:
|
||||||
import: "classpath:config/application-glow-local.yml"
|
import: "classpath:config/application-glow-local.yml"
|
||||||
|
""";
|
||||||
server:
|
|
||||||
port: %s
|
|
||||||
|
|
||||||
axhub:
|
|
||||||
tool:
|
|
||||||
url: "http://%s:%s"
|
|
||||||
""".formatted(moduleName, portStr, moduleName.replace("axhub-backend-main-", "").replace("axhub-", ""), portStr);
|
|
||||||
Files.writeString(resPath.resolve("application-local.yml"), applicationYml);
|
Files.writeString(resPath.resolve("application-local.yml"), applicationYml);
|
||||||
|
|
||||||
String applicationProperties = """
|
String applicationProperties = """
|
||||||
|
|||||||
Reference in New Issue
Block a user