Skip to content
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 from upstream repository #10

Merged
merged 3 commits into from
May 10, 2024
Merged

Conversation

jlukawska
Copy link
Owner

No description provided.

PaulARoy and others added 3 commits April 25, 2024 14:37
…tiplexing (#2050)

* feat: buffer the request body during multiplexing multiple routes

* style: rename clone request body method to be more explicit

* Code review by @raman-m

* feat: refactor clone request method, add acceptance test for form-based requests

* fix: add content-length log, refactor tests from @raman-m commit

* Update requestaggregation.rst

* style: reverse return condition

* Register `Stream` objects for disposing by downstream `HttpResponse`

---------

Co-authored-by: Paul Roy <paul.roy@astriis.com>
Co-authored-by: Raman Maksimchuk <dotnet044@gmail.com>
…vider (#2052)

* Initial refactoring

* Interfaces namespace

* `IKubeServiceBuilder` interface vs `KubeServiceBuilder` class

* `IKubeServiceCreator` interface vs `KubeServiceCreator` class

* Customize K8s services creation

* Add logger

* namespace Ocelot.AcceptanceTests.ServiceDiscovery

* Add `KubernetesServiceDiscoveryTests`

* Unit tests

* AAA pattern

* Acceptance tests

* Update kubernetes.rst

* Check docs
* Use correct interval for request counting

* Minor fixes, return correct counter value when ban period elapsed

* Revert "Use correct interval for request counting"

This reverts commit 7d232c7.

* Revert "Artificial commit, initiate CI"

This reverts commit e723dfa.

* CA1822 Member 'XYZ' does not access instance data and can be marked as static

* Quick code review by @raman-m

* Rate Limiting feature name should match folder name

* namespace `Ocelot.RateLimiting`

* Extract `IRateLimitCore` interface

* Remove useless `ClientRateLimitProcessor` class

* Rename to `IRateLimitStorage` and dev docs

* Wrap services as a feature

* Review `IRateLimitCore` interface and dev docs

* The middleware class prefix should match the feature name

* Add some basic `RateLimitCoreTests`

* Rename to `IRateLimiting`

* Refactor rate limiting core

* Remove redundant `SaveCounter` from the interface

* Thread safe storage operations

* Coalesce in return statement

* Convert to file-scoped namespace

* Use expression body

* Unit tests for #1590 user scenario

* Move test class to separate feature folder

* Inherit from `Steps`

* Refactoring: Follow the DRY principle

* Acceptance test for #1590 user scenario

* Update feature docs

---------

Co-authored-by: raman-m <dotnet044@gmail.com>
@jlukawska jlukawska merged commit 3f527fd into jlukawska:develop May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants