From efe83ee9e792fb3b94ee360e2e7bffd5c4ef206e Mon Sep 17 00:00:00 2001 From: Arne Dumarey Date: Thu, 16 Jan 2025 17:05:15 +0100 Subject: [PATCH] fix(snapshot-producer): register legacymodule --- .../Infrastructure/Modules/ProducerModule.cs | 1 + src/MunicipalityRegistry.Producer.Snapshot.Oslo/appsettings.json | 1 + 2 files changed, 2 insertions(+) diff --git a/src/MunicipalityRegistry.Producer.Snapshot.Oslo/Infrastructure/Modules/ProducerModule.cs b/src/MunicipalityRegistry.Producer.Snapshot.Oslo/Infrastructure/Modules/ProducerModule.cs index cb20a45b..193388e4 100644 --- a/src/MunicipalityRegistry.Producer.Snapshot.Oslo/Infrastructure/Modules/ProducerModule.cs +++ b/src/MunicipalityRegistry.Producer.Snapshot.Oslo/Infrastructure/Modules/ProducerModule.cs @@ -39,6 +39,7 @@ public ProducerModule( protected override void Load(ContainerBuilder builder) { + builder.RegisterModule(new LegacyModule(_configuration, _services, _loggerFactory)); RegisterProjectionSetup(builder); builder diff --git a/src/MunicipalityRegistry.Producer.Snapshot.Oslo/appsettings.json b/src/MunicipalityRegistry.Producer.Snapshot.Oslo/appsettings.json index aac9fb80..f6b91fac 100644 --- a/src/MunicipalityRegistry.Producer.Snapshot.Oslo/appsettings.json +++ b/src/MunicipalityRegistry.Producer.Snapshot.Oslo/appsettings.json @@ -1,6 +1,7 @@ { "ConnectionStrings": { "Events": "Server=(localdb)\\mssqllocaldb;Database=EFProviders.InMemory.MunicipalityRegistry;Trusted_Connection=True;TrustServerCertificate=True;", + "LegacyProjections": "Server=(localdb)\\mssqllocaldb;Database=EFProviders.InMemory.MunicipalityRegistry;Trusted_Connection=True;TrustServerCertificate=True;", "ProducerProjections": "Server=(localdb)\\mssqllocaldb;Database=EFProviders.InMemory.MunicipalityRegistry;Trusted_Connection=True;TrustServerCertificate=True;", "ProducerProjectionsAdmin": "Server=(localdb)\\mssqllocaldb;Database=EFProviders.InMemory.MunicipalityRegistry;Trusted_Connection=True;TrustServerCertificate=True;" },