Commit Graph

16 Commits

Author SHA1 Message Date
ef6db657b7 #593 instanciate upstream path template when dynamic routing for logging (#594) 2018-09-03 21:31:57 +01:00
66b68fc685 Feature/#574 look at httpclient cache key (#589)
* #574 consolidate some code, man the config stuff is a mess!

* #574 just use the downstream re route and the key for caching http clients

* #574 added benchmark, i was suprised to learn using a complex type was faster than a string in benchmark .net dictionary tests, hey ho probably dont have enough data in the type...
2018-09-01 13:10:45 +01:00
b8e95373a4 Fix async/await warnings 2018-03-06 10:59:01 +00:00
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
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
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
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
efa68e9949 Allowed scopes checking added to AuthorisationMiddleware.
Acceptance tests added.
2017-05-31 18:27:28 +01:00
24f7b9a171 UpstreamHttpMethod property (of class FileReRoute) changes from string to List<string>. 2017-05-05 11:47:28 +01:00
33ce162693 changed upstream http method to use httpmethod class in .net 2017-02-07 18:30:21 +00:00
af506b079a more logging, more readme, more refactoring 2016-11-05 11:36:58 +00:00
8582ba45a9 Added some logging at last! 2016-11-04 20:17:15 +00:00
367fa327b3 bunch of refactoring 2016-10-26 21:38:44 +01:00
9c771bf9e0 added benchmarks back in, renamed data repository and a few other things 2016-10-24 19:32:52 +01:00
b8951c4698 Can authorise routes based on claims, there is also a claims transformation middleware 2016-10-19 11:56:05 +01:00