-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The REST API functions that were being used were almost a copy paste of one another, which made following the code difficult. The goal of the refactor was to simplify the code and make it easier to follow and reason about. Also, it introduces a timeout for the requests by default, which could be the cause for which the Superkey struggles so much and ends up restarting non-stop. Another goal of this refactor was to leave everything in an state where it is easier to reason about how the Superkey worker should be refactored further, like introducing proper dependency injection and untangling the resource making from the "ForgeApplication" struct. However, that's for another PR. RHCLOUD-35843
- Loading branch information
1 parent
59597a7
commit 735e8c9
Showing
7 changed files
with
280 additions
and
254 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
Oops, something went wrong.