From aceb1a9799142b6e1cf1da3c2970c61f8fd38740 Mon Sep 17 00:00:00 2001 From: jade Date: Wed, 15 Jul 2026 14:04:52 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Playground=20=EC=9A=A9=20TESTER-DEV=20?= =?UTF-8?q?=EA=B6=8C=ED=95=9C=20=EB=B6=80=EC=97=AC=20=EB=B0=8F=20PodScaffo?= =?UTF-8?q?lder=20=ED=85=9C=ED=94=8C=EB=A6=BF=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../axhub/common/util/PodScaffolder.java | 20 +++++++++++++++++++ .../src/main/resources/application.properties | 3 +++ .../src/main/resources/application.properties | 3 +++ .../src/main/resources/application.properties | 3 +++ .../src/main/resources/application.properties | 3 +++ 5 files changed, 32 insertions(+) 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