Phase 1: 실동작 Enduro/X + PostgreSQL XA 매입 슬라이스
- Enduro/X 7.0.12 소스빌드 이미지(-DENABLE_POSTGRES=ON, libndrxxaecpg XA 스위치) - docker-compose: postgres(max_prepared_transactions=100) + endurox app - ECPG XA 서비스 3종: ACQUIRE→RECONCILE→SETTLE (tpservice + EXEC SQL) - 클라이언트 tpbegin/tpcall체인/tpcommit → tmsrv 2PC(prepare/commit) 원자 커밋 - 검증: 서비스 AVAIL, 커밋 row(status=S) psql 확인, 롤백 시 무잔존, pg_prepared_xacts=0 - 규명된 런타임 요건: sysctl fs.mqueue.*, ulimit msgqueue/nofile, XA open-str JSON - docs/architecture.md, README, service-catalog 설계 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
e6e29e6b5d
19 changed files with 1005 additions and 0 deletions
13
app/ubftab/acq.fd
Normal file
13
app/ubftab/acq.fd
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
$/* @(#) Acquiring (카드 매입) UBF field table */
|
||||
*base 6000
|
||||
|
||||
# name id type flag comment
|
||||
T_MERCHANT 1 string - -
|
||||
T_AMOUNT 2 long - -
|
||||
T_FEE 3 long - -
|
||||
T_NET 4 long - -
|
||||
T_STATUS 5 string - -
|
||||
T_PURCHASE_ID 6 long - -
|
||||
T_BIZDATE 7 string - -
|
||||
T_SETTLE_ID 8 long - -
|
||||
T_MSG 9 string - -
|
||||
12
app/ubftab/acq.fd.h
Normal file
12
app/ubftab/acq.fd.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/* @(#) Acquiring (카드 매입) UBF field table */
|
||||
/* fname bfldid */
|
||||
/* ----- ----- */
|
||||
#define T_MERCHANT ((BFLDID32)167778161) /* number: 6001 type: string */
|
||||
#define T_AMOUNT ((BFLDID32)33560434) /* number: 6002 type: long */
|
||||
#define T_FEE ((BFLDID32)33560435) /* number: 6003 type: long */
|
||||
#define T_NET ((BFLDID32)33560436) /* number: 6004 type: long */
|
||||
#define T_STATUS ((BFLDID32)167778165) /* number: 6005 type: string */
|
||||
#define T_PURCHASE_ID ((BFLDID32)33560438) /* number: 6006 type: long */
|
||||
#define T_BIZDATE ((BFLDID32)167778167) /* number: 6007 type: string */
|
||||
#define T_SETTLE_ID ((BFLDID32)33560440) /* number: 6008 type: long */
|
||||
#define T_MSG ((BFLDID32)167778169) /* number: 6009 type: string */
|
||||
Loading…
Add table
Add a link
Reference in a new issue