#593 instanciate upstream path template when dynamic routing for logging (#594)

This commit is contained in:
Tom Pallister
2018-09-03 21:31:57 +01:00
committed by GitHub
parent 6198404697
commit ef6db657b7
13 changed files with 116 additions and 109 deletions

View File

@ -56,7 +56,7 @@ namespace Ocelot.UnitTests.RateLimit
.WithEnableRateLimiting(true)
.WithRateLimitOptions(new RateLimitOptions(true, "ClientId", new List<string>(), false, "", "", new RateLimitRule("1s", 100, 3), 429))
.WithUpstreamHttpMethod(new List<string> {"Get"})
.WithUpstreamTemplatePattern(upstreamTemplate)
.WithUpstreamPathTemplate(upstreamTemplate)
.Build();
var reRoute = new ReRouteBuilder()