87 Commits

Author SHA1 Message Date
Deon Heyns
bf9bd16c08 Typo algorythm => algorithm (#764) 2019-01-26 16:13:21 +01:00
Deon Heyns
a2c1956417 Some Typo fixes (#765) 2019-01-26 16:12:20 +01:00
Tom Pallister
11a2d13f18
Feat/monorepo (#734)
* copied everything from repos back to ocelot repo

* added src projects to sln

* removed all test projects that have no tests

* added all test projects to sln

* removed test not on master

* merged unit tests

* merged acceptance tests

* merged integration tests

* fixed namepaces

* build script creates packages for all projects

* updated docs to make sure no references to external repos that we will remove

* +semver: breaking
2019-01-07 19:52:53 +00:00
Vinicius Cavagnolli
44209e97be Fixing a syntax error in qualityofservice.rst (#691) 2018-12-17 19:32:57 +00:00
Edwin
5533907ad7 Grammar (#672) 2018-12-07 23:41:10 -08:00
Tom Pallister
89639ce7e7 removed text we dont need 2018-10-13 17:48:04 +01:00
Gil
724fe2fb6f Update doc file loadbalancer.rst (#644)
* Update doc file loadbalancer.rst

* Update loadbalancer.rst

Resolve typo
2018-10-13 17:46:49 +01:00
Tom Pallister
aa14b2f877
Feature/#623 (#632)
* #630 only set status code if response hasnt started, otherwise exception

* #623 made {RemoteIpAddress} available as placeholder so you can do x-forwarded-for

* #623 local address different on mac, windows and linux for integration test
2018-09-24 08:22:44 +01:00
Tom Gardham-Pallister
dcc3f0deae #559 +semver: breaking always use environment when working out AddOcelot on builder 2018-09-20 18:33:00 +01:00
Tom Pallister
a5c1839ed7
Feature/adding some re route specific validation tests (#590)
* started refactoring json config validation stack because ive made it crap

* inject validators from DI rather than instanciating, next step mock them

* added some unit tests for specific validators on the train yey
2018-09-04 22:27:54 +01:00
Tom Pallister
55277cac45
Feature/should not start if specified using service discovery but no provider registered (#584)
* #580 added failing test

* #580 added failing test for dynamic reroutes

* #580 added failing test for validator

* #580 validation tests passing

* #580 acceptance tests passing

* #580 got rid of the list in sdp factory

* +semver: breaking #580 service discovery provider returned by delegate must be the same as name in config, this is a breaking change because you have to specify consul now

* #580 removed use servide discovery property from file config, we dont need it, just use the service name as indicator the user wants to use service discovery for the given reroute
2018-08-31 18:28:43 +01:00
Justin
0a7d81038e Update requestid.rst (#587)
fixing a typo
2018-08-31 18:20:13 +01:00
Andrew Rissing
1ea59f12b3 Correcting minor typos. (#583) 2018-08-30 06:54:11 +01:00
Tom Pallister
6d8b18c01d
Feature/inject error mapper (#562)
* added delegate to select last handler

* #529 implemented a way we can inject the last delegating handler

* wip - moving code

* #529 removed loads of qos code and moved it into Ocelot.Provider.Polly

* #529 can now inject http client expcetions to ocelot errors mappers and updated docs
2018-08-19 12:57:43 +01:00
Tom Pallister
e909cf9ce7
updated docs to advise you need Ocelot.Administration when using admin API (#552) 2018-08-14 20:50:51 +01:00
sa
373a3927f2 Small spelling correction (#550) 2018-08-14 18:21:10 +01:00
Tom Pallister
edbe33415d
#529 updated docs (#545) 2018-08-13 00:58:58 +05:30
Tom Pallister
4e22b3cfc4
#529 +semver: breaking updated docs to show how to load pivotal package (#542) 2018-08-12 20:00:36 +05:30
Tom Pallister
87348e5d1b
Feature/removed consul and its deps to other package (#539)
* #529 removed consul deps and introduced delegate to find service discovery provider

* +semver: breaking moved consul configuration to package..introduced mechanism for packages to configure Ocelot pipeline
2018-08-12 17:28:41 +05:30
Tom Pallister
a46462506d
#529 updated docs (#536) 2018-08-11 19:30:26 +05:30
Tom Gardham-Pallister
9ae4ab9260 correct spelling 2018-08-04 15:15:41 +01:00
Tom Pallister
0e7665064e
#344 how to signalr (#530) 2018-08-04 08:22:17 +01:00
Tom Pallister
a66c7989e2 docs for reloading json 2018-08-04 08:21:28 +01:00
Tom Pallister
37fb32b7f5
broke out butterfly into seperate project (#521)
* broke out butterfly into seperate project

* nearly did it...

* updated docs as I have broken the butterfly code off into a seperate dll
2018-08-03 08:11:47 +01:00
Tom Pallister
0f68f18060 Merge branch 'develop' of github.com:ThreeMammals/Ocelot into develop 2018-07-31 21:27:35 +01:00
Tom Pallister
92043bad90 #515 added detail about needing to set base url for administration api usage 2018-07-31 21:27:27 +01:00
Tom Pallister
43ad065e4a
#500 validate that there is an address in consul service, also made this clear in docs (#520) 2018-07-31 21:21:46 +01:00
Varorbc
a5bb74a2ea Update tracing.rst (#509) 2018-07-30 07:49:11 +01:00
Tom Pallister
b0a20d13b9
Feature/more dynamic routes (#508)
* Made the file config poller use IHostedService, bit more generic, not just need to provide the correct implementations of the repo services and it will poll anything..this means we can open up redis for #458

* removed comments

* #458 allow users to set rate limits per service for dynamic re routes

* #458 added docs for rate limting on dynamic reroutes
2018-07-29 20:32:45 +01:00
Tom Pallister
1817564ea5
Feature/fix #463 (#506)
* #463 save both files

* #463 made it so we dont save to disk on startup unless using admin api
2018-07-27 23:13:22 +01:00
WrathZA
9f4448378a Adjusted routing.rst (while learning) (#504) 2018-07-27 18:01:32 +01:00
WrathZA
fa6dc5901a Spelling in documentation. (#491)
* Minor spelling issues

* spelling
2018-07-25 08:41:04 +01:00
Tom Pallister
daa0491992
#469 more docs around how services should be set up in consul (#485) 2018-07-21 09:01:45 +01:00
Tom Pallister
8f4ae03290
Added support for query string parameters in upstream path template (#467) 2018-07-12 19:26:23 +01:00
Tom Gardham-Pallister
69d766b01d #446 link to issue that might help people with okta integration 2018-07-10 18:06:28 +01:00
Tom Pallister
75f9a8f9be
#451 started implementing querystring support in templates (#459)
* #451 started implementing querystring support in templates

* #451 ocelot.json back to normal and specified in docs query string wont work in upstream template

* Revert "#451 ocelot.json back to normal and specified in docs query string wont work in upstream template"

This reverts commit 563193f7b2f78bad6109484fe77f3c87de831005.

* #451 ocelot.json back to normal and specified in docs query string wont work in upstream template
2018-07-10 18:00:17 +01:00
Tom Pallister
89c3887d36
#453 made caching docs a bit better (#457) 2018-07-09 18:35:01 +01:00
Tom Pallister
c8b72f31b5
#438 removed singleton delegating handlers as you cannot have these (#456) 2018-07-09 08:08:39 +01:00
Lee Kah Wai
85efcf0787 Update authentication.rst (#449)
Cannot assign lambda expression to an implicity-typed variable
2018-07-05 06:57:08 +01:00
Tom Pallister
0f7aaa097d
dont use dynamic routing unless service discovery provider explictly set and log that we are going to use dynamic info (#437)
* #428 dont use dynamic routing unless service discovery provider explictly set and log that we are going to use dynamic info

* #428 fixed tests that were failing due to not maintaining backwards compat with config for service discovery
2018-06-27 18:15:04 +01:00
JoJo2406
e0f76210f7 Change port in Consul documentation (#418)
* Fix Consul default port

the default port for the consul api is 8500 not 9500 - https://www.consul.io/docs/agent/options.html

* Fix typo
2018-06-19 20:54:57 +01:00
Tom Pallister
9979f8a4b8
#372 use period timespan to decide when client can make requests again (#404) 2018-06-15 20:29:49 +01:00
Tom Pallister
0f2a9c1d0d
Feature/poll consul (#392)
* WIP - implement a consul service discovery poller, lots of shared code with existing, refactor next and a todo in the docs to finish

* #374 implement polling for consul as option

* #374 updated docs to remove todo

* #374 fixed failing unit test

* #374 fixed failing unit test

* #374 fixed failing acceptance test
2018-06-12 00:58:08 +03:00
Wayne Douglas
3bde18f6f8 Update raft.rst (#394) 2018-06-11 22:04:43 +03:00
Wayne Douglas
7d0320beca Update authentication.rst (#395)
Fix spelling
2018-06-11 22:04:13 +03:00
geffzhang
3ef978460c update LoadBalancer Options (#388)
update LoadBalancer with LoadBalancerOptions
2018-06-08 17:55:58 +03:00
Tom Pallister
1e2e953b2c
Feature/automatic routes with sd (#351)
* #340 started looking at supporting automatic routing when using service discovery

* #340 getting old routing tests to pass

* #340 renamed stuff to provider rather than finder, as its not longer finding anything

* #340 working towards supporting dynamic routing

* #340 loads of refactoring to make configuration work with dynamic routing

* #340 refactor consul config code so the registry class owns it

* #340 default to consul to maintain backwards compat

* #340 added docs, finished this branches todos
2018-05-14 21:26:10 +01:00
Tom Pallister
4e17190b3f
Feature/service discovery config key (#347)
* #346 make service discoery config key configurable

* #346 missed this test

* #346 updated docs
2018-05-08 21:18:38 +01:00
Tom Pallister
6793278597
Feature/sticky sessions (#336)
* started messing around with sticky sessions idea

* more tests for sticky session thing

* more faffing cant make up my mind how to do this

* +semver: breaking added sticky session load balancer and changed way load balancer configuration is set by user

* #336 made tests BDDFy
2018-04-30 18:55:11 +01:00
Tom Pallister
77211e9f16
Feature/store configuraton json idented (#328)
* messing around with benchmark.net.seems Ocelot adds about 2ms to a request..lets make this less? :)

* #326 store json indented so it looks nice :P
2018-04-24 08:30:17 +01:00