mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 14:08:15 +08:00
Feature/sticky sessions (#336)
* started messing around with sticky sessions idea * more tests for sticky session thing * more faffing cant make up my mind how to do this * +semver: breaking added sticky session load balancer and changed way load balancer configuration is set by user * #336 made tests BDDFy
This commit is contained in:
@ -101,7 +101,7 @@ namespace Ocelot.AcceptanceTests
|
||||
Port = secondDownstreamPort
|
||||
}
|
||||
},
|
||||
LoadBalancer = "RoundRobin"
|
||||
LoadBalancerOptions = new FileLoadBalancerOptions { Type = "RoundRobin" }
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -159,7 +159,7 @@ namespace Ocelot.AcceptanceTests
|
||||
UpstreamPathTemplate = "/",
|
||||
DownstreamPathTemplate = "/ws",
|
||||
DownstreamScheme = "ws",
|
||||
LoadBalancer = "RoundRobin",
|
||||
LoadBalancerOptions = new FileLoadBalancerOptions { Type = "RoundRobin" },
|
||||
ServiceName = serviceName,
|
||||
UseServiceDiscovery = true
|
||||
}
|
||||
|
Reference in New Issue
Block a user