Tom Pallister
68242102d8
Feature/hacking consul file config ( #157 )
...
* moving things around to see if I can get consul to store fileconfiguration rather than ocelotconfiguration
* more refactoring to see if we can get a test for the feature
* acceptance test passing for updating in consul..need to sort object comparison out
* fixed the failing tests
2017-11-17 17:58:39 +00:00
Tom Gardham-Pallister
24c2ba10de
found missing tests
2017-11-10 18:11:50 +00:00
Tom Gardham-Pallister
88e51971c5
only get config once in a request...could make this its own middleware one day?
2017-11-10 18:07:08 +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
Tom Gardham-Pallister
0bc39fca53
another test to make sure service provider config is craeted
2017-11-09 08:27:38 +00:00
Tom Gardham-Pallister
bc1ba53f21
unit tests passing again
2017-11-09 08:19:36 +00:00
Tom Gardham-Pallister
e43732290a
massive refactor to handle creating load balancer first time a re route is called
2017-11-08 21:26:49 +00:00
Tom Gardham-Pallister
ab14df9127
plugged new lb creator into tests
2017-11-07 08:12:48 +00:00
Tom Gardham-Pallister
bf0a31f8de
moving load balancer creation into its own class
2017-11-07 08:05:41 +00:00
Tom Gardham-Pallister
b57ae391ef
looking at #135 validation
2017-11-01 18:57:27 +00:00
Tom Pallister
f4e8dcbdab
everything working..now for the docs
2017-11-01 15:51:49 +00:00
Tom Pallister
3f2af85969
test passing with authentication being provided by the user and mapped to the re route in config
2017-11-01 15:25:55 +00:00
Tom Pallister
967f0f7128
all tests passing but i think im going to take registering auth our of the config
2017-11-01 13:37:03 +00:00
Tom Gardham-Pallister
e0c16bea32
unit and int tests are passing with auth changes...but acceptance tests are in a state and there are loads of todos...
2017-11-01 08:05:22 +00:00
Tom Pallister
fd9eae0152
commit to move to my back after hacking around at work..this is not simple :(
2017-10-30 18:06:45 +00:00
Tom Gardham-Pallister
d0d74f0886
match whole input with regex
2017-10-12 19:03:20 +01:00
Oleksandr Yershov
8bc5819f90
Merge remote-tracking branch 'origin/develop' into feature/#128-cookie-proxying-and-auto-redirect-configuration
2017-10-09 14:44:16 +03: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
Tom Pallister
6419919e74
unit tests pass...
2017-09-25 13:13:07 +01:00
Tom Pallister
1c98dcbca3
updated packages and project versions...12 errors!
2017-09-25 11:53:56 +01:00
TomPallister
cffb8b63d9
blasduihasd
2017-09-21 23:09:36 +01:00
TomPallister
c06b492b46
upgraded to netcoreapp2.0
2017-09-21 23:00:22 +01:00
Tom Gardham-Pallister
3cfa7fe6ed
added more tests to get build working
2017-08-30 18:25:48 +01:00
Tom Gardham-Pallister
7ef26f5f4b
fixes issue #117
2017-08-29 20:47:52 +01:00
Philip Wood
15827c2e45
Delete unused file
2017-07-18 22:57:00 +01:00
Philip Wood
de5ae05bd6
Refactor ExceptionHandlerMiddleware tests to use base class.
2017-07-18 11:57:48 +01:00
Philip Wood
ca4efa5e10
Back out of some of the functional changes to the ResponderMiddleware tests... I'll look at these again once the consolidation changes are merged.
2017-07-18 11:11:24 +01:00
Philip Wood
d02e921a58
Moved ScopedRepository into test base class.
2017-07-18 10:53:57 +01:00
Philip Wood
c70a90f415
Fix more test-related build warnings
2017-07-18 10:20:59 +01:00
Philip Wood
84743ede0e
Fix some test-related build warnings
2017-07-18 09:31:26 +01:00
Philip Wood
8042bbab2c
Moved common middleare test setup into a base class
2017-07-18 09:28:32 +01:00
Philip Wood
b0c12431d6
Added test coverage around responder middleware, and refactored these to not use test server.
2017-07-11 18:45:53 +01:00
TomPallister
09c9a25883
bit more tidying
2017-07-04 19:41:41 +01:00
Tom Pallister
50ee9e20d8
Merge pull request #110 from sharpn/develop
...
Adding JWT authentication for use with auth0
2017-06-30 09:32:55 +01:00
Nick Sharp
1168eb3110
Reenabling some tests
2017-06-29 08:58:41 +01:00
Nick Sharp
9532d940f1
Implementing jwt and adding tests
2017-06-28 21:43:37 +01:00
Tom Gardham-Pallister
0f60a353ef
now set region in config...or it defaults to something
2017-06-28 19:02:08 +01:00
Tom Gardham-Pallister
ab953f28fd
realised the user can just set the region..delete time
2017-06-28 08:17:48 +01:00
Tom Gardham-Pallister
0fa759c76c
first acceptance test failing..
2017-06-27 19:07:55 +01:00
Tom Gardham-Pallister
e4e7fcc943
unit tests for cache clearing passing
2017-06-27 18:54:15 +01:00
nicksharp
461ef6aa52
Merging upstream
2017-06-26 19:39:28 +01:00
Tom Gardham-Pallister
239dcfb6bd
working on region clearing cache, if using cachemanager back plance this would clear all servers in cluster
2017-06-26 19:10:20 +01:00
Nick Sharp
6209681b2c
Adding code ##BROKEN TESTS##
2017-06-26 11:50:58 +01:00
Tom Gardham-Pallister
e96d66139f
boost test coverage
2017-06-24 13:04:25 +01:00
TomPallister
190c967655
Merge branch 'master' into develop
2017-06-10 15:20:37 +01:00
geffzhang
02162dd7a6
RoundRobin loadblancer cause config error https://github.com/TomPallister/Ocelot/issues/103
2017-06-03 22:32:47 +08:00
Juan Carlos Santana Herrera
efa68e9949
Allowed scopes checking added to AuthorisationMiddleware.
...
Acceptance tests added.
2017-05-31 18:27:28 +01:00
Philip Wood
944e96c4f8
update to latest xunit prerelease
2017-05-09 19:44:47 +01:00
Philip Wood
0507806aae
Rough first go at test coverage. Might need tidying up.
2017-05-06 17:53:44 +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