1166 Commits

Author SHA1 Message Date
Tom Pallister
65710f4a94
+semver: breaking PRs merged from Develop, Eureka honour scheme, don't crash on dispose and validate duplicate placeholders in UpstreamPathTemplate
* 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

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 15:00:21 +00:00
TomPallister
836923d268 more docs 2020-01-19 11:19:03 +00:00
TomPallister
4a18e46814 build develop like a PR 2020-01-19 11:15:50 +00:00
TomPallister
49d1748105 very brief mention MaxConnectionsPerServer in docs 2020-01-19 11:14:42 +00:00
TomPallister
bb14855f83 Merge branch 'buretjph-feature/httphandler-maxconnectionperserver' into develop 2020-01-19 11:10:34 +00:00
TomPallister
e4f5a71939 extra test 2020-01-19 11:10:21 +00:00
TomPallister
19881d51ff Merge branch 'feature/httphandler-maxconnectionperserver' of https://github.com/buretjph/Ocelot into buretjph-feature/httphandler-maxconnectionperserver 2020-01-19 10:58:31 +00:00
TomPallister
63b32077b0 Merge branch 'jlukawska-feature/683-validate-two-same-placeholders-in-upstream-template' into develop 2020-01-19 10:53:13 +00:00
TomPallister
48f871088c Merge branch 'feature/683-validate-two-same-placeholders-in-upstream-template' of https://github.com/jlukawska/Ocelot into jlukawska-feature/683-validate-two-same-placeholders-in-upstream-template 2020-01-19 10:50:55 +00:00
TomPallister
a2a5ec635a Merge branch 'jmezach-bugfix/fcp-dispose' into develop 2020-01-19 10:48:26 +00:00
TomPallister
96707a5055 Merge branch 'bugfix/fcp-dispose' of https://github.com/jmezach/Ocelot into jmezach-bugfix/fcp-dispose 2020-01-19 10:46:11 +00:00
彭伟
b28ced4ec5 Use registered scheme from Eureka (#1087) 2020-01-19 10:42:11 +00:00
Tom Pallister
664c6ef626
Updated to netcoreapp3.1
* added basic sample

* updated docs
2020-01-18 22:17:22 +00:00
Tom Pallister
0dcb942f23
badge tracks master (#1101) 2020-01-18 14:52:38 +00:00
Tom Pallister
8d6dd887e3
change github and coveralls url to threemammals (#1100) 2020-01-18 14:28:43 +00:00
Tom Pallister
2dcaf27857
code coverage working on windows and linux 2020-01-17 22:09:32 +00:00
TomPallister
9cb00ef159 update cakebuild script for windows and made windows build work 2020-01-17 07:34:57 +00:00
TomPallister
92ce87c61c docker build works on windows 2020-01-16 21:37:51 -08:00
TomPallister
0e6f44b342 updated to remove develop 2020-01-16 22:15:16 +00:00
TomPallister
47efd86661 update readme with circle badge 2020-01-16 21:57:37 +00:00
TomPallister
a8a31cdb8a refactor more build stuff for docker 2020-01-16 21:46:54 +00:00
TomPallister
37ceea019c need to push packages to github here 2020-01-14 10:41:24 +00:00
TomPallister
826fae3f27 removing stuff we dont need from build process 2020-01-14 09:50:10 +00:00
TomPallister
ec7f0de562 use make instead of lots of files 2020-01-13 22:43:16 +00:00
TomPallister
fe60a97d27 moved a few things around 2020-01-13 22:33:07 +00:00
TomPallister
7377f305c2 testing circleci 2020-01-13 22:21:25 +00:00
TomPallister
925422f7ad testing circleci 2020-01-13 22:20:07 +00: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
caf5cf80fa #683 validate if there are duplicated placeholders in UpstreamPathTemplate 2019-12-16 21:19:31 +01:00
Jonathan Mezach
ef52ea3fc4 Pin GitVersion.CommandLine package version 2019-12-12 08:48:13 +01:00
Jonathan Mezach
ac7d0d0af3 Add test 2019-12-12 08:35:22 +01:00
Jonathan Mezach
fd74ea280b Do not crash host on Dispose 2019-12-12 08:12:10 +01:00
Jean-Philippe BURET
dbb61834d9 protect code against value not in accurate range
add unit test
2019-12-10 14:23:54 +01:00
Jean-Philippe BURET
3942c329ab initial commit for new feature #1077
allow to limit the number of concurrent tcp connection to a downstream service
2019-12-10 13:50:15 +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
f15e3a9acf
Merge pull request #1 from ThreeMammals/develop
Update
2019-11-11 22:09:38 +01:00
jlukawska
90c5676887 #492 minor changes 2019-11-11 21:47:31 +01:00
Pitming
ec622dc0ad Add DownstreamHttpMethodCreatorMiddleware 2019-11-08 13:08:01 +01:00
Pitming
58b82f0fc7 Add DownstreamHttpMethodCreatorMiddleware 2019-11-08 12:59:34 +01:00
jlukawska
f0667471dd #492 log 500 with error log level, acceptance test, unit test 2019-11-07 09:18:05 +01:00
Vladimir Rets
41519b1e56 Update README.md (#1043) 2019-11-05 23:41:52 +08:00
Thiago Loureiro
1b72b58560
Update README.md 2019-11-05 23:40:56 +08:00
catcherwong
2c97c5859d fix 1045 2019-11-05 11:02:04 +08:00
totubamowo
21be46e680 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>
2019-10-30 18:53:37 +00:00
TomPallister
fbd9c01a42 Merge branch 'release/13.8.0' 2019-10-28 07:34:56 +00: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
Karol Deland
f4c9e2a737 Fix typo LeadConnection --> LeastConnection (#1027) 2019-10-05 20:38:25 +08:00
Anderson de Paiva
c8a2144a4b Resolved BugFix #993 (#996) 2019-09-23 23:33:37 +08:00
Ali Rasoulian
88f31966d4 change config file's name regex pattern (#1014)
change file name pattern to accept files name by dev's conditions.
2019-09-23 23:29:18 +08:00
donaldgray
bef40041ba Add ConfigAwarePlaceholders class (#997)
* Add ConfigAwarePlaceholders class

This allows placeholder values to be sourced from IConfiguration in
addition to set values.

* Rework how IPlaceholders is decorated in container
2019-09-12 23:09:38 +08:00