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

Handle rate limited UAA #4171

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Handle rate limited UAA #4171

merged 1 commit into from
Jan 21, 2025

Conversation

svkrieger
Copy link
Contributor

  • A short explanation of the proposed change:
    UAA might return 429 responses. This is especially relevant for the newly added UAA shadow user creation Implement shadow user creation by org manager #4113

  • An explanation of the use cases your change solves
    This changes the error code the CC returns to the user if UAA responded with 429. Before that the user got back a 503 "CF-UaaUnavailable". Now CC returns 429 "CF-UaaRateLimited" including a random Retry-After header. (UAA does not return a Retry-After header yet).

  • Links to any other associated PRs

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

@svkrieger svkrieger force-pushed the handle-rate-limited-uaa branch from 46bc06d to b433ea0 Compare January 21, 2025 09:25
@svkrieger svkrieger merged commit 9e065cb into main Jan 21, 2025
8 checks passed
@svkrieger svkrieger deleted the handle-rate-limited-uaa branch January 21, 2025 11:07
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Jan 21, 2025
Changes in cloud_controller_ng:

- Handle rate limited UAA
    PR: cloudfoundry/cloud_controller_ng#4171
    Author: Sven Krieger <[email protected]>
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