Skip to content

Add enable options to keygenerator (#3429) #3820

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rodom1018
Copy link

issue #3429 (Add customization options to ResponseCacheGatewayFilter)

  • Add enable options to keygenerator
    • register KeyValueGenerator as a Spring bean

Users can easily turn keygenerator on and off with yaml.
image

I have written test code and verified via a PostConstruct method that the YAML values are being loaded correctly. I also confirmed this with curl. Below is an example of calling /hello and /hello2 with curl when all key generators are disabled.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants