From 2cefbf2855fb3b7289000efa6cbad74d178507a5 Mon Sep 17 00:00:00 2001 From: chpark Date: Tue, 12 May 2026 15:05:41 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=B0=EC=B9=98=20=EB=93=B1=EB=A1=9D?= =?UTF-8?q?=EB=90=9C=EC=97=B0=EA=B2=B0=20=EC=A0=80=EC=9E=A5=20=EB=88=84?= =?UTF-8?q?=EB=9D=BD=20+=20=EC=8B=A4=ED=96=89=20timeout=20+=20=EA=B6=8C?= =?UTF-8?q?=ED=95=9C=EA=B4=80=EB=A6=AC=20=EC=BD=94=EB=93=9C=20=EC=88=A8?= =?UTF-8?q?=EA=B9=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 배치(REST API→DB) 저장 시 매핑 payload 에 from_connection_id 추가 — 등록된 연결 선택값이 DB 에 저장 안 돼 수정 화면 재진입 시 manual 로 표시되던 문제 해결 - 배치 실행 호출만 timeout 30s → 5분(300000ms) override — 외부 API + 대량 INSERT 시 자주 끊기던 AxiosError 해결 - 권한관리 좌측 권한 카드에서 authCode 행 제거 — authName 만 노출(코드값은 hover tooltip 으로 유지). 검색은 authCode 도 매칭 유지 Co-Authored-By: Claude Opus 4.7 (1M context) --- frontend/app/(main)/admin/batch-management-new/page.tsx | 3 +++ frontend/app/(main)/admin/userMng/userAuthList/page.tsx | 7 +++---- frontend/lib/api/batch.ts | 6 +++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/frontend/app/(main)/admin/batch-management-new/page.tsx b/frontend/app/(main)/admin/batch-management-new/page.tsx index 05ba7283..9fd74706 100644 --- a/frontend/app/(main)/admin/batch-management-new/page.tsx +++ b/frontend/app/(main)/admin/batch-management-new/page.tsx @@ -1145,6 +1145,9 @@ export default function BatchManagementNewPage(props: BatchManagementNewPageProp : ("direct" as const); return { from_connection_type: "restapi" as const, + // 등록된 외부 REST API 연결을 선택했으면 그 id 를 함께 저장 → 로드 시 셀렉트 복원 + from_connection_id: + selectedRestApiId !== "manual" ? Number(selectedRestApiId) : undefined, from_table_name: fromEndpoint, from_column_name: fromColumnName, from_api_url: fromApiUrl, diff --git a/frontend/app/(main)/admin/userMng/userAuthList/page.tsx b/frontend/app/(main)/admin/userMng/userAuthList/page.tsx index e7777214..e3f48790 100644 --- a/frontend/app/(main)/admin/userMng/userAuthList/page.tsx +++ b/frontend/app/(main)/admin/userMng/userAuthList/page.tsx @@ -659,7 +659,9 @@ export default function UserAuthPage() { )} >
-
+ {/* authCode 는 내부 식별자만 — 화면에는 라벨(authName) 만 노출. + hover/title 로 코드값은 개발자가 확인 가능. */} +
{role.authName}
-
- {role.authCode} -
{ try { + // 배치 실행은 외부 API + 대량 INSERT/UPDATE 가 동기적으로 일어나 30초 이상 걸릴 수 있음. + // apiClient 기본 timeout(30s) 으로는 자주 끊겨 이 호출만 5분으로 override. const response = await apiClient.post<{ success: boolean; message?: string; @@ -434,7 +436,9 @@ export class BatchAPI { failedRecords: number; duration: number; }; - }>(`/batch-management/batch-configs/${batchId}/execute`); + }>(`/batch-management/batch-configs/${batchId}/execute`, undefined, { + timeout: 300000, // 5분 + }); return response.data; } catch (error) {