mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-23 00:52:51 +08:00
renamed from service to repository, makes more sense i guess
This commit is contained in:
parent
f505fd6e90
commit
d86a52c1b8
@ -1,6 +1,6 @@
|
||||
using Ocelot.Library.Infrastructure.Responses;
|
||||
|
||||
namespace Ocelot.Library.Infrastructure.Services
|
||||
namespace Ocelot.Library.Infrastructure.Repository
|
||||
{
|
||||
public class CannotAddDataError : Error
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using Ocelot.Library.Infrastructure.Responses;
|
||||
|
||||
namespace Ocelot.Library.Infrastructure.Services
|
||||
namespace Ocelot.Library.Infrastructure.Repository
|
||||
{
|
||||
public class CannotFindDataError : Error
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using Ocelot.Library.Infrastructure.Responses;
|
||||
|
||||
namespace Ocelot.Library.Infrastructure.Services
|
||||
namespace Ocelot.Library.Infrastructure.Repository
|
||||
{
|
||||
public interface IScopedRequestDataRepository
|
||||
{
|
@ -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
|
||||
{
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
{
|
Loading…
x
Reference in New Issue
Block a user