1119 Commits

Author SHA1 Message Date
geffzhang
0afceb40f5 fix: use http 2019-01-30 08:04:48 +08:00
geffzhang
bd7e18ca42 keep the configuration as simple as possible, no qos, no cache 2019-01-30 07:36:19 +08:00
geffzhang
7427968261 Merge branch 'develop' of https://github.com/geffzhang/Ocelot into develop 2019-01-29 12:41:52 +08:00
geffzhang
635c293a6d feat :add kubetnetes docs
how to use ocelot with kubetnetes docs
2019-01-29 12:41:46 +08:00
geffzhang
be0cf85882
Merge pull request #54 from ThreeMammals/develop
merge newest
2019-01-29 12:21:57 +08:00
geffzhang
1f5c71b45c feat : add kube provider unittest 2019-01-29 12:20:38 +08:00
geffzhang
b1cd23459e feat : add kubeserviceDiscovery test 2019-01-29 11:31:26 +08:00
geffzhang
7f73bd3a64 feat : complete the k8s test 2019-01-29 09:15:30 +08:00
Deon Heyns
05ede70e62 Typos (#768) 2019-01-27 19:47:39 +03:30
Deon Heyns
0b54894e68 Typo usual => usually (#767) 2019-01-27 19:46:44 +03:30
Deon Heyns
938fa9687f Typo querystring => query string (#766) 2019-01-27 08:44:14 -03:00
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
Deon Heyns
5067c96229 Fixed typo there => their (#763) 2019-01-26 16:11:52 +01:00
geffzhang
b9ff7802bd feat: remove port 2019-01-20 13:19:39 +08:00
geffzhang
c212604b85 feat:fix kube config 2019-01-20 13:17:57 +08:00
geffzhang
23248b080e 编写k8s测试例子 2019-01-19 17:16:24 +08:00
Vincent Lefebvre
ed3b6f41ab Update README.md (#756)
Fixed typo "Ocleot"
2019-01-19 00:07:06 +03:30
Tom Pallister
fbe3bb1ddb updated release docs (#745) 2019-01-16 09:36:38 -05:00
Stephen Brown
9101aed5e8 Fix formatting in getting started page (#752) 2019-01-16 09:56:53 -03:00
geffzhang
3525fda8ad feat: Kubernetes ServiceDiscoveryProvider 2019-01-13 19:23:12 +08:00
geffzhang
08c2ac1b05
Merge pull request #53 from ThreeMammals/develop
merge newest
2019-01-13 15:26:03 +08:00
Thiago Loureiro
02e5cea7b1 Reducing Warnings from Ocelot (#743) 2019-01-11 17:56:23 -03:00
Felix Boers
6495891a07 Support placeholder in service fabric services names (#722) 2019-01-11 08:54:54 -05:00
Brian Delgado
7ba6d303b4 Claim values are now being shown when constructing. ClaimValueNotAuthorisedError. (#711) 2019-01-11 09:58:33 +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
Ronald van Helden
35253025c7 Added the possibility to manage the placeholders from outside ocelot (#724) 2019-01-03 05:55:23 -08:00
Phil Proctor
9bbb6364f2 Checkin for caching the template matching for significant route finder performance improvements (#728) 2018-12-26 17:05:20 -03:00
Phil Proctor
ac211886f1 Dockerfile build (#727)
* Added Dockerfile run configuration and fixed manual test project to run appropriately

* Finished updates for Docker build and management of project through docker commands. Any of the dotnet CLI commands accessible through 'builder' container and default run is manual test project

* Added a docker-compose.yaml files to support commands: docker-compose run tests, docker-compose run benchmarks, docker-compose run manual-test
2018-12-26 08:30:59 -08:00
JulienBara
3c4808a1eb Indent doc properly (#713)
Hi,

The sentence wasn't on the same indentation level. I was surprised when reading the sentence in the doc. Here is my little help on that :)

Thank you for your work on this project

J
2018-12-17 19:47:01 +00:00
David Nissimoff
fa5892d236 Web Sockets: work around .NET FX bug (#702) 2018-12-17 19:39:06 +00:00
Ali
14cff23d48 Update README.md (#700)
Fixing the meaning
2018-12-17 19:38:11 +00:00
Ruben Mamo
37efe354ca Fixed error message when reroute configuration is not found #650 (#698) 2018-12-17 19:37:35 +00:00
Vinicius Cavagnolli
44209e97be Fixing a syntax error in qualityofservice.rst (#691) 2018-12-17 19:32:57 +00:00
Tom Gardham-Pallister
87602941de Merge branch 'thiagoloureiro-fixed_security_alerts' into develop 2018-12-16 14:56:30 +00:00
Tom Gardham-Pallister
85141cb27f Merge branch 'fixed_security_alerts' of https://github.com/thiagoloureiro/Ocelot into thiagoloureiro-fixed_security_alerts 2018-12-16 14:56:21 +00:00
Tom Pallister
50824e79da
updated dotnet core sdk and cake build script (#717)
* updated dotnet core sdk and cake build script

* update travis SDK version

* update mono for travis and update .net core sdk to what appveyor supports

* same version of .net in travis as cake build

* same sdk on traivs and appveyor
2018-12-16 14:54:12 +00:00
Edwin
5533907ad7 Grammar (#672) 2018-12-07 23:41:10 -08:00
thiago.azevedo
8b930d10b2 Updated MemoryCache package from 2.1.1 to 2.1.2 to fix build issue 2018-11-29 12:11:36 +01:00
thiago.azevedo
adbe7a0227 Fixed Microsoft.AspNetCore.All version for security purposes 2018-11-29 12:05:27 +01:00
Tom Pallister
41d4f9c6df
#645 added a sample project using the administration api, tested locally and works as expected (#660) 2018-10-13 17:48:03 +01: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
Mike
7fb66dd34d Fix DI Registration for IDownstreamRouteProvider (#656)
The two singletons registered for IDownstreamRouteProvider,
DownstreamRouteFinder and DownstreamRouteCreator, were registered using
`TryAddSingleton`. This would cause DownstreamRouteFinder to be
instantiated and found but the "Try" made DownstreamRouteCreator not
registered.

This was noted in the following in `DownstreamRouteProviderFactory`:

```
_providers = provider.GetServices<IDownstreamRouteProvider>().ToDictionary(x => x.GetType().Name);
```

With the registration being done using `TryAddSingleton` only one
element was added to the dictionary. Changing this to `AddSingleton`
fixed this issue.

This was uncovered in an error on line 30 of
`DownstreamRouteProviderFactory`. The key for
`nameof(DownstreamRouteCreator)` did not exist causing an exception to
be thrown.
2018-10-13 11:53:59 +01:00
geffzhang
5fb54e8032
Merge pull request #52 from ThreeMammals/develop
merge newest code
2018-10-11 19:57:16 +08:00
Tom Pallister
622de5efd0
#639 added copywrite notice (#648) 2018-09-30 10:17:51 +01:00
vasicvuk
b58b3810d8 Update to support Subprotocols. Solves #639 (#642)
Ocelot websocket middleware did not work for STOMP over websocket. After investigation i found out that the issue was with subprotocol and headers that are send and filtered. 

I the end i used ASP.Net core proxy as a reference to solve the issue here:

3015029f51/src/Microsoft.AspNetCore.Proxy/ProxyAdvancedExtensions.cs

So i modified the code to use the way ASP.Net proxy handles this.
2018-09-30 09:17:09 +01:00
Tom Gardham-Pallister
65b4115e90 made benchmark work 2018-09-25 21:02:13 +01:00
Tom Pallister
2d834037e4
removed dep we dont need in dsrfm (#636) 2018-09-25 20:33:31 +01:00
Tom Pallister
dc28d49bda
Feature/rename middleware (#637)
* #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

* renamed some middlewares so they make more sense

* add downstreamroutefindermiddleware benchmark
2018-09-25 20:25:38 +01:00