Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Merge pull request #3 from ThreeMammals/feature/use-ocelot-administra…
Browse files Browse the repository at this point in the history
…tion

updated to use latest ocelot and ocelot.administration
  • Loading branch information
TomPallister authored Aug 14, 2018
2 parents 450353b + b9e88e0 commit 47c00f5
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 14 deletions.
1 change: 1 addition & 0 deletions src/Ocelot.Provider.Rafty/FilePeersProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using Microsoft.Extensions.Options;
using Middleware;
using System.Collections.Generic;
using Administration;

public class FilePeersProvider : IPeersProvider
{
Expand Down
1 change: 1 addition & 0 deletions src/Ocelot.Provider.Rafty/HttpPeer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using Administration;

public class HttpPeer : IPeer
{
Expand Down
7 changes: 4 additions & 3 deletions src/Ocelot.Provider.Rafty/Ocelot.Provider.Rafty.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<RuntimeFrameworkVersion>2.0.0</RuntimeFrameworkVersion>
Expand Down Expand Up @@ -26,8 +26,9 @@
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Ocelot" Version="10.0.1" />
<PackageReference Include="Rafty" Version="0.4.4" />
<PackageReference Include="Ocelot" Version="10.0.2"/>
<PackageReference Include="Ocelot.Administration" Version="0.1.0"/>
<PackageReference Include="Rafty" Version="0.4.4"/>
<PackageReference Include="StyleCop.Analyzers" Version="1.0.2">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="2.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="Ocelot" Version="10.0.1" />
<PackageReference Include="Ocelot" Version="10.0.2" />
<PackageReference Include="StyleCop.Analyzers" Version="1.0.2">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.10.14" />
<PackageReference Include="Ocelot" Version="10.0.1" />
<PackageReference Include="Ocelot" Version="10.0.2" />
<PackageReference Include="Rafty" Version="0.4.4" />
<PackageReference Include="StyleCop.Analyzers" Version="1.0.2">
<PrivateAssets>all</PrivateAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Ocelot.Administration" Version="0.1.0"/>
<PackageReference Include="CacheManager.Core" Version="1.1.2" />
<PackageReference Include="CacheManager.Microsoft.Extensions.Logging" Version="1.1.2" />
<PackageReference Include="IdentityServer4.AccessTokenValidation" Version="2.6.0" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="Ocelot" Version="10.0.1" />
<PackageReference Include="Ocelot" Version="10.0.2" />
<PackageReference Include="StyleCop.Analyzers" Version="1.0.2">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
1 change: 1 addition & 0 deletions test/Ocelot.Provider.Rafty.IntegrationTests/RaftTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using Administration;
using Configuration.File;
using DependencyInjection;
using global::Rafty.Infrastructure;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Ocelot.Administration" Version="0.1.0"/>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.1.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="2.1.1" />
Expand All @@ -34,7 +35,7 @@
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="2.1.1" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="2.1.1" />
<PackageReference Include="Consul" Version="0.7.2.5" />
<PackageReference Include="Ocelot" Version="10.0.1" />
<PackageReference Include="Ocelot" Version="10.0.2" />
<PackageReference Include="Polly" Version="6.0.1" />
<PackageReference Include="Rafty" Version="0.4.4" />
<PackageReference Include="StyleCop.Analyzers" Version="1.0.2">
Expand All @@ -44,4 +45,4 @@
<ItemGroup>
<ProjectReference Include="..\..\src\Ocelot.Provider.Rafty\Ocelot.Provider.Rafty.csproj" />
</ItemGroup>
</Project>
</Project>
1 change: 1 addition & 0 deletions test/Ocelot.Provider.Rafty.ManualTest/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace Ocelot.Provider.Rafty.ManualTest
{
using System.IO;
using Administration;
using DependencyInjection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Ocelot.Administration" Version="0.1.0"/>
<PackageReference Include="CacheManager.Core" Version="1.1.2" />
<PackageReference Include="CacheManager.Microsoft.Extensions.Logging" Version="1.1.2" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="2.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
<PackageReference Include="Ocelot" Version="10.0.1" />
<PackageReference Include="Ocelot" Version="10.0.2" />
<PackageReference Include="StyleCop.Analyzers" Version="1.0.2">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
namespace Ocelot.Provider.Rafty.UnitTests.Properties
namespace Ocelot.Provider.Rafty.UnitTests
{
using System;
using System.Collections.Generic;
using Administration;
using DependencyInjection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Internal;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Shouldly;
using TestStack.BDDfy;
using Xunit;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Internal;
using System;
using System.Collections.Generic;

public class OcelotAdministrationBuilderExtensionsTests
{
Expand Down

0 comments on commit 47c00f5

Please sign in to comment.