Commit Graph

169 Commits

Author SHA1 Message Date
d50f06fc3e Added benchmarks project back in..tho its pointless 2016-10-24 19:01:20 +01:00
4427ef459f more refactoring acceptance tests 2016-10-19 21:48:41 +01:00
9798cf01e5 refactoring acceptance tests..they need some tlc 2016-10-19 21:28:55 +01:00
ab5d7fa33d allowing people to inject functions as custom middleware 2016-10-19 19:32:05 +01:00
b8951c4698 Can authorise routes based on claims, there is also a claims transformation middleware 2016-10-19 11:56:05 +01:00
3285be3c73 more auth stuff...nowhere near done 2016-10-18 22:19:41 +01:00
0221ee9ccb started adding route authorisation 2016-10-18 21:38:18 +01:00
8b0ceeda5b removed library namespace 2016-10-18 19:10:09 +01:00
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
f79b76b414 reorganised project so its a bit more vertical for features 2016-10-18 18:52:43 +01:00
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
707f1d6908 renamed and removed some stuff that wasnt needed 2016-10-18 16:22:51 +01:00
84256e7bac Added ability to strip claims and forward to downstream service as headers 2016-10-18 15:51:56 +01:00
279aae3151 messing with dsl for stripping claims etc 2016-10-17 21:34:08 +01:00
2395736b6b started working on stripping claims from token 2016-10-17 20:46:30 +01:00
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
ce84ad4fc2 Added tests for identity server reference tokens, general refactoring and come config validation 2016-10-16 20:28:23 +01:00
7289cd803b renamed provider to handler 2016-10-16 16:47:08 +01:00
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
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
f545ba8620 removed thing that checks if route is authorised cos we dont need it 2016-10-14 20:08:09 +01:00
8c194a365b fixed failing tests after upgrade 2016-10-14 13:30:34 +01:00
6e61161406 updated to netstandard 1.4 and added authentication packages 2016-10-14 13:22:02 +01:00
7ae35f4ce3 added happy path tests for more middlewares 2016-10-13 19:59:12 +01:00
52ba77f4d5 adding midleware tests 2016-10-13 19:10:11 +01:00
5492b70c87 Acceptance test for complex url combo...cant believe it acually worked 2016-10-12 20:42:43 +01:00
581c9d01b9 finished removing fake, all tests now working 2016-10-12 20:38:29 +01:00
cdeb97731e tempoary commit while refactoring tests sorry bisect nazis 2016-10-12 19:34:47 +01:00
cff130196f Removed the fake woop 2016-10-12 14:00:13 +01:00
58393f07ec started adding authentication stack, thing that decides if we should be authenticated is in 2016-10-12 13:40:46 +01:00
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
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
a7a1143823 made a response middlware as terminating middleware... 2016-10-08 09:59:37 +01:00
8688c1eb6f removed flurl and made a request creator 2016-10-07 12:54:50 +01:00
74a7f5d270 ripping out flurl...sorry flurl 2016-10-06 21:18:12 +01:00
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
d86a52c1b8 renamed from service to repository, makes more sense i guess 2016-10-05 20:51:02 +01:00
f505fd6e90 renamed from service to repository, makes more sense i guess 2016-10-05 20:49:22 +01:00
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
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
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
f3128cffe0 failing pesky test 2016-09-14 21:18:25 +01:00
0627e9399b brought in flurl and stated adding tests for the requester 2016-09-13 20:29:00 +01:00
8423199754 hacking around to get a POST acceptance test working, doesnt really mean anything tbh 2016-09-13 19:34:53 +01:00
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
87702141e2 Added some configuration validation stuff but then realised probablt wont need this for a while 2016-09-07 22:53:39 +01:00
03ef47038a first passing proxy acceptnace test yeyyy! 2016-09-07 21:47:39 +01:00
71b7e7743e more simplification is that a word 2016-09-07 20:40:56 +01:00
15d7cafa1c Brought in YAML lib for configuration and added failing acceptance test 2016-09-01 09:05:04 +01:00
e7a41fbc4d hacking yaml config 2016-08-31 20:46:46 +01:00