Merge remote-tracking branch 'origin/master'

This commit is contained in:
Rinjae(GF63)
2026-09-30 18:29:03 +09:00
5 changed files with 42 additions and 11 deletions
@@ -687,12 +687,7 @@
<input type="radio" name="searchErrorYn" value="B" ${deepLinkErrorYn eq 'B' ? 'checked="checked"' : ''} id="sub2_2_1_3"><label for="sub2_2_1_3"><%= localeMessage.getString("tracking.bizErrLog") %></label>
</td>
<!-- 로그조회키 -->
<%-- <th><%=localeMessage.getString("tracking.trackasiskeyctnt")%></th>
<td>
<input type="text" name="searchTrackAsisKey1Ctnt" value="${param.searchTrackAsisKey1Ctnt}" style="width: 40%;">
<input type="text" name="searchTrackAsisKey2Ctnt" value="${param.searchTrackAsisKey2Ctnt}" style="width: 40%;">
</td> --%>
<!-- 대외업무, 업무서비스키 -->
<%-- <th><%=localeMessage.getString("tracking.extBizCd")%></th>
<td>
@@ -713,8 +708,13 @@
</tr>
<tr>
<th><%=localeMessage.getString("tracking.eaisvcserno_tmp")%></th>
<td colspan="3"><input type="text" name="searchEaiSvcSerno" value="${param.searchEaiSvcSerno}"></td>
<td><input type="text" name="searchEaiSvcSerno" value="${param.searchEaiSvcSerno}"></td>
<!-- 로그조회키 -->
<th><%=localeMessage.getString("tracking.trackasiskeyctnt")%></th>
<td>
<input type="text" name="searchTrackAsisKey1Ctnt" value="${param.searchTrackAsisKey1Ctnt}" style="width: 40%;">
<input type="text" name="searchTrackAsisKey2Ctnt" value="${param.searchTrackAsisKey2Ctnt}" style="width: 40%;">
</td>
<th><%=localeMessage.getString("tracking.keymgtmsgctnt")%></th>
<td colspan="2"><input type="text" name="searchGuid" value="${param.searchGuid}" ></td>
@@ -1272,8 +1272,15 @@ html,hbody {
<th><%=localeMessage.getString("trackingDetail.flovrYn")%></th><td><input type="text" name="flovrYn" readonly="readonly"/> </td>
</tr> --%>
</table>
<%-- <div class="table_row_title"><%=localeMessage.getString("trackingDetail.etc")%></div>
<div class="table_row_title"><%=localeMessage.getString("trackingDetail.etc")%></div>
<table class="table_row" cellspacing="0" >
<colgroup>
<col style="width:180px"/>
<col style="width:300px" />
<col style="width:180px"/>
<col style="width:300px" />
</colgroup>
<%--
<tr>
<th style="width:20%;"><%=localeMessage.getString("trackingDetail.rspnsErrcdName")%></th>
<td style="width:30%;"><input type="text" name="rspnsErrcdName" readonly="readonly"/> </td>
@@ -1296,6 +1303,7 @@ html,hbody {
<th><%=localeMessage.getString("trackingDetail.sevrGroupName")%></th><td><input type="text" name="sevrGroupName" readonly="readonly"/> </td>
<th><%=localeMessage.getString("trackingDetail.cmpenSvcPrcssName")%></th><td><input type="text" name="cmpenSvcPrcssName" readonly="readonly"/> </td>
</tr>
--%>
<tr>
<th><%=localeMessage.getString("trackingDetail.trackAsisKey1Ctnt")%></th><td><input type="text" name="trackAsisKey1Ctnt" readonly="readonly"/> </td>
<th><%=localeMessage.getString("trackingDetail.trackAsisKey2Ctnt")%></th><td><input type="text" name="trackAsisKey2Ctnt" readonly="readonly"/> </td>
@@ -1304,7 +1312,7 @@ html,hbody {
<th><%=localeMessage.getString("trackingDetail.trackAsisKey3Ctnt")%></th><td><input type="text" name="trackAsisKey3Ctnt" readonly="readonly"/> </td>
<th><%=localeMessage.getString("trackingDetail.trackAsisKey4Ctnt")%></th><td><input type="text" name="trackAsisKey4Ctnt" readonly="readonly"/> </td>
</tr>
</table> --%>
</table>
</form>
</div><!-- end.popup_box -->
<div id="bizLogObjectDialog" style="white-space: pre-wrap; overflow-y:auto" title="Biz Log Object Detail">
+1
View File
@@ -331,6 +331,7 @@ DB 테이블 `PTL_PROPERTY` 에 그룹명 `'Portal'` 로 저장된다.
**인터페이스**
- 최초 연동시 APIM에 등록되지 않은 경우에만 인터페이스를 생성한다.
- 최초 연동시 eCams 인터페이스 목록에 노출하기 위해 빈 `json` 파일을 개발서버에 다운로드한다.
- 기본정보(API명, 업무구분, 요청/응답, 당타발)만 등록되며 업데이트는 하지 않는다
- interface id의 9번째 문자가 `D` 가 아니면 `D`를 추가하여 개발용 인터페이스를 추가로 생성한다
- (ex : `ASAPICOROEBB082802S2S2` 인 경우, `ASAPICORDOEBB082802S2S2` 를 추가로 생성한다)
@@ -54,7 +54,7 @@ public class LayoutSyncHistoryService extends AbstractDataService<LayoutSyncHist
}
List<LayoutSyncHistoryEntity> entities = query.select(q)
.orderBy(q.recvamndhms.desc(), q.seqno.desc())
.orderBy(q.seqno.desc())
.fetch();
List<LayoutSyncHistoryUI> rows = entities.stream().map(this::convertToUI).collect(Collectors.toList());
@@ -10,6 +10,7 @@ import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletInputStream;
import javax.servlet.ServletOutputStream;
@@ -35,6 +36,7 @@ import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.View;
import org.xml.sax.InputSource;
@@ -55,6 +57,7 @@ import com.eactive.eai.rms.common.util.CommonUtil;
import com.eactive.eai.rms.common.util.StringUtils;
import com.eactive.eai.rms.onl.common.exception.BizException;
import com.eactive.eai.rms.onl.common.util.DateUtil;
import com.eactive.eai.rms.onl.loader.controller.LoaderController;
import com.eactive.eai.transformer.layout.Item;
import com.eactive.eai.transformer.layout.Types;
@@ -81,6 +84,9 @@ public class LayoutSyncController extends OnlBaseAnnotationController implements
@Autowired
private MonitoringCodeService monitoringCodeService;
@Autowired
private LoaderController loaderController;
/**
@@ -1220,7 +1226,10 @@ public class LayoutSyncController extends OnlBaseAnnotationController implements
boolean isDevMake = this.isDevMake(interfaceId);
if (command.equals("insert")) {
String serviceType = DataSourceContextHolder.getDataSourceType().getName();
insertInterfaceDjb(interfaceId, body, param);
downloadFull(serviceType, interfaceId); //eCams 인터페이스 목록에 노출시키기 위해 빈 JSON파일을 생성한다
if (isDevMake) {
interfaceId = interfaceId.substring(0,8) + "D" + interfaceId.substring(8);
insertInterfaceDjb(interfaceId, body, param);
@@ -1308,4 +1317,17 @@ public class LayoutSyncController extends OnlBaseAnnotationController implements
interfaceService.insertInterface(info);
}
/**
* LoaderController 의 downloadfull 호출 (인터페이스 전체 JSON 배포파일 생성)
* 실패해도 싱크 처리는 계속 진행한다.
*/
@SuppressWarnings("unchecked")
private void downloadFull(String serviceType, String interfaceId) {
ModelAndView mav = loaderController.interfaceDownLoadFully(serviceType, interfaceId);
Map<String, String> result = (Map<String, String>) mav.getModel().get("result");
if (result == null || !"success".equals(result.get("status"))) {
logger.warn("interface downloadfull fail - interfaceId={}, message={}", interfaceId, result == null ? null : result.get("message"));
}
}
}