Skip to content

[type:refactor] Put the creation logic of HttpClient in a separate class#5107

Merged
yu199195 merged 2 commits intoapache:masterfrom
xuziyang:refacor
Sep 3, 2023
Merged

[type:refactor] Put the creation logic of HttpClient in a separate class#5107
yu199195 merged 2 commits intoapache:masterfrom
xuziyang:refacor

Conversation

@xuziyang
Copy link
Copy Markdown
Contributor

@xuziyang xuziyang commented Sep 1, 2023

The creation logic of HttpClient is too complicated. A better way than putting it in the HttpClientPluginConfiguration is to write it into a separate class.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Sep 1, 2023

Codecov Report

Merging #5107 (3bb9041) into master (d214baf) will increase coverage by 0.00%.
The diff coverage is 48.05%.

@@            Coverage Diff            @@
##             master    #5107   +/-   ##
=========================================
  Coverage     61.79%   61.79%           
- Complexity     8495     8498    +3     
=========================================
  Files          1227     1228    +1     
  Lines         36967    36972    +5     
  Branches       3515     3515           
=========================================
+ Hits          22843    22848    +5     
  Misses        12166    12166           
  Partials       1958     1958           
Files Changed Coverage Δ
...t/starter/plugin/httpclient/HttpClientFactory.java 47.36% <47.36%> (ø)
...ugin/httpclient/HttpClientPluginConfiguration.java 81.25% <100.00%> (+30.67%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@yu199195 yu199195 added this to the 2.6.1 milestone Sep 3, 2023
@yu199195 yu199195 merged commit c3da53c into apache:master Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants