-
-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean-up retrieval of Github authentication tokens
The current implementation of the RestApplicationAuthenticationProvider contains an instance-level Object Mapper but doesn't use it instead constructing a new Object Mapper on each invocation and eagerly loads all pages of App Installations even though the first page may contain a token with access to the required repository. The implementation has therefore been altered to use the constructed object mapper for all operations and to work through the full contents of a page of AppInstallations before moving on to the next page of installations.
- Loading branch information
Showing
2 changed files
with
148 additions
and
234 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
Oops, something went wrong.