946 Commits

Author SHA1 Message Date
geffzhang
799abf55c4
nuget package (#809)
* feat: Kubernetes ServiceDiscoveryProvider

* 编写k8s测试例子

* feat:fix kube config

* feat: remove port

* feat : complete the k8s test

* feat :  add kubeserviceDiscovery test

* feat : add kube provider unittest

* feat :add kubetnetes docs

how to use ocelot with kubetnetes docs

* keep the configuration as simple as possible, no qos, no cache

* fix: use http

* add PollingKubeServiceDiscovery

* feat : refactor logger

* feat : add  pollkube docs

* feat:Remove unnecessary code

* feat : code-block json

* feat: publish package Ocelot.Provider.Kubernetes

* feat : nuget package

* fix: Namesapce Spelling wrong

* fix:Namesapce Spelling Wrong
2019-03-12 10:33:34 +08:00
阿凌
4a1e8d571b IOcelotBuilder opens the IMvcCoreBuilder property for easy customization (#790)
* IOcelotBuilder opens the IMvcCoreBuilder property for easy customization

* Adjustment code
2019-03-11 22:39:27 +08:00
liweihan
49b2a0f0ce update cliamsParser (#798)
* update cliamsParser

* update using
2019-03-11 10:55:13 -03:00
SychevIgor
6f95b20b48 Okta integration (#807)
Okta integration
2019-03-11 10:53:51 -03:00
geffzhang
fcefae273f
K8s package (#804)
* feat: Kubernetes ServiceDiscoveryProvider

* 编写k8s测试例子

* feat:fix kube config

* feat: remove port

* feat : complete the k8s test

* feat :  add kubeserviceDiscovery test

* feat : add kube provider unittest

* feat :add kubetnetes docs

how to use ocelot with kubetnetes docs

* keep the configuration as simple as possible, no qos, no cache

* fix: use http

* add PollingKubeServiceDiscovery

* feat : refactor logger

* feat : add  pollkube docs

* feat:Remove unnecessary code

* feat : code-block json

* feat: publish package Ocelot.Provider.Kubernetes
2019-03-11 10:08:17 +08:00
Vincent Lefebvre
3c580e3d96 Update qualityofservice.rst (#801)
Tiny typo
2019-03-07 23:18:59 -03:00
Nagy Bálint
b4f5b68614 UriBuilder - remove leading question mark #747 (#794) 2019-02-26 09:39:56 -03:00
Shengjie Yan
eedc47c850 Update loadbalancer.rst (#796) 2019-02-26 09:28:27 -03:00
Duke
8d99449b08 fix bug #791 (#795) 2019-02-25 16:36:25 +01:00
Chris Swinchatt
26ae9948d5 Ignore response content if null (fix #785) (#786) 2019-02-20 11:16:55 -03:00
Jonathan Evason
a9cfc04aa9 Changed wording for ease of reading (#776)
Just some wording changes for clarification.
2019-02-06 17:00:23 -03:00
Marcell Toth
292c30fd8f Fix code example for SSL Errors (#780)
DangerousAcceptAnyServerCertificateValidator has to be set to "true" to disable certification validation, not "false".
2019-02-06 16:59:38 -03:00
Abolfazl
faaabbe7a7 fix issue #661 for Advanced aggregations (#704)
* Add Advanced Aggregation Feature

* fix overwrite error

* distinct data for better performance

* remove constructor parameter

* fix tests issue

* fix tests

* fix tests issue

* Add UnitTest and AcceptanceTest

* fix responseKeys typo

* Update SimpleJsonResponseAggregator.cs

* change port
2019-02-04 09:21:50 -03:00
geffzhang
44dccf1fce kubernetes provider (#772)
* feat: Kubernetes ServiceDiscoveryProvider

* 编写k8s测试例子

* feat:fix kube config

* feat: remove port

* feat : complete the k8s test

* feat :  add kubeserviceDiscovery test

* feat : add kube provider unittest

* feat :add kubetnetes docs

how to use ocelot with kubetnetes docs

* keep the configuration as simple as possible, no qos, no cache

* fix: use http

* add PollingKubeServiceDiscovery

* feat : refactor logger

* feat : add  pollkube docs

* feat:Remove unnecessary code

* feat : code-block json
2019-01-31 07:19:32 -03: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
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
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
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