Skip to content

Commit

Permalink
Merge pull request #171 from LuccaSA/FIX.IStorageService.Location
Browse files Browse the repository at this point in the history
MOD : IStorageService moved to Application layer
  • Loading branch information
nfaugout-lucca authored Oct 3, 2018
2 parents 3dd0c7b + 531e096 commit 0eda32d
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 20 deletions.
1 change: 0 additions & 1 deletion Application/RDD.Application/Controllers/AppController.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using RDD.Domain;
using RDD.Domain.Models.Querying;
using RDD.Infra;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
using RDD.Domain;
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace RDD.Infra
namespace RDD.Application
{
public interface IStorageService : IDisposable
{
Expand Down
1 change: 0 additions & 1 deletion Application/RDD.Application/RDD.Application.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

<ItemGroup>
<ProjectReference Include="..\..\Domain\RDD.Domain\RDD.Domain.csproj" />
<ProjectReference Include="..\..\Infra\RDD.Infra\RDD.Infra.csproj" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions Domain/RDD.Domain.Tests/Models/OpenRepository.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using RDD.Domain.Models.Querying;
using RDD.Application;
using RDD.Domain.Models.Querying;
using RDD.Domain.Rights;
using RDD.Infra;
using RDD.Infra.Storage;
using System.Linq;

Expand Down
4 changes: 2 additions & 2 deletions Domain/RDD.Domain.Tests/Models/UsersAppController.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using RDD.Application.Controllers;
using RDD.Infra;
using RDD.Application;
using RDD.Application.Controllers;

namespace RDD.Domain.Tests.Models
{
Expand Down
4 changes: 2 additions & 2 deletions Domain/RDD.Domain.Tests/QueryTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using RDD.Domain.Helpers;
using RDD.Application;
using RDD.Domain.Helpers;
using RDD.Domain.Models.Querying;
using RDD.Domain.Tests.Models;
using RDD.Domain.Tests.Templates;
using RDD.Infra;
using RDD.Infra.Storage;
using System;
using Xunit;
Expand Down
2 changes: 1 addition & 1 deletion Domain/RDD.Domain.Tests/Templates/SingleContextTests.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Microsoft.EntityFrameworkCore;
using RDD.Application;
using RDD.Domain.Mocks;
using RDD.Domain.Models;
using RDD.Domain.Patchers;
using RDD.Domain.Rights;
using RDD.Domain.Tests.Models;
using RDD.Infra;
using RDD.Infra.Storage;
using System;

Expand Down
1 change: 1 addition & 0 deletions Infra/RDD.Infra/RDD.Infra.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\Application\RDD.Application\RDD.Application.csproj" />
<ProjectReference Include="..\..\Domain\RDD.Domain\RDD.Domain.csproj" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion Infra/RDD.Infra/Storage/EFStorageService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.EntityFrameworkCore;
using RDD.Domain;
using RDD.Application;
using RDD.Infra.Exceptions;
using System;
using System.Collections.Generic;
Expand Down
3 changes: 2 additions & 1 deletion Infra/RDD.Infra/Storage/InMemoryStorageService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using RDD.Domain;
using RDD.Application;
using RDD.Domain;
using System;
using System.Collections;
using System.Collections.Generic;
Expand Down
1 change: 1 addition & 0 deletions Infra/RDD.Infra/Storage/ReadOnlyRepository.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.EntityFrameworkCore;
using RDD.Application;
using RDD.Domain;
using RDD.Domain.Helpers.Expressions;
using RDD.Domain.Models.Querying;
Expand Down
3 changes: 2 additions & 1 deletion Infra/RDD.Infra/Storage/Repository.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using RDD.Domain;
using RDD.Application;
using RDD.Domain;
using RDD.Domain.Rights;
using System.Collections.Generic;

Expand Down
5 changes: 2 additions & 3 deletions Web/RDD.Web.Tests/CollectionPropertiesTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using RDD.Domain;
using RDD.Domain.Models.Querying;
using RDD.Application;
using RDD.Domain;
using RDD.Domain.Tests.Models;
using RDD.Domain.Tests.Templates;
using RDD.Infra;
using RDD.Web.Querying;
using System;
using System.Linq;
Expand Down
4 changes: 2 additions & 2 deletions Web/RDD.Web.Tests/WebPagingTests.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using RDD.Domain;
using RDD.Application;
using RDD.Domain;
using RDD.Domain.Exceptions;
using RDD.Domain.Models.Querying;
using RDD.Domain.Tests.Models;
using RDD.Domain.Tests.Templates;
using RDD.Infra;
using RDD.Web.Querying;
using System;
using System.Collections.Generic;
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
- **Modification**: `IAppController.DeleteByIdsAsync(IEnumerable<TKey> ids) -> IAppController.DeleteByIdsAsync(IList<TKey> ids)`. This breaking change might require you to change your override signatures.
- **Modification**: `IRestCollection.DeleteByIdsAsync(IEnumerable<TKey> ids) -> IAppController.DeleteByIdsAsync(IList<TKey> ids)`. This breaking change might require you to change your override signatures.
- **Modification**: Error messages have been modified.
- **Modification**: IStorageService is now located inside the Application layer, namespace `RDD.Application`.

## New features
- **Added**: CHANGELOG.md
Expand Down

0 comments on commit 0eda32d

Please sign in to comment.