feat: complete local camera and operations acceptance
Heimdall Gitea / Detect CI scope (pull_request) Successful in 1m27s
Heimdall Gitea / Build and tests (pull_request) Failing after 12m27s
Heimdall Gitea / Build and scan server image (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Skipped
Heimdall Gitea / Build and scan NVIDIA Agent image (pull_request) Skipped
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / CI policy (pull_request) Failing after 4s

This commit is contained in:
arnaud.dartois committed 2026-11-05 11:02:41 +01:00
1 parent ae3203222b
commit 3208bc93fe
52 files changed
+1193 -106

No files matched your search

@@ -45,6 +45,12 @@ public static class DependencyInjection
services.AddScoped<IApplicationDbContext>(sp => sp.GetRequiredService<AppDbContext>());
services.AddScoped<IIdentityPersistenceContext>(sp => sp.GetRequiredService<AppDbContext>());
services.AddOptions<PlateOcrOptions>()
.Bind(configuration.GetSection(PlateOcrOptions.SectionName))
.Validate(options => options.IsValid(), "Plate OCR options are invalid")
.ValidateOnStart();
services.AddSingleton<ILicensePlateOcr, TesseractPlateOcr>();
services.AddScoped<ILicensePlateRecognitionService, LicensePlateRecognitionService>();
// Stockage (spec Phase 8) — provider résolu depuis les settings DB
// (storage.provider = Local | S3), factory scoped (lit la config à
@@ -52,7 +58,6 @@ public static class DependencyInjection
services.AddSingleton<StorageProviderFactory>();
services.AddScoped<IStorageProvider>(sp => sp.GetRequiredService<StorageProviderFactory>());
services.AddScoped<IStorageObjectDeletion>(sp => sp.GetRequiredService<StorageProviderFactory>());
services.AddScoped<IRecordingStorage, RecordingStorageAdapter>();
// Health checks (spec 13.2) — PostgreSQL + dépendances optionnelles.
services.AddHealthChecks()