-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding an api layer to isolate Okhttp (#3549)
* introducing a jdk like set of interfaces to encapsulate okhttp * further refining httpclientutils and simplifying mock client creation * adding default client construction this allows moving openid logic away from okhttp * moving as much as possible to common configuration * javadoc corrections * canceling only if the future is canceled * addressing code smells and re-enabling the token test * creating a utility class to move more test logic off okhttp * migrating the rest of the tests off of okhttp * checking for empty status * isolating how much the httpclient is passed around * ensuring websocket closure * adding a changelog and ensuring consistency with the prior header calls * various updates to allow the jdk client to work * adding back deprecated constructors and httpclientutils methods also passing the factory for use by the token interceptor * addressing code smells * moving okhttp to a non-internal package, and refining the ExecListener * making interceptor name constants, removing todo, splitting lines * encapsulating additionalConfig on the client factory this makes sure the factory is the primary abstraction for creating clients * correcting javadoc * one more change to mention * removing zero width character * converting the istio client to the new api * renaming clientstate to clientcontext
- Loading branch information
Showing
325 changed files
with
4,710 additions
and
3,522 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
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
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
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.