spring: datasource: # Defaults to in-memory H2. CI or a developer with MySQL can point TEST_DATASOURCE_* at a real # MySQL schema: several migrations use MySQL-only syntax (for example V77) that H2 cannot parse. url: ${TEST_DATASOURCE_URL:jdbc:h2:mem:talent_card;MODE=MySQL;DATABASE_TO_LOWER=TRUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE} username: ${TEST_DATASOURCE_USERNAME:sa} password: ${TEST_DATASOURCE_PASSWORD:} driver-class-name: ${TEST_DATASOURCE_DRIVER:org.h2.Driver} flyway: enabled: true jpa: hibernate: ddl-auto: validate app: payment: huifu: # The provider integration stays off in tests: no outbound Huifu calls, and readiness only # enforces the local onboarding and bank-card preconditions. enabled: false merchant-capability-required: false merchant: bank-branch-directory: # No test reads the branch directory, and importing bank-branches.xlsx inserts ~100k rows in # batches, which adds minutes to the first application context of every fresh schema (and has # been observed to stall). Production keeps the default, so a real deployment still imports it. import-enabled: false