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

Add custom policy replacement handling in validateCustomPolicy method #12691

Merged

Conversation

SavinduDimal
Copy link
Contributor

Purpose

- Update validateCustomPolicy to check for the presence of CUSTOM_PROPERTY in messageContext
- Iterates through CUSTOM_PROPERTY Map to replace customProperty placeholders in the key template
@SavinduDimal SavinduDimal force-pushed the custom-property-based-custom-throttling branch from 98b114c to 205aa3f Compare October 28, 2024 10:15
@SavinduDimal SavinduDimal merged commit 302e2aa into wso2:master Oct 31, 2024
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom throttle policies do not work when throttle key is taken from the properties map
2 participants