Feature/move polly (#561)

* added delegate to select last handler

* #529 implemented a way we can inject the last delegating handler

* wip - moving code

* #529 removed loads of qos code and moved it into Ocelot.Provider.Polly
This commit is contained in:
Tom Pallister
2018-08-19 10:14:15 +01:00
committed by GitHub
parent e909cf9ce7
commit 98ba0271be
27 changed files with 213 additions and 669 deletions

View File

@ -831,7 +831,7 @@ namespace Ocelot.AcceptanceTests
}
[Fact]
public void should_fix_145()
public void should_not_set_trailing_slash_on_url_template()
{
var configuration = new FileConfiguration
{
@ -851,11 +851,6 @@ namespace Ocelot.AcceptanceTests
},
UpstreamPathTemplate = "/platform/{url}",
UpstreamHttpMethod = new List<string> { "Get" },
QoSOptions = new FileQoSOptions {
ExceptionsAllowedBeforeBreaking = 3,
DurationOfBreak = 10,
TimeoutValue = 5000
}
}
}
};