Philip Wood
ca4efa5e10
Back out of some of the functional changes to the ResponderMiddleware tests... I'll look at these again once the consolidation changes are merged.
2017-07-18 11:11:24 +01: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
Philip Wood
b0c12431d6
Added test coverage around responder middleware, and refactored these to not use test server.
2017-07-11 18:45:53 +01:00
Marc Denman
0c33323352
Change HttpStatusCodeMapper not to wrap responses
...
As part of #66 we realised that the implementation of
IErrorToHttpStatusCodeMapper would always return a wrapped StatusCode
within an OK response, in turn meaning that ResponderMiddleware would
never fall into the else branch for returning a 500.
This commit removes the wrapping of the status code and removes the unused
logic for generating the 500 status code, giving the mapper full
responsbility for generating the correct status code.
2017-03-14 09:15:19 +00:00
TomPallister
286c7f8488
Fixed issue where qos was being created for each request so circuit breaker was never stopping traffic going to downstream service.
2017-02-11 18:56:36 +00:00
TomPallister
820673dda8
added docs but qos acceptance test not working seems circuit never opens but not sure if it is meant to with timeouts..investigating
2017-02-11 15:11:10 +00:00
Tom Gardham-Pallister
f7fe7c0f49
more refactoring
2017-02-08 18:47:35 +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
TomPallister
af506b079a
more logging, more readme, more refactoring
2016-11-05 11:36:58 +00:00
TomPallister
47afc850ff
Added some basic cache stuff
2016-11-04 15:05:59 +00:00
TomPallister
367fa327b3
bunch of refactoring
2016-10-26 21:38:44 +01:00
TomPallister
9c771bf9e0
added benchmarks back in, renamed data repository and a few other things
2016-10-24 19:32:52 +01:00
TomPallister
8b0ceeda5b
removed library namespace
2016-10-18 19:10:09 +01:00
TomPallister
f79b76b414
reorganised project so its a bit more vertical for features
2016-10-18 18:52:43 +01:00
tom.pallister
3d60602c7e
Added a get authentication test, removed the infrastructure name space as it seemed pointless, started thinking about how to pass claims on with the request
2016-10-17 18:00:36 +01:00
TomPallister
34bac7e0d4
Added first authentiction code..we have a test that makes sure we are unauthenticed but i havent been able to get authenticated to work yet due to identity server usual madness when calling with their SDK!
2016-10-15 11:17:18 +01:00
TomPallister
0627e9399b
brought in flurl and stated adding tests for the requester
2016-09-13 20:29:00 +01:00