Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.7.0" />
<PackageReference Include="Hackney.Core.DynamoDb" Version="1.51.0" />
<PackageReference Include="Hackney.Core.DynamoDb" Version="1.80.0" />
<PackageReference Include="Hackney.Core.Sns" Version="1.52.0" />
<PackageReference Include="Hackney.Core.Testing.DynamoDb" Version="1.57.0" />
<PackageReference Include="Hackney.Core.Testing.Shared" Version="1.54.0" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using AutoFixture;
using FluentAssertions;
using Hackney.Core.DynamoDb.EntityUpdater;
using Hackney.Core.JWT;
using Hackney.Core.Sns;
using Hackney.Shared.Tenure.Domain;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
using AutoFixture;
using FluentAssertions;
using FluentAssertions.Extensions;
using Hackney.Core.DynamoDb.EntityUpdater;
using Hackney.Core.DynamoDb.EntityUpdater.Interfaces;
using Hackney.Core.Testing.DynamoDb;
using Hackney.Core.Testing.Shared;
using Hackney.Shared.Tenure.Boundary.Requests;
using Hackney.Shared.Tenure.Domain;
using Hackney.Shared.Tenure.Factories;
Expand All @@ -14,9 +15,7 @@
using System.Linq;
using System.Threading.Tasks;
using TenureInformationApi.V1.Gateways;
using TenureInformationApi.V1.Infrastructure;
using TenureInformationApi.V1.Infrastructure.Exceptions;
using TenureInformationApi.V1.Infrastructure.Interfaces;
using Xunit;

namespace TenureInformationApi.Tests.V1.Gateways
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
using AutoFixture;
using Hackney.Core.DynamoDb.EntityUpdater;
using Hackney.Core.JWT;
using Hackney.Core.Sns;
using Hackney.Shared.Tenure.Boundary.Requests;
using Hackney.Shared.Tenure.Infrastructure;
using Moq;
using System.Threading.Tasks;
using TenureInformationApi.V1.Factories;
using TenureInformationApi.V1.Factories.Interfaces;
using TenureInformationApi.V1.Gateways.Interfaces;
using TenureInformationApi.V1.Infrastructure;
using TenureInformationApi.V1.UseCase;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using AutoFixture;
using FluentAssertions;
using Hackney.Core.DynamoDb.EntityUpdater;
using Hackney.Core.JWT;
using Hackney.Core.Sns;
using Hackney.Shared.Tenure.Boundary.Requests;
Expand All @@ -10,10 +11,8 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TenureInformationApi.V1.Factories;
using TenureInformationApi.V1.Factories.Interfaces;
using TenureInformationApi.V1.Gateways.Interfaces;
using TenureInformationApi.V1.Infrastructure;
using TenureInformationApi.V1.UseCase;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using AutoFixture;
using FluentAssertions;
using Hackney.Core.DynamoDb.EntityUpdater;
using Hackney.Core.JWT;
using Hackney.Core.Sns;
using Hackney.Shared.Tenure.Boundary.Requests;
Expand All @@ -11,7 +12,6 @@
using System.Threading.Tasks;
using TenureInformationApi.V1.Factories;
using TenureInformationApi.V1.Gateways.Interfaces;
using TenureInformationApi.V1.Infrastructure;
using TenureInformationApi.V1.UseCase;
using Xunit;

Expand Down
6 changes: 2 additions & 4 deletions TenureInformationApi/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
using Amazon.XRay.Recorder.Handlers.AwsSdk;
using FluentValidation.AspNetCore;
using Hackney.Core.DynamoDb;
using Hackney.Core.DynamoDb.EntityUpdater;
using Hackney.Core.DynamoDb.EntityUpdater.Interfaces;
using Hackney.Core.DynamoDb.HealthCheck;
using Hackney.Core.HealthCheck;
using Hackney.Core.Http;
Expand All @@ -27,8 +29,6 @@
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.OpenApi.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Swashbuckle.AspNetCore.SwaggerGen;
using System;
using System.Collections.Generic;
Expand All @@ -41,8 +41,6 @@
using TenureInformationApi.V1.Factories.Interfaces;
using TenureInformationApi.V1.Gateways;
using TenureInformationApi.V1.Gateways.Interfaces;
using TenureInformationApi.V1.Infrastructure;
using TenureInformationApi.V1.Infrastructure.Interfaces;
using TenureInformationApi.V1.UseCase;
using TenureInformationApi.V1.UseCase.Interfaces;
using TenureInformationApi.Versioning;
Expand Down
4 changes: 2 additions & 2 deletions TenureInformationApi/TenureInformationApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
<PackageReference Include="AWSXRayRecorder.Handlers.AwsSdk" Version="2.9.1" />
<PackageReference Include="DeepCloner" Version="0.10.2" />
<PackageReference Include="FluentValidation.AspNetCore" Version="10.3.3" />
<PackageReference Include="Hackney.Core.DynamoDb" Version="1.51.0" />
<PackageReference Include="Hackney.Core.DynamoDb" Version="1.80.0" />
<PackageReference Include="Hackney.Core.HealthCheck" Version="1.49.0" />
<PackageReference Include="Hackney.Core.Http" Version="1.63.0" />
<PackageReference Include="Hackney.Core.JWT" Version="1.49.0" />
<PackageReference Include="Hackney.Core.Logging" Version="1.49.0" />
<PackageReference Include="Hackney.Core.Middleware" Version="1.49.0" />
<PackageReference Include="Hackney.Core.Middleware" Version="1.80.0" />
<PackageReference Include="Hackney.Core.Sns" Version="1.52.0" />
<PackageReference Include="Hackney.Core.Validation" Version="1.56.0" />
<PackageReference Include="Hackney.Core.Validation.AspNet" Version="1.53.0" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Hackney.Core.DynamoDb.EntityUpdater;
using Hackney.Core.JWT;
using Hackney.Core.Sns;
using Hackney.Shared.Tenure.Domain;
using Hackney.Shared.Tenure.Infrastructure;
using TenureInformationApi.V1.Infrastructure;

namespace TenureInformationApi.V1.Factories.Interfaces
{
Expand Down
1 change: 1 addition & 0 deletions TenureInformationApi/V1/Factories/TenureSnsFactory.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using Hackney.Core.DynamoDb.EntityUpdater;
using Hackney.Core.JWT;
using Hackney.Core.Sns;
using Hackney.Shared.Tenure.Domain;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Hackney.Core.DynamoDb.EntityUpdater;
using Hackney.Shared.Tenure.Boundary.Requests;
using Hackney.Shared.Tenure.Domain;
using Hackney.Shared.Tenure.Infrastructure;
using System.Threading.Tasks;
using TenureInformationApi.V1.Infrastructure;

namespace TenureInformationApi.V1.Gateways.Interfaces
{
Expand Down
5 changes: 2 additions & 3 deletions TenureInformationApi/V1/Gateways/TenureDynamoDbGateway.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using Amazon.DynamoDBv2.DataModel;
using FluentValidation.Results;
using Force.DeepCloner;
using Hackney.Core.DynamoDb.EntityUpdater;
using Hackney.Core.DynamoDb.EntityUpdater.Interfaces;
using Hackney.Core.Logging;
using Hackney.Shared.Tenure.Boundary.Requests;
using Hackney.Shared.Tenure.Boundary.Requests.Validation;
Expand All @@ -9,14 +11,11 @@
using Hackney.Shared.Tenure.Infrastructure;
using Microsoft.Extensions.Logging;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TenureInformationApi.V1.Gateways.Interfaces;
using TenureInformationApi.V1.Infrastructure;
using TenureInformationApi.V1.Infrastructure.Exceptions;
using TenureInformationApi.V1.Infrastructure.Interfaces;

namespace TenureInformationApi.V1.Gateways
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
using System.Text.Json;
using System.Threading.Tasks;
using System.Text.Json.Serialization;
using Hackney.Core;
using System.IO;
using System.Text;
using Hackney.Core;

namespace TenureInformationApi.V1.Infrastructure.Authorization
{
Expand Down
45 changes: 0 additions & 45 deletions TenureInformationApi/V1/Infrastructure/BodyRewind.cs

This file was deleted.

132 changes: 0 additions & 132 deletions TenureInformationApi/V1/Infrastructure/EntityUpdater.cs

This file was deleted.

Loading