77 Commits

Author SHA1 Message Date
geffzhang
2fa6e66dd4 refactor code 2017-02-13 08:29:29 +08:00
geffzhang
e1f16c2be1 add ratelimit acceptance test 2017-02-12 15:49:21 +08:00
geffzhang
9b06afc781 refactor ratelimit config 2017-02-11 20:52:20 +08:00
geffzhang
e1d5ef3aae implement Request Rate limit, this feature is options 2017-02-11 16:32:30 +08:00
geffzhang
18e0f40c95 Fix should_use_global_request_id_and_forward not pass
This test needs UpstreamHttpMethod = "Get",
2017-02-09 08:30:32 +08:00
geffzhang
caae826d77 Refactor qos as options 2017-02-08 09:25:32 +08:00
geffzhang
b10c95219e merge circuitbreakerpattern code 2017-02-07 19:47:11 +08:00
geffzhang
a895fdfc12 Merge branch 'develop' into CircuitBreakerPattern 2017-02-07 18:41:11 +08:00
Tom Gardham-Pallister
86a197e22d merged develop 2017-02-06 22:06:18 +00:00
Tom Gardham-Pallister
c3e60ac08a wip: added some sleep time into service discovery test as I think Im overloading the test server, sometimes it just returns 404 when Ocelot makes a request to it 2017-02-05 22:00:23 +00:00
TomPallister
d91242ac2c wip: modifications to service discovery acceptance test to see if it will work on mac 2017-02-05 21:35:50 +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
TomPallister
7900aa3f49 got sidetracked and downgraded to .net core app 1.1 that actually exists no idea why i had 1.4 :( 2017-02-04 12:06:33 +00:00
Tom Gardham-Pallister
9c9315a94f updated tests url 2017-02-03 22:59:00 +00:00
Tom Gardham-Pallister
9828c3b427 started adding consul acceptance test 2017-02-03 22:50:57 +00:00
geffzhang
883be802b3 Refactor CircuitBreaker Pattern
Add Qos Config in ReRoute And Refactor CircuitBreakingDelegatingHandler
2017-02-03 14:49:46 +08:00
tom.pallister
7fc92da012 Updated release script to use correct target name 2017-02-02 15:53:02 +00:00
TomPallister
2aa156d0a6 refactoring service discovery and load balancing approach into load balancing middleware 2017-02-01 22:00:01 +00:00
Philip Wood
2cd69d1908 #20 - added cake build to do same functionality as batch scripts. Also does semver versioning of assemblies, if running in AppVeyor, generates release notes and publishes packages to appveyor. 2017-01-24 21:11:15 +00:00
Tom Gardham-Pallister
c3a47f66c8 merge 2017-01-23 12:13:24 +00:00
TomPallister
6bf2d4677c started adding loadbalancers 2017-01-22 20:22:04 +00:00
TomPallister
0f71c040d9 split DownstreamTemplate into DownstreamPathTemplate, DownstreamScheme, DownstreamHost and DownstreamPort in order to prepare for service discovery 2017-01-21 09:59:47 +00:00
Tom Gardham-Pallister
622c49d057 removed comment 2017-01-17 15:59:39 +00:00
Tom Gardham-Pallister
8c213f133c test passing on mac and windows 2017-01-17 10:33:55 +00:00
Tom Gardham-Pallister
a8878b4a19 test passing on mac and windows 2017-01-17 10:20:49 +00:00
tom.pallister
b2d33f0ec5 Updated packages and fixed build errors and tests..now need to update nuspec 2017-01-11 17:23:34 +00:00
TomPallister
536db48049 fixed problems where routes were not mathing 2016-11-26 14:08:09 +00:00
TomPallister
ff5776613f Now defaults to case insensitive routing but you can override with a setting, also global request id setting available 2016-11-06 11:50:33 +00:00
TomPallister
47afc850ff Added some basic cache stuff 2016-11-04 15:05:59 +00:00
TomPallister
f4acb4f041 changed to json configuration to get rid of yaml imports 2016-11-02 21:50:53 +00:00
TomPallister
56bf4014bd Added request id functionality and general refactoring..also turned out i wasnt returning headers....sigh 2016-10-30 17:29:37 +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
3a1dd1f9bc fixed a bug where getting invalid parameter error if sending a steam content with no stream, now we try convert to byte array which the c# http client is happy to take if empty...or this error is caused because we are trying to use a stream when we shouldnt. 2016-10-28 22:50:00 +01:00
TomPallister
6be3c1cf73 Updated all packages and upgraded to 1.0.1 for asp.net 2016-10-26 21:49:07 +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
4427ef459f more refactoring acceptance tests 2016-10-19 21:48:41 +01:00
TomPallister
9798cf01e5 refactoring acceptance tests..they need some tlc 2016-10-19 21:28:55 +01:00
tom.pallister
ab5d7fa33d allowing people to inject functions as custom middleware 2016-10-19 19:32:05 +01:00
tom.pallister
b8951c4698 Can authorise routes based on claims, there is also a claims transformation middleware 2016-10-19 11:56:05 +01:00
TomPallister
3285be3c73 more auth stuff...nowhere near done 2016-10-18 22:19:41 +01:00
TomPallister
8b0ceeda5b removed library namespace 2016-10-18 19:10:09 +01:00
TomPallister
acfeeed86a removed ocelot website project from src and added a manual test project for this, renamed library project to just be ocelot 2016-10-18 19:04:46 +01:00
TomPallister
707f1d6908 renamed and removed some stuff that wasnt needed 2016-10-18 16:22:51 +01:00
TomPallister
84256e7bac Added ability to strip claims and forward to downstream service as headers 2016-10-18 15:51:56 +01:00
TomPallister
279aae3151 messing with dsl for stripping claims etc 2016-10-17 21:34:08 +01:00
tom.pallister
2395736b6b started working on stripping claims from token 2016-10-17 20:46:30 +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