5.1. CDA¶
Detailed Design & Implementation: Communication lifecycle contracts dimpl~communication-control-contracts
|
Detailed Design & Implementation: Capability-limited diagnostic communication access dimpl~communication-control-access
|
Detailed Design & Implementation: Authoritative communication lifecycle operations dimpl~communication-control-operations
|
Unit Test: Recovery discards an incomplete transaction that crashed while still recording test~storage-atomicity-recovery-discards-recording-phase-crash
|
Detailed Design & Implementation: Systemd Watchdog Integration dimpl~system-sd-notify-watchdog-integration
|
Detailed Design & Implementation: Local filesystem implementation of the Storage Access API dimpl~storage-local-filesystem-implementation
|
Detailed Design & Implementation: Default deferred communication policy dimpl~default-communication-policy
|
Detailed Design & Implementation: Write-ahead log with checksum-verified one-phase commit dimpl~storage-wal-journaling
|
Detailed Design & Implementation: Serialized communication lifecycle controller dimpl~communication-lifecycle-controller
|
Detailed Design & Implementation: Startup recovery of interrupted transactions from the WAL dimpl~storage-crash-recovery
|
Unit Test: Recovery restores the original file from its backup after an interrupted overwrite test~storage-atomicity-recovery-restores-overwritten-file
|
Detailed Design & Implementation: Starts HTTP Server (TCP or Unix domain socket) dimpl~sovd-api-http-server
|
Unit Test: Recovery removes a newly-written file left by an interrupted commit with no backup to restore test~storage-atomicity-recovery-removes-new-file
|
Detailed Design & Implementation: Deferred diagnostic request admission dimpl~deferred-sovd-admission
|
Unit Test: Recovery removes an empty collection directory left by an interrupted `CreateCollection` commit test~storage-atomicity-recovery-removes-new-collection
|
Integration Test: On-demand requests report pending before activation completes itest~deferred-on-demand-pending
|
Detailed Design & Implementation: PUT endpoint for ECU variant detection dimpl~sovd-api-ecu-variant-detection
|
Unit Test: Recovery cleans up orphaned backup files left after a successful commit test~storage-atomicity-recovery-cleans-orphaned-backups
|
Detailed Design & Implementation: Deferred diagnostic transport activation dimpl~deferred-doip-transport
|
Integration Test: End-to-end GET/POST over a Unix domain socket bound webserver itest~sovd-api-http-server-unix-socket
|
Unit Test: Recovery discards a WAL with a corrupt checksum during the recording phase test~storage-atomicity-recovery-discards-corrupt-wal
|
Unit Test: Eager and on-demand modes admit communication activation test~deferred-admitting-modes-activate
|
Detailed Design & Implementation: Post-update deferred communication handling dimpl~post-update-deferred-communication
|
Integration Test: On-demand startup sends no UDS request before an authorized trigger itest~deferred-on-demand-uds-silence
|
Unit Test: Recovery fully rolls back a multi-operation transaction that created a collection and wrote into it test~storage-atomicity-recovery-removes-orphaned-collection-dir
|
Unit Test: Nonblocking activation follows the configured initialization mode test~deferred-request-activation-policy
|
Detailed Design & Implementation: Atomic commit of a staged transaction via WAL and backup-rename dimpl~storage-atomic-commit
|
Integration Test: Deferred post-update mode requires communication reactivation itest~deferred-post-update
|
Detailed Design & Implementation: GET /data/{service} SDG handler dimpl~sovd-api-component-data-sdgsd
|
Detailed Design & Implementation: Deferred communication startup wiring dimpl~deferred-communication-startup
|
Integration Test: Disabled mode rejects request activation and sends no UDS request itest~deferred-disabled-uds-silence
|
Unit Test: WAL entries round-trip through checksum-verified encode/decode test~storage-wal-checksum-round-trip
|
Detailed Design & Implementation: GET /operations/{service} SDG handler dimpl~sovd-api-component-operations-sdgsd
|
Unit Test: Binds the server to a unix domain socket and reaches it test~sovd-api-http-server-unix-socket-bind
|
Unit Test: Successful apply leaves communication disabled in deferred post-update mode test~deferred-post-update-apply
|
Integration Test: Disabled automatic variant detection permits an explicit ECU trigger itest~variant-detection-explicit
|
Unit Test: Removes a stale unix socket file left by an unclean shutdown before binding test~sovd-api-http-server-unix-socket-stale-cleanup
|
Unit Test: Successful rollback leaves communication disabled in deferred post-update mode test~deferred-post-update-rollback
|
Unit Test: Fails cleanly when a stale unix socket path can't be removed test~sovd-api-http-server-unix-socket-stale-cleanup-failure
|
Unit Test: Deferred request admission triggers activation and returns a retry hint test~deferred-sovd-admission
|
Unit Test: Gateway construction does not bind its discovery socket test~deferred-doip-passive-construction
|