6 Commits
Author SHA1 Message Date
Arnaud Dartois 88da58723f Store detection snapshots in managed storage
Heimdall Gitea / Build and tests (pull_request) Failing after 1m26s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-22 20:50:40 +02:00
Arnaud Dartois cb1a4dd2ad Merge remote-tracking branch 'origin/main' into audit/snapshot-gallery
Heimdall Gitea / Build and tests (pull_request) Failing after 2m41s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
# Conflicts:
#	tests/Heimdall.IntegrationTests/Controllers/EventsControllerTests.cs
2026-10-20 21:06:20 +02:00
Arnaud Dartois 99aa8d4b28 test(gallery): verify translated snapshot search paging 2026-10-20 21:00:38 +02:00
Arnaud Dartois a717653dc9 test(ci): align unknown-resource reception with forbidden security contract 2026-10-20 07:38:05 +02:00
Arnaud Dartois ee7894646f test: remplace InMemory par Testcontainers PostgreSQL
- Ajoute Testcontainers.PostgreSql v4.13.0\n- PostgreSqlContainerFixture: collection fixture xUnit avec postgres:17-alpine\n- HeimdallWebApplicationFactory: accepte connectionString pour vrai PostgreSQL\n- PostgresTestBase: classe de base pour tous les tests integration\n- Ajoute [Collection("Postgres")] aux 9 classes de test\n- Database:MigrateOnStartup active quand PostgreSQL est utilise\n- Programme le Hangfire (skip en test via isTesting)\n\nAvant: InMemory (pas de contraintes, comportement different)\nApres: Vrai PostgreSQL dans un container temporaire\n\nTests: 226/226 passed (61 integration avec vrai PostgreSQL)
2026-07-21 10:24:11 +00:00
Arnaud Dartois 8ac8baf20a feat(storage): add S3 snapshot service and comprehensive tests for phases 2-3
Adds S3-compatible snapshot storage (Alarik) with AWS Signature V4,
upload, thumbnail, and delete operations. Backfills Phase 2 & 3 with
27 new tests covering camera assignment strategies, event CRUD with
filtering, snapshot attachment, and API contract validation.

- SnapshotService with S3 REST API via HttpClient + SigV4 signing
- 10 unit tests for CameraAssignmentService (assign, release, failover, history)
- 9 unit tests for CameraEventService (create, query, filter, delete, snapshot)
- 8 integration tests for AssignmentsController + EventsController
- SnapshotService registration with 5-min timeout HTTP client
2026-07-19 13:14:05 +00:00