geffzhang
ef3c4f614a
Monitoring ( #219 )
...
* feat: use Https://github.com/ButterflyAPM to monitor each API request monitoring metrics
* feat: using DiagnosticSource and Butterfly.OpenTracing
* refactor:refactor Ocelot tracing, merge code into OcelotDiagnosticListener
* refactor: move OcelotHttpTracingHandler to Requester
* fix: Requester\HttpClientBuilder.cs(10,14): error CS0234: The type or namespace name 'Tracing' does not exist in the namespace
* feat: add test should_set_up_tracing
* feat : Remove extraneous code
* feat: remove unused DiagnosticSource diagnostic
* fix : test UseTracing
* add test should_call_scoped_data_repository_QosProviderError
* add test should_return_any_errors
* add test HttpClientHttpRequesterTest
* it should keep it can not be deleted
2018-02-12 18:33:23 +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
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
Oleksandr Yershov
a8b56a63c2
Cookie proxying and auto redirect configuration #128
...
HttpHandlerOptions are added to ReRoute configuration and passed down to HttpClientHttpRequester as Request properties.
2017-09-28 09:41:13 +03: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
Juan Carlos Santana Herrera
24f7b9a171
UpstreamHttpMethod property (of class FileReRoute) changes from string to List<string>.
2017-05-05 11:47:28 +01:00
TomPallister
c787202374
I realised we can get rid of the cookie container as cookies are just sent as a header called cookie...
2017-03-05 18:05:20 +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
geffzhang
caae826d77
Refactor qos as options
2017-02-08 09:25:32 +08:00
geffzhang
883be802b3
Refactor CircuitBreaker Pattern
...
Add Qos Config in ReRoute And Refactor CircuitBreakingDelegatingHandler
2017-02-03 14:49:46 +08: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
f7f4a392f0
implemented adding claims as query strings to downstream route, removed some of the middleware injection optiosn as i have currently have no use case for them, general refactoring to use the OcelotMiddleware a bit more
2016-10-29 19:45:50 +01: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
TomPallister
ab8407e7dc
Now supports the same upstream url by difrenciating by http method. Also broke up the proxy middleware into three seperate pieces that do their thing and stick something into the OWIN context
2016-10-04 21:30:16 +01:00
TomPallister
741fcc644d
Got the forwarding http content properly tests working, way to much going on in the requester
2016-09-19 16:26:44 +01:00
TomPallister
f3128cffe0
failing pesky test
2016-09-14 21:18:25 +01:00
TomPallister
0627e9399b
brought in flurl and stated adding tests for the requester
2016-09-13 20:29:00 +01:00