720 Commits

Author SHA1 Message Date
Tom Gardham-Pallister
f179b7d0d0 updated cake script for windows 2018-02-08 18:03:51 +00:00
Tom Gardham-Pallister
ec7b4ff8fa Merge branch 'release-3.0.2' 2018-02-05 18:34:54 +00:00
Tom Gardham-Pallister
6ff8c1cac4 Merge branch 'develop' of github.com:TomPallister/Ocelot into develop 2018-02-03 11:00:46 +00:00
Tom Gardham-Pallister
35fff08f48 checking what happens on app veyor 2018-02-03 11:00:36 +00:00
Tom Pallister
d3e53062a2
Update README.md 2018-02-03 10:46:18 +00:00
Tom Pallister
a4bb0dd13b
fix for #214 and some tests for the class it was in but not for the error (cant be arsed to test as have to spin up IIS) (#218) 2018-02-03 09:02:01 +00:00
Tom Pallister
deac86fb8a Merge branch 'release-3.0.1' 2018-02-02 13:07:00 +00:00
Tom Pallister
5848e12d15
Feature/issue 209 upstream host based routing (#216)
* from messing around at lunch...initial hacking seems to sort of work..need to think of all the test scenarios

* drunken train hacking

* docs for upstreamhost
2018-02-02 11:06:54 +00:00
Stuart Saltzman
86951d6aaa fix: LF for linux scripts (.sh) (#215) 2018-02-01 20:00:39 +00:00
Tom Pallister
f690f287cb forgot this 2018-02-01 13:51:55 +00:00
Tom Gardham-Pallister
9d0a7f5961 Merge branch 'release-3.0.0' 2018-01-31 20:49:30 +00:00
Tom Gardham-Pallister
f1244ff3d4 +semver: breaking 2018-01-31 20:40:59 +00:00
Tom Pallister
3ac9b3bd87
hacked together load balancing reroutes in fileconfig (#211)
* hacked together load balancing reroutes in fileconfig

* some renaming and refactoring

* more renames

* hacked away the old config json

* test for issue 213

* renamed key

* dont share ports

* oops

* updated docs

* mvoed docs around

* port being used
2018-01-31 20:34:55 +00:00
Tom Pallister
f572d1b0ca
downstreambaseurl placeholder for multiple location value redirects (#207) 2018-01-27 20:03:49 +00:00
Tom Gardham-Pallister
a38f3cb454 Merge branch 'release-2.0.11' 2018-01-22 20:23:03 +00:00
Tom Pallister
d0eee70c46
Feature/transform headers (#204)
* New feature that lets a user do find and replace on an upstream header

* can transform downstream and upstream headers, not sure if interface is good

* can replace location header with placeholder

* added some syntax
2018-01-22 20:21:29 +00:00
Stuart Saltzman
9c048ba615 fix/#98 - command line build on mac (#203)
* Cake v0.25.0; git ignore .idea/ directory

* revert cake to upstream

* revert src/Ocelot/Middleware/OcelotMiddlewareExtensions.cs

* comments
2018-01-18 21:02:30 +00:00
kinglionsoft
24870b1a83 fixed log message (#202)
* Can't set StatusCode after Response has started

* fixed log message
2018-01-18 19:28:53 +00:00
kinglionsoft
0784954971 Can't set StatusCode after Response has started (#200) 2018-01-16 07:10:52 +00:00
Tom Pallister
31f526d3cd
passing test for issue (#197)
* passing test for issue

* fix test when run together
2018-01-13 06:09:21 +00:00
Tom Gardham-Pallister
1824f99ae9 Merge branch 'release-2.0.10' 2018-01-10 18:50:37 +00:00
Tom Gardham-Pallister
d0b07b2cc2 this isnt used 2018-01-10 18:50:02 +00:00
Tom Gardham-Pallister
a9becc182b Merge branch 'release-2.0.9' 2018-01-10 18:17:51 +00:00
Tom Pallister
852f11c423
Feature/fix #194 (#196)
* added failing acceptance test

* added validation for double slash in upstream and downstream path templates
2018-01-10 18:11:56 +00:00
lousaibiao
b909b34591 Update routing.rst (#193)
lack of ":"
2018-01-10 08:14:14 +00:00
Tom Pallister
6992f9e113
fixed issu where if service dropped out then leastconnection would not pick it up again (#195) 2018-01-10 08:12:22 +00:00
Tom Gardham-Pallister
5d2889aaee Merge branch 'release-2.0.8' 2018-01-06 16:40:28 +00:00
Tom Pallister
6a20baeb97
Improving logging and request id (#189)
* hacking around to work out why logging and request id isnt working

* pass request id into logger so it can be structured, removed a bunch of debug logging we dont need because diagnostic trace gets it

* changed config dependency

* always have tracing available

* made it so we dont need to pass config into services.AddOcelot anymore with .net core 2.0

* add test

* lots of changes relating to logging and request ids, also updated documentation

* fixed failing test i missed
2018-01-06 16:39:05 +00:00
Tom Gardham-Pallister
e232c3be98 Merge branch 'develop' into release-2.0.7 2018-01-05 21:50:16 +00:00
Tom Pallister
464f266148
Feature/fix #185 round 2 (#188)
* Changed routing to support a catch all style

* refactoring placeholder tuff

* implemented simple priority in the routing
2018-01-05 21:49:03 +00:00
Tom Pallister
fef19ddf98
Changed routing to support a catch all style (#187)
* Changed routing to support a catch all style

* refactoring placeholder tuff

* implemented simple priority in the routing
2018-01-05 21:26:15 +00:00
Tom Gardham-Pallister
9de00d6a46 implemented simple priority in the routing 2018-01-05 21:14:17 +00:00
Tom Gardham-Pallister
9f8da1fbe4 refactoring placeholder tuff 2018-01-05 08:18:37 +00:00
Tom Gardham-Pallister
9cb201cfa9 Changed routing to support a catch all style 2018-01-04 21:35:44 +00:00
Tom Pallister
931a115ffa
changes to add new feature to url routing (#186) 2018-01-02 18:49:22 +00:00
Tom Pallister
f082f7318a
Raft round 2 (#182)
* brought in rafty

* moved raft classes into Ocelot and deleted from int project

* started to set up rafty in Ocelot

* RAFTY INSIDE OCELOT...WOOT

* more work adding rafty...just need to get auth working now

* rudimentary authenticated raft requests working

* asyn await stuff

* hacked rafty into the fileconfigurationcontroller...everything seems to be working roughly but I have a lot of refactoring to do

* updated to latest rafty that doesnt need an id

* hacky but all tests passing

* changed admin area set up to use builder not configuration.json, changed admin area auth to use client credentials

* missing code coverage

* ignore raft sectionf for code coverage

* ignore raft sectionf for code coverage

* back to normal filters

* try exclude attr

* missed these

* moved client secret to builder for authentication and updated docs

* lock to try and fix error accessing identity server created temprsa file on build server

* updated postman scripts and changed Ocelot to not always use type handling as this looked crap when manually accessing the configuration endpoint

* added rafty docs

* changes I missed

* added serialisation code we need for rafty to process commands when they proxy to leader

* moved controllers into their feature slices
2018-01-01 18:40:39 +00:00
Philip Wood
194f76cf7f #177 - optimise the build scripts (#178)
* Remove explicit restore, and don't rebuild during tests.

This currently fails because the release config doesn't contain symbols needed by opencover.

* Build unit tests in debug

Turns out that for test coverage we need to have debug symbols.
2017-12-18 22:11:17 +00:00
Tom Gardham-Pallister
79029f50d3 change to make test pass for issue 171 2017-12-12 07:45:03 +00:00
Tom Gardham-Pallister
526e2dbf18 Merge branch 'awarrenlove-ocelot-builder-lifetimes' into develop 2017-12-12 07:42:59 +00:00
Tom Gardham-Pallister
b6baa55221 Merge branch 'ocelot-builder-lifetimes' of https://github.com/awarrenlove/Ocelot into awarrenlove-ocelot-builder-lifetimes 2017-12-12 07:42:29 +00:00
Tom Pallister
5855a14935
Feature/more validation (#174)
* added message assertion for validation test

* another message assertion

* more validation tests
2017-12-09 14:41:35 +00:00
Tom Pallister
67a421cb69
Feature/fix build always reporting green (#173)
* added last exit code to wrapper scripts

* try force fail

* ooops missed ;

* trying again

* fail build with bad test

* removed exception

* removed using
2017-12-06 08:24:11 +00:00
Eilyyyy
4f27a50503 add file configuration fluent validation and change default configura… (#168)
* add file configuration fluent validation and change default configuration validator to fluent validator

* add file validation failed error code

* change authentication schemes check to async

* beautify the code ^_^

* clean file validation and fix test failure.
2017-12-05 18:29:44 +00:00
Andrew Warren-Love
189471caba demonstrate issue #169 2017-12-04 10:11:56 -05:00
Tom Gardham-Pallister
31fe6af614 correct path for images 2017-12-04 09:05:15 +00:00
Tom Gardham-Pallister
e12b9d123e images for docs 2017-12-04 09:03:49 +00:00
Tom Gardham-Pallister
df03e2b51a added more docs around authentication 2017-12-01 08:10:45 +00:00
Tom Gardham-Pallister
c986f750bb merge 2017-11-29 08:21:11 +00:00
Tom Gardham-Pallister
868fada01f should return when error 2017-11-29 08:19:46 +00:00
Tom Pallister
dff1df822f
Update README.md 2017-11-28 22:01:45 +00:00