feat(finance): add credit and wallet hold lifecycle

This commit is contained in:
2026-09-05 11:54:55 +08:00
parent 6f2b2babc6
commit ba4407eb0d
19 changed files with 587 additions and 70 deletions
@@ -25,6 +25,7 @@ test('Compose and deploy script expose finance with fail-closed database config'
assert.match(compose, /image: \$\{IMAGE_REPOSITORY\}\/finance:\$\{IMAGE_TAG\}/)
assert.match(compose, /SERVER_PORT: 9203/)
assert.match(compose, /FINANCE_DB_URL: \$\{FINANCE_DB_URL\}/)
assert.match(compose, /FINANCE_WALLET_DEFAULT_CREDIT_LIMIT: \$\{FINANCE_WALLET_DEFAULT_CREDIT_LIMIT:-0\.00\}/)
assert.match(serviceMap, /^ finance:\s*$/m)
assert.match(serviceMap, /jar: finance\/target\/finance-service-1\.0\.0-SNAPSHOT\.jar/)
assert.match(deployScript, /FINANCE_DB_URL FINANCE_DB_USERNAME FINANCE_DB_PASSWORD/)