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; using Ocelot.Library.Infrastructure.Responses;
namespace Ocelot.Library.Infrastructure.Services namespace Ocelot.Library.Infrastructure.Repository
{ {
public class CannotAddDataError : Error public class CannotAddDataError : Error
{ {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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