Commit Graph

34 Commits

Author SHA1 Message Date
3ac9b3bd87 hacked together load balancing reroutes in fileconfig (#211)
* hacked together load balancing reroutes in fileconfig

* some renaming and refactoring

* more renames

* hacked away the old config json

* test for issue 213

* renamed key

* dont share ports

* oops

* updated docs

* mvoed docs around

* port being used
2018-01-31 20:34:55 +00:00
6992f9e113 fixed issu where if service dropped out then leastconnection would not pick it up again (#195) 2018-01-10 08:12:22 +00:00
fef19ddf98 Changed routing to support a catch all style (#187)
* Changed routing to support a catch all style

* refactoring placeholder tuff

* implemented simple priority in the routing
2018-01-05 21:26:15 +00:00
88e51971c5 only get config once in a request...could make this its own middleware one day? 2017-11-10 18:07:08 +00:00
1d61e403ed changes to create load balancers and qos providers on first request to reroute and then check if they have changed on subsequent requests but not create again if they havent..quite a few breaking changes here. 2017-11-09 17:35:49 +00:00
bc1ba53f21 unit tests passing again 2017-11-09 08:19:36 +00:00
e43732290a massive refactor to handle creating load balancer first time a re route is called 2017-11-08 21:26:49 +00:00
bf0a31f8de moving load balancer creation into its own class 2017-11-07 08:05:41 +00:00
d02e921a58 Moved ScopedRepository into test base class. 2017-07-18 10:53:57 +01:00
8042bbab2c Moved common middleare test setup into a base class 2017-07-18 09:28:32 +01:00
190c967655 Merge branch 'master' into develop 2017-06-10 15:20:37 +01:00
02162dd7a6 RoundRobin loadblancer cause config error https://github.com/TomPallister/Ocelot/issues/103 2017-06-03 22:32:47 +08:00
24f7b9a171 UpstreamHttpMethod property (of class FileReRoute) changes from string to List<string>. 2017-05-05 11:47:28 +01:00
878eacf1db Remove obsolete code 2017-04-18 15:35:54 +01:00
7c1a277147 Fixed some unit tests 2017-04-18 14:05:15 +01:00
034732ce90 added lame test for service config creator 2017-03-01 23:12:00 +00:00
fff743ccf8 pulling out service config cretor 2017-03-01 12:42:37 +00:00
e33fe4cf7d merged develop 2017-02-11 12:07:08 +00:00
caae826d77 Refactor qos as options 2017-02-08 09:25:32 +08:00
33ce162693 changed upstream http method to use httpmethod class in .net 2017-02-07 18:30:21 +00:00
b4ef277c3e added builder for service provider config 2017-02-07 07:50:23 +00:00
0a66051b92 removed some code we dont need as not expecting any errors so should just throw an exception to the global handler 2017-02-06 21:47:08 +00:00
a4495b8fa9 tests for error handling on load balancing middleware 2017-02-06 20:22:09 +00:00
932bcb73d4 wip: removed some debug statements and all tests passing on my PC...feel there is something wrong with the service discovery test around task execution not completing 2017-02-05 21:21:02 +00:00
fb0f101732 wip fake consul provider 2017-02-05 21:08:16 +00:00
c46dcc05b8 started implementing the consul service provider 2017-02-04 13:16:31 +00:00
9828c3b427 started adding consul acceptance test 2017-02-03 22:50:57 +00:00
f285b0e0ad plugged load balancer middleware into Ocelot pipeline, load balanced downstream host and port now used by url creator middleware 2017-02-03 08:00:07 +00:00
aef6507da3 fixed failing tests after service discovery changes 2017-02-03 07:43:26 +00:00
f2c6d1c799 load balancer middle ware test and cake mac osx build script 2017-02-02 22:34:46 +00:00
07ca7989b0 more work towards getting service discovery working with load balancing 2017-02-02 21:34:15 +00:00
37aaeeed82 added houses 2017-02-02 08:00:37 +00:00
074ae4d609 started adding a load balancer house (terrible name?) 2017-02-01 22:30:28 +00:00
2aa156d0a6 refactoring service discovery and load balancing approach into load balancing middleware 2017-02-01 22:00:01 +00:00