renamed from service to repository, makes more sense i guess

This commit is contained in:
TomPallister 2016-10-05 20:51:02 +01:00
parent f505fd6e90
commit d86a52c1b8
9 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
using Ocelot.Library.Infrastructure.Responses;
namespace Ocelot.Library.Infrastructure.Services
namespace Ocelot.Library.Infrastructure.Repository
{
public class CannotAddDataError : Error
{

View File

@ -1,6 +1,6 @@
using Ocelot.Library.Infrastructure.Responses;
namespace Ocelot.Library.Infrastructure.Services
namespace Ocelot.Library.Infrastructure.Repository
{
public class CannotFindDataError : Error
{

View File

@ -1,6 +1,6 @@
using Ocelot.Library.Infrastructure.Responses;
namespace Ocelot.Library.Infrastructure.Services
namespace Ocelot.Library.Infrastructure.Repository
{
public interface IScopedRequestDataRepository
{

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
using Ocelot.Library.Infrastructure.Responses;
namespace Ocelot.Library.Infrastructure.Services
namespace Ocelot.Library.Infrastructure.Repository
{
public class ScopedRequestDataRepository : IScopedRequestDataRepository
{

View File

@ -1,8 +1,8 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Ocelot.Library.Infrastructure.DownstreamRouteFinder;
using Ocelot.Library.Infrastructure.Repository;
using Ocelot.Library.Infrastructure.Responder;
using Ocelot.Library.Infrastructure.Services;
namespace Ocelot.Library.Middleware
{

View File

@ -1,8 +1,8 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Ocelot.Library.Infrastructure.DownstreamRouteFinder;
using Ocelot.Library.Infrastructure.Repository;
using Ocelot.Library.Infrastructure.Responder;
using Ocelot.Library.Infrastructure.Services;
using Ocelot.Library.Infrastructure.UrlTemplateReplacer;
namespace Ocelot.Library.Middleware

View File

@ -1,8 +1,8 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Ocelot.Library.Infrastructure.Repository;
using Ocelot.Library.Infrastructure.Requester;
using Ocelot.Library.Infrastructure.Responder;
using Ocelot.Library.Infrastructure.Services;
namespace Ocelot.Library.Middleware
{

View File

@ -5,9 +5,9 @@ using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Ocelot.Library.Infrastructure.DownstreamRouteFinder;
using Ocelot.Library.Infrastructure.Repository;
using Ocelot.Library.Infrastructure.Requester;
using Ocelot.Library.Infrastructure.Responder;
using Ocelot.Library.Infrastructure.Services;
using Ocelot.Library.Middleware;
namespace Ocelot

View File

@ -1,11 +1,11 @@
using Microsoft.AspNetCore.Http;
using Ocelot.Library.Infrastructure.Repository;
using Ocelot.Library.Infrastructure.Responses;
using Ocelot.Library.Infrastructure.Services;
using Shouldly;
using TestStack.BDDfy;
using Xunit;
namespace Ocelot.UnitTests.Services
namespace Ocelot.UnitTests.Repository
{
public class ScopedRequestDataRepositoryTests
{