diff --git a/axhub-common/src/main/java/io/shinhanlife/axhub/common/util/PodScaffolder.java b/axhub-common/src/main/java/io/shinhanlife/axhub/common/util/PodScaffolder.java index b70c066..d058450 100644 --- a/axhub-common/src/main/java/io/shinhanlife/axhub/common/util/PodScaffolder.java +++ b/axhub-common/src/main/java/io/shinhanlife/axhub/common/util/PodScaffolder.java @@ -137,6 +137,9 @@ public class PodScaffolder { # Auto Prefix Namespace mcp.namespace=%s + + # API 보안 키 설정 + mcp.security.tenant-domains.TESTER-DEV=ALL """.formatted(portStr, moduleName, shortName); Files.writeString(resPath.resolve("application.properties"), applicationProperties); @@ -170,6 +173,23 @@ public class PodScaffolder { """; 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 = """ diff --git a/axhub-tool-email/src/main/resources/application.properties b/axhub-tool-email/src/main/resources/application.properties index 29f31d8..c92861a 100644 --- a/axhub-tool-email/src/main/resources/application.properties +++ b/axhub-tool-email/src/main/resources/application.properties @@ -8,3 +8,6 @@ logging.level.org.apache.kafka=ERROR # Auto Prefix Namespace mcp.namespace=email + +# API 보안 키 설정 +mcp.security.tenant-domains.TESTER-DEV=ALL diff --git a/axhub-tool-other/src/main/resources/application.properties b/axhub-tool-other/src/main/resources/application.properties index 0430deb..a1b5e05 100644 --- a/axhub-tool-other/src/main/resources/application.properties +++ b/axhub-tool-other/src/main/resources/application.properties @@ -8,3 +8,6 @@ logging.level.org.apache.kafka=ERROR # Auto Prefix Namespace mcp.namespace=other + +# API 보안 키 설정 +mcp.security.tenant-domains.TESTER-DEV=ALL diff --git a/axhub-tool-payment/src/main/resources/application.properties b/axhub-tool-payment/src/main/resources/application.properties index 79ba94d..7dc15cc 100644 --- a/axhub-tool-payment/src/main/resources/application.properties +++ b/axhub-tool-payment/src/main/resources/application.properties @@ -2,3 +2,6 @@ spring.profiles.active=local # Auto Prefix Namespace mcp.namespace=payment + +# API 보안 키 설정 +mcp.security.tenant-domains.TESTER-DEV=ALL diff --git a/axhub-tool-sms/src/main/resources/application.properties b/axhub-tool-sms/src/main/resources/application.properties index 0397a08..57fafb8 100644 --- a/axhub-tool-sms/src/main/resources/application.properties +++ b/axhub-tool-sms/src/main/resources/application.properties @@ -8,3 +8,6 @@ logging.level.org.apache.kafka=ERROR # Auto Prefix Namespace mcp.namespace=sms + +# API 보안 키 설정 +mcp.security.tenant-domains.TESTER-DEV=ALL