From be37f8349aafd9033804cbd9cf7ed60e06c82814 Mon Sep 17 00:00:00 2001 From: daekuk Date: Mon, 27 Oct 2025 11:33:54 +0900 Subject: [PATCH 1/4] =?UTF-8?q?API=20=EB=B3=B5=EC=A0=9C=EB=8F=84=20?= =?UTF-8?q?=EC=9D=B4=EB=A0=A5=EB=A1=9C=EA=B7=B8=EC=97=90=20=EB=82=A8?= =?UTF-8?q?=EA=B8=B0=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/WEB-INF/auditpoints.dat | 2 +- WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp | 2 +- .../eai/rms/onl/transaction/apim/ApiInterfaceController.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WebContent/WEB-INF/auditpoints.dat b/WebContent/WEB-INF/auditpoints.dat index a1d4d5f..1c2969a 100644 --- a/WebContent/WEB-INF/auditpoints.dat +++ b/WebContent/WEB-INF/auditpoints.dat @@ -1,6 +1,6 @@ UserManController_사용자관리_APIGW_INSERT,UPDATE,DELETE AdapterController_어댑터관리_APIGW_INSERT,UPDATE,DELETE -ApiInterfaceController_API관리_APIGW_INSERT,UPDATE,DELETE +ApiInterfaceController_API관리_APIGW_INSERT,UPDATE,DELETE,CLONE ClientController_Client (키정보)관리_APIGW_INSERT,UPDATE,DELETE RoleController_Role (역할)관리_APIGW_INSERT,UPDATE,DELETE MenuController_Menu관리_APIGW_INSERT,UPDATE,DELETE diff --git a/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp b/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp index a7cbe4c..fa3deb8 100644 --- a/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp +++ b/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp @@ -1196,7 +1196,7 @@ type: "POST", url: jsonUrl, data: { - cmd: 'INSERT_CLONE', + cmd: 'CLONE', orgApiInterfaceId, newBizCode, newApiInterfaceId, diff --git a/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiInterfaceController.java b/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiInterfaceController.java index 0c7a882..ecb0b7c 100644 --- a/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiInterfaceController.java +++ b/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiInterfaceController.java @@ -268,7 +268,7 @@ public class ApiInterfaceController extends OnlBaseAnnotationController { .body(exportData.getExportFileContent()); } - @PostMapping(value = "/onl/transaction/apim/apiInterfaceMan.json", params = "cmd=INSERT_CLONE") + @PostMapping(value = "/onl/transaction/apim/apiInterfaceMan.json", params = "cmd=CLONE") public ResponseEntity cloneApiInterface(String orgApiInterfaceId, String newBizCode, String newApiInterfaceId, String newInboundHttpMethod, String newInboundRestPath) throws BizException { try { ApiInterfaceUI orgApiInterfaceUI = service.selectDetail(orgApiInterfaceId); From 39d290e6222d322746c7f24a3c86759b41de6a20 Mon Sep 17 00:00:00 2001 From: Rinjae Date: Mon, 27 Oct 2025 18:47:53 +0900 Subject: [PATCH 2/4] =?UTF-8?q?request=20header=20=EB=94=94=EB=B2=84?= =?UTF-8?q?=EA=B9=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/addon/request-header.jsp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 WebContent/addon/request-header.jsp diff --git a/WebContent/addon/request-header.jsp b/WebContent/addon/request-header.jsp new file mode 100644 index 0000000..3ef1a3f --- /dev/null +++ b/WebContent/addon/request-header.jsp @@ -0,0 +1,15 @@ +<%-- + Created by IntelliJ IDEA. + User: Rinjae + Date: 2025-10-27 + Time: 오후 6:34 + To change this template use File | Settings | File Templates. +--%> +<%@ page language="java" contentType="text/plain; charset=UTF-8" pageEncoding="UTF-8"%> +<% +java.util.Enumeration names = request.getHeaderNames(); +while (names.hasMoreElements()) { + String name = names.nextElement(); + out.println(name + ": " + request.getHeader(name)); +} +%> \ No newline at end of file From 852718b63cc714696cc239efebdc77d30f1a1a04 Mon Sep 17 00:00:00 2001 From: Rinjae Date: Mon, 27 Oct 2025 19:29:31 +0900 Subject: [PATCH 3/4] no message --- WebContent/addon/request-header.jsp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/WebContent/addon/request-header.jsp b/WebContent/addon/request-header.jsp index 3ef1a3f..ff7c6db 100644 --- a/WebContent/addon/request-header.jsp +++ b/WebContent/addon/request-header.jsp @@ -1,15 +1,9 @@ -<%-- - Created by IntelliJ IDEA. - User: Rinjae - Date: 2025-10-27 - Time: 오후 6:34 - To change this template use File | Settings | File Templates. ---%> -<%@ page language="java" contentType="text/plain; charset=UTF-8" pageEncoding="UTF-8"%> +<%@ page language="java" contentType="text/plain; charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true" %> <% java.util.Enumeration names = request.getHeaderNames(); while (names.hasMoreElements()) { String name = names.nextElement(); out.println(name + ": " + request.getHeader(name)); } -%> \ No newline at end of file +%> +Scheme: <%=request.getScheme()%> \ No newline at end of file From dd30383cd6252273c6dabd7933ef7e7f70b014fd Mon Sep 17 00:00:00 2001 From: Rinjae Date: Mon, 27 Oct 2025 20:29:45 +0900 Subject: [PATCH 4/4] no message --- WebContent/addon/request-header.jsp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WebContent/addon/request-header.jsp b/WebContent/addon/request-header.jsp index ff7c6db..28b0be1 100644 --- a/WebContent/addon/request-header.jsp +++ b/WebContent/addon/request-header.jsp @@ -6,4 +6,5 @@ while (names.hasMoreElements()) { out.println(name + ": " + request.getHeader(name)); } %> -Scheme: <%=request.getScheme()%> \ No newline at end of file + +request.getScheme(): <%=request.getScheme()%> \ No newline at end of file