Skip to content

Commit

Permalink
Closes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
IliyanIlievPH committed Jul 8, 2020
1 parent 4c07381 commit 56d5450
Show file tree
Hide file tree
Showing 23 changed files with 116 additions and 1,410 deletions.
1 change: 1 addition & 0 deletions src/MAVN.Job.SmartVouchers/MAVN.Job.SmartVouchers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<ItemGroup>
<PackageReference Include="AutoMapper" Version="9.0.0" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Lykke.Logs" Version="7.4.0" />
<PackageReference Include="LykkeBiz.Sdk" Version="1.0.0" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.13.1" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/MAVN.Job.SmartVouchers/Modules/DbModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
using AzureStorage.Tables;
using JetBrains.Annotations;
using Lykke.Common.Log;
using MAVN.Common.MsSql;
using Lykke.SettingsReader;
using MAVN.Job.SmartVouchers.Settings;
using MAVN.Persistence.PostgreSQL.Legacy;
using MAVN.Service.SmartVouchers.AzureRepositories;
using MAVN.Service.SmartVouchers.AzureRepositories.Entities;
using MAVN.Service.SmartVouchers.Domain.Repositories;
Expand Down Expand Up @@ -47,7 +47,7 @@ protected override void Load(ContainerBuilder builder)
.As<IPaymentRequestsRepository>()
.SingleInstance();

builder.RegisterMsSql(
builder.RegisterPostgreSQL(
_connectionString,
connString => new SmartVouchersContext(connString, false),
dbConn => new SmartVouchersContext(dbConn));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<ItemGroup>
<PackageReference Include="AutoMapper" Version="9.0.0" />
<PackageReference Include="MAVN.Common.MsSql" Version="3.0.0" />
<PackageReference Include="MAVN.Persistence.PostgreSQL.Legacy" Version="1.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down

This file was deleted.

Loading

0 comments on commit 56d5450

Please sign in to comment.