fix: Playground 용 TESTER-DEV 권한 부여 및 PodScaffolder 템플릿 수정
This commit is contained in:
@@ -137,6 +137,9 @@ public class PodScaffolder {
|
|||||||
|
|
||||||
# Auto Prefix Namespace
|
# Auto Prefix Namespace
|
||||||
mcp.namespace=%s
|
mcp.namespace=%s
|
||||||
|
|
||||||
|
# API 보안 키 설정
|
||||||
|
mcp.security.tenant-domains.TESTER-DEV=ALL
|
||||||
""".formatted(portStr, moduleName, shortName);
|
""".formatted(portStr, moduleName, shortName);
|
||||||
Files.writeString(resPath.resolve("application.properties"), applicationProperties);
|
Files.writeString(resPath.resolve("application.properties"), applicationProperties);
|
||||||
|
|
||||||
@@ -170,6 +173,23 @@ public class PodScaffolder {
|
|||||||
""";
|
""";
|
||||||
Files.writeString(resPath.resolve("application-local.properties"), applicationLocalProperties);
|
Files.writeString(resPath.resolve("application-local.properties"), applicationLocalProperties);
|
||||||
|
|
||||||
|
String applicationDevProperties = """
|
||||||
|
# Render 클라우드 환경 전용 설정
|
||||||
|
axhub.gateway.url=https://axhub-gateway.onrender.com
|
||||||
|
axhub.tool.url=https://%s.onrender.com
|
||||||
|
|
||||||
|
# EIMS 동적 라우팅 접속 정보 (Mock)
|
||||||
|
eims.http.url=http://localhost:${server.port}/api/gateway
|
||||||
|
eims.tcp.host=127.0.0.1
|
||||||
|
eims.tcp.port=8090
|
||||||
|
eims.tcp.timeout=5000
|
||||||
|
eims.jsp.form.url=http://localhost:${server.port}/mock/jsp-form
|
||||||
|
eims.jsp.json.url=http://localhost:${server.port}/mock/jsp-json
|
||||||
|
eims.mci.url=http://localhost:${server.port}/api/mock/esb/api
|
||||||
|
eims.mcistring.url=http://localhost:${server.port}/api/mock/esb/string
|
||||||
|
""".formatted(moduleName);
|
||||||
|
Files.writeString(resPath.resolve("application-dev.properties"), applicationDevProperties);
|
||||||
|
|
||||||
String logbackXml = """
|
String logbackXml = """
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
|||||||
@@ -8,3 +8,6 @@ logging.level.org.apache.kafka=ERROR
|
|||||||
|
|
||||||
# Auto Prefix Namespace
|
# Auto Prefix Namespace
|
||||||
mcp.namespace=email
|
mcp.namespace=email
|
||||||
|
|
||||||
|
# API 보안 키 설정
|
||||||
|
mcp.security.tenant-domains.TESTER-DEV=ALL
|
||||||
|
|||||||
@@ -8,3 +8,6 @@ logging.level.org.apache.kafka=ERROR
|
|||||||
|
|
||||||
# Auto Prefix Namespace
|
# Auto Prefix Namespace
|
||||||
mcp.namespace=other
|
mcp.namespace=other
|
||||||
|
|
||||||
|
# API 보안 키 설정
|
||||||
|
mcp.security.tenant-domains.TESTER-DEV=ALL
|
||||||
|
|||||||
@@ -2,3 +2,6 @@ spring.profiles.active=local
|
|||||||
|
|
||||||
# Auto Prefix Namespace
|
# Auto Prefix Namespace
|
||||||
mcp.namespace=payment
|
mcp.namespace=payment
|
||||||
|
|
||||||
|
# API 보안 키 설정
|
||||||
|
mcp.security.tenant-domains.TESTER-DEV=ALL
|
||||||
|
|||||||
@@ -8,3 +8,6 @@ logging.level.org.apache.kafka=ERROR
|
|||||||
|
|
||||||
# Auto Prefix Namespace
|
# Auto Prefix Namespace
|
||||||
mcp.namespace=sms
|
mcp.namespace=sms
|
||||||
|
|
||||||
|
# API 보안 키 설정
|
||||||
|
mcp.security.tenant-domains.TESTER-DEV=ALL
|
||||||
|
|||||||
Reference in New Issue
Block a user