diff --git a/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp b/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp index 7ea49da..b471b6e 100644 --- a/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp +++ b/WebContent/jsp/onl/transaction/apim/apiInterfaceManDetail.jsp @@ -1270,14 +1270,21 @@ function setupCloneInterfaceModal(event) { const eaiBzwkDstcd = $('#eaiBzwkDstcd').val(); + const eaiSvcName = $('#eaiSvcName').val(); const eaiSvcDesc = $('#eaiSvcDesc').val(); + const inOutType = $('#inOutType').val(); + const sendRecvType = $('#sendRecvType').val(); const inboundHttpMethod = $('#inboundHttpMethod').val(); + const inboundRestPath = $('#inboundRestPath').val(); $('#newBizCode').val(eaiBzwkDstcd).trigger('change'); + $('#newSvcName').val(eaiSvcName); + $('#newInOutType').val(inOutType); + $('#newSendRecvType').val(sendRecvType); $('#newSvcDesc').val(eaiSvcDesc); $('#newInboundHttpMethod').val(inboundHttpMethod).trigger('change'); + $('#newInboundRestPath').val(inboundRestPath); - $('#newSvcName').val(''); if($('#inboundRestPath').prop('disabled')){ $('#newRoutingOptionGroup').css('display','none'); }else{ @@ -1611,6 +1618,7 @@ + diff --git a/WebContent/jsp/onl/transaction/tracking/trackingMan.jsp b/WebContent/jsp/onl/transaction/tracking/trackingMan.jsp index eb6faa7..10ed68d 100644 --- a/WebContent/jsp/onl/transaction/tracking/trackingMan.jsp +++ b/WebContent/jsp/onl/transaction/tracking/trackingMan.jsp @@ -347,8 +347,8 @@ '<%=localeMessage.getString("tracking.keymgtmsgctnt")%>', '<%=localeMessage.getString("tracking.logprcssserno_tmp")%>', '<%=localeMessage.getString("tracking.telgmrecvtrancd")%>', - '<%=localeMessage.getString("tracking.eaisvcname")%>', - '<%=localeMessage.getString("tracking.eaisvcdesc")%>', + 'API ID', + 'API 명', '<%=localeMessage.getString("tracking.eaibzwkdstcd")%>', '<%=localeMessage.getString("tracking.extBizName")%>', '<%=localeMessage.getString("tracking.ifDisKeyVal")%>', @@ -598,7 +598,7 @@ - +
<%=localeMessage.getString("tracking.eaisvcname")%>API ID <%=localeMessage.getString("tracking.bzwkdstcd")%> diff --git a/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiInterfaceService.java b/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiInterfaceService.java index 4fecc3f..0558a4e 100644 --- a/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiInterfaceService.java +++ b/src/main/java/com/eactive/eai/rms/onl/transaction/apim/ApiInterfaceService.java @@ -619,11 +619,13 @@ public class ApiInterfaceService extends OnlBaseService { String fullPath = inboundHttpMethod + "|" + prop.getPrpty2val() + "/" + vo.getInboundRestPath(); vo.setApiFullPath(fullPath); + // HS04 AndEaiSvcNameNot : 업데이트일 때 자신의 fullpath 는 제외함 + standardMessageInfoQueryService.existsByApiFullPathAndEaiSvcNameNot(vo.getApiFullPath(), eaiServiceName); + break; } } } - } // HTTP 어댑터도 등록 가능하도록 수정. diff --git a/src/main/java/com/eactive/eai/rms/onl/transaction/apim/StandardMessageInfoQueryServiceForApi.java b/src/main/java/com/eactive/eai/rms/onl/transaction/apim/StandardMessageInfoQueryServiceForApi.java index cf5300d..af98df0 100644 --- a/src/main/java/com/eactive/eai/rms/onl/transaction/apim/StandardMessageInfoQueryServiceForApi.java +++ b/src/main/java/com/eactive/eai/rms/onl/transaction/apim/StandardMessageInfoQueryServiceForApi.java @@ -21,6 +21,15 @@ public class StandardMessageInfoQueryServiceForApi extends AbstractDataService findByEaisvcname(String eaiSvcName); void deleteByEaisvcname(String eaiSvcName); + + boolean existsByApifullpathAndEaisvcnameNot(String fullPath, String eaiServiceName); }