-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix filters for MultiAddressUrlHttpClientBuilder (#2071)
Motivation: Recently the API of filters changed to align better with the way `ExecutionStrategy` should be set. A temporary additional filter bridging calls via new API to old API was created to assure compatibility. Unfortunately, the `MultiAddressUrlHttpClientBuilder` was not updated and legacy filters may not be exercised. Modifications: - Properly appending the `NewToDeprecatedFilter` to filters added via `MultiAddressUrlHttpClientBuilder`, - Legacy `StrategyInfluencerAwareConversions#toMultiAddressClientFactory` was also updated to include the bridge, - `MixedFiltersTest` include a case validating the `MultiAddressUrlHttpClientBuilder` behavior. Result: Deprecated methods on filters are properly executed when using `MultiAddressUrlHttpClientBuilder`.
- Loading branch information
Dariusz Jedrzejczyk
authored
Feb 3, 2022
1 parent
100c58b
commit 9251d06
Showing
3 changed files
with
72 additions
and
8 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