Commit Graph

77 Commits

Author SHA1 Message Date
a66c7989e2 docs for reloading json 2018-08-04 08:21:28 +01:00
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
0f68f18060 Merge branch 'develop' of github.com:ThreeMammals/Ocelot into develop 2018-07-31 21:27:35 +01:00
92043bad90 #515 added detail about needing to set base url for administration api usage 2018-07-31 21:27:27 +01:00
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
a5bb74a2ea Update tracing.rst (#509) 2018-07-30 07:49:11 +01:00
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
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
9f4448378a Adjusted routing.rst (while learning) (#504) 2018-07-27 18:01:32 +01:00
fa6dc5901a Spelling in documentation. (#491)
* Minor spelling issues

* spelling
2018-07-25 08:41:04 +01:00
daa0491992 #469 more docs around how services should be set up in consul (#485) 2018-07-21 09:01:45 +01:00
5e91d30352 Spell correction of Fowarding to Forwarding (#482) 2018-07-20 22:39:54 +01:00
8f4ae03290 Added support for query string parameters in upstream path template (#467) 2018-07-12 19:26:23 +01:00
19ea93d10e +semver: breaking and updated docs, this is breaking because i missed it with last release that remove delegating handlers and there are a lot of package upgrades 2018-07-11 06:34:35 +01:00
69d766b01d #446 link to issue that might help people with okta integration 2018-07-10 18:06:28 +01:00
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
89c3887d36 #453 made caching docs a bit better (#457) 2018-07-09 18:35:01 +01:00
c8b72f31b5 #438 removed singleton delegating handlers as you cannot have these (#456) 2018-07-09 08:08:39 +01:00
85efcf0787 Update authentication.rst (#449)
Cannot assign lambda expression to an implicity-typed variable
2018-07-05 06:57:08 +01:00
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
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
9979f8a4b8 #372 use period timespan to decide when client can make requests again (#404) 2018-06-15 20:29:49 +01:00
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
3bde18f6f8 Update raft.rst (#394) 2018-06-11 22:04:43 +03:00
7d0320beca Update authentication.rst (#395)
Fix spelling
2018-06-11 22:04:13 +03:00
3ef978460c update LoadBalancer Options (#388)
update LoadBalancer with LoadBalancerOptions
2018-06-08 17:55:58 +03:00
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
1823c832a6 +semver: major merged netstandard2.0 upgrade and updated all packages. Also had to change identity server test due to scope deduping and put a few awaits in. 2018-05-11 07:59:03 +01:00
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
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
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
636d116491 #309 allow users to ignore ssl warnings, not sure this is advisable (#325)
* #309 allow users to ignore ssl warnings, not sure this is advisable

* #309 docs for ssl ignore
2018-04-22 12:05:49 +01:00
4f061f2b74 Feature/steeltoe (#324)
* #262 - Integrated Steeltoe Service Discovery with Ocelot for review.

* messing around

* seems to be working with eureka

* acceptance test passing with external lib references

* #262 support for netflix eureka service discovery thanks to pivotal

* #262 fixed warnings
2018-04-20 21:28:49 +01:00
a5f3e0fa75 Fixing documentation typo (#321) 2018-04-18 20:36:35 +01:00
5e1605882b Feature/timeout for http client (#319)
* #318 http client obeys Qos timeout or defaults to 90 seconds, which is think is default for http client anyway but zero docs....

* #318 updated docs to specify default timeout and make it clear how to set it on a ReRoute basis

* #318 missed this

* #318 missed this
2018-04-18 15:24:16 +01:00
f9dc8659c0 forgot to update docs 2018-04-18 08:48:21 +01:00
aa55fe34cb Feature/merge configuration files (#316)
* #296 renamed configuration.json to ocelot.json in preparation

* removed things we dont need for tests

* another file we dont need

* removed some async we dont need

* refactoring to consolidate configuration code

* removed another pointless abstraction

* #296 started writing merge code

* #296 coming up with ideas for this config merging

* #296 still hacking this idea around

* #296 will now do a crappy merge on the configuration

* #296 change so tests pass on windows
2018-04-17 22:06:41 +01:00
3607c0867e Update middlewareinjection.rst (#317)
Class name "OcelotMiddlewareConfiguration" does not exist and "UseOcelot" extension method expects a "OcelotPipelineConfiguration" so i think this documentaiton is outdated.
2018-04-17 19:27:16 +01:00
fa09e4cf7a Support adding custom plaintext headers to downstream requests (#314) 2018-04-14 06:41:12 +01:00
b46ef1945d Feature/graphql (#312)
* #298 initial hacking around better aggregation

* #298 bit more hacking around

* #298 abstraction over httpresponsemessage

* #298 tidying up

* #298 docs

* #298 missed this

* #306 example of how to do GraphQL
2018-04-12 17:48:43 +01:00
a15f75dda8 #298 initial hacking around better aggregation (#310)
* #298 initial hacking around better aggregation

* #298 bit more hacking around

* #298 abstraction over httpresponsemessage

* #298 tidying up

* #298 docs

* #298 missed this
2018-04-12 17:35:04 +01:00
982eebfc74 Feature/#295 consul acl (#307)
* removed file

* updated package

* updated package

* updated package

* updated package

* updated package

* updated package

* updated package

* all packages updated

* #295 can add token to service provider config and this will be used by consul clients to get services and configuration

* #295 wait longer for this test
2018-04-08 15:54:58 +01:00
463a7bdab4 Feature/websockets (#273)
* #212 - hacked websockets proxy together

* faffing around

* #212 hacking away :(

* #212 websockets proxy middleware working

* #212 map when for webockets working

* #212 some test refactor

* #212 temp commit

* #212 websockets proxy working, tests passing...need to do some tidying and write docs

* #212 more code coverage

* #212 docs for websockets

* #212 updated readme

* #212 tidying up after websockets refactoring

* #212 tidying up after websockets refactoring

* #212 tidying up after websockets refactoring

* stuck a warning in about logging levels into docs!
2018-03-23 18:01:02 +00:00
772c36b933 Fix typo (#292) 2018-03-21 06:29:45 +00:00
23c2a07e3c Fix typo projct (#291) 2018-03-21 06:29:12 +00:00
b51df71d7b #280 Add headers to response (#286)
* #280 can now add response headers inc trace id, now need to consolidate the header place holder stuff

* #280 changed port for linux tests

* #280 lots of hacking around to handle errors and consolidate placeholders into one class
2018-03-18 14:58:39 +00:00
ed11f3024c Feature/#274 (#281)
* #274 added acceptance tests, need to work out failing unit tests but probably going to be a redesign where we hold a reference to the cookie container and empty it if needed

* #274 updated code coverage value

* #274 offloaded cache logic to builder in preparation for adding state

* #274 hacked something together but this is not right approach

* #274 updated defaults and docs

* #274 updated code coverage
2018-03-17 11:35:16 +00:00
fd2c5364fc #270 exposed ReRoute priority (#272) 2018-03-13 20:31:22 +00:00
16c70e8b65 #264 missed this docs change 2018-03-10 21:24:07 +00:00
4c840d40a6 Feature/re route specific handlers (#269)
* #264 added handlers to config

* #264 added global handlers object and defaut param for method, not sure this is correct api for users yet

* #264 Can now add all sorts of delegating handlers in all sorts of ways

* +semver: breaking #264
2018-03-10 21:02:59 +00:00