-
Notifications
You must be signed in to change notification settings - Fork 670
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try 2: Add retry for oauth metadata endpoint (#4262)
* logic and commented out tests Signed-off-by: squiishyy <[email protected]> * make RetryOnSpecificErrorCodes, added functionality for calling sendhttprequestwithretry, need to work on config mappingn still, tests in Signed-off-by: squiishyy <[email protected]> * adding default config values Signed-off-by: squiishyy <[email protected]> * imports Signed-off-by: squiishyy <[email protected]> * updated tests to work Signed-off-by: squiishyy <[email protected]> * added test Signed-off-by: squiishyy <[email protected]> * spelling and info Signed-off-by: squiishyy <[email protected]> * working, removing comment Signed-off-by: squiishyy <[email protected]> * add back Signed-off-by: squiishyy <[email protected]> * code review Signed-off-by: squiishyy <[email protected]> * code review, refactoring to use retry.onerror Signed-off-by: squiishyy <[email protected]> * few code review comments, removing unused logic Signed-off-by: squiishyy <[email protected]> * retry on a wider range Signed-off-by: squiishyy <[email protected]> * comment Signed-off-by: squiishyy <[email protected]> * updated logs Signed-off-by: squiishyy <[email protected]> * lint Signed-off-by: squiishyy <[email protected]> * linting 2 Signed-off-by: squiishyy <[email protected]> --------- Signed-off-by: squiishyy <[email protected]>
- Loading branch information
Showing
5 changed files
with
167 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.