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;" },