Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Rate limiting doesn't get properly configured in DP when switching from API Level to Resource Level #2335

Open
O-sura opened this issue Apr 9, 2024 · 0 comments

Comments

@O-sura
Copy link
Contributor

O-sura commented Apr 9, 2024

Description:
In the APK CP to DP flow, after creating an API if the user enables the API level rate limiting first and then switch to resource level rate limiting, still the API level rate limiting which applied earlier gets applied instead of the resource level configuration. The observation was after switching to resource level and updating the API with new resource level ratelimit configs the API level RateLimitPolicies CR need to be removed but instead it stays as it is so even with the new settings the API level RatelimitPolicy CR gets the high priority hence the new settings doesn't get properly configured in the DP side

Steps to reproduce:

  1. Create an API using APIM
  2. Enable API level rate limiting(API Configurations > Resources) for that created API and deploy.
  3. Invoke and Test whether the rate limiting works and it should work as intended.
  4. Next, switch the rate limiting from API level to resource level using the radio button. Then add the rate limiting to some of the resources and try to invoke them.
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant