From 07e65c055b4ed36d4969b3fe2170a736dce0a548 Mon Sep 17 00:00:00 2001 From: Rinjae Date: Tue, 14 Jul 2026 11:11:24 +0900 Subject: [PATCH] =?UTF-8?q?-=20JSP:=20OpenAPI=20Spec=20=EB=B2=84=ED=8A=BC?= =?UTF-8?q?=20=EC=83=81=ED=83=9C=20=EC=88=98=EC=A0=95=20-=20NEW=20?= =?UTF-8?q?=E2=86=92=20DETAIL=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20-=20Service:?= =?UTF-8?q?=20BIGDECIMAL=20=EB=A7=A4=ED=95=91=20=EC=B6=94=EA=B0=80=20-=20?= =?UTF-8?q?=EB=B0=98=ED=99=98=20=EC=9C=A0=ED=98=95=20'number'=20-=20Monito?= =?UTF-8?q?ring:=20Properties=20=EC=B4=88=EA=B8=B0=ED=99=94=20=EB=B0=8F=20?= =?UTF-8?q?null=20=EC=B2=B4=ED=81=AC=20=EB=A1=9C=EC=A7=81=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20-=20JS:=20=EC=83=98=ED=94=8C=20=EC=9D=91=EB=8B=B5?= =?UTF-8?q?=20=EC=83=81=ED=83=9C=20=EC=8B=9C=20=EC=95=88=EB=82=B4=20?= =?UTF-8?q?=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/js/djb/apispec/app.js | 4 +++- .../jsp/onl/transaction/apim/apiInterfaceManDetail.jsp | 4 ++-- .../eai/rms/common/context/MonitoringContextImpl.java | 7 +++++-- .../eai/rms/onl/transaction/apim/ApiSpecManService.java | 1 + 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/WebContent/js/djb/apispec/app.js b/WebContent/js/djb/apispec/app.js index e2142f4..ca60197 100644 --- a/WebContent/js/djb/apispec/app.js +++ b/WebContent/js/djb/apispec/app.js @@ -1004,7 +1004,9 @@ ['sample', 'mock', 'gw'].map(v => `` ).join('') + - `
실제 호출 주소: ${escapeHtml(resolvedCallUrl())}
` + + (rt === 'sample' + ? `
응답 샘플을 바로 리턴합니다.
` + : `
실제 호출 주소: ${escapeHtml(resolvedCallUrl())}
`) + (rt === 'gw' ? `
GW 주소는 포탈 설정(PTL_PROPERTY, 그룹 Portal)의 djb.gateway.base-url 값을 사용합니다.
` : '') + '') + (rt === 'mock' ? fieldRow('Mock Server URL', input(p.mockUrl || '', 'data-portal="mockUrl"', { placeholder: 'https://mock.example.com' }), { hint: 'Mock 응답을 제공할 서버의 기본 URL. 응답 유형이 Mock 일 때 개발자포탈이 이 주소로 요청을 전달하고, Swagger 스펙의 서버 주소로도 사용됩니다.' }) : '') diff --git a/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp b/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp index d3a6bf7..29e16da 100644 --- a/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp +++ b/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp @@ -1545,9 +1545,9 @@ - + - +
${rmsMenuName}
diff --git a/src/main/java/com/eactive/eai/rms/common/context/MonitoringContextImpl.java b/src/main/java/com/eactive/eai/rms/common/context/MonitoringContextImpl.java index cb67ded..633413c 100644 --- a/src/main/java/com/eactive/eai/rms/common/context/MonitoringContextImpl.java +++ b/src/main/java/com/eactive/eai/rms/common/context/MonitoringContextImpl.java @@ -36,7 +36,7 @@ class MonitoringContextImpl implements MonitoringContext { @Autowired private MonitoringContextDAO monitoringContextDAO; - private Properties properties = null; + private Properties properties = new Properties(); private String instancePropertyGroupName; @@ -73,7 +73,10 @@ class MonitoringContextImpl implements MonitoringContext { String hostIp = InetAddress.getLocalHost().getHostAddress(); this.instancePropertyGroupName = String .format(MonitoringPropertyGroupService.MONITORING_PROPERTY_KEY_FORMAT, hostIp); - this.properties = monitoringContextDAO.getProperties(instancePropertyGroupName); + Properties loaded = monitoringContextDAO.getProperties(instancePropertyGroupName); + if (loaded != null) { + this.properties = loaded; + } String eaiAgentId = System.getProperty(EAI_AGENTID); if (StringUtils.isBlank(eaiAgentId)) { diff --git a/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiSpecManService.java b/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiSpecManService.java index 967ff3a..c84e066 100644 --- a/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiSpecManService.java +++ b/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiSpecManService.java @@ -676,6 +676,7 @@ public class ApiSpecManService { return "integer"; case "DECIMAL": case "DOUBLE": + case "BIGDECIMAL": return "number"; case "BOOLEAN": return "boolean";