- db/schema.sql → db/schema.d/00-base.sql, compose가 schema.d 디렉터리 마운트 (모듈들이 db/schema.d/NN-<mod>.sql 로 disjoint 추가) - acq.fd에 범용 스크래치필드(T_ARG/T_STR/T_AMT/T_KEY/T_ID) → 모듈이 acq.fd 미수정 - setapp.sh gitignore 제외(필수 런타임 config) - 검증: 4서버 runok, 41서비스, 체인 커밋 유지 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
810 B
Bash
Executable file
18 lines
810 B
Bash
Executable file
#!/bin/bash
|
|
# Source this to get the full Enduro/X + ECPG/XA runtime environment.
|
|
# Used by entrypoint.sh (to boot) and by the driver run (to tpcall).
|
|
|
|
export NDRX_APPHOME=/app
|
|
export NDRX_CCONFIG=/app/conf/app.ini
|
|
export PATH=/app/bin:/usr/local/bin:$PATH
|
|
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
|
|
|
|
# --- ECPG XA resource manager (PostgreSQL), coordinated by tmsrv ---------------
|
|
# The XA switch (libndrxxaecpg.so) opens the DB connection at tpopen(); there is
|
|
# NO explicit EXEC SQL CONNECT anywhere. Host "db" is the compose service name.
|
|
export NDRX_XA_RES_ID=1
|
|
export NDRX_XA_DRIVERLIB=libndrxxaecpg.so
|
|
export NDRX_XA_RMLIB=-
|
|
export NDRX_XA_LAZY_INIT=1
|
|
export NDRX_XA_OPEN_STR='{ "url":"tcp:postgresql://db/acq", "user":"acq", "password":"acq"}'
|
|
export NDRX_XA_CLOSE_STR="$NDRX_XA_OPEN_STR"
|