Philip Wood
ea95690253
Fix remaining CS0649 violations
2018-03-06 11:13:02 +00:00
Philip Wood
b8e95373a4
Fix async/await warnings
2018-03-06 10:59:01 +00:00
Philip Wood
50980fda93
Fix various violations
...
SA1216, CS0105, CS0169, CS0414, CS0649
2018-03-03 14:08:52 +00:00
Philip Wood
167fbb3daf
Remove multiple concurrent blank lines
...
SA1507
2018-03-03 13:26:27 +00:00
Philip Wood
c61dc9fd11
Fix brace line spacing and remove multiple concurrent whitespace characters
...
SA1025, SA1505, SA1508, SA-1509, SA1513
2018-03-03 13:14:24 +00:00
Tom Pallister
d1926268ac
Feature/downstream aggregation ( #248 )
...
* started messing around with this on the train last night
* mega hacking away to change middleware into Ocelot iddleware
* scoped data repo back in
* broken commit getting tests working
* another broken commit farting around with tests
* all unit tests passing again
* mw pipeline for ocelot...still loads of hacks but getting there now to get acceptance tests working, then fix config so you can have aggregate and then imlement multiplexer, then mapping to response...loads to do
* all tests passing before aggregation feature implemented
* removed all the request middleware stuff we dont need it
* updated how errors work...tho i think there could be edge case here when aggregating because one downstream could error and this would effect another
* removed multiplexer so you dont have to send route down, this isnt very thread safe...sigh
* hacking around getting the config for aggregates in, this might change
* refactored builder and unit tests passing now
* Updated a bunch of ports for tests
* plugged in code to create reroutes that are aggregates
* made multiplexer a class
* hacked test to death
* simple aggregator done, initial validation done
* removed request id from context, it is still specific for http request
* now aggregates to json always
* docs for aggregate reroutes
* Updated docs
2018-02-27 08:22:47 +00:00
Tom Pallister
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
Tom Pallister
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
Tom Pallister
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
Tom Gardham-Pallister
88e51971c5
only get config once in a request...could make this its own middleware one day?
2017-11-10 18:07:08 +00:00
Tom Pallister
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
Tom Gardham-Pallister
bc1ba53f21
unit tests passing again
2017-11-09 08:19:36 +00:00
Tom Gardham-Pallister
e43732290a
massive refactor to handle creating load balancer first time a re route is called
2017-11-08 21:26:49 +00:00
Tom Gardham-Pallister
bf0a31f8de
moving load balancer creation into its own class
2017-11-07 08:05:41 +00:00
Philip Wood
d02e921a58
Moved ScopedRepository into test base class.
2017-07-18 10:53:57 +01:00
Philip Wood
8042bbab2c
Moved common middleare test setup into a base class
2017-07-18 09:28:32 +01:00
TomPallister
190c967655
Merge branch 'master' into develop
2017-06-10 15:20:37 +01:00
geffzhang
02162dd7a6
RoundRobin loadblancer cause config error https://github.com/TomPallister/Ocelot/issues/103
2017-06-03 22:32:47 +08:00
Juan Carlos Santana Herrera
24f7b9a171
UpstreamHttpMethod property (of class FileReRoute) changes from string to List<string>.
2017-05-05 11:47:28 +01:00
Philip Wood
878eacf1db
Remove obsolete code
2017-04-18 15:35:54 +01:00
Philip Wood
7c1a277147
Fixed some unit tests
2017-04-18 14:05:15 +01:00
Tom Gardham-Pallister
034732ce90
added lame test for service config creator
2017-03-01 23:12:00 +00:00
Tom Gardham-Pallister
fff743ccf8
pulling out service config cretor
2017-03-01 12:42:37 +00:00
TomPallister
e33fe4cf7d
merged develop
2017-02-11 12:07:08 +00:00
geffzhang
caae826d77
Refactor qos as options
2017-02-08 09:25:32 +08:00
Tom Gardham-Pallister
33ce162693
changed upstream http method to use httpmethod class in .net
2017-02-07 18:30:21 +00:00
Tom Gardham-Pallister
b4ef277c3e
added builder for service provider config
2017-02-07 07:50:23 +00:00
Tom Gardham-Pallister
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
Tom Gardham-Pallister
a4495b8fa9
tests for error handling on load balancing middleware
2017-02-06 20:22:09 +00:00
TomPallister
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
Tom Gardham-Pallister
fb0f101732
wip fake consul provider
2017-02-05 21:08:16 +00:00
TomPallister
c46dcc05b8
started implementing the consul service provider
2017-02-04 13:16:31 +00:00
Tom Gardham-Pallister
9828c3b427
started adding consul acceptance test
2017-02-03 22:50:57 +00:00
Tom Gardham-Pallister
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
Tom Gardham-Pallister
aef6507da3
fixed failing tests after service discovery changes
2017-02-03 07:43:26 +00:00
Tom Gardham-Pallister
f2c6d1c799
load balancer middle ware test and cake mac osx build script
2017-02-02 22:34:46 +00:00
Tom Gardham-Pallister
07ca7989b0
more work towards getting service discovery working with load balancing
2017-02-02 21:34:15 +00:00
Tom Gardham-Pallister
37aaeeed82
added houses
2017-02-02 08:00:37 +00:00
TomPallister
074ae4d609
started adding a load balancer house (terrible name?)
2017-02-01 22:30:28 +00:00
TomPallister
2aa156d0a6
refactoring service discovery and load balancing approach into load balancing middleware
2017-02-01 22:00:01 +00:00