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/addon/request-header.jsp b/WebContent/addon/request-header.jsp index e3bde54..7c0113e 100644 --- a/WebContent/addon/request-header.jsp +++ b/WebContent/addon/request-header.jsp @@ -1,11 +1,9 @@ -<%@ page import="java.util.Enumeration" %> -<%@page contentType="text/html; charset=UTF-8" pageEncoding="utf-8" trimDirectiveWhitespaces="true"%> +<%@ page language="java" contentType="text/plain; charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true" %> <% - Enumeration names = request.getHeaderNames(); - while (names.hasMoreElements()) { - String name = names.nextElement(); - out.println(name + ": " + request.getHeader(name)); - } +java.util.Enumeration names = request.getHeaderNames(); +while (names.hasMoreElements()) { + String name = names.nextElement(); + out.println(name + ": " + request.getHeader(name)); +} %> ---------- request.getScheme(): <%=request.getScheme()%> \ No newline at end of file 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);