Remove Ocelot specific Middleware to make Ocelot more compatible with kestrel middleware and get ready for YARP

This commit is contained in:
Tom Pallister
2020-05-23 15:48:51 +01:00
committed by GitHub
parent 99a15d8668
commit fe3e8bd23a
214 changed files with 9574 additions and 9919 deletions

File diff suppressed because it is too large Load Diff

View File

@ -189,7 +189,7 @@ namespace Ocelot.AcceptanceTests
_services = services;
}
public async Task<Response<ServiceHostAndPort>> Lease(DownstreamContext downstreamContext)
public async Task<Response<ServiceHostAndPort>> Lease(HttpContext httpContext)
{
var services = await _services();
lock (_lock)
@ -205,7 +205,7 @@ namespace Ocelot.AcceptanceTests
}
}
public void Release(ServiceHostAndPort hostAndPort)
public void Release(ServiceHostAndPort hostAndPort)
{
}
}

View File

@ -21,7 +21,7 @@ namespace Ocelot.AcceptanceTests
using Ocelot.Infrastructure;
using Ocelot.Logging;
using Ocelot.Middleware;
using Ocelot.Middleware.Multiplexer;
using Ocelot.Multiplexer;
using Ocelot.Provider.Consul;
using Ocelot.Provider.Eureka;
using Ocelot.Provider.Polly;