307 Commits

Author SHA1 Message Date
Tom Pallister
e5ee57bf24
Feat/net6.0 upgrade (#1558)
* +semver: major upgrading from net5.0 to net6.0

* packages upgraded

* removed global.json for ocelot sf sample

* update build image

* test new build

* remove make

* fix tests

* make test fail like in CI

* tests passing locally

* updated docs


Co-authored-by: TGP <thomasgardham-pallister@Thomass-MacBook-Pro-2.local>
2022-01-20 09:04:04 +00:00
TomPallister
b46fedac24 rename authorisation to authorization 2020-12-01 16:54:52 +00:00
TomPallister
f62ed72dde all packages upgraded and tests passing 2020-12-01 11:06:49 +00:00
TomPallister
17b0555f55 tests passing 2020-11-30 11:27:37 +00:00
TomPallister
32551624bb wip tests failing 2020-11-27 19:01:27 +00:00
TomPallister
6eed692c29 more package updates 2020-11-27 16:31:34 +00:00
TomPallister
ebf85326cf removed rafty and updated more packages 2020-11-27 12:41:01 +00:00
TomPallister
b356539cbc update nuget packages and graphql example 2020-11-27 11:55:19 +00:00
TomPallister
a5a1606c3e upgrade dotnet test and coverages packages 2020-11-23 12:13:27 +00:00
TomPallister
f16cdd86b0 fix tests and line endings 2020-11-23 11:29:50 +00:00
TomPallister
c1776fb59f fix warnings 2020-11-23 11:19:54 +00:00
TomPallister
a9eec31aaf fix code broken after net5.0 upgrade 2020-11-20 12:10:46 +00:00
TomPallister
708b575857 upgrade csproj to net5.0 2020-11-20 09:31:45 +00:00
TomPallister
21b9d73c7f tweaks 2020-05-25 18:39:00 +01:00
TomPallister
56fe7b5ba9 wip 2020-05-25 16:59:49 +01:00
Tom Pallister
3439be8927
Rename all ReRoute to Route to move closer to YARP +semver: breaking 2020-05-23 20:50:05 +01:00
Tom Pallister
fe3e8bd23a
Remove Ocelot specific Middleware to make Ocelot more compatible with kestrel middleware and get ready for YARP 2020-05-23 15:48:51 +01:00
TomPallister
c9483cdad6 tests to handle some error cases and docs 2020-04-13 12:05:55 +01:00
TomPallister
c8c3d128f6 Merge branch 'ServiceProviderConfigurationScheme' of https://github.com/DavidLievrouw/Ocelot into DavidLievrouw-ServiceProviderConfigurationScheme 2020-04-12 17:44:57 +01:00
TomPallister
3dfcff822b Merge branch 'feature/603-bad-gateway' of https://github.com/jlukawska/Ocelot into jlukawska-feature/603-bad-gateway 2020-04-11 18:01:05 +01:00
Pedram Rezaei
84821c6c8d
Updated packages (#1133)
* Upgrading nugets

* doc changes

* more changes to remove warnings

* one more fix

* one more fix

* forcing the build
2020-04-11 10:00:58 +01:00
David Lievrouw
cd3dc00c1a Add ability to specify scheme of ServiceProviderConfiguration 2020-03-15 12:13:09 +01:00
jlukawska
8ead5114c3 update acceptance tests 2020-03-11 22:17:47 +01:00
jlukawska
f922f0c078
Merge pull request #3 from ThreeMammals/master
Master merge
2020-03-11 21:51:47 +01:00
TomPallister
36064b13d0 use random port generator on tests from master 2020-03-11 20:09:36 +00:00
TomPallister
c75227d5b8 Merge branch 'master' into jlukawska-feature/1115-find-available-port-in-acceptance-tests 2020-03-11 20:00:55 +00:00
TomPallister
d032774aa0 small refactor of RandomPortFinder 2020-03-11 19:52:24 +00:00
jlukawska
263f26ed51 #1115 find available ports to use in acceptance tests 2020-03-06 10:18:21 +01:00
TomPallister
ede5650a3c docs 2020-02-21 16:53:03 +00:00
TomPallister
ec8a5b6ddf finished tests around http2 2020-02-21 16:49:26 +00:00
TomPallister
2772ce406d all acceptance tests passing 2020-02-19 09:18:01 +00:00
TomPallister
d879721978 Merge branch 'master' into pitming-feature/MethodTransformer 2020-02-09 16:55:14 +00:00
TomPallister
7e80720881 acceptance tests 2020-02-09 16:15:39 +00:00
Tom Pallister
86e8d66daf
Activate ChangeToken when Ocelot's configuration changes #1037
* Add configuration change token (#1036)

* Add IOptionsMonitor<IInternalConfiguration>

* Activate change token from *ConfigurationRepository instead of FileAndInternalConfigurationSetter; add acceptance & integration tests

* Update documentation

* Use IWebHostEnvironment as IHostingEnvironment deprecated

Co-authored-by: Chris Swinchatt <chrisswinchatt@gmail.com>
2020-02-04 20:50:40 +00:00
jlukawska
cbb21a13b3 #603 return 502 on HttpRequestException 2020-01-22 16:14:20 +01:00
jlukawska
8985495f38 Merge remote-tracking branch 'origin/develop' into feature/603-bad-gateway 2020-01-22 14:58:04 +01:00
jlukawska
68e3ae8cdd #603 return 502 on HttpRequestException 2020-01-22 14:55:41 +01:00
Tom Pallister
ebe662abe6
make rate limiting whitelist a function so users can override with dynamic behaviour
* Make rate-limiting client whitelist dynamic
* Refactor `RateLimitOptions.ClientWhiteList`
* Fix typo in variable `enbleRateLimiting`
* Fix case in variable `clientIdheader`
author Taiwo Otubamowo <totubamowo@deloitte.co.uk>

* fix 1045

* #492 log 500 with error log level, acceptance test, unit test

* #492 minor changes

* initial commit for new feature #1077

allow to limit the number of concurrent tcp connection to a downstream service

* protect code against value not in accurate range

add unit test

* Do not crash host on Dispose

* Add test

* Pin GitVersion.CommandLine package version

* #683 validate if there are duplicated placeholders in UpstreamPathTemplate

* Use registered scheme from Eureka (#1087)

* extra test

* very brief mention MaxConnectionsPerServer in docs

* build develop like a PR

* more docs

* test

Co-authored-by: Taiwo O. <44668623+totubamowo@users.noreply.github.com>
Co-authored-by: Catcher Wong <catcher_hwq@outlook.com>
Co-authored-by: jlukawska <56401969+jlukawska@users.noreply.github.com>
Co-authored-by: buretjph <58700930+buretjph@users.noreply.github.com>
Co-authored-by: Jonathan Mezach <jonathanmezach@gmail.com>
Co-authored-by: 彭伟 <pengweiqhca@sina.com>
2020-01-19 17:47:57 +00:00
TomPallister
9da55ea037 small changes to log all responses either information or warning 2020-01-19 16:27:08 +00:00
Tom Pallister
07df311094
harden acceptance tests (#1105)
* dont use duplicate port

* change port as this often breaks for some reason
2020-01-19 15:50:11 +00:00
Tom Pallister
664c6ef626
Updated to netcoreapp3.1
* added basic sample

* updated docs
2020-01-18 22:17:22 +00:00
TomPallister
92ce87c61c docker build works on windows 2020-01-16 21:37:51 -08:00
Tom Pallister
fab09ab4dc
updated acceptance and integration tests to use unique ports (#1091)
* updated acceptance and integration tests to use unique ports

* fix broken travis builds

* fix change port
2020-01-13 20:43:21 +00:00
jlukawska
f35a07a3da #603 return 502 when request cannot be completed 2019-11-22 08:01:02 +01:00
jlukawska
c82a613c16 Merge remote-tracking branch 'origin/develop' into feature/492-log-500-status-code-as-error
# Conflicts:
#	test/Ocelot.AcceptanceTests/Ocelot.AcceptanceTests.csproj
2019-11-11 22:23:19 +01:00
jlukawska
f0667471dd #492 log 500 with error log level, acceptance test, unit test 2019-11-07 09:18:05 +01:00
geffzhang
903b380a5b update .net core 3.0 RTM (#1025)
* feat: update to asp.net core 3.0 preview 9

* fix :  AspDotNetLogger unittest

* feat:  update generic host  and  useMvc

1、Using 'UseMvc' to configure MVC is not supported while using Endpoint Routing https://github.com/aspnet/AspNetCore/issues/9542
2、 use IHost and IHostBuilder

* feat : update .net core 3.0 rc1

* eureka extension

* fixed logger formatter error

* fixed synchronous operations are disallowed of ReadToEnd method

* fix log tests

* Flush method of FakeStream should do nothing

* Update ContentTests.cs

* Fixed ws tests

* feat: delelte comment code

* feat: update .net core 3.0 RTM

* Update OcelotBuilderTests.cs

* Update .travis.yml

mono 6.0.0 and dotnet 3.0.100

* Update Ocelot.IntegrationTests.csproj

update Microsoft.Data.SQLite 3.0.0

* Update .travis.yml

* feat: remove FrameworkReference

1、 remove FrameworkReference
2、 update package

* add appveyor configuration to use version of VS2019 with dotnet core 3 sdk support

* update obsoleted SetCollectionValidator method

* Swap out OpenCover for Coverlet

* Bump Cake to 0.35.0

* Downgrade coveralls.net to 0.7.0
Fix disposing of PollConsul instance

* Remove environment specific path separator

* Do not return ReportGenerator on Mac/Linux

* Remove direct dependency on IInternalConfiguration

* Fix ordering of variable assignment

* Fix broken tests

* Fix acceptance tests for Consul
2019-10-28 07:24:30 +00:00
Víctor Martos
8117366313 [New feature] Support claims to path transformation (#968)
* Add the option to change DownstreamPath based on Claims

* Add tests for Claims to downstream path
2019-08-13 01:03:20 +08:00
Thiago Loureiro
5d82e68534
Removed unused usings, removed empty spaces, removed tons os warnings (#903) 2019-05-28 11:00:54 +08:00
Thiago Loureiro
fe3cf44c45
Upgrade Projects (#900)
* Upgrade Projects

* Push to trigger builds

* Tried Thread Sleep before deleting file

* FileDeleteTryCatch

* Updated from AspnetCore All to App

* Travis version Upgrade (.net core 2.2)

* dotnet 2.2.105
2019-05-24 10:06:16 +08:00