1087 Commits

Author SHA1 Message Date
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
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
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
tdejong-tools4ever
b6f3f0f28a Modified WebSocketMiddleWare to close connection on premature close (#998) 2019-09-12 23:07:34 +08:00
Víctor Martos
0ac77f2e50 Add the documentation for ChangeDownstreamPathTemplate (#991) 2019-08-23 23:51:09 +08:00
Rick van Lieshout
7efb217400 Update bigpicture.rst (spelling) (#994)
fixed 2 spelling/grammar mistakes.
2019-08-23 23:50:01 +08: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
liweihan
b32850a804 fix possible IndexOutOfRange bug (#979) 2019-08-13 01:00:21 +08:00
Stjepan
647a21bb2d Update requestid.rst (#973)
Typo fix
2019-08-13 00:59:28 +08:00
RobKraft
437515594d Include using statements in the code sample (#984)
Include the necessary using statements in the code sample
2019-08-13 00:57:07 +08:00
Thiago Loureiro
60e3a3737a
Revert "Fix to AddOcelot(), Config File Merge (#970)" (#974)
This reverts commit ffecbed43a33d65280a8ce90f98819a5ca24473d.
2019-07-28 23:27:27 +08:00
rjwester
ffecbed43a Fix to AddOcelot(), Config File Merge (#970)
* [develop]:
Added more functionality to configuration files as suggested by CesarD

* [develop]:
Clean up
2019-07-28 23:01:17 +08:00
Talary
76fdf2922a Fix build errors (#972)
* Fix build errors

* Remove JSON pkg version as conflicted with Cake.Json in mono build
2019-07-28 21:31:00 +08:00
Alex Kursov
ad00f20a23 Fix tracing wrapper. (#966) 2019-07-24 11:54:42 +08:00
Marcelo Castagna
176a7bb960
allow to add delegating handlers by type (#943) 2019-07-01 08:23:06 -03:00
Thiago Loureiro
c08f873dab
Upgraded to .NET Core 2.2 Runtime/Sdk (#950) 2019-07-01 13:19:11 +08:00
Jesus Angulo
3216dfdc00 Fix incorrect command rendered (#949)
When you read docs the command about enabling RBAC permissions for Kubernetes integration are badly rendered.
2019-07-01 10:06:02 +08:00
Jason Morton
e1d7f28951 Fix issue #936: Kubernetes service discovery provider doesn't allow cross-namespace discovery (#938)
* Allow default k8s namespace to be overridden

* Add ServiceNamespace to ReRoute configuration

* Remove debug comments

* Update unit tests

* Unit tests (Eureka)

* Update docs

* Re-run build
2019-06-25 11:08:18 +08:00
Jesus Angulo
959a92ec6a Fixing docs , a brace is out of code section (#931)
A closing brace is out of code section and appears before the description paragraph after JSON code sample.
2019-06-18 14:36:14 +08:00
Roc Lee
de8ec19fbb #921 Disagree "Allows access to unpass node (#825)" (#924) 2019-06-18 14:36:05 +08:00
Thiago Loureiro
920d8332df Re-run build 2019-06-01 19:57:54 +08:00
Thiago Loureiro
60655c4056 Fixed Merge Conflicts 2019-06-01 19:52:34 +08:00
Paul Arnett
b707cd6175 Updated Consul discovery to resolve hostname (#909)
* Updated Consul discovery to resolve target API location to hostname if known Consul node, to allow SSL API certificate validation

* Handling added for null response from Consul client when querying nodes
2019-06-01 19:22:33 +08:00
Dheeraj Kumar
ab1988b155 Update authentication.rst (#907) 2019-05-30 22:57:59 +08:00
Ankit
2b5adab34a Update qualityofservice.rst (#906)
- Fixed typo, corrected spelling for isolation
- Updated `QoSOptions` example by setting the `DurationOfBreak` to 1000 ms instead of 5 ms. Also, updated the explanation for `DurationOfBreak` since it was not clear from the documentation that `DurationOfBreak` is in ms. From example, it appear to be required to set in second which is not the case.
2019-05-30 14:56:11 +08:00
Ankit
fd6f36dab8 Fixed Typo and formatting (#905) 2019-05-30 14:55:34 +08:00
Thiago Loureiro
5d82e68534
Removed unused usings, removed empty spaces, removed tons os warnings (#903) 2019-05-28 11:00:54 +08:00
liweihan
4476f8273e [WIP] use HttpContext.RequestAborted to support cancel a request (#902)
* use HttpContext.RequestAborted to support cancel a request

* register context.HttpContext.RequestAborted.ThrowIfCancellationRequested() in ExceptionHandlerMiddleware

* add LangVersion

* add default number to OcelotErrorCode
fix unit test

* revert back to one line
2019-05-27 16:23:30 +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
Ali
5b02fb7fe7 Fix/consul poller option (#899)
* cache key now can generate from query string for request with Get Methods and request content for requests with post methods

* MD5Helper Added. OutputCacheMiddleware now can generate cache key using method, url and content

* ConsulFileConfigurationPollerOption created. consul poller option bug fixed

* ConsulFileConfigurationPollerOptionTest created
2019-05-23 09:39:12 +08:00
Thiago Loureiro
ed2082a4a3
Update README.md 2019-05-22 21:03:38 +08:00
Kapil Patel
bb588c50af Typo error, single grammar change 'Indentity' to 'Identify' (#898) 2019-05-22 09:48:17 +08:00