moved json converters under authentication feature

This commit is contained in:
TomPallister 2017-07-04 19:14:37 +01:00
parent 50ee9e20d8
commit 58dc7c93bc
3 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
using System; using System;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Ocelot.Configuration; using Ocelot.Configuration;
namespace Ocelot.AcceptanceTests namespace Ocelot.Authentication.JsonConverters
{ {
using Newtonsoft.Json.Linq;
public class AuthenticationConfigConverter : JsonConverter public class AuthenticationConfigConverter : JsonConverter
{ {
public override bool CanWrite => false; public override bool CanWrite => false;

View File

@ -4,13 +4,12 @@ using System.Threading.Tasks;
using Consul; using Consul;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using Ocelot.Authentication.JsonConverters;
using Ocelot.Responses; using Ocelot.Responses;
using Ocelot.ServiceDiscovery; using Ocelot.ServiceDiscovery;
namespace Ocelot.Configuration.Repository namespace Ocelot.Configuration.Repository
{ {
using Ocelot.AcceptanceTests;
public class ConsulOcelotConfigurationRepository : IOcelotConfigurationRepository public class ConsulOcelotConfigurationRepository : IOcelotConfigurationRepository
{ {
private readonly ConsulClient _consul; private readonly ConsulClient _consul;

View File

@ -8,6 +8,7 @@ using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Newtonsoft.Json; using Newtonsoft.Json;
using Ocelot.Authentication.JsonConverters;
using Ocelot.Configuration; using Ocelot.Configuration;
using Ocelot.Configuration.File; using Ocelot.Configuration.File;
using Ocelot.Configuration.Repository; using Ocelot.Configuration.Repository;