diff --git a/client/MAVN.Service.Kyc.Client/MAVN.Service.Kyc.Client.csproj b/client/MAVN.Service.Kyc.Client/MAVN.Service.Kyc.Client.csproj
index 17360d1..c9e3b0c 100644
--- a/client/MAVN.Service.Kyc.Client/MAVN.Service.Kyc.Client.csproj
+++ b/client/MAVN.Service.Kyc.Client/MAVN.Service.Kyc.Client.csproj
@@ -25,7 +25,7 @@
-
+
\ No newline at end of file
diff --git a/src/MAVN.Service.Kyc.DomainServices/MAVN.Service.Kyc.DomainServices.csproj b/src/MAVN.Service.Kyc.DomainServices/MAVN.Service.Kyc.DomainServices.csproj
index 6df8b30..b454adb 100644
--- a/src/MAVN.Service.Kyc.DomainServices/MAVN.Service.Kyc.DomainServices.csproj
+++ b/src/MAVN.Service.Kyc.DomainServices/MAVN.Service.Kyc.DomainServices.csproj
@@ -5,11 +5,11 @@
-
-
+
+
-
-
+
+
diff --git a/src/MAVN.Service.Kyc.MsSqlRepositories/KycContext.cs b/src/MAVN.Service.Kyc.MsSqlRepositories/KycContext.cs
index 98a49ee..f7e098e 100644
--- a/src/MAVN.Service.Kyc.MsSqlRepositories/KycContext.cs
+++ b/src/MAVN.Service.Kyc.MsSqlRepositories/KycContext.cs
@@ -1,13 +1,13 @@
using System;
using System.Data.Common;
using JetBrains.Annotations;
-using MAVN.Common.MsSql;
+using MAVN.Persistence.PostgreSQL.Legacy;
using MAVN.Service.Kyc.MsSqlRepositories.Entities;
using Microsoft.EntityFrameworkCore;
namespace MAVN.Service.Kyc.MsSqlRepositories
{
- public class KycContext : MsSqlContext
+ public class KycContext : PostgreSQLContext
{
private const string Schema = "kyc";
@@ -37,7 +37,7 @@ public KycContext(DbConnection dbConnection)
{
}
- protected override void OnLykkeModelCreating(ModelBuilder modelBuilder)
+ protected override void OnMAVNModelCreating(ModelBuilder modelBuilder)
{
}
}
diff --git a/src/MAVN.Service.Kyc.MsSqlRepositories/MAVN.Service.Kyc.MsSqlRepositories.csproj b/src/MAVN.Service.Kyc.MsSqlRepositories/MAVN.Service.Kyc.MsSqlRepositories.csproj
index e5d1b26..dd029f3 100644
--- a/src/MAVN.Service.Kyc.MsSqlRepositories/MAVN.Service.Kyc.MsSqlRepositories.csproj
+++ b/src/MAVN.Service.Kyc.MsSqlRepositories/MAVN.Service.Kyc.MsSqlRepositories.csproj
@@ -6,8 +6,8 @@
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/MAVN.Service.Kyc.MsSqlRepositories/Repositories/KycInformationRepository.cs b/src/MAVN.Service.Kyc.MsSqlRepositories/Repositories/KycInformationRepository.cs
index 741f6b1..4d89585 100644
--- a/src/MAVN.Service.Kyc.MsSqlRepositories/Repositories/KycInformationRepository.cs
+++ b/src/MAVN.Service.Kyc.MsSqlRepositories/Repositories/KycInformationRepository.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using MAVN.Common.MsSql;
+using MAVN.Persistence.PostgreSQL.Legacy;
using MAVN.Service.Kyc.Domain.Models;
using MAVN.Service.Kyc.Domain.Repositories;
using MAVN.Service.Kyc.MsSqlRepositories.Entities;
diff --git a/src/MAVN.Service.Kyc.MsSqlRepositories/Repositories/KycStatusChangeRepository.cs b/src/MAVN.Service.Kyc.MsSqlRepositories/Repositories/KycStatusChangeRepository.cs
index 7863ff2..f4abf84 100644
--- a/src/MAVN.Service.Kyc.MsSqlRepositories/Repositories/KycStatusChangeRepository.cs
+++ b/src/MAVN.Service.Kyc.MsSqlRepositories/Repositories/KycStatusChangeRepository.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using MAVN.Common.MsSql;
+using MAVN.Persistence.PostgreSQL.Legacy;
using MAVN.Service.Kyc.Domain.Models;
using MAVN.Service.Kyc.Domain.Repositories;
using Microsoft.EntityFrameworkCore;
diff --git a/src/MAVN.Service.Kyc/MAVN.Service.Kyc.csproj b/src/MAVN.Service.Kyc/MAVN.Service.Kyc.csproj
index e9e4cac..6a000c7 100644
--- a/src/MAVN.Service.Kyc/MAVN.Service.Kyc.csproj
+++ b/src/MAVN.Service.Kyc/MAVN.Service.Kyc.csproj
@@ -26,8 +26,9 @@
-
-
+
+
+
diff --git a/src/MAVN.Service.Kyc/Modules/DbModule.cs b/src/MAVN.Service.Kyc/Modules/DbModule.cs
index 09e7aa6..9430375 100644
--- a/src/MAVN.Service.Kyc/Modules/DbModule.cs
+++ b/src/MAVN.Service.Kyc/Modules/DbModule.cs
@@ -5,7 +5,7 @@
using JetBrains.Annotations;
using Lykke.Common.Log;
using Lykke.SettingsReader;
-using MAVN.Common.MsSql;
+using MAVN.Persistence.PostgreSQL.Legacy;
using MAVN.Service.Kyc.Domain.Repositories;
using MAVN.Service.Kyc.MsSqlRepositories;
using MAVN.Service.Kyc.MsSqlRepositories.Repositories;
@@ -26,7 +26,7 @@ public DbModule(IReloadingManager appSettings)
protected override void Load(ContainerBuilder builder)
{
- builder.RegisterMsSql(
+ builder.RegisterPostgreSQL(
_connectionString,
connString => new KycContext(connString, false),
dbConn => new KycContext(dbConn));
diff --git a/tests/MAVN.Service.Kyc.Tests/MAVN.Service.Kyc.Tests.csproj b/tests/MAVN.Service.Kyc.Tests/MAVN.Service.Kyc.Tests.csproj
index 204d68b..f48994c 100644
--- a/tests/MAVN.Service.Kyc.Tests/MAVN.Service.Kyc.Tests.csproj
+++ b/tests/MAVN.Service.Kyc.Tests/MAVN.Service.Kyc.Tests.csproj
@@ -4,11 +4,17 @@
1.0.0
-
-
-
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
-
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+