Skip to content

Commit

Permalink
Closes #11
Browse files Browse the repository at this point in the history
  • Loading branch information
IliyanIlievPH committed Jul 1, 2020
1 parent 465d452 commit 11b6b3e
Show file tree
Hide file tree
Showing 27 changed files with 224 additions and 674 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<None Remove="MAVN.Service.CustomerManagement.Client.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Lykke.HttpClientGenerator" Version="2.5.0" />
<PackageReference Include="Lykke.SettingsReader" Version="5.2.0" />
<PackageReference Include="Lykke.HttpClientGenerator" Version="3.1.0" />
<PackageReference Include="Lykke.SettingsReader" Version="5.3.0" />
<PackageReference Include="Refit" Version="4.6.107" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Version>1.0.0</Version>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Version>1.0.0</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AutoMapper" Version="9.0.0" />
<PackageReference Include="Lykke.RabbitMqBroker" Version="7.13.1" />
<PackageReference Include="MAVN.Service.Credentials.Client" Version="1.0.1" />
<PackageReference Include="MAVN.Service.CustomerProfile.Client" Version="1.2.0" />
<PackageReference Include="Lykke.RabbitMqBroker" Version="7.13.3" />
<PackageReference Include="MAVN.Service.Credentials.Client" Version="1.1.0" />
<PackageReference Include="MAVN.Service.CustomerProfile.Client" Version="2.2.0" />
<PackageReference Include="MAVN.Service.NotificationSystem.SubscriberContract" Version="1.1.0" />
<PackageReference Include="MAVN.Service.PrivateBlockchainFacade.Client" Version="1.0.1" />
<PackageReference Include="MAVN.Service.PrivateBlockchainFacade.Contract" Version="1.0.1" />
<PackageReference Include="MAVN.Service.PrivateBlockchainFacade.Client" Version="1.1.0" />
<PackageReference Include="MAVN.Service.PrivateBlockchainFacade.Contract" Version="1.1.0" />
<PackageReference Include="MAVN.Service.Sessions.Client" Version="1.0.1" />
<PackageReference Include="StackExchange.Redis" Version="2.0.601" />
<PackageReference Include="StackExchange.Redis" Version="2.1.58" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\contract\MAVN.Service.CustomerManagement.Contract\MAVN.Service.CustomerManagement.Contract.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System.Data.Common;
using MAVN.Common.MsSql;
using System.Data.Common;
using MAVN.Persistence.PostgreSQL.Legacy;
using MAVN.Service.CustomerManagement.MsSqlRepositories.Entities;
using Microsoft.EntityFrameworkCore;

namespace MAVN.Service.CustomerManagement.MsSqlRepositories.Contexts
{
public class CmContext : MsSqlContext
public class CmContext : PostgreSQLContext
{
private const string Schema = "customer_management";

Expand All @@ -31,7 +31,7 @@ public CmContext(DbConnection dbConnection)
{
}

protected override void OnLykkeModelCreating(ModelBuilder modelBuilder)
protected override void OnMAVNModelCreating(ModelBuilder modelBuilder)
{
var verificationCodeEntityBuilder = modelBuilder.Entity<EmailVerificationCodeEntity>();
verificationCodeEntityBuilder.HasIndex(c => c.VerificationCode).IsUnique();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Version>1.0.0</Version>
<RootNamespace>MAVN.Service.CustomerManagement.MsSqlRepositories</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Lykke.AzureStorage" Version="8.13.4" />
<PackageReference Include="MAVN.Common.MsSql" Version="3.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.2.6" />
<PackageReference Include="MAVN.Persistence.PostgreSQL.Legacy" Version="1.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MAVN.Service.CustomerManagement.Domain\MAVN.Service.CustomerManagement.Domain.csproj" />
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 11b6b3e

Please sign in to comment.