chore: acquire-core migration monorepo (legacy C + Spring Boot target skeleton)
Some checks failed
ci / build (push) Failing after 2s

TxCore/ECPG legacy 매입·정산 C 슬라이스(빌드검증) + Spring Boot 멀티모듈 골격(mvn test green) + MIGRATION.md 전환룰 + CI(boot 빌드).
This commit is contained in:
forge-bot 2026-07-18 09:55:46 +00:00
commit ff0b0b60a2
31 changed files with 2208 additions and 0 deletions

View file

@ -0,0 +1,36 @@
/*
* server_main.c - acquire-core
*
* Tuxedo tmboot/ , TxCore
* . TP tpsvrinit() .
* / .
*/
#include <stdio.h>
#include "txcore.h"
/* 각 .pgc 서비스의 외부 선언 (TX_SERVICE 매크로가 생성한 함수) */
void MG_RECV(TXSVCINFO *ctx);
void AC_INTAKE(TXSVCINFO *ctx);
void AC_SETTLE(TXSVCINFO *ctx);
int main(void)
{
tx_set_loglevel(TX_LOG_INFO);
tx_log(TX_LOG_INFO, "acquire-core 온라인 서버 기동 (TxCore)");
/* 서비스 등록 (tpsvrinit 상당) */
tx_register("MG_RECV", MG_RECV);
tx_register("AC_INTAKE", AC_INTAKE);
tx_register("AC_SETTLE", AC_SETTLE);
tx_log(TX_LOG_INFO, "등록 서비스 수 = %d", tx_service_count());
printf("acquire-core-server 준비완료: 서비스 %d개 등록\n",
tx_service_count());
/*
* TP (advertise/serve) .
* DB .
*/
return 0;
}