mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-10-31 10:11:49 +08:00
sweep every module to satisfy the new method-name rule, renaming about 40 methods together with their interface, implementation, test and cli call sites: store find() lookups become get(), analytics queryLatest/queryHistory become getLatest/getHistory, sql helper query() becomes spec()/sql(), jwks fetch() becomes load(), and the cursor record component queryDigest becomes requestDigest no behavior changes; full unit suite (5278 tests) and both quality gates stay green
DC3 DB TCK
dc3-db-tck is the relational contract suite for the canonical PostgreSQL runtime.
It executes the production R2DBC repository ports directly; JDBC, MyBatis and
alternate relational engines are deliberately absent from this module.
Contract tests
PostgresDialectContractIT boots a disposable Testcontainers PostgreSQL instance and runs the
same DatabaseClient/repository contract used by production:
| Test | Engine |
|---|---|
PostgresDialectContractIT |
PostgreSQL |
Running
Requires a container runtime — the tests are annotated @Testcontainers(disabledWithoutDocker = true) and are skipped
without Docker:
mvn -s .mvn/settings.xml -pl dc3-db/dc3-db-tck -am verify
Related Modules
dc3-db-r2dbc-core/dc3-db-r2dbc-runtime— reactive contracts and runtimedc3-db-r2dbc-postgres— the only supported relational adapter