463 Commits

Author SHA1 Message Date
TomPallister
0221ee9ccb started adding route authorisation 2016-10-18 21:38:18 +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
f79b76b414 reorganised project so its a bit more vertical for features 2016-10-18 18:52:43 +01:00
TomPallister
2e6640c6ef refactoring configuration code so its not so crazy, still need to work on the creator class 2016-10-18 18:32:34 +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
7289cd803b renamed provider to handler 2016-10-16 16:47:08 +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
f545ba8620 removed thing that checks if route is authorised cos we dont need it 2016-10-14 20:08:09 +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
7ae35f4ce3 added happy path tests for more middlewares 2016-10-13 19:59:12 +01:00
tom.pallister
52ba77f4d5 adding midleware tests 2016-10-13 19:10:11 +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
f8ea87c91b added a failing test for the url matcher on a case i didnt pick up on...might be time to start thinking about regex for this.... 2016-10-08 10:01:11 +01:00
TomPallister
a7a1143823 made a response middlware as terminating middleware... 2016-10-08 09:59:37 +01:00
TomPallister
8688c1eb6f removed flurl and made a request creator 2016-10-07 12:54:50 +01:00
tom.pallister
74a7f5d270 ripping out flurl...sorry flurl 2016-10-06 21:18:12 +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
d86a52c1b8 renamed from service to repository, makes more sense i guess 2016-10-05 20:51:02 +01:00
TomPallister
f505fd6e90 renamed from service to repository, makes more sense i guess 2016-10-05 20:49:22 +01:00
TomPallister
229c0878ed Added some wrapper around the http context so i can at least pretend to access things from it without casting them 2016-10-05 20:46:00 +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
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
87702141e2 Added some configuration validation stuff but then realised probablt wont need this for a while 2016-09-07 22:53:39 +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
26ee5e6257 all tests bddfy 2016-08-25 16:18:08 +01:00
Tom Pallister
6d46829ce2 Started adding BDDfy... 2016-08-24 17:51:55 +01:00
Tom Gardham-Pallister
6ac9954770 remove results 2016-08-19 21:46:14 +01:00
Tom Gardham-Pallister
c41dd950e0 merged develop 2016-08-19 20:20:10 +01:00
Tom Gardham-Pallister
0421dba1e2 Added some benchmarke benchmark stuff 2016-08-17 19:24:23 +01:00