From 3f0afabbf71c684d685b88002e186410f3502e67 Mon Sep 17 00:00:00 2001 From: emalfroy Date: Tue, 30 Jan 2024 16:41:59 +0100 Subject: [PATCH] chore: update packages --- paket.dependencies | 21 +++-- paket.lock | 85 +++++++++++++++---- .../ProducerContextMigrationFactory.cs | 3 +- .../ProducerModule.cs | 2 +- .../paket.references | 2 +- .../ProducerContextMigrationFactory.cs | 4 +- src/PostalRegistry.Producer/ProducerModule.cs | 1 + src/PostalRegistry.Producer/paket.references | 2 +- .../ExtractContextMigrationFactory.cs | 3 +- .../ExtractModule.cs | 4 +- .../paket.references | 2 +- .../DataMigrationsContext.cs | 3 +- .../PostalLastChangedListModule.cs | 1 + .../LegacyContextMigrationFactory.cs | 4 +- .../LegacyModule.cs | 1 + .../PostalInformationSyndication.cs | 1 + .../paket.references | 2 +- .../MigrationsHelper.cs | 1 + .../SyndicationContext.cs | 1 + .../SyndicationModule.cs | 1 + .../paket.references | 2 +- 21 files changed, 106 insertions(+), 40 deletions(-) diff --git a/paket.dependencies b/paket.dependencies index 77c03cab..69d1fd1d 100755 --- a/paket.dependencies +++ b/paket.dependencies @@ -16,6 +16,11 @@ nuget Dapper 2.0.123 // For more healtchecks, look at https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks nuget AspNetCore.HealthChecks.SqlServer 6.0.2 +nuget AspNetCore.HealthChecks.NpgSql 6.0.2 + +nuget Npgsql 6.0.3 +nuget Npgsql.EntityFrameworkCore.PostgreSQL 6.0.3 +nuget Npgsql.EntityFrameworkCore.PostgreSQL.Design 2.0.0-preview1 nuget Microsoft.EntityFrameworkCore.Design 6.0.3 @@ -42,14 +47,16 @@ nuget Be.Vlaanderen.Basisregisters.CommandHandling.SqlStreamStore 8.0.0 nuget Be.Vlaanderen.Basisregisters.EventHandling 4.2.3 nuget Be.Vlaanderen.Basisregisters.EventHandling.Autofac 4.2.3 -nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.LastChangedList 11.0.1 -nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore 11.0.1 -nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore.Autofac 11.0.1 -nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner 11.0.1 -nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector.Testing 11.0.1 -nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.Syndication 11.0.1 +nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.LastChangedList 12.0.1 +nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore 12.0.1 +nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore.Autofac 12.0.1 +nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner 12.0.1 +nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer 12.0.1 +nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.Npgsql 12.0.1 +nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector.Testing 12.0.1 +nuget Be.Vlaanderen.Basisregisters.ProjectionHandling.Syndication 12.0.1 -nuget Be.Vlaanderen.Basisregisters.Projector 12.0.1 +nuget Be.Vlaanderen.Basisregisters.Projector 13.1.0 nuget Be.Vlaanderen.Basisregisters.DataDog.Tracing.Autofac 5.0.3 nuget Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql 5.0.3 diff --git a/paket.lock b/paket.lock index ee908f24..bcd5b835 100644 --- a/paket.lock +++ b/paket.lock @@ -1,6 +1,9 @@ RESTRICTION: == net6.0 NUGET remote: https://api.nuget.org/v3/index.json + AspNetCore.HealthChecks.NpgSql (6.0.2) + Microsoft.Extensions.Diagnostics.HealthChecks (>= 6.0.2) + Npgsql (>= 6.0) AspNetCore.HealthChecks.SqlServer (6.0.2) Microsoft.Data.SqlClient (>= 3.0.1) Microsoft.Extensions.Diagnostics.HealthChecks (>= 6.0) @@ -292,25 +295,38 @@ NUGET Be.Vlaanderen.Basisregisters.Middleware.AddProblemJsonHeader (2.0) Be.Vlaanderen.Basisregisters.ProblemDetails (8.0.1) System.Reflection.Metadata (>= 6.0.1) - Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector (11.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector (12.0.1) Microsoft.EntityFrameworkCore (>= 6.0.3) - Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector.Testing (11.0.1) - Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector (11.0.1) - Be.Vlaanderen.Basisregisters.ProjectionHandling.LastChangedList (11.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector.Testing (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.LastChangedList (12.0.1) Autofac.Extensions.DependencyInjection (>= 7.2) - Be.Vlaanderen.Basisregisters.AggregateSource.SqlStreamStore.Autofac (>= 6.0) + Be.Vlaanderen.Basisregisters.AggregateSource.SqlStreamStore (>= 7.1.3) Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql (>= 5.0) - Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner (11.0.1) - Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore.Autofac (11.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore (12.0.1) Microsoft.EntityFrameworkCore.SqlServer (>= 6.0.3) Microsoft.Extensions.DependencyInjection (>= 6.0) Polly (>= 7.2.3) SqlStreamStore.MsSql (>= 1.2) - Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner (11.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner (12.0.1) Autofac.Extensions.DependencyInjection (>= 7.2) Be.Vlaanderen.Basisregisters.EntityFrameworkCore.EntityTypeConfiguration (>= 3.0) - Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector (11.0.1) - Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore (11.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore (12.0.1) + Microsoft.EntityFrameworkCore.InMemory (>= 6.0.3) + Microsoft.EntityFrameworkCore.Relational (>= 6.0.3) + Microsoft.Extensions.Configuration (>= 6.0.1) + Microsoft.Extensions.Configuration.CommandLine (>= 6.0) + Microsoft.Extensions.Configuration.EnvironmentVariables (>= 6.0.1) + Microsoft.Extensions.Configuration.FileExtensions (>= 6.0) + Microsoft.Extensions.Configuration.Json (>= 6.0) + SqlStreamStore (>= 1.2) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.Microsoft (12.0.1) + Be.Vlaanderen.Basisregisters.DependencyInjection (>= 1.0.3) + Be.Vlaanderen.Basisregisters.EntityFrameworkCore.EntityTypeConfiguration (>= 3.0) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore (12.0.1) Microsoft.EntityFrameworkCore.InMemory (>= 6.0.3) Microsoft.EntityFrameworkCore.SqlServer (>= 6.0.3) Microsoft.Extensions.Configuration (>= 6.0.1) @@ -319,24 +335,38 @@ NUGET Microsoft.Extensions.Configuration.FileExtensions (>= 6.0) Microsoft.Extensions.Configuration.Json (>= 6.0) SqlStreamStore (>= 1.2) - Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore (11.0.1) - Be.Vlaanderen.Basisregisters.EventHandling (>= 4.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.Npgsql (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore (12.0.1) + Npgsql.EntityFrameworkCore.PostgreSQL (>= 6.0.3) + Polly (>= 7.2.3) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore (12.0.1) + Microsoft.EntityFrameworkCore.SqlServer (>= 6.0.3) + Polly (>= 7.2.3) + Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore (12.0.1) + Be.Vlaanderen.Basisregisters.EventHandling (>= 4.2.2) SqlStreamStore (>= 1.2) - Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore.Autofac (11.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore.Autofac (12.0.1) Autofac.Extensions.DependencyInjection (>= 7.2) - Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore (11.0.1) - Be.Vlaanderen.Basisregisters.ProjectionHandling.Syndication (11.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore (12.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Syndication (12.0.1) Microsoft.Extensions.Http (>= 6.0) Microsoft.Extensions.Logging (>= 6.0) Microsoft.SyndicationFeed.ReaderWriter (>= 1.0.2) - Be.Vlaanderen.Basisregisters.Projector (12.0.1) + Be.Vlaanderen.Basisregisters.Projector (13.1) Autofac (>= 6.3) Autofac.Extensions.DependencyInjection (>= 7.2) - Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector (>= 11.0.1) - Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner (>= 11.0.1) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Connector (>= 12.0) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner (>= 12.0) + Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.Microsoft (>= 12.0) Dapper (>= 2.0.123) Microsoft.Data.SqlClient (>= 4.1) Polly (>= 7.2.3) + System.Configuration.ConfigurationManager (>= 6.0) System.Threading.Tasks.Dataflow (>= 6.0) Be.Vlaanderen.Basisregisters.Shaperon (9.0.1) Be.Vlaanderen.Basisregisters.Testing.Infrastructure.Events (3.0) - copy_local: true, copy_content_to_output_dir: always, content: true @@ -595,6 +625,9 @@ NUGET Microsoft.EntityFrameworkCore.Relational (6.0.3) Microsoft.EntityFrameworkCore (>= 6.0.3) Microsoft.Extensions.Configuration.Abstractions (>= 6.0) + Microsoft.EntityFrameworkCore.Relational.Design (2.0.0-preview1-final) + Microsoft.EntityFrameworkCore.Relational (>= 2.0.0-preview1-final) + NETStandard.Library (>= 2.0.0-preview1-25301-01) Microsoft.EntityFrameworkCore.SqlServer (6.0.3) Microsoft.Data.SqlClient (>= 2.1.4) Microsoft.EntityFrameworkCore.Relational (>= 6.0.3) @@ -786,6 +819,22 @@ NUGET NodaTime.Serialization.JsonNet (3.0) Newtonsoft.Json (>= 12.0.1) NodaTime (>= 3.0 < 4.0) + Npgsql (6.0.3) + System.Runtime.CompilerServices.Unsafe (>= 6.0) + Npgsql.EntityFrameworkCore.PostgreSQL (6.0.3) + Microsoft.EntityFrameworkCore (>= 6.0.1) + Microsoft.EntityFrameworkCore.Abstractions (>= 6.0.1) + Microsoft.EntityFrameworkCore.Relational (>= 6.0.1) + Npgsql (>= 6.0.3) + Npgsql.EntityFrameworkCore.PostgreSQL.Design (2.0.0-preview1) + Microsoft.EntityFrameworkCore (>= 2.0.0-preview1-final) + Microsoft.EntityFrameworkCore.Relational (>= 2.0.0-preview1-final) + Microsoft.EntityFrameworkCore.Relational.Design (>= 2.0.0-preview1-final) + Microsoft.Extensions.DependencyInjection (>= 2.0.0-preview1-final) + Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.0.0-preview1-final) + NETStandard.Library (>= 1.6.1) + Npgsql (>= 3.2.2) + Npgsql.EntityFrameworkCore.PostgreSQL (>= 2.0.0-preview1) NSwag.CodeGeneration (13.15.10) Newtonsoft.Json (>= 9.0.1) NJsonSchema (>= 10.6.10) diff --git a/src/PostalRegistry.Producer.Snapshot.Oslo/ProducerContextMigrationFactory.cs b/src/PostalRegistry.Producer.Snapshot.Oslo/ProducerContextMigrationFactory.cs index 0f9db7c3..c1c9c726 100644 --- a/src/PostalRegistry.Producer.Snapshot.Oslo/ProducerContextMigrationFactory.cs +++ b/src/PostalRegistry.Producer.Snapshot.Oslo/ProducerContextMigrationFactory.cs @@ -1,10 +1,11 @@ namespace PostalRegistry.Producer.Snapshot.Oslo { using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer; using Microsoft.EntityFrameworkCore; using PostalRegistry.Infrastructure; - public class ProducerContextMigrationFactory : RunnerDbContextMigrationFactory + public class ProducerContextMigrationFactory : SqlServerRunnerDbContextMigrationFactory { public ProducerContextMigrationFactory() : base("ProducerProjectionsAdmin", HistoryConfiguration) { } diff --git a/src/PostalRegistry.Producer.Snapshot.Oslo/ProducerModule.cs b/src/PostalRegistry.Producer.Snapshot.Oslo/ProducerModule.cs index b93555a6..4002afce 100644 --- a/src/PostalRegistry.Producer.Snapshot.Oslo/ProducerModule.cs +++ b/src/PostalRegistry.Producer.Snapshot.Oslo/ProducerModule.cs @@ -3,7 +3,7 @@ namespace PostalRegistry.Producer.Snapshot.Oslo using System; using Autofac; using Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql.EntityFrameworkCore; - using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.MigrationExtensions; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer.MigrationExtensions; using Microsoft.Data.SqlClient; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; diff --git a/src/PostalRegistry.Producer.Snapshot.Oslo/paket.references b/src/PostalRegistry.Producer.Snapshot.Oslo/paket.references index b065da96..7efba64d 100644 --- a/src/PostalRegistry.Producer.Snapshot.Oslo/paket.references +++ b/src/PostalRegistry.Producer.Snapshot.Oslo/paket.references @@ -4,7 +4,7 @@ Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql Be.Vlaanderen.Basisregisters.GrAr.Legacy Be.Vlaanderen.Basisregisters.GrAr.Oslo Be.Vlaanderen.BasisRegisters.MessageHandling.Kafka.Producer -Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner +Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore.Autofac Be.Vlaanderen.Basisregisters.Projector diff --git a/src/PostalRegistry.Producer/ProducerContextMigrationFactory.cs b/src/PostalRegistry.Producer/ProducerContextMigrationFactory.cs index 98ffee87..a2290e2b 100644 --- a/src/PostalRegistry.Producer/ProducerContextMigrationFactory.cs +++ b/src/PostalRegistry.Producer/ProducerContextMigrationFactory.cs @@ -1,10 +1,10 @@ namespace PostalRegistry.Producer { - using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer; using Microsoft.EntityFrameworkCore; using PostalRegistry.Infrastructure; - public class ProducerContextMigrationFactory : RunnerDbContextMigrationFactory + public class ProducerContextMigrationFactory : SqlServerRunnerDbContextMigrationFactory { public ProducerContextMigrationFactory() : base("ProducerProjectionsAdmin", HistoryConfiguration) { } diff --git a/src/PostalRegistry.Producer/ProducerModule.cs b/src/PostalRegistry.Producer/ProducerModule.cs index 7c8f6622..cc9e1adc 100644 --- a/src/PostalRegistry.Producer/ProducerModule.cs +++ b/src/PostalRegistry.Producer/ProducerModule.cs @@ -4,6 +4,7 @@ namespace PostalRegistry.Producer using Autofac; using Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql.EntityFrameworkCore; using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.MigrationExtensions; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer.MigrationExtensions; using Microsoft.Data.SqlClient; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; diff --git a/src/PostalRegistry.Producer/paket.references b/src/PostalRegistry.Producer/paket.references index 8027ae6b..05131826 100644 --- a/src/PostalRegistry.Producer/paket.references +++ b/src/PostalRegistry.Producer/paket.references @@ -4,7 +4,7 @@ Be.Vlaanderen.Basisregisters.EventHandling.Autofac Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql Be.Vlaanderen.Basisregisters.GrAr.Contracts Be.Vlaanderen.BasisRegisters.MessageHandling.Kafka.Producer -Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner +Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore.Autofac Be.Vlaanderen.Basisregisters.Projector diff --git a/src/PostalRegistry.Projections.Extract/ExtractContextMigrationFactory.cs b/src/PostalRegistry.Projections.Extract/ExtractContextMigrationFactory.cs index 8820845d..a88516f1 100644 --- a/src/PostalRegistry.Projections.Extract/ExtractContextMigrationFactory.cs +++ b/src/PostalRegistry.Projections.Extract/ExtractContextMigrationFactory.cs @@ -1,10 +1,11 @@ namespace PostalRegistry.Projections.Extract { using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer; using Infrastructure; using Microsoft.EntityFrameworkCore; - public class ExtractContextMigrationFactory : RunnerDbContextMigrationFactory + public class ExtractContextMigrationFactory : SqlServerRunnerDbContextMigrationFactory { public ExtractContextMigrationFactory() : base("ExtractProjectionsAdmin", HistoryConfiguration) diff --git a/src/PostalRegistry.Projections.Extract/ExtractModule.cs b/src/PostalRegistry.Projections.Extract/ExtractModule.cs index d5c6b51f..ac9a2996 100755 --- a/src/PostalRegistry.Projections.Extract/ExtractModule.cs +++ b/src/PostalRegistry.Projections.Extract/ExtractModule.cs @@ -1,11 +1,11 @@ namespace PostalRegistry.Projections.Extract { using System; - using Microsoft.Data.SqlClient; using Autofac; - using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.MigrationExtensions; using Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql.EntityFrameworkCore; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer.MigrationExtensions; using Infrastructure; + using Microsoft.Data.SqlClient; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; diff --git a/src/PostalRegistry.Projections.Extract/paket.references b/src/PostalRegistry.Projections.Extract/paket.references index a9ec6c37..3fe9525d 100644 --- a/src/PostalRegistry.Projections.Extract/paket.references +++ b/src/PostalRegistry.Projections.Extract/paket.references @@ -1,7 +1,7 @@ Be.Vlaanderen.Basisregisters.AggregateSource Be.Vlaanderen.Basisregisters.EventHandling.Autofac Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql -Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner +Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore.Autofac Be.Vlaanderen.Basisregisters.Shaperon diff --git a/src/PostalRegistry.Projections.LastChangedList/DataMigrationsContext.cs b/src/PostalRegistry.Projections.LastChangedList/DataMigrationsContext.cs index d03b9e42..ca308f3e 100644 --- a/src/PostalRegistry.Projections.LastChangedList/DataMigrationsContext.cs +++ b/src/PostalRegistry.Projections.LastChangedList/DataMigrationsContext.cs @@ -5,6 +5,7 @@ namespace PostalRegistry.Projections.LastChangedList using System.Threading.Tasks; using Be.Vlaanderen.Basisregisters.ProjectionHandling.LastChangedList; using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer; using Infrastructure; using Microsoft.EntityFrameworkCore; @@ -42,7 +43,7 @@ public override Task SetErrorMessage(string projectionName, string? errorMessage } } - public class DataMigrationContextMigrationFactory : RunnerDbContextMigrationFactory + public class DataMigrationContextMigrationFactory : SqlServerRunnerDbContextMigrationFactory { private static MigrationHistoryConfiguration HistoryConfiguration => new MigrationHistoryConfiguration diff --git a/src/PostalRegistry.Projections.LastChangedList/PostalLastChangedListModule.cs b/src/PostalRegistry.Projections.LastChangedList/PostalLastChangedListModule.cs index f3388ad6..418536e2 100644 --- a/src/PostalRegistry.Projections.LastChangedList/PostalLastChangedListModule.cs +++ b/src/PostalRegistry.Projections.LastChangedList/PostalLastChangedListModule.cs @@ -4,6 +4,7 @@ namespace PostalRegistry.Projections.LastChangedList using Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql.EntityFrameworkCore; using Be.Vlaanderen.Basisregisters.ProjectionHandling.LastChangedList; using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.MigrationExtensions; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer.MigrationExtensions; using Infrastructure; using Microsoft.Data.SqlClient; using Microsoft.EntityFrameworkCore; diff --git a/src/PostalRegistry.Projections.Legacy/LegacyContextMigrationFactory.cs b/src/PostalRegistry.Projections.Legacy/LegacyContextMigrationFactory.cs index 0243de31..b6f69477 100644 --- a/src/PostalRegistry.Projections.Legacy/LegacyContextMigrationFactory.cs +++ b/src/PostalRegistry.Projections.Legacy/LegacyContextMigrationFactory.cs @@ -1,10 +1,10 @@ namespace PostalRegistry.Projections.Legacy { - using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer; using Infrastructure; using Microsoft.EntityFrameworkCore; - public class LegacyContextMigrationFactory : RunnerDbContextMigrationFactory + public class LegacyContextMigrationFactory : SqlServerRunnerDbContextMigrationFactory { public LegacyContextMigrationFactory() : base("LegacyProjectionsAdmin", HistoryConfiguration) diff --git a/src/PostalRegistry.Projections.Legacy/LegacyModule.cs b/src/PostalRegistry.Projections.Legacy/LegacyModule.cs index 30cdd3d6..dfe3eb52 100755 --- a/src/PostalRegistry.Projections.Legacy/LegacyModule.cs +++ b/src/PostalRegistry.Projections.Legacy/LegacyModule.cs @@ -5,6 +5,7 @@ namespace PostalRegistry.Projections.Legacy using Autofac; using Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql.EntityFrameworkCore; using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.MigrationExtensions; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer.MigrationExtensions; using Infrastructure; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; diff --git a/src/PostalRegistry.Projections.Legacy/PostalInformationSyndication/PostalInformationSyndication.cs b/src/PostalRegistry.Projections.Legacy/PostalInformationSyndication/PostalInformationSyndication.cs index e3874f5f..2e9baac0 100755 --- a/src/PostalRegistry.Projections.Legacy/PostalInformationSyndication/PostalInformationSyndication.cs +++ b/src/PostalRegistry.Projections.Legacy/PostalInformationSyndication/PostalInformationSyndication.cs @@ -4,6 +4,7 @@ namespace PostalRegistry.Projections.Legacy.PostalInformationSyndication using System.Collections.Generic; using Be.Vlaanderen.Basisregisters.GrAr.Provenance; using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.MigrationExtensions; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer.MigrationExtensions; using Infrastructure; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; diff --git a/src/PostalRegistry.Projections.Legacy/paket.references b/src/PostalRegistry.Projections.Legacy/paket.references index 4e009729..500d1d06 100755 --- a/src/PostalRegistry.Projections.Legacy/paket.references +++ b/src/PostalRegistry.Projections.Legacy/paket.references @@ -2,7 +2,7 @@ Be.Vlaanderen.Basisregisters.AggregateSource Be.Vlaanderen.Basisregisters.AggregateSource.SqlStreamStore Be.Vlaanderen.Basisregisters.EventHandling.Autofac Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql -Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner +Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore.Autofac Be.Vlaanderen.Basisregisters.GrAr.Common diff --git a/src/PostalRegistry.Projections.Syndication/MigrationsHelper.cs b/src/PostalRegistry.Projections.Syndication/MigrationsHelper.cs index 326cd302..c95b8f72 100755 --- a/src/PostalRegistry.Projections.Syndication/MigrationsHelper.cs +++ b/src/PostalRegistry.Projections.Syndication/MigrationsHelper.cs @@ -8,6 +8,7 @@ namespace PostalRegistry.Projections.Syndication using Microsoft.Extensions.Logging; using Polly; using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.MigrationExtensions; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer.MigrationExtensions; using Infrastructure; public class MigrationsLogger { } diff --git a/src/PostalRegistry.Projections.Syndication/SyndicationContext.cs b/src/PostalRegistry.Projections.Syndication/SyndicationContext.cs index 3384ba1f..b12db6ca 100755 --- a/src/PostalRegistry.Projections.Syndication/SyndicationContext.cs +++ b/src/PostalRegistry.Projections.Syndication/SyndicationContext.cs @@ -4,6 +4,7 @@ namespace PostalRegistry.Projections.Syndication using System.IO; using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner; using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.MigrationExtensions; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer.MigrationExtensions; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.Configuration; diff --git a/src/PostalRegistry.Projections.Syndication/SyndicationModule.cs b/src/PostalRegistry.Projections.Syndication/SyndicationModule.cs index 1ca713d5..0a968bc4 100755 --- a/src/PostalRegistry.Projections.Syndication/SyndicationModule.cs +++ b/src/PostalRegistry.Projections.Syndication/SyndicationModule.cs @@ -8,6 +8,7 @@ namespace PostalRegistry.Projections.Syndication.Modules using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.MigrationExtensions; using Be.Vlaanderen.Basisregisters.ProjectionHandling.Syndication; using Autofac; + using Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer.MigrationExtensions; using Infrastructure; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; diff --git a/src/PostalRegistry.Projections.Syndication/paket.references b/src/PostalRegistry.Projections.Syndication/paket.references index 1fb38e6f..11024133 100755 --- a/src/PostalRegistry.Projections.Syndication/paket.references +++ b/src/PostalRegistry.Projections.Syndication/paket.references @@ -21,7 +21,7 @@ Microsoft.SyndicationFeed.ReaderWriter Be.Vlaanderen.Basisregisters.AggregateSource Be.Vlaanderen.Basisregisters.EventHandling.Autofac Be.Vlaanderen.Basisregisters.DataDog.Tracing.Sql -Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner +Be.Vlaanderen.Basisregisters.ProjectionHandling.Runner.SqlServer Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore.Autofac Be.Vlaanderen.Basisregisters.ProjectionHandling.Syndication Be.Vlaanderen.Basisregisters.Shaperon