Skip to content

Commit

Permalink
Merge pull request #76 from IliyanIlievPH/37
Browse files Browse the repository at this point in the history
Closes #37
  • Loading branch information
PaterSantyago committed Jul 20, 2020
2 parents 4c07381 + 56d5450 commit 0b9ca86
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.

0 comments on commit 0b9ca86

Please sign in to comment.