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

AzurePolicyCheckGate: Configure retry logic #18079

Merged
merged 3 commits into from
Apr 6, 2023

Conversation

onetocny
Copy link
Contributor

@onetocny onetocny commented Apr 6, 2023

Task name: AzurePolicyCheckGateV0

Description: When calling Azure policy check API, Azure might response with Accepted status code. See more details here. In such cases task was failing because response did not contain required properties. This PR adds configuration to retry requests until response status code is not Accepted.

Documentation changes required: N

Added unit tests: N

Attached related issue: N

Checklist:

  • Task version was bumped - please check instruction how to do it
  • Checked that applied changes work as expected

@onetocny onetocny merged commit 8b710fb into master Apr 6, 2023
@onetocny onetocny deleted the users/onetocny/az_policy_retry branch April 6, 2023 09:06
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.

2 participants