mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 06:22: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 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
|
||||||
{
|
{
|
||||||
|
@ -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>
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user