47 Commits

Author SHA1 Message Date
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
TomPallister
ce84ad4fc2 Added tests for identity server reference tokens, general refactoring and come config validation 2016-10-16 20:28:23 +01:00
TomPallister
320b442526 got identity server access token acceptance test working, created factory for choosing auth handlers, a creator for making the auth handlers, some general refactoring...next step is injecting the config for the auth handler creator in some way or just passing it in 2016-10-15 13:50:43 +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
tom.pallister
8c194a365b fixed failing tests after upgrade 2016-10-14 13:30:34 +01:00
tom.pallister
6e61161406 updated to netstandard 1.4 and added authentication packages 2016-10-14 13:22:02 +01:00
TomPallister
5492b70c87 Acceptance test for complex url combo...cant believe it acually worked 2016-10-12 20:42:43 +01:00
TomPallister
581c9d01b9 finished removing fake, all tests now working 2016-10-12 20:38:29 +01:00
tom.pallister
cdeb97731e tempoary commit while refactoring tests sorry bisect nazis 2016-10-12 19:34:47 +01:00
tom.pallister
cff130196f Removed the fake woop 2016-10-12 14:00:13 +01:00
tom.pallister
58393f07ec started adding authentication stack, thing that decides if we should be authenticated is in 2016-10-12 13:40:46 +01:00
TomPallister
1fddcf0836 regex for url match, means annoying constructor ocelot configuration object but cant work out a better way to do this at the moment 2016-10-09 15:40:13 +01:00
TomPallister
27f012135d deloyed to azure web apps but not working because flurl is a bit wonky...will probably revert to http client 2016-10-05 21:35:54 +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
8423199754 hacking around to get a POST acceptance test working, doesnt really mean anything tbh 2016-09-13 19:34:53 +01:00
TomPallister
72cec38c0e some tidying up and a bit of refactoring...not too happy about how the proxy is working at the moment! May need a rethink! 2016-09-11 21:32:56 +01:00
TomPallister
03ef47038a first passing proxy acceptnace test yeyyy! 2016-09-07 21:47:39 +01:00
TomPallister
71b7e7743e more simplification is that a word 2016-09-07 20:40:56 +01:00
Tom Pallister
15d7cafa1c Brought in YAML lib for configuration and added failing acceptance test 2016-09-01 09:05:04 +01:00
Tom Pallister
e7a41fbc4d hacking yaml config 2016-08-31 20:46:46 +01:00
Tom Gardham-Pallister
c4e0bae4ce simplifying stuff after i realised i added loads of crap i dont need 2016-08-27 14:13:45 +01:00
Tom Pallister
6d46829ce2 Started adding BDDfy... 2016-08-24 17:51:55 +01:00
Tom Gardham-Pallister
c41dd950e0 merged develop 2016-08-19 20:20:10 +01:00
Tom Gardham-Pallister
dbff2b9530 messing around with the proxy mdh the proxy middleware 2016-07-21 20:28:22 +01:00
TomPallister
ff10d07b94 Set up acceptance tests on windows 2016-07-16 15:10:19 +01:00
Tom Gardham-Pallister
4f2d94ceba method to match urls and template urls 2016-07-08 19:33:22 +01:00