Commit Graph

230 Commits

Author SHA1 Message Date
curry772 780b9bd934 feat: 그룹 유량제어 메트릭 API 추가
- GroupMetricDTO: allowed/rejectedPerSecond/rejectedThreshold/rejectRatio 등
- InflowGroupMetricService: DualInflowControlManager를 통한 메트릭 조회·초기화
  (getManager() protected 처리 — 단위 테스트 서브클래싱 지원)
- InflowGroupMetricController: 4개 엔드포인트
  GET  /{groupId}/metric, GET  /metric
  POST /{groupId}/metric/reset, POST /metric/reset
- 단위 테스트 2종 (Service 16건, Controller 8건) 전체 통과
- elink-online-common 서브모듈 포인터 업데이트

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 09:40:46 +09:00
curry772 42f52a4974 refactor: InflowGroupBucketService 리플렉션 제거
Field 리플렉션으로 groupBucketList에 직접 접근하던 getCustomGroupBucket()을
InflowControlManager.getGroupBucket() public 메서드 호출로 교체.
불필요한 java.lang.reflect.Field, Map import 및 @SuppressWarnings 제거.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 15:21:15 +09:00
curry772 df1b1f2667 fix: 정상응답 FLAT 왕복 시 MSG 블록 누락 버그 수정 + FLAT 흐름 통합 테스트 추가
[StandardMessageCoordinatorDJB]
coordinateAfterRecvNonStdSyncResponse()에서 dman_rspn_dvcd 미설정 버그 수정.
기본값이 S(요청)이므로, 정상응답 처리 시에도 R(응답)으로 명시적 설정.
→ FlatReader가 MSG 조건(!S) 평가 시 올바르게 블록 포함 판단.

[StandardMessageFlatFlowTest]
비ERP/ERP 요청, 오류응답, 정상응답, 거래로그 시나리오를 포함한
FLAT 직렬화→파싱 왕복 32개 통합 테스트 추가.
elink-online-common submodule 포인터 업데이트 (StandardItem FLAT 버그 픽스 포함).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 10:34:43 +09:00
curry772 cd2ab33a0d fix: 표준헤더 진행번호(SendTime) 처리 수정
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 15:40:59 +09:00
curry772 b39a26350e Merge branch 'feature/jejubank-oauth-bypass' 2026-04-22 14:41:40 +09:00
curry772 bc79b8b166 fix: msg_list → MSG_LIST 대문자 통일 및 rowcnt 값 정수 표기 수정
- standard-layout-djb.csv: msg_list → MSG_LIST 로 변경
- StandardMessageCoordinatorDJB: MSG_LIST 상수 경로 수정,
  msg_list_rowcnt 설정값 "00001" → "1" (NUMBER 타입에 선행 0 불필요)
- StandardLayoutDJBTest: findItem 경로 MSG.msg_list → MSG.MSG_LIST
- StandardMessageSpecTest: JSON 경로 msg_list → MSG_LIST

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 13:39:53 +09:00
curry772 1508d01afb refactor: CSV 기본값 이관 및 EZDATA 조건 평가 동적화
- standard-layout-djb.csv: HEAD ERP 고정값(tx_cmgr_cd=S004, mgmt_brcd/tx_brcd/insl_brcd/blng_brcd=260),
  정상 MSG 필드(outp_msg_cd=NCMM00001, outp_msg_ctnt=정상처리되었습니다.) 기본값 추가,
  msg_list_rowcnt 기본값 00000→0 수정
- StandardMessageCoordinatorDJB: setErpHeadFields() 및 관련 상수 제거,
  coordinateAfterRecvNonStdSyncResponse 명시적 setData 호출 제거 (CSV 기본값으로 대체),
  evaluateBlockCondition() 추가로 EZDATA 활성화 조건을 CSV refPath/refValue에서 동적 평가,
  elfn_spr_fild 설정값을 ezdataItem.getRefValue()로 CSV에서 읽도록 변경
- StandardMessageSpecTest: tx_cmgr_cd가 항상 CSV 기본값으로 설정되므로 비ERP_ERP_HEAD_필드_미설정 테스트 제거
- 작업내역_20260421.md: 리팩터링 내용 반영

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 11:30:17 +09:00
curry772 17d533fe06 feat: 표준전문 스펙 필수 처리 항목 구현 및 테스트 추가
요청 처리:
- ERP 채널(corp_tlwn_virt_brcd=ERP) HEAD 지점코드 자동 설정 (tx_cmgr_cd, mgmt_brcd 등)
- ERP 채널 EZDATA 전자금융공통영역 자동 설정 (elfn_bnkn_dvcd=10, svr_tx_seqno, elfn_mac, IP)

응답 처리:
- coordinateBeforeResponse: guid_prgs_no +1, dman_rspn_dvcd="R" 설정 추가
- coordinateAfterRecvNonStdSyncResponse: 정상 MSG msg_list_rowcnt=0으로 수정, 정상처리 코드/메시지 업데이트

오류 처리:
- coordinateSetStandardMessageError: MSG_LIST에 outp_msg_desc, err_occu_loct 추가

테스트:
- StandardMessageSpecTest: 요청/응답 스펙 전체 62개 항목 검증
- StandardMessageEzdataJsonFlowTest: EZDATA JSON 흐름 22개 검증

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 10:45:08 +09:00
curry772 7e7d107dde 토급발급이력 이중 등록 버그 수정 2026-04-21 08:31:43 +09:00
curry772 557a071b1e 표준전문 테스트 추가
- 종료부 제거
- StandardMessageCoodinator 테스트
- StandardMessageManager init 테스트
- JSON 메시지 파싱 테스트
2026-04-20 16:54:38 +09:00
curry772 18b3e781b1 feat: DJBank 차세대 표준전문(R10) 초기 구현
- standard-layout-djb.csv: HEAD(평면구조)/EZDATA/MSG/DATA/전문종료부(@JJ) 레이아웃 정의
- standard-message-mapping-config-djb.properties: 논리키 → 필드경로 매핑 (GUID 40자, guid_prgs_no 별도 필드 등)
- standard-message-config.properties: DJB 클래스로 전환 (CSV 방식)
- GUIDGeneratorDJB: 40자 GUID 생성 (일자+시간+밀리초+시스템코드+노드+세션+Random)
- InterfaceMapperDJB: GUID 40자, guid_prgs_no 독립 필드, 응답코드 S/F 변환
- StandardMessageCoordinatorDJB: 전문 생성/응답/에러 각 단계 후처리
- 단위테스트 45개 전체 통과 (GUIDGenerator/InterfaceMapper/Layout 검증)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 11:46:18 +09:00
curry772 1efd2deb9d /dj 처럼 2자의 첫 url이 처리되도록 수정 2026-04-08 16:41:29 +09:00
curry772 f9a520eacc HTTP Header 로그 off 기능 - -Duse.http.header.log=y 옵션 추가시 로깅 2026-04-08 14:16:48 +09:00
curry772 dc1ee33517 오류 응답 시 필드 이름 변경(grantType -> grant_type) 2026-04-08 14:14:24 +09:00
curry772 42cbafd67d feature: Content-Type charset 기반 인바운드/아웃바운드 인코딩 처리 2026-04-07 10:15:41 +09:00
curry772 e21f134c11 feature: DJErp OAuth bypass 인바운드 처리 추가
- DJErpApiAdapterController: /dj/** 경로 전용 inbound 라우팅 컨트롤러
- DJErpApiAdapterService: DJErp 전용 어댑터 서비스
- DJErpOAuth2Controller: /dj/oauth/token, /dj/oauth2/token 토큰 발급 (Spring Security 우회)
- DJErpOAuth2AccessTokenRequest/Response: 토큰 요청/응답 VO
- HttpClient5AdapterServiceBypass: HttpClient5 기반 bypass 어댑터 (OAuth 토큰 자동 갱신 포함)
- RestAdapterMethodUrlFallbackRequestAction: URI 경로 세그먼트 축소 fallback 키 탐색 Action
- ApiAdapterController: 전체 주석처리 (비활성화)
- elink-online-common 서브모듈 업데이트

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 00:02:38 +09:00
curry772 51724ab0f5 KJB 로직 일부 정리 2026-03-30 15:55:58 +09:00
curry772 10d3ce75c1 URL과 header 값 라우팅 기능 통합 action 개발 2026-03-30 15:54:49 +09:00
curry772 1160c9f941 KJB_ROOTLESS_ARRAY -> DJB_ROOTLESS_ARRAY 2026-03-18 09:33:21 +09:00
curry772 10f4040c0c KJB -> DJB_ROOTLESS_ARRAY 2026-03-17 09:44:33 +09:00
cho a3162f62ea system_out 제거 2026-03-03 14:14:54 +09:00
cho b50db05607 수정 2026-02-27 09:56:09 +09:00
pksup 437fff3506 평균값 계산 로직 보완 2026-02-24 14:13:53 +09:00
cho e4902b70cd Merge branch 'jenkins_with_weblogic' of http://192.168.240.178:18080/eapim/eapim-online.git into jenkins_with_weblogic 2026-02-19 15:53:51 +09:00
cho d1aaff22ac body전문 없는 variablepath 및 예외처리 추가 2026-02-19 15:53:43 +09:00
daekuk 5277c79e8c - 박기섭 이사님 수정내용 반영 2026-02-12 09:15:00 +09:00
cho 349e12f23d error로그 추가 2026-02-10 16:48:33 +09:00
cho 52dd48a9b2 finally 에서 예외 발생 안하도록 수정. 2026-02-09 10:45:49 +09:00
cho 221e61758c Merge branch 'jenkins_with_weblogic' of http://192.168.240.178:18080/eapim/eapim-online.git into jenkins_with_weblogic 2026-02-09 10:00:55 +09:00
cho db63f0a617 getter 추가 2026-02-09 10:00:43 +09:00
cho 02dbea7b44 패카지 이동으로 인한 불필요 삭제. 2026-02-09 09:57:41 +09:00
jaewohong 463ec3d80f Inbound adapter POST FILTER HMAC_SHA256 에러발생시 적용 2026-02-06 16:21:15 +09:00
jaewohong 5a33c58df7 in to out aysn header relay 2026-02-06 10:12:23 +09:00
jaewohong a212144a0a Inbound async ack 줄때 in header를 그대로 ack header에 보내줌(카뱅) 2026-02-05 15:28:56 +09:00
cho bb8172dd6b 오타수정 2026-02-05 13:50:29 +09:00
cho 7c82ea4d55 Merge branch 'Flat_정렬기능' into jenkins_with_weblogic 2026-02-05 11:13:56 +09:00
cho 7657d6d475 수정 및 PrettyPrintController 스캔 추가. 2026-02-05 11:13:26 +09:00
cho 44dfa47106 flat전문 pretty 출력 api 추가. 2026-02-05 10:49:41 +09:00
jaewohong 0fb9394208 Merge branch 'jenkins_with_weblogic' of ssh://git@192.168.240.178:18081/eapim/eapim-online.git into jenkins_with_weblogic 2026-02-04 14:30:26 +09:00
jaewohong 94b707e71b INPUT Async ack 메시지 암호화 수정 2026-02-04 14:30:10 +09:00
cho 0b4938a60d 에러 날때만, 로깅. 2026-02-04 14:27:08 +09:00
cho c5b992abf4 Merge branch 'jenkins_with_weblogic' of http://192.168.240.178:18080/eapim/eapim-online.git into jenkins_with_weblogic 2026-02-04 13:40:16 +09:00
cho 46761226d5 prettyformatApi 추가. 2026-02-04 13:39:11 +09:00
jaewohong 20a341348b Async input 에 대한 ack msg암호화적용 2026-02-04 11:16:09 +09:00
cho 265cc66b1f 로그추가. 2026-02-03 16:26:29 +09:00
cho 113a7267d2 코드 개행 정리 2026-02-03 16:19:22 +09:00
cho a64764bedf 400 http헤더 로깅 위치 변경 -> finally 에서 예외 발생시에도 로깅하도록,
HttpResponseLoggingInterceptor 상세 로그 추가.
2026-02-03 16:18:45 +09:00
cho 03456a966e stacktrace로 메세지 나오는거 방지로직 추가. 2026-02-02 14:15:15 +09:00
cho 34d575443c Rest일떄 400 http헤더 로깅 추가, 및 interceptor 동작하는지 확인 로그 추가. 2026-02-02 11:40:42 +09:00
cho d9bfc07850 토큰 요청 메세지 로깅 토큰 발급 에러시에만 파일로깅. 2026-01-30 17:00:17 +09:00