Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add customizer for feign builder #289

Merged
merged 5 commits into from Apr 15, 2020
Merged

add customizer for feign builder #289

merged 5 commits into from Apr 15, 2020

Conversation

matt62king
Copy link
Contributor

Adds a Customizer for Feign.Builder to allow customization.

When used FeignBuilderCustomizer will override other configurations.

Effects @FeignClient and FeignClientBuilder building.

fixes gh-244

@codecov
Copy link

codecov bot commented Jan 30, 2020

Codecov Report

Merging #289 into master will increase coverage by 0.13%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #289      +/-   ##
============================================
+ Coverage     77.63%   77.77%   +0.13%     
- Complexity      386      389       +3     
============================================
  Files            51       51              
  Lines          1525     1534       +9     
  Branches        221      222       +1     
============================================
+ Hits           1184     1193       +9     
  Misses          246      246              
  Partials         95       95
Impacted Files Coverage Δ Complexity Δ
...mework/cloud/openfeign/FeignClientFactoryBean.java 69.35% <100%> (+1.55%) 51 <3> (+3) ⬆️

Copy link
Member

@spencergibb spencergibb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove dependency on org.springframework.security.config.Customizer

@OlgaMaciaszek OlgaMaciaszek self-assigned this Apr 14, 2020
@OlgaMaciaszek OlgaMaciaszek added this to In progress in 2020.0.0-M2 via automation Apr 15, 2020
@OlgaMaciaszek OlgaMaciaszek added this to the 3.0.0.M2 milestone Apr 15, 2020
@OlgaMaciaszek OlgaMaciaszek added enhancement New feature or request and removed waiting for feedback labels Apr 15, 2020
@OlgaMaciaszek
Copy link
Collaborator

Fixes gh-244.

@OlgaMaciaszek OlgaMaciaszek merged commit f4b49d5 into spring-cloud:master Apr 15, 2020
2020.0.0-M2 automation moved this from In progress to Done Apr 15, 2020
OlgaMaciaszek pushed a commit that referenced this pull request Nov 30, 2020
Fixes gh-436.

* add customizer for feign builder

* support @order for customizers

* switch to annotation aware comparator for @order support

* remove intermediate instances

* removed default feign builder customizer
# Conflicts:
#	spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
2020.0.0-M2
  
Done
Development

Successfully merging this pull request may close these issues.

Support customizing Feign.Builder via a FeignBuilderCustomizer
6 participants