Change to use steeltoe discovery instead of pivotal discovery and bump up the version to be compatible with newer libraries due to interface change (#844)

This commit is contained in:
Andrew Stakhov 2019-03-29 15:10:44 -04:00 committed by Thiago Loureiro
parent e432dfef8b
commit 1d9df40af8
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
using Configuration.Repository; using Configuration.Repository;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Middleware; using Middleware;
using Pivotal.Discovery.Client; using Steeltoe.Discovery.Client;
public class EurekaMiddlewareConfigurationProvider public class EurekaMiddlewareConfigurationProvider
{ {

View File

@ -29,7 +29,7 @@
<ProjectReference Include="..\Ocelot\Ocelot.csproj" /> <ProjectReference Include="..\Ocelot\Ocelot.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Pivotal.Discovery.ClientCore" Version="2.0.1" /> <PackageReference Include="Steeltoe.Discovery.ClientCore" Version="2.2.0" />
<PackageReference Include="StyleCop.Analyzers" Version="1.0.2"> <PackageReference Include="StyleCop.Analyzers" Version="1.0.2">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
</PackageReference> </PackageReference>

View File

@ -5,7 +5,7 @@
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Middleware; using Middleware;
using Pivotal.Discovery.Client; using Steeltoe.Discovery.Client;
using ServiceDiscovery; using ServiceDiscovery;
public static class OcelotBuilderExtensions public static class OcelotBuilderExtensions