mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-23 00:32:50 +08:00
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:
parent
e432dfef8b
commit
1d9df40af8
@ -5,7 +5,7 @@
|
||||
using Configuration.Repository;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Middleware;
|
||||
using Pivotal.Discovery.Client;
|
||||
using Steeltoe.Discovery.Client;
|
||||
|
||||
public class EurekaMiddlewareConfigurationProvider
|
||||
{
|
||||
|
@ -29,7 +29,7 @@
|
||||
<ProjectReference Include="..\Ocelot\Ocelot.csproj" />
|
||||
</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">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
|
@ -5,7 +5,7 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Middleware;
|
||||
using Pivotal.Discovery.Client;
|
||||
using Steeltoe.Discovery.Client;
|
||||
using ServiceDiscovery;
|
||||
|
||||
public static class OcelotBuilderExtensions
|
||||
|
Loading…
x
Reference in New Issue
Block a user