-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge 'ThreeMammals:develop' into 'master' #1
Commits on Nov 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 708b575 - Browse repository at this point
Copy the full SHA 708b575View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7254d4d - Browse repository at this point
Copy the full SHA 7254d4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c6bfc3 - Browse repository at this point
Copy the full SHA 1c6bfc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9eec31 - Browse repository at this point
Copy the full SHA a9eec31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f49bf5 - Browse repository at this point
Copy the full SHA 7f49bf5View commit details
Commits on Nov 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c1776fb - Browse repository at this point
Copy the full SHA c1776fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f16cdd8 - Browse repository at this point
Copy the full SHA f16cdd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b23e0c - Browse repository at this point
Copy the full SHA 4b23e0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fab351 - Browse repository at this point
Copy the full SHA 0fab351View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1185576 - Browse repository at this point
Copy the full SHA 1185576View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5a1606 - Browse repository at this point
Copy the full SHA a5a1606View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71a1053 - Browse repository at this point
Copy the full SHA 71a1053View commit details
Commits on Nov 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ef69429 - Browse repository at this point
Copy the full SHA ef69429View commit details -
Configuration menu - View commit details
-
Copy full SHA for 730c940 - Browse repository at this point
Copy the full SHA 730c940View commit details -
Merge branch 'feat/net5upgrade' of github.com:ThreeMammals/Ocelot int…
…o feat/net5upgrade
Configuration menu - View commit details
-
Copy full SHA for 7e2b312 - Browse repository at this point
Copy the full SHA 7e2b312View commit details
Commits on Nov 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f413102 - Browse repository at this point
Copy the full SHA f413102View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e1dc3f - Browse repository at this point
Copy the full SHA 6e1dc3fView commit details -
Merge branch 'feat/net5upgrade' of github.com:ThreeMammals/Ocelot int…
…o feat/net5upgrade
Configuration menu - View commit details
-
Copy full SHA for 3a8d55f - Browse repository at this point
Copy the full SHA 3a8d55fView commit details
Commits on Nov 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 94ce022 - Browse repository at this point
Copy the full SHA 94ce022View commit details -
Configuration menu - View commit details
-
Copy full SHA for de0f4f9 - Browse repository at this point
Copy the full SHA de0f4f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03c8cd6 - Browse repository at this point
Copy the full SHA 03c8cd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdefa2d - Browse repository at this point
Copy the full SHA bdefa2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a39b5fd - Browse repository at this point
Copy the full SHA a39b5fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bc5ad1 - Browse repository at this point
Copy the full SHA 9bc5ad1View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdad2bb - Browse repository at this point
Copy the full SHA fdad2bbView commit details
Commits on Nov 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b356539 - Browse repository at this point
Copy the full SHA b356539View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebf8532 - Browse repository at this point
Copy the full SHA ebf8532View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eed692 - Browse repository at this point
Copy the full SHA 6eed692View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3255162 - Browse repository at this point
Copy the full SHA 3255162View commit details
Commits on Nov 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 17b0555 - Browse repository at this point
Copy the full SHA 17b0555View commit details
Commits on Dec 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f62ed72 - Browse repository at this point
Copy the full SHA f62ed72View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab3533b - Browse repository at this point
Copy the full SHA ab3533bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ede71c4 - Browse repository at this point
Copy the full SHA ede71c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2dd70f - Browse repository at this point
Copy the full SHA b2dd70fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b46feda - Browse repository at this point
Copy the full SHA b46fedaView commit details
Commits on Dec 11, 2020
-
+semver: upgrade to net5.0 (#1390)
* breaking upgrade base build image to net5.0 * add make and build tools to image * fix code broken after net5.0 upgrade * fix warnings * fix tests and line endings * upgrade dotnet test and coverages packages * update circle build image * removed rafty and updated more packages * bring back develop * rename authorisation to authorization
Configuration menu - View commit details
-
Copy full SHA for b74a119 - Browse repository at this point
Copy the full SHA b74a119View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ef6abd - Browse repository at this point
Copy the full SHA 3ef6abdView commit details -
+semver: breaking bump to version 17.0.0 (#1392)
* upgrade csproj to net5.0 * add make and build tools to image * fix code broken after net5.0 upgrade * update circle build image * removed rafty and updated more packages * all packages upgraded and tests passing * bring back develop * rename authorisation to authorization
Configuration menu - View commit details
-
Copy full SHA for 9abd47b - Browse repository at this point
Copy the full SHA 9abd47bView commit details
Commits on Dec 20, 2021
-
TGP committed
Dec 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 77c6c30 - Browse repository at this point
Copy the full SHA 77c6c30View commit details -
update nuget packages to reference ocelot logo from GitHub
TGP committedDec 20, 2021 Configuration menu - View commit details
-
Copy full SHA for ff6f6e3 - Browse repository at this point
Copy the full SHA ff6f6e3View commit details -
update nuget packages to reference ocelot logo from GitHub
TGP committedDec 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 096f94d - Browse repository at this point
Copy the full SHA 096f94dView commit details -
TGP committed
Dec 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 47a024b - Browse repository at this point
Copy the full SHA 47a024bView commit details -
TGP committed
Dec 20, 2021 Configuration menu - View commit details
-
Copy full SHA for ba4b767 - Browse repository at this point
Copy the full SHA ba4b767View commit details -
Merge branch 'feat/fix-build' into develop
TGP committedDec 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 3dcc6b6 - Browse repository at this point
Copy the full SHA 3dcc6b6View commit details
Commits on Jan 20, 2022
-
* +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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5ee57b - Browse repository at this point
Copy the full SHA e5ee57bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52555fc - Browse repository at this point
Copy the full SHA 52555fcView commit details -
fix test and use latest coveralls tool
TGP authored and TGP committedJan 20, 2022 Configuration menu - View commit details
-
Copy full SHA for 69bd9a8 - Browse repository at this point
Copy the full SHA 69bd9a8View commit details -
use new base image for build & release
TGP authored and TGP committedJan 20, 2022 Configuration menu - View commit details
-
Copy full SHA for c07e6ee - Browse repository at this point
Copy the full SHA c07e6eeView commit details -
install net5.0 in correct place in container
TGP authored and TGP committedJan 20, 2022 Configuration menu - View commit details
-
Copy full SHA for f1db025 - Browse repository at this point
Copy the full SHA f1db025View commit details -
add nuget tool for publish to cake script
TGP authored and TGP committedJan 20, 2022 Configuration menu - View commit details
-
Copy full SHA for 822a0b0 - Browse repository at this point
Copy the full SHA 822a0b0View commit details -
use xplat nuget package for cake
TGP authored and TGP committedJan 20, 2022 Configuration menu - View commit details
-
Copy full SHA for 565968a - Browse repository at this point
Copy the full SHA 565968aView commit details -
TGP authored and TGP committed
Jan 20, 2022 Configuration menu - View commit details
-
Copy full SHA for b6b789c - Browse repository at this point
Copy the full SHA b6b789cView commit details -
TGP authored and TGP committed
Jan 20, 2022 Configuration menu - View commit details
-
Copy full SHA for 36ad6e1 - Browse repository at this point
Copy the full SHA 36ad6e1View commit details
Commits on Apr 14, 2023
-
Ray committed
Apr 14, 2023 Configuration menu - View commit details
-
Copy full SHA for 96a3fd8 - Browse repository at this point
Copy the full SHA 96a3fd8View commit details -
Ray committed
Apr 14, 2023 Configuration menu - View commit details
-
Copy full SHA for 4afdea3 - Browse repository at this point
Copy the full SHA 4afdea3View commit details -
Ray committed
Apr 14, 2023 Configuration menu - View commit details
-
Copy full SHA for c444c25 - Browse repository at this point
Copy the full SHA c444c25View commit details
Commits on Apr 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8920836 - Browse repository at this point
Copy the full SHA 8920836View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07263be - Browse repository at this point
Copy the full SHA 07263beView commit details -
tests passing on debian 10 (#1647)
* tests passing on debian 10 * how to generate test cert * updated build image to include git * updated build image to include openssh-client
Configuration menu - View commit details
-
Copy full SHA for 312f1c6 - Browse repository at this point
Copy the full SHA 312f1c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2ec165 - Browse repository at this point
Copy the full SHA b2ec165View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66d09e3 - Browse repository at this point
Copy the full SHA 66d09e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for dec610d - Browse repository at this point
Copy the full SHA dec610dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4db816a - Browse repository at this point
Copy the full SHA 4db816aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46b12a2 - Browse repository at this point
Copy the full SHA 46b12a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9cc313 - Browse repository at this point
Copy the full SHA b9cc313View commit details -
updated report generator (#1648)
* updated report generator * report working
Configuration menu - View commit details
-
Copy full SHA for 3bd0f8d - Browse repository at this point
Copy the full SHA 3bd0f8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fdc761c - Browse repository at this point
Copy the full SHA fdc761cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc25f4e - Browse repository at this point
Copy the full SHA bc25f4eView commit details
Commits on Jun 4, 2023
-
#1660 Huge logs because of StyleCop.Analyzers warnings (#1663)
* Add StyleCop.Analyzers package * Fix SA0001: XML comment analysis is disabled due to project configuration * Fix SA1609: Property documentation should have value * Fix CS1591: Missing XML comment for publicly visible type or member {xyz} * Fix SA1101: Prefix local calls with this * Fix SA1413: The last statement in a multi-line C# initializer or list is missing a trailing comma. * Fix SA1135: A using directive is not qualified. * Fix compiler errors * Fix SA1651: Do not use placeholder elements * Fix compiling error * Fix SA1113: Comma should be on the same line as previous parameter * Fix SA1116: The parameters should begin on the line after the declaration, whenever the parameter span across multiple lines * Fix SA1137: Elements should have the same indentation * Fix SA1200: Using directive should appear within a namespace declaration * Fix SA1316: Tuple element names should use correct casing * Fix SA1503: Braces should not be omitted * Fix SA1505: An opening brace should not be followed by a blank line * Fix SA1507: Code should not contain multiple blank lines in a row * Fix SA1508: A closing brace should not be preceded by a blank line * Fix SA1512, SA1515 * Fix SA1513: Closing brace should be followed by blank line * Fix SA1400: Element 'OpenTracingTracer' should declare an access modifier * Fix SA1515: Single-line comment should be preceded by blank line * Fix SA1518: File is required to end with a single newline character * Add StyleCop * Fix SA1633: A C# code file is missing a standard file header. * Disable SA1602: An item within a C# enumeration is missing an Xml documentation header. * Fix SA1600: Elements should be documented * Fix SA1604: Element documentation should have summary * Fix SA1618: The documentation for type parameter 'T' is missing * Fix SA1629: Documentation text should end with a period. * Fix SA1649: File name should match first type name * Fix SA1600: Elements should be documented * Upgrade K8s sample to ASP.NET 7. Rename project to Ocelot.Samples.OcelotKube.DownstreamService * Upgrade K8s sample to ASP.NET 7. Rename project to Ocelot.Samples.OcelotKube.ApiGateway * Fix CS0169: The field 'xxx' is never used * Fix CS0219: The variable 'baseUrl' is assigned but its value is never used * Fix CS0414: The field 'xxx' is assigned but its value is never used * Fix CS1570: XML comment has badly formed XML * Fix CS0649: Field 'xxx' is never assigned to, and will always have its default value null * Fix CS0618: 'member' is obsolete: 'text' * Fix NU1504: Duplicate 'PackageReference' items found: Microsoft.Data.SQLite 7.0.4, Microsoft.Data.SQLite 7.0.5 * Upgrade sample to ASP.NET 7 * Fix NU5048: The 'PackageIconUrl'/'iconUrl' element is deprecated. Consider using the 'PackageIcon'/'icon' element instead. Learn more at https://aka.ms/deprecateIconUrl * Rewrite a RequestDelegate object definition * Fix CS0618: 'member' is obsolete: 'text' * Fix CA1816: Change Dispose() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. * Fix CA1822: Member 'GivenThereIsAConfiguration' does not access instance data and can be marked as static * Fix CA1837: Use 'Environment.ProcessId' instead of 'Process.GetCurrentProcess().Id' * Fix CA2211: Non-constant fields should not be visible. Convert to property. * Fix IDE0060: Remove unused parameter 'path' if it is not part of a shipped public API * Fix CA1816: Change ConsulWebSocketTests.Dispose() to call GC.SuppressFinalize(object). * Fix IDE1006: Naming rule violation: These words must begin with upper case characters * Fix IDE1006: Naming rule violation: These words must begin with upper case characters: AcceptanceTests\WebSocketTests * Fix last issues * Upgrade basic sample to ASP.NET 7
Configuration menu - View commit details
-
Copy full SHA for 6ca54fe - Browse repository at this point
Copy the full SHA 6ca54feView commit details -
fixed up required spacing in README (#1499)
Co-authored-by: Justin Middler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 433dfca - Browse repository at this point
Copy the full SHA 433dfcaView commit details
Commits on Sep 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 346df03 - Browse repository at this point
Copy the full SHA 346df03View commit details
Commits on Sep 19, 2023
-
Release features #1499 #1663 (#1660) (#1693)
* push code coverage for main and develop branches * #1660 Huge logs because of StyleCop.Analyzers warnings (#1663) * Add StyleCop.Analyzers package * Fix SA0001: XML comment analysis is disabled due to project configuration * Fix SA1609: Property documentation should have value * Fix CS1591: Missing XML comment for publicly visible type or member {xyz} * Fix SA1101: Prefix local calls with this * Fix SA1413: The last statement in a multi-line C# initializer or list is missing a trailing comma. * Fix SA1135: A using directive is not qualified. * Fix compiler errors * Fix SA1651: Do not use placeholder elements * Fix compiling error * Fix SA1113: Comma should be on the same line as previous parameter * Fix SA1116: The parameters should begin on the line after the declaration, whenever the parameter span across multiple lines * Fix SA1137: Elements should have the same indentation * Fix SA1200: Using directive should appear within a namespace declaration * Fix SA1316: Tuple element names should use correct casing * Fix SA1503: Braces should not be omitted * Fix SA1505: An opening brace should not be followed by a blank line * Fix SA1507: Code should not contain multiple blank lines in a row * Fix SA1508: A closing brace should not be preceded by a blank line * Fix SA1512, SA1515 * Fix SA1513: Closing brace should be followed by blank line * Fix SA1400: Element 'OpenTracingTracer' should declare an access modifier * Fix SA1515: Single-line comment should be preceded by blank line * Fix SA1518: File is required to end with a single newline character * Add StyleCop * Fix SA1633: A C# code file is missing a standard file header. * Disable SA1602: An item within a C# enumeration is missing an Xml documentation header. * Fix SA1600: Elements should be documented * Fix SA1604: Element documentation should have summary * Fix SA1618: The documentation for type parameter 'T' is missing * Fix SA1629: Documentation text should end with a period. * Fix SA1649: File name should match first type name * Fix SA1600: Elements should be documented * Upgrade K8s sample to ASP.NET 7. Rename project to Ocelot.Samples.OcelotKube.DownstreamService * Upgrade K8s sample to ASP.NET 7. Rename project to Ocelot.Samples.OcelotKube.ApiGateway * Fix CS0169: The field 'xxx' is never used * Fix CS0219: The variable 'baseUrl' is assigned but its value is never used * Fix CS0414: The field 'xxx' is assigned but its value is never used * Fix CS1570: XML comment has badly formed XML * Fix CS0649: Field 'xxx' is never assigned to, and will always have its default value null * Fix CS0618: 'member' is obsolete: 'text' * Fix NU1504: Duplicate 'PackageReference' items found: Microsoft.Data.SQLite 7.0.4, Microsoft.Data.SQLite 7.0.5 * Upgrade sample to ASP.NET 7 * Fix NU5048: The 'PackageIconUrl'/'iconUrl' element is deprecated. Consider using the 'PackageIcon'/'icon' element instead. Learn more at https://aka.ms/deprecateIconUrl * Rewrite a RequestDelegate object definition * Fix CS0618: 'member' is obsolete: 'text' * Fix CA1816: Change Dispose() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. * Fix CA1822: Member 'GivenThereIsAConfiguration' does not access instance data and can be marked as static * Fix CA1837: Use 'Environment.ProcessId' instead of 'Process.GetCurrentProcess().Id' * Fix CA2211: Non-constant fields should not be visible. Convert to property. * Fix IDE0060: Remove unused parameter 'path' if it is not part of a shipped public API * Fix CA1816: Change ConsulWebSocketTests.Dispose() to call GC.SuppressFinalize(object). * Fix IDE1006: Naming rule violation: These words must begin with upper case characters * Fix IDE1006: Naming rule violation: These words must begin with upper case characters: AcceptanceTests\WebSocketTests * Fix last issues * Upgrade basic sample to ASP.NET 7 * fixed up required spacing in README (#1499) Co-authored-by: Justin Middler <[email protected]> * Update README.md --------- Co-authored-by: TomPallister <[email protected]> Co-authored-by: Justin Middler <[email protected]> Co-authored-by: Justin Middler <[email protected]> Co-authored-by: Tom Pallister <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a90664b - Browse repository at this point
Copy the full SHA a90664bView commit details
Commits on Sep 21, 2023
-
Merge pull request #1695 from ThreeMammals/develop
Technical delivery of top features in develop
Configuration menu - View commit details
-
Copy full SHA for ebe70fd - Browse repository at this point
Copy the full SHA ebe70fdView commit details
Commits on Sep 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 818d1fc - Browse repository at this point
Copy the full SHA 818d1fcView commit details -
Exception mapper naming (#1211)
* Fix typo in class and file name "Exeption" -> "Exception" * And rename the test * IDE1006 Naming rule violation: These words must begin with upper case characters: {should_*} Fix name violation --------- Co-authored-by: Anthony Steele <[email protected]> Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 455d7d3 - Browse repository at this point
Copy the full SHA 455d7d3View commit details -
#908 Quality of Service - Configuration (#1279)
* Fixing an issue where only setting timeout value in QoS would result in a exception getting thrown. Issue #908 * Apply wrapping in case of two policies or more * Enable unit testing using DI pattern * Add unit tests for the PollyCircuitBreakingDelegatingHandler class * Split using sections for Ocelot.* and System.* namespaces * Fix code review issue: "more than 1" * File-scoped namespace * Fix messages * IDE1006 Naming rule violation: These words must begin with upper case characters * IDE0062 Local function can be made static * IDE1006 Naming rule violation: These words must begin with upper case characters: should_* * Remove and Sort Usings * Remove and Sort Usings * RaynaldM code review --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21bc4a4 - Browse repository at this point
Copy the full SHA 21bc4a4View commit details -
Fixed logger message typos in the OutputCacheMiddleware class (#1315)
* fixed typo in log * Update OutputCacheMiddleware.cs * Update OutputCacheMiddleware.cs * Fix typos and improve logger messages for OutputCacheMiddleware --------- Co-authored-by: PLTHLOU <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6081ce - Browse repository at this point
Copy the full SHA e6081ceView commit details -
fix: minor grammar fix in default rate limit response message (#1639)
Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8893f04 - Browse repository at this point
Copy the full SHA 8893f04View commit details -
#1288 Query string char missing (#1335)
* fix char missing when query string contains the placeholder name and value * fix the regex problem with removing a query param when it is not the first * Remove and Sort Usings * CA1845 Use span-based 'string.Concat' and 'AsSpan' instead of 'Substring' * IDE0057 Substring can be simplified. Use range operator * IDE0057 Substring can be simplified. Use range operator * IDE0042 Variable declaration can be deconstructed. Deconstruct variable declaration --------- Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec85b13 - Browse repository at this point
Copy the full SHA ec85b13View commit details
Commits on Sep 23, 2023
-
#1057 #1068 Add service discovery logs (#1366)
* log Consul querying and the answers * Code review: Fix long expressions * Remove and Sort Usings * Use expression body * Right order of initialization sentances --------- Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b27761f - Browse repository at this point
Copy the full SHA b27761fView commit details -
#893 Problems to cancel a request (CancellationToken) (#1367)
* #893 fix request cancellation, add acceptance test * correct exception message * correct exception message * #893 fix request cancellation, add acceptance test * correct exception message * correct exception message * Add more conditions in Then criteria * Update MultiplexingMiddleware.cs * Update CancelRequestTests.cs * Fix StyleCop and IDE analyzers issues * 'using' workarounds * Convert to file-scoped namespace * Fix warnings * IDE0044 Make field readonly. Add readonly modifier * review the code --------- Co-authored-by: Raman Maksimchuk <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ad807d - Browse repository at this point
Copy the full SHA 5ad807dView commit details -
#1228 #1235 #1247 Overloaded AddOcelot method for dynamic FileConfigu…
…ration construction (#1569) * Added AddOcelot Configbuilder Overload Added an AddOcelot overload to load FileConfiguration directly from the application, so that all the routes could be made configurable and could be load from anywhere. * Code review changes * Added unit tests for ConfigurationBuilder AddOcelot method overload * code review * CA1816 Change ConfigurationReloadTests.Dispose() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. * SYSLIB1045 Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time. * SA1601 Partial elements should be documented * Add developer's XML-docs --------- Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d245ec - Browse repository at this point
Copy the full SHA 4d245ecView commit details -
#1351 #1510 New AddOcelot extensions to support custom ASP.NET MVC pi…
…peline building via the IMvcCoreBuilder interface (#1655) * AddOcelot support custom mvc builder. * Fix SA1503 : The opening and closing braces for a C# statement have been omitted. * Fix SA1135 : A using directive is not qualified. * Add AddDefaultAspNetServices method. Remove anonymous delegate. * Make method names shorter * add unit test for AddOcelotUsingBuilder * Sort Usings * Refactor integration test for the case with AddOcelotUsingBuilder * Update OcelotBuilder.cs * Update gettingstarted.rst Fix target framework as net7.0 * Add "The AddOcelot method" paragraph * Use correct heading levels for subsections * Update configuration.rst Use correct heading levels for (sub)sections * Update configuration.rst Readability improvements * Incapsulate all system services to the AddDefaultAspNetServices method * Add developer's XML-docs for OcelotBuilder and related extensions * Create dependencyinjection.rst * Update dependencyinjection.rst Overview paragraph * Update dependencyinjection.rst "IServiceCollection extensions" paragraph. "The OcelotBuilder class" paragraph. * Update dependencyinjection.rst: Custom Builder paragraph * Add Dependency Injection feature to the index of docs * Update gettingstarted.rst: Add footnotes * Correction of typo in English grammar * Unit tests for AddOcelotUsingBuilder extension * Improve readability of BDDfy scenarios in logs * Update requestaggregation.rst. Add footnotes Mark down corrections * Update tracing.rst: Add footnotes. Markdown text corrections * Update qualityofservice.rst: Add footnotes * Update administration.rst: Add footnotes. Markdown text corrections * Update configuration.rst: Add footnotes. Text corrections * IDE1006 Naming rule violation: These words must begin with upper case characters: should_* --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7976fc - Browse repository at this point
Copy the full SHA b7976fcView commit details
Commits on Sep 25, 2023
-
#1677 #1686 United documentation update (#1678)
* #1676 Update authorization.rst * #1646 Update bigpicture.rst * #1628 Update websockets.rst * #1614 Update README.md * #1552 Update configuration.rst * #1547 Update caching.rst * #1542 Update requestaggregation.rst * Revert "#1639 Update ClientRateLimitMiddleware.cs" This reverts commit 996719e. * #1537 Update routing.rst * #1520 Update authentication.rst * #1459 Update building.rst Fix inline code block * #1412 Update errorcodes.rst * #1407 Update headerstransformation.rst * #1406 Update headerstransformation.rst Remove extra '!' * #1320 Update README.md * Update README.md Mark classes. Split sentences. * #1284 Update claimstransformation.rst * #1232 Update servicediscovery.rst * #1224 Update loadbalancer.rst * #1189 Update caching.rst * Update gettingstarted.rst Mark up 'net7.0' as code block. Convert script block to PowerShell one. Change the link to NuGet. * #1386 Update loadbalancer.rst * Update loadbalancer.rst: Make code snippet shorter * #1686 Update middlewareinjection.rst Add section "ASP.NET Core Middlewares and Ocelot Pipeline Builder" * Update logging.rst Review RST markup * Update methodtransformation.rst Review RST markup * Update README.md Sync to "Big Picture" page in Introduction
Configuration menu - View commit details
-
Copy full SHA for 75cd0b3 - Browse repository at this point
Copy the full SHA 75cd0b3View commit details -
#1700 Create custom Ocelot config file when instantiating steps durin…
…g parallel execution (#1703) * When instantiating steps, creating a custom ocelot config file name. Finally deleting the newly created config file when disposing the Step instance. * Removing DeleteOcelotConfig from GivenThereIsAConfiguration, since File.WriteAllText will overwrite the file. * using xunit.runner.json it's getting on my nerves * Trying yet another strategy * Revert "using xunit.runner.json it's getting on my nerves" This reverts commit 9fac778. * Not sure about GC.SuppressFinalize here * correct usage of Wait.WaitFor... * Do we really need to get a random port? Wouldn't be enough to get the next available port? Adding lock for thread safety * Updating duration of break in Open_circuit_should_not_effect_different_routes from 1000 ms to 1500 ms * ConfigurationReloadTests as sealed class * moving variables initializations to Steps constructor * putting back during of break to 1000, out of scope of current PR * Code review --------- Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fdad15d - Browse repository at this point
Copy the full SHA fdad15dView commit details -
#1700 Add sequential tests with disabled parallelization (#1705)
* Add sequential tests with disabled parallelization
Configuration menu - View commit details
-
Copy full SHA for 8b89257 - Browse repository at this point
Copy the full SHA 8b89257View commit details -
#1681 'using' statements life hacks (#1682)
* samples * Ocelot * Ocelot.* * tests * Add ImplicitUsings property to the projects (C# 10) * Upgrade xUnit setup in test projects * Add global usings * Remove Unnecessary Usings. IDE0005: Using directive is unnecessary. * IDE0001: Name can be simplified. Remove 'global::' prefix * IDE0005: Using directive is unnecessary. Remove and Sort Usings * IDE0005: Using directive is unnecessary. Remove Unnecessary Usings * Disable implicit usings * Add required usings * Global usings * Add required namespace
Configuration menu - View commit details
-
Copy full SHA for 5fd5bf9 - Browse repository at this point
Copy the full SHA 5fd5bf9View commit details
Commits on Sep 28, 2023
-
#1375 #1237 #925 #920 Fix DownstreamRoute DangerousAcceptAnyServerCer…
…tificateValidator (#1377) * Fix/1375 fix DownstreamRoute DangerousAcceptAnyServerCertificateValidator does not work * Fix the exception when RoundRobin services is empty * Fix build errors * IDE0063 'using' statement can be simplified * IDE0051 Private member 'StreamCopyBufferSize' is unused * Use nameof() in string interpolations * @RaynaldM code review * Code review. Refactor method * Organize folders for WebSockets feature * Add unit tests class for WebSockets feature * Refactor middleware to make it suitable for unit testing * Add unit test * Review current acceptance tests for WebSockets * Review --------- Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa179bf - Browse repository at this point
Copy the full SHA fa179bfView commit details -
#1225 Update ServiceDiscovery documentation and samples to include Cu…
…stom Providers (#1656) * Update servicediscovery documentation to include custom provider * Update servicediscovery.rst Custom Providers paragraph * Update servicediscovery.rst Fix lower/upper case in paragraph name * Added custom service provider sample * Minor clarification to custom service discovery provider docs * Move usings to the top. Use file-scoped namespace declaration * Moved custom service discovery sample Added sample to Ocelot.sln * Added custom service provider sample * Move usings to the top. Use file-scoped namespace declaration * Moved custom service discovery sample Added sample to Ocelot.sln * Add 2 options/ways of solution development via ConfigureServices * Upgrade DownstreamService to ASP.NET 7 * Upgrade ApiGateway to ASP.NET 7 * Update README.md * Removed redundant spring section in config Move urls config from Program.cs to appsettings.json * Workaround for the Categories route * Rename controller: class name should be the same as file name * Upgrade to Web API app: multiple startup profiles, add Docker profile. Basic microservices template * Correct registration of IServiceDiscoveryProviderFactory interface * Update README.md: Fix upstream path because of case sensitivity * Update servicediscovery.rst: Update Custom Providers section. Add sample solution. * Update servicediscovery.rst: Update actual code from the sample * Remove obsolete code * CS8632 The annotation for nullable reference types should only be used in code within a '#nullable' annotations context * Revert to previous state * Revert back to the version from ThreeMammals:develop * Update servicediscovery.rst: English checking --------- Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 190b001 - Browse repository at this point
Copy the full SHA 190b001View commit details
Commits on Sep 29, 2023
-
#1509 #1683 Replace non-WS protocols for the 'ClientWebSocket' in Web…
…SocketsProxyMiddleware (#1689) * Update WebSocketsProxyMiddleware.cs Fix WebSocket for SignalR * Repalce url protocol after null check * small refactoring * Add error log when replacing protocol in WebSocketProxyMiddleware Co-authored-by: Raman Maksimchuk <[email protected]> * Fix build * Code review * Fix unit test * Refactor to remove hardcoded strings of schemes * Define public constants * Add unit tests --------- Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab29442 - Browse repository at this point
Copy the full SHA ab29442View commit details -
#1634 #1487 #1329 #1304 #1294 #793 Consul polling of services: enhanc…
…ements and fix errors (#1670) * fixing some issues in poll consul: - Timer is not thread safe, avoiding usage of it - No Ressources are returned for first call - Using a providers pool, instead of creating a new provider instance * line endings * adding some test cases * Using a lock instead of SemaphoreSlim * Improve code readability * CA2211: Non-constant fields should not be visible * Use IOcelotLogger to remove warnings & messages of static code analysis (aka IDE0052) * Fix errors with unit tests discovery. Remove legacy life hacks of discovering tests on .NET Core * Update unit tests * Also refactoring the kubernetes provider factory (like consul and eureka) * shorten references... * const before... * Some minor fixes, using Equals Ordinal ignore case and a string constant for provider type definition instead of string litterals. Fixing usings. * waiting a bit longer then? * @RaynaldM code review * renaming PollKubernetes to PollKube * ... odd... * ... very odd, we have an issue with configuration update duration... * IDE0002: Name can be simplified * All tests passing locally, hopefully it works online * just a bit of cleanup * Some missing braces and commas * Update servicediscovery.rst: Review and update "Consul" section --------- Co-authored-by: Guillaume Gnaegi <[email protected]> Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f8eb5e1 - Browse repository at this point
Copy the full SHA f8eb5e1View commit details -
Ignore port when using UpstreamHost option (#1505)
* Ignore port when using UpstreamHost option * Update src/Ocelot/DownstreamRouteFinder/Middleware/DownstreamRouteFinderMiddleware.cs --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc0b9b8 - Browse repository at this point
Copy the full SHA cc0b9b8View commit details
Commits on Sep 30, 2023
-
#1400 Manage multiple patterns for allowed/blocked IPs via Security O…
…ptions config section (#1399) * Add IpAddressRange package and manage multiple pattern in order to allow or block ip addresses * Update SecurityOptions.cs * Update FileSecurityOptions.cs * Fix Issues * Update routing.rst Fix typos and mistakes in the Security Options paragraph * Update FileSecurityOptions.cs Add developer's XML docs with description from #1400 * Update configuration.rst * Update docs with License Reference * SecurityOptions init moved to SecurityOptionsCreator * Update unit test * SecurityOptionsCreator: File-scoped namespace declaration * Fix SA1312: Variable 'xxx' should begin with lower-case letter * Remove using alias and make logical reference to the package * Fix SA1609: Property documentation should have value * FileSecurityOptions: File-scoped namespace declaration * Fix SA1135: Using directive for namespace 'Ocelot.Responses' should be qualified. Sort usings. Convert to file-scoped namespace. * Fix test code style * Refactor SecurityOptions * FileSecurityOptions: Add constructors * Refactor SecurityOptions: Add constructors * Using constructors for SecurityOptions creation, not initialization * Fix unit test after latest infrastructure updates * Convert to block scoped namespace * Update IPAddressRange to v.6.0.0 * Update src/Ocelot/Configuration/Creator/SecurityOptionsCreator.cs Co-authored-by: Raynald Messié <[email protected]> * Revert "Update src/Ocelot/Configuration/Creator/SecurityOptionsCreator.cs" This reverts commit a77a30e. * Update comment con IPAddressRange reference * Use Select<IPAddress, string> instead of AsEnumerable * Remove and Sort Usings --------- Co-authored-by: Fabrizio Mancin <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]> Co-authored-by: Raynald Messié <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5dbbbef - Browse repository at this point
Copy the full SHA 5dbbbefView commit details -
Second parameter of Substring is wrong in HeaderFindAndReplaceCreator (…
…#1424) * Update HeaderFindAndReplaceCreator.cs Second parameter of Substring was wrong. Existing implementation works only for replacements at the beginning of a string (startOfPlaceholder = 0) * Update HeaderFindAndReplaceCreator.cs Remove and Sort Usings * Update HeaderFindAndReplaceCreator.cs: Replace by char Co-authored-by: Raynald Messié <[email protected]> * Update HeaderFindAndReplaceCreator.cs: Split by char * Review * Fix 'length' value for 'Substring' 2nd param * Add unit test to check replacements in the middle --------- Co-authored-by: Raman Maksimchuk <[email protected]> Co-authored-by: Raynald Messié <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a81cce - Browse repository at this point
Copy the full SHA 5a81cceView commit details -
#653 Adding null check for downstreamResponse (#1334)
* Adding a check for null downstreamResponse, plus tests. * Target-typed new expressions * Remove and Sort Usings * Fix test * Remove usings --------- Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e950cf2 - Browse repository at this point
Copy the full SHA e950cf2View commit details
Commits on Oct 2, 2023
-
Follow up #1670: Fix StyleCop issues and improve the code (#1711)
* Code refactoring and improvements * Fix unit tests for ConsulServiceDiscoveryProvider * Add default port * Throw NullRef exception if no client * Fix 'should_not_get' unit test * Add AgentService extensions * Use current naming conventions for unit tests * Fix code smell with methos signature * Encapsulate warning string creation. Create expected value from a hardcoded string in unit tests
Configuration menu - View commit details
-
Copy full SHA for e5f31ef - Browse repository at this point
Copy the full SHA e5f31efView commit details
Commits on Oct 6, 2023
-
A brand new Release Notes feature for Releases being made by 'build.c…
…ake' script (#1716) * Rename Release Notes file * Refactor the CreateReleaseNotes task * Use Func delegate instead of static local function * Add () after type 😆 * Delete ReleaseNotes.md * Fix bug in parsing of output of "git shortlog" command * Re-add release notes file * Final version of CreateReleaseNotes task * Fix build.cake warning SYSLIB0014: 'WebRequest.CreateHttp(string)' is obsolete. Refactor GetResourceAsync private method * Read main header from Git file * Make CreateReleaseNotes task dependent on Version one Make Release task dependent on CreateReleaseNotes one * Add Done status for each task
Configuration menu - View commit details
-
Copy full SHA for fcdd274 - Browse repository at this point
Copy the full SHA fcdd274View commit details -
Configuration menu - View commit details
-
Copy full SHA for adac0a2 - Browse repository at this point
Copy the full SHA adac0a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd94bbe - Browse repository at this point
Copy the full SHA cd94bbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2f76ae - Browse repository at this point
Copy the full SHA d2f76aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65be4b6 - Browse repository at this point
Copy the full SHA 65be4b6View commit details
Commits on Oct 7, 2023
-
Merge pull request #1720 from ThreeMammals/release/20.0
Release 20.0 codenamed as "Polish Apple"
Configuration menu - View commit details
-
Copy full SHA for 637fde8 - Browse repository at this point
Copy the full SHA 637fde8View commit details
Commits on Oct 12, 2023
-
Merge pull request #1722 from ThreeMammals/release/20.0
Sync develop to release/20.0
Configuration menu - View commit details
-
Copy full SHA for b4265a4 - Browse repository at this point
Copy the full SHA b4265a4View commit details
Commits on Oct 13, 2023
-
#1712 Bump to Polly 8.0 (#1714)
* #1712 Migrate to Polly 8.0 * code review post merge * post PR * #1712 Migrate to Polly 8.0 * code review post merge * Update src/Ocelot.Provider.Polly/PollyQoSProvider.cs Co-authored-by: Raman Maksimchuk <[email protected]> * namespaces * Refactor QoS provider * Refactor AddPolly extension * Remove single quote because semicolon ends sentence --------- Co-authored-by: Ray <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b776a7 - Browse repository at this point
Copy the full SHA 3b776a7View commit details
Commits on Oct 15, 2023
-
#1731 Read the Docs configuration file v2 (#1733)
* fixing the documentation, using Release/20.0 as base branch * using latest conf.py, created with sphinx-quickstart, fixing the warnings during documentation generation * Update .readthedocs.yaml * switching to threemammals.org for copyright * adding requirements file, updating readthedocs.yaml, adding formats pdf / epub and config for requirements file * fixing code block in websockets.rst * ok, now it should be fine... * Update kubernetes.rst: Review and fix markup code * Update websockets.rst: Review and fix markup * Update conf.py: Update release, author and copyright --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a05369 - Browse repository at this point
Copy the full SHA 0a05369View commit details
Commits on Oct 19, 2023
-
Cache by header value: a new Header property in (File)CacheOptions co…
…nfiguration of a route (#1172) @EngRajabi, Mohsen Rajabi (7): add header to file cache option fix private set fix <none> <none> fix build fail fix: fix review comment. add unit test for change @raman-m, Raman Maksimchuk (1): Update caching.rst @raman-m (7): Fix errors Fix errors Fix styling warnings Refactor tests Add Delimiter Refactor generator Add unit tests
Configuration menu - View commit details
-
Copy full SHA for e92b103 - Browse repository at this point
Copy the full SHA e92b103View commit details
Commits on Oct 26, 2023
-
#1731 Docs for 20.0 release (#1754)
* Update README.md Review doc. Update by links. Add labels. * Update readme.md: Review doc. Update links * Update building.rst: Review doc * Update overview.rst * Update tests.rst: Review doc. Update links * Update releaseprocess.rst: Update development process * Update bigpicture.rst: Copy Welcoming from README * Update contributing.rst: Add discussions and dev process refs * Update gettingstarted.rst * Update gotchas.rst: Write IIS gotchas * Update notsupported.rst: Add sections. Use more links * Update administration.rst: Review doc. Fix markup. More links * Update authentication.rst: Review doc. Add more links * Update authorization.rst: review. Add "Authorization Middleware" section * Update caching.rst: Review markup. More links * Update claimstransformation.rst: Review doc. Update markdown. Middleware links * Correct spelling error in dev docs * Update configuration.rst: Review the doc. Rewrite "SSL Errors" section * Update delegatinghandlers.rst: Review. More links. Add "Order of Execution" section * Update dependencyinjection.rst: Review the doc. Fix markdown * Update errorcodes.rst: Review. Add "Design" section * Update graphql.rst: Review. Add "Future" section * Update headerstransformation.rst: Review. More links. Rewrite Placeholders & Future sections * Update headerstransformation.rst: Add "Global Headers Transformation" subsection * Update kubernetes.rst: Review. Links. Add K8s logo * Update kubernetes.rst: Add link to the parent feature * Update loadbalancer.rst: Fix markdown. More links * Update logging.rst: More links. Rewrite "Warning" section * Update methodtransformation.rst * Update middlewareinjection.rst: Review. Check links. Add "Future" section * Update qualityofservice.rst: Review markdown * Update ratelimiting.rst: Review. Markdown. Add "Future" section * Update requestaggregation.rst: Review. Fix markdown * Update requestid.rst: Review markdown * Update routing.rst: Review markdown. Simplify code blocks * Update servicediscovery.rst: Review markdown * Update servicefabric.rst: Review markdown * Update tracing.rst: Review markdown. More links * Update websockets.rst: Complete rewrite * Update README.md: Hide Coverage badge. More footnotes * Update README.md: Add "Service Discovery" footnote * Update index.rst: Arrange features. More instructions * Update releaseprocess.rst: Be more pleasant * Update qualityofservice.rst: Add QoS label and footnote * Fix Sphinx build errors & warning. Fix typos * Add bash script * Order feature names ascending * Sync & update scripts
Configuration menu - View commit details
-
Copy full SHA for 640b005 - Browse repository at this point
Copy the full SHA 640b005View commit details
Commits on Oct 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f5d94c9 - Browse repository at this point
Copy the full SHA f5d94c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 028e257 - Browse repository at this point
Copy the full SHA 028e257View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3a623e - Browse repository at this point
Copy the full SHA d3a623eView commit details -
Find available port in integration tests (#1173)
* use random ports in integration tests * Remove and Sort Usings * Code modern look * code review * code review: fix messages * code review: fix some messages * code review: Use simple `using` statement * Add Ocelot.Testing project --------- Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab3d8e6 - Browse repository at this point
Copy the full SHA ab3d8e6View commit details
Commits on Nov 1, 2023
-
#952 #1174 Merge query strings without duplicate values (#1182)
* Fix issue #952 and #1174 * Fix compiling errors * Fix warnings * Fix errors * Remove and Sort Usings * CA1845 Use span-based 'string.Concat' and 'AsSpan' instead of 'Substring'. Use 'AsSpan' with 'string.Concat' * IDE1006 Naming rule violation: These words must begin with upper case characters: {should_*}. Fix name violation * Add namespace * Fix build errors * Test class should match the name of tested class * Simplify too long class names, and they should match * Move to the parent folder which was empty * Fix warnings * Process dictionaries using LINQ to Objects approach * Fix code review issues from @RaynaldM * Remove tiny private helper with one reference * Fix warning & messages * Define theory instead of 2 facts * Add unit test for issue #952 * Add additional unit test for #952 to keep param * Add tests for issue #1174 * Remove unnecessary parameter * Copy routing.rst from released version * Refactor the middleware body for query params * Update routing.rst: Describe query string user scenarios --------- Co-authored-by: Stjepan Majdak <[email protected]> Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae43f32 - Browse repository at this point
Copy the full SHA ae43f32View commit details
Commits on Nov 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8539138 - Browse repository at this point
Copy the full SHA 8539138View commit details -
Merge pull request #1758 from ThreeMammals/release/20.0.1-sync
Sync develop to release/20.0.1
Configuration menu - View commit details
-
Copy full SHA for 72a0833 - Browse repository at this point
Copy the full SHA 72a0833View commit details
Commits on Nov 4, 2023
-
#1550 #1706 Addressing the QoS options ExceptionsAllowedBeforeBreakin…
…g issue (#1753) * When using the QoS option "ExceptionsAllowedBeforeBreaking" the circuit breaker never opens the circuit. * merge issue, PortFinder * some code improvements, using httpresponsemessage status codes as a base for circuit breaker * Adding more unit tests, and trying to mitigate the test issues with the method "GivenThereIsAPossiblyBrokenServiceRunningOn" * fixing some test issues * setting timeout value to 5000 to avoid side effects * again timing issues * timing issues again * ok, first one ok * Revert "ok, first one ok" This reverts commit 2e4a673. * inline method * putting back logging for http request exception * removing logger configuration, back to default * adding a bit more tests to check the policy wrap * Removing TimeoutStrategy from parameters, it's set by default to pessimistic, at least one policy will be returned, so using First() in circuit breaker and removing the branch Policy == null from delegating handler. * Fix StyleCop warnings * Format parameters * Sort usings * since we might have two policies wrapped, timeout and circuit breaker, we can't use the name CircuitBreaker for polly qos provider, it's not right. Using PollyPolicyWrapper and AsnycPollyPolicy instead. * modifying circuit breaker delegating handler name, usin Polly policies instead * renaming CircuitBreakerFactory to PolicyWrapperFactory in tests * DRY for FileConfiguration, using FileConfigurationFactory * Add copy constructor * Refactor setup * Use expression body for method * Fix acceptance test * IDE1006 Naming rule violation: These words must begin with upper case characters * CA1816 Change ReturnsErrorTests.Dispose() to call GC.SuppressFinalize(object) * Sort usings * Use expression body for method * Return back named arguments --------- Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dabb4b5 - Browse repository at this point
Copy the full SHA dabb4b5View commit details -
#1179 Add missing documentation for Secured WebSocket #1180
* Add "WebSocket Secure" and "SSL Errors" sections (#1180) Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec55504 - Browse repository at this point
Copy the full SHA ec55504View commit details
Commits on Nov 19, 2023
-
#1787 Upgrade to .NET 8 (#1789)
* Upgrade solution's projects to .net 8 * using .net 7.0 and .net 8.0 as target frameworks, adding conditions * checking indentation. Should it be 1,2,3 or 4? * target frameworks .net6.0, .net7.0 and .net8.0 * xml indentation * let's check this one... * some more cleanup * consolidate stylecop version * updating dockerfile.base to .net8 * udpating docker image build version to 0.0.10 * update config, maybe with some luck... * downstream service only available for .net 7 * adding indication about ISystemClock in .NET8 * adding comments for ClientWebSocketOptionsProxy * VS version vs .NET 8 SDK * Warning ASP0019 Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. * updated config * Update Docker images & CircleCI config * ocelot2/circleci-build:latest * Use image: ocelot2/circleci-build:latest * our friend GivenThereIsAPossiblyBrokenServiceRunningOn is back. I allow myself to push this fix - already implemented in the develop branch - --------- Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 24b507e - Browse repository at this point
Copy the full SHA 24b507eView commit details
Commits on Nov 20, 2023
-
.NET8 Release artifacts (#1792)
* Update .gitignore * Update README.md * Update docs as .NET SDK agnostic. With .NET 8 * ...and gotchas * Update release notes * Update build.cake
Configuration menu - View commit details
-
Copy full SHA for 7d93623 - Browse repository at this point
Copy the full SHA 7d93623View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50ff768 - Browse repository at this point
Copy the full SHA 50ff768View commit details
Commits on Nov 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0b25c41 - Browse repository at this point
Copy the full SHA 0b25c41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 940b058 - Browse repository at this point
Copy the full SHA 940b058View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04ad9bf - Browse repository at this point
Copy the full SHA 04ad9bfView commit details
Commits on Nov 22, 2023
-
Merge pull request #1798 from ThreeMammals/release/net8-to-develop
Sync 'develop' to 'release/net8' (hotfix process)
Configuration menu - View commit details
-
Copy full SHA for 40fa20f - Browse repository at this point
Copy the full SHA 40fa20fView commit details
Commits on Nov 24, 2023
-
#1744 Avoid calls to 'Logger.Log' if LogLevel not enabled in appsetti…
…ngs.json (#1745) * changing string parameter for IOcelotLogger function to Func<string>, modifying asp dot net logger, only one main method and verifying if LogLevel is enabled. If log level isn't enabled, then return. pick 847dac7 changing string parameter for IOcelotLogger function to Func<string>, modifying asp dot net logger, only one main method and verifying if LogLevel is enabled. If log level isn't enabled, then return. pick d7a8397 adding back the logger methods with string as parameter, avoiding calling the factory when plain string are used. pick d413201 simplify method calls * adding back the logger methods with string as parameter, avoiding calling the factory when plain string are used. * simplify method calls * adding unit test case, If minimum log level not set then no logs are written * adding logging benchmark * code cleanup in steps and naming issues fixes pick c4f6dc9 adding loglevel acceptance tests, verifying that the logs are returned according to the minimum log level set in appsettings pick 478f139 enhanced unit tests, verifying 1) that the log method is only called when log level enabled 2) that the string function is only invoked when log level enabled * adding loglevel acceptance tests, verifying that the logs are returned according to the minimum log level set in appsettings * enhanced unit tests, verifying 1) that the log method is only called when log level enabled 2) that the string function is only invoked when log level enabled * weird issue with the merge. * adding comment * Update src/Ocelot/ServiceDiscovery/ServiceDiscoveryProviderFactory.cs Co-authored-by: Raman Maksimchuk <[email protected]> * Update src/Ocelot/Claims/Middleware/ClaimsToClaimsMiddleware.cs Co-authored-by: Raman Maksimchuk <[email protected]> * Update src/Ocelot/Configuration/Repository/FileConfigurationPoller.cs Co-authored-by: Raman Maksimchuk <[email protected]> * Update src/Ocelot/DownstreamRouteFinder/Finder/DownstreamRouteProviderFactory.cs Co-authored-by: Raman Maksimchuk <[email protected]> * Update src/Ocelot/Logging/AspDotNetLogger.cs Co-authored-by: Raman Maksimchuk <[email protected]> * Update test/Ocelot.AcceptanceTests/LogLevelTests.cs Co-authored-by: Raman Maksimchuk <[email protected]> * Update src/Ocelot/Configuration/Repository/FileConfigurationPoller.cs Co-authored-by: Raman Maksimchuk <[email protected]> * As mentioned, using OcelotLogger instead of AspDotNeLogger as default logger name * Some code refactoring and usage of factories in LogLevelTests * Update src/Ocelot/Claims/Middleware/ClaimsToClaimsMiddleware.cs Co-authored-by: Raman Maksimchuk <[email protected]> * using overrided method WriteLog for strings, some changes as requested, * code changes after review 2 pick ad0e060 Update test/Ocelot.UnitTests/Middleware/OcelotPiplineBuilderTests.cs * checking test cases * adding ms logger benchmarks with console provider. Unfortunately, benchmark.net doesn't support "quiet" mode yet. * 2 small adjustments * Adding multi targets support for serilog * Fix warnings * Review new logger * Fix unit tests * The last change but not least * Update logging.rst: Add draft * Update logging.rst: Add RequestId section * Update logging.rst: "Best Practices" section * Update logging.rst: "Top Logging Performance?" subsection * Update logging.rst: Rewrite "Request ID" section * Update requestid.rst: Review and up to date * Update logging.rst: "Run Benchmarks" section --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 388ebc3 - Browse repository at this point
Copy the full SHA 388ebc3View commit details -
#1783 Less logs for circuit breakers (Polly exceptions) (#1786)
* #1783 More accurate logs for circuit breakers (and other "polly" exceptions) Remove try/catch in PollyPoliciesDelegatingHandler and add a more generic AddPolly<T> to be able to use a specific PollyQoSProvider * fix should_be_invalid_re_route_using_downstream_http_version UT * fix remarks on PR * arrange code * fix UT * merge with release/net8 branch * switch benchmark to Net8 * Fix warnings * Final review --------- Co-authored-by: Ray <[email protected]> Co-authored-by: raman-m <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2246a5 - Browse repository at this point
Copy the full SHA b2246a5View commit details
Commits on Nov 27, 2023
-
* Revert #1172 * Remove Header * Take actual version of caching.rst and remove Header info
Configuration menu - View commit details
-
Copy full SHA for 27a5999 - Browse repository at this point
Copy the full SHA 27a5999View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22bc5b6 - Browse repository at this point
Copy the full SHA 22bc5b6View commit details
Commits on Nov 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 349825f - Browse repository at this point
Copy the full SHA 349825fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6740f50 - Browse repository at this point
Copy the full SHA 6740f50View commit details
Commits on Nov 29, 2023
-
Merge pull request #1809 from ThreeMammals/release/22.0
Sync 'develop' to 'release/22.0'
Configuration menu - View commit details
-
Copy full SHA for d7754af - Browse repository at this point
Copy the full SHA d7754afView commit details
Commits on Dec 7, 2023
-
#1833 Default timeout(90s) of downstream requests is broken (#1834)
* fix #1833, Default timeout(90s) of downstream requests is broken * Fix test Should_log_warning_if_downstream_service_returns_internal_server_error * Add unit tests * Recover mixed line endings. Add docs * Unit tests for HttpClientBuilder * Add issue info * Acceptance test * Just formatting --------- Co-authored-by: alvin huang <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab79b01 - Browse repository at this point
Copy the full SHA ab79b01View commit details
Commits on Dec 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 37265ad - Browse repository at this point
Copy the full SHA 37265adView commit details -
Merge pull request #1847 from ThreeMammals/release/22.0
Release 22.0.1 - Hotfix
Configuration menu - View commit details
-
Copy full SHA for 68e7127 - Browse repository at this point
Copy the full SHA 68e7127View commit details -
Merge pull request #1848 from ThreeMammals/release/22.0
Sync 'develop' to 'release/22.0'
Configuration menu - View commit details
-
Copy full SHA for ae6e547 - Browse repository at this point
Copy the full SHA ae6e547View commit details -
* Changes related to test case of issue 649 * #649 test cases --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b1f332 - Browse repository at this point
Copy the full SHA 6b1f332View commit details
Commits on Dec 13, 2023
-
#827 #1679 Improve performance of Request Mapper (#1724)
* using ArrayPool<byte> instead of memorystream CopyToAsync * Maybe this could be a solution. It should be checked. Adding StreamHttpContent (yarp) * little bit of cleanup here * Avoiding ToLower() in IsSupportedHeader, using StringComparer.OrdinalIgnoreCase * for smaller payloads, avoid allocating a buffer that is larger than the announced content length * adding some unit tests for stream http content tests * typo * GivenThereIsAPossiblyBrokenServiceRunningOn * Some code refactorings after code review. There are still some todos, but providing some more improvements, removing the exception handling from RequestMapper. It's handled in the middleware now, we will need to analyze this in detail. * Some code cleanup * removing some commented code bits * adding more information in InvalidOperationException * changing some methods signatures in request mapper, making them static. * code review * Update gotchas.rst * Update notsupported.rst * Update gotchas.rst Add "Maximum request body size" notes * With this fix, the system is able to handle content with size > 2 Gb * adding new benchmarks, generating the payloads on the fly, from 1KB to 1024MB * Review PayloadBenchmarks * valid JSON * should make sure the payloads directory exists * Payloads folder name should match test method name --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a17242d - Browse repository at this point
Copy the full SHA a17242dView commit details
Commits on Dec 14, 2023
-
#1172 Default CacheKeyGenerator (#1849)
* Cache by header value: a new Header property in (File)CacheOptions configuration of a route (#1172) @EngRajabi, Mohsen Rajabi (7): add header to file cache option fix private set fix <none> <none> fix build fail fix: fix review comment. add unit test for change @raman-m, Raman Maksimchuk (1): Update caching.rst @raman-m (7): Fix errors Fix errors Fix styling warnings Refactor tests Add Delimiter Refactor generator Add unit tests * Review after cherry pick * Some refactoring * Disable request body hashing * Make CacheKeyGenerator default * Refactor property EnableContentHashing * Fix unit test. Add def cstor for CacheOptions * Remove virtual modifier * file-scoped namespace * Move to feature folder * Fix warnings * Refactor CachingTests * Add acceptance tests of #1172 * Move to feature folder * Refactor HttpClientCachingTests --------- Co-authored-by: Mohsen Rajabi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba641b2 - Browse repository at this point
Copy the full SHA ba641b2View commit details
Commits on Dec 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bb79587 - Browse repository at this point
Copy the full SHA bb79587View commit details
Commits on Jan 18, 2024
-
#356 #695 #1924 Custom
HttpMessageInvoker
pooling (#1824)* first version * first working version of the new http client pool * Some cleanup, removing classes that aren't used * some more cleanup * forgot passing PooledConnectionLifetime * adding todo for connection pool and request timeouts * some code cleanup * ongoing process refactoring tests * a little mistake with big effects * Several refactorings, disposing http response message to ensure that the connection is freed. Moving errors from Polly provider to Errors\QoS. * providing some comments * adding response body benchmark * some minor changes in MessageInvokerPool. * using context.RequestAborted in responder middleware (copying the response body from downstream service to the http context) * Fix style warnings * code review * moving response.Content.ReadAsStreamAsync nearer to CopyToAsync with using. Making sure, that the content stream is disposed * HttpResponse.Content never returns null (from .net 5 onwards) * adding more unit tests (validating, log warning if passthrough certificate, cookies are returned, message invoker timeout) * adding a tolerance margin * adding new acceptance test, checking memory usage. Needs to be compared with current implementation first. * Review tests by @raman-m * Update src/Ocelot/Configuration/HttpHandlerOptions.cs * Update src/Ocelot/Middleware/DownstreamResponse.cs * Update src/Ocelot/Requester/MessageInvokerPool.cs * Update src/Ocelot/Requester/HttpExceptionToErrorMapper.cs * Update src/Ocelot/Responder/HttpContextResponder.cs * Update src/Ocelot/Middleware/DownstreamResponse.cs * Use null-coalescing operator for `Nullable<int>` obj * some modifications in the acceptance test, adding a tolerance of 1 Mb * finalizing content tests. Making sure, that the downstream response body is not copied by the api gateway. * adapting tolerances * Disable StyleCop rule SA1010 which is in conflict with collection initialization block vs whitespace. More: https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1010.md * Refactor Content tests --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e7e76b - Browse repository at this point
Copy the full SHA 5e7e76bView commit details -
#748 Match Route configurations for upstream paths when empty Catch-A…
…ll placeholders at the end of template (#1911) * Update RoutingTests.cs * Fix end of line empty placeholder * Fix unit tests * Fix PR Comments * Update src/Ocelot/Configuration/Creator/UpstreamTemplatePatternCreator.cs Co-authored-by: Raman Maksimchuk <[email protected]> * Update src/Ocelot/DownstreamRouteFinder/UrlMatcher/UrlPathPlaceholderNameAndValueFinder.cs Co-authored-by: Raman Maksimchuk <[email protected]> * Update test/Ocelot.AcceptanceTests/RoutingTests.cs Co-authored-by: Raman Maksimchuk <[email protected]> * Update test/Ocelot.AcceptanceTests/RoutingTests.cs Co-authored-by: Raman Maksimchuk <[email protected]> * Update test/Ocelot.UnitTests/Configuration/UpstreamTemplatePatternCreatorTests.cs Co-authored-by: Raman Maksimchuk <[email protected]> * compact the tests constant name * remove constant * Update RoutingTests.cs * Update RoutingTests.cs * Update RoutingTests.cs * Update UrlPathPlaceholderNameAndValueFinderTests.cs * Use range operator * Use expression body for method * Update src/Ocelot/DownstreamUrlCreator/Middleware/DownstreamUrlCreatorMiddleware.cs Co-authored-by: Raman Maksimchuk <[email protected]> * Update DownstreamUrlCreatorMiddleware.cs * add extra unit tests * Update RoutingTests.cs * Clean code * Update UrlPathPlaceholderNameAndValueFinderTests.cs * Update DownstreamUrlCreatorMiddlewareTests.cs * Update DownstreamUrlCreatorMiddlewareTests.cs * Fix broken dsPath * Review tests. Add query string scenarios * Fix unit test and fix +1 issue * Add final routing tests for Catch-All query string cases * Fixed added unit tests * Test traits * Update docs of Routing feature --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4803c2 - Browse repository at this point
Copy the full SHA f4803c2View commit details
Commits on Feb 5, 2024
-
#740 #1580 Support multiple authentication schemes in one route (#1870)
* #1580. Added an opportunity to use several authentication provider keys. * Update src/Ocelot/Configuration/Builder/AuthenticationOptionsBuilder.cs Co-authored-by: Raynald Messié <[email protected]> * #1580. Replaced AuthenticationProviderKeys type from the list to the array. * #1580. Added a doc how to use AuthenticationProviderKeys in a Route. * #1580. Amended the description how to use AuthenticationProviderKeys in a Route. * #1580. Added an opportunity to use several authentication provider keys. * Update src/Ocelot/Configuration/Builder/AuthenticationOptionsBuilder.cs Co-authored-by: Raynald Messié <[email protected]> * #1580. Replaced AuthenticationProviderKeys type from the list to the array. * #1580. Added a doc how to use AuthenticationProviderKeys in a Route. * #1580. Amended the description how to use AuthenticationProviderKeys in a Route. * Quick review * #1580. Implemented review points. * #1580. Initialized result with AuthenticateResult.NoResult(). * #1580. Added @ggnaegi suggestions. * #1580. Brought back the idea not to allocate AuthenticateResult instance. * quick review * Return Auth result of the last key in the collection * review unit tests * Enable parallelization of unit tests * Fix messages * Disable parallelization for PollyQoSProviderTests * Switch off unstable test * Re-enable parallelization & Isolate unstable test * Reflection issue in middleware base: remove getting Type object * Switch off unstable test * Clean code * Make MiddlewareName as public property * Code review by @RaynaldM * AuthenticationMiddleware: Line & Branch coverage -> 100% * AuthenticationOptionsCreator: coverage -> 100% * Remove private helpers with one reference * RouteOptionsCreator: coverage -> 100% * FileAuthenticationOptions: Refactor ToString method * FileConfigurationFluentValidator: coverage -> 100% * RouteFluentValidator: Branch coverage -> 100% * TODO and Skip unstable test * Move acceptance tests to the separate folder * Review and refactor acceptance tests * Add AuthenticationSteps class. Choose inheritance over composition: less code * Add 'GivenIHaveATokenWithScope' to 'AuthenticationSteps' * Temporarily disable 'Should_timeout_per_default_after_90_seconds' test * Add CreateIdentityServer method * Add draft test * Update route validator to support multiple auth schemes * Acceptance tests * Revert "TODO and Skip unstable test" This reverts commit 1ec8564. * Revert "Make MiddlewareName as public property" This reverts commit 6f50c76. * Revert "Reflection issue in middleware base: remove getting Type object" * Clean up * Isolate unstable test * Mark old property as `Obsolete` * a tiny little bit of cleanup * Handling cases when principal or identity are null * Update Authentication feature docs * Convert back to block scoped namespace --------- Co-authored-by: Igor Polishchuk <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]> Co-authored-by: Raynald Messié <[email protected]> Co-authored-by: Igor Polishchuk <[email protected]> Co-authored-by: Guillaume Gnaegi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9510b1 - Browse repository at this point
Copy the full SHA c9510b1View commit details
Commits on Feb 12, 2024
-
[#1527 #1529] Breaking change to the class renaming of
Kube
service…… discovery provider (#1954) * Update kubernetes.rst The `Type` field for the kubernetes example is outdated * Rename the class back to `Kube` making it as default K8s provider * Endpoint mocking for `GetAsync()` of `Kube` provider * Switch off timer * Update K8s docs * IDE1006: Naming rule violation * Follow .NET conventions for test class names --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1607f5 - Browse repository at this point
Copy the full SHA a1607f5View commit details
Commits on Feb 13, 2024
-
Release 23.0 | Artifacts | +semver: breaking (#1962)
* Review & update docs and fix build warnings * Update ReleaseNotes.md: Draft template for build script * Final version of Release Notes
Configuration menu - View commit details
-
Copy full SHA for 290fbde - Browse repository at this point
Copy the full SHA 290fbdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e25d473 - Browse repository at this point
Copy the full SHA e25d473View commit details
Commits on Feb 16, 2024
-
Merge pull request #1963 from ThreeMammals/release/23.0
Sync 'develop' to 'release/23.0' Release codename: [Sunny Koliada](https://github.com/ThreeMammals/Ocelot/releases/tag/23.0.0)
Configuration menu - View commit details
-
Copy full SHA for d54836d - Browse repository at this point
Copy the full SHA d54836dView commit details
Commits on Feb 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a9dff7c - Browse repository at this point
Copy the full SHA a9dff7cView commit details -
#1396 Lost context
User
inMultiplexingMiddleware
(#1462)* Fix HttpContext.User is lost after passing MultiplexingMiddlware * Simplify single downstream route handling * fix * some refactoring of long code * add unit tests for #1396 user scenario * Acceptance test for user forwarding * refactor test --------- Co-authored-by: Алексей Патрин <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 108bede - Browse repository at this point
Copy the full SHA 108bedeView commit details
Commits on Feb 26, 2024
-
#1844 More open customization of Polly use (#1974)
* #1844 More open customization of Polly use * Update src/Ocelot.Provider.Polly/OcelotBuilderExtensions.cs Co-authored-by: Raman Maksimchuk <[email protected]> * #1844 More open customization of Polly use * Update src/Ocelot.Provider.Polly/OcelotBuilderExtensions.cs Co-authored-by: Raman Maksimchuk <[email protected]> * fix compilation errors * add xml doc * More XML-docs * remove new line separators --------- Co-authored-by: Ray <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0404c24 - Browse repository at this point
Copy the full SHA 0404c24View commit details