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

Response caching #17

Merged
merged 20 commits into from
Jul 8, 2023
Merged

Response caching #17

merged 20 commits into from
Jul 8, 2023

Conversation

evg4b
Copy link
Owner

@evg4b evg4b commented Jun 18, 2023

Enhance caching capability with the following configuration options:

mappings:
  - from: ...
    to: ...
    cache:
       - /info
       - /api/**/constants

@evg4b evg4b force-pushed the response-caching branch from 5261ce8 to bfa57da Compare July 3, 2023 19:40
@evg4b evg4b force-pushed the response-caching branch from bfa57da to 66bcdab Compare July 3, 2023 20:07
@evg4b evg4b force-pushed the response-caching branch from a8d2e5a to d28a8aa Compare July 8, 2023 18:56
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

91.2% 91.2% Coverage
0.0% 0.0% Duplication

@evg4b evg4b merged commit 008467d into develop Jul 8, 2023
@evg4b evg4b deleted the response-caching branch July 8, 2023 22:10
@evg4b evg4b added the enhancement New feature or request label Jul 12, 2023
evg4b pushed a commit that referenced this pull request Jul 30, 2023
* added custom handler type

* Added tests

* Renaming

* Added base middelaware structure

* Added math matching

* Added base tests for cache middleware

* CacheableWriter did not save Content-Lenght

* Added tests for cache middlerware

* Removed config

* Ignored default configuration for repo

* Updated AssertIsDefined function

* Inject cache middleware factory from main function

* Provided cache configuration

* Added MiddlewareHandler interface

* Small refactoring

* Updated response writing

* Added default configs

* Added methods to cache midelware

* Cached responses only with 2xx status code

* Code refactoring
evg4b pushed a commit that referenced this pull request Sep 8, 2023
* added custom handler type

* Added tests

* Renaming

* Added base middelaware structure

* Added math matching

* Added base tests for cache middleware

* CacheableWriter did not save Content-Lenght

* Added tests for cache middlerware

* Removed config

* Ignored default configuration for repo

* Updated AssertIsDefined function

* Inject cache middleware factory from main function

* Provided cache configuration

* Added MiddlewareHandler interface

* Small refactoring

* Updated response writing

* Added default configs

* Added methods to cache midelware

* Cached responses only with 2xx status code

* Code refactoring
evg4b pushed a commit that referenced this pull request Nov 21, 2023
* added custom handler type

* Added tests

* Renaming

* Added base middelaware structure

* Added math matching

* Added base tests for cache middleware

* CacheableWriter did not save Content-Lenght

* Added tests for cache middlerware

* Removed config

* Ignored default configuration for repo

* Updated AssertIsDefined function

* Inject cache middleware factory from main function

* Provided cache configuration

* Added MiddlewareHandler interface

* Small refactoring

* Updated response writing

* Added default configs

* Added methods to cache midelware

* Cached responses only with 2xx status code

* Code refactoring
evg4b pushed a commit that referenced this pull request Nov 25, 2023
* added custom handler type

* Added tests

* Renaming

* Added base middelaware structure

* Added math matching

* Added base tests for cache middleware

* CacheableWriter did not save Content-Lenght

* Added tests for cache middlerware

* Removed config

* Ignored default configuration for repo

* Updated AssertIsDefined function

* Inject cache middleware factory from main function

* Provided cache configuration

* Added MiddlewareHandler interface

* Small refactoring

* Updated response writing

* Added default configs

* Added methods to cache midelware

* Cached responses only with 2xx status code

* Code refactoring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant