Skip to content

[!!!][FEATURE] Introduce ClientFactory and clientOptions config #437

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

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

eliashaeussler
Copy link
Owner

This PR introduces a new ClientFactory. It is constructed from a new configuration option clientOptions and provides a shared Guzzle client for crawlers and parsers. In addition, the existing DI service container usage for crawlers is now extended to parsers by a new ContainerFactory. The service container includes the shared Guzzle client as well.

@eliashaeussler eliashaeussler added enhancement New feature or request breaking This introduces a breaking change labels Dec 21, 2024
@eliashaeussler eliashaeussler self-assigned this Dec 21, 2024
Copy link

qlty-cloud-legacy bot commented Dec 21, 2024

Code Climate has analyzed commit 6a6c0cc and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 96.4% (50% is the threshold).

This pull request will bring the total coverage in the repository to 90.5% (0.0% change).

View more on Code Climate.

@coveralls
Copy link
Collaborator

coveralls commented Dec 21, 2024

Pull Request Test Coverage Report for Build 12445934220

Details

  • 82 of 85 (96.47%) changed or added relevant lines in 8 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.06%) to 90.581%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Config/CacheWarmupConfig.php 8 11 72.73%
Totals Coverage Status
Change from base Build 12443901537: 0.06%
Covered Lines: 1731
Relevant Lines: 1911

💛 - Coveralls

@eliashaeussler eliashaeussler merged commit c97e5a4 into main Dec 21, 2024
15 checks passed
@eliashaeussler eliashaeussler deleted the feature/client-factory branch December 21, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This introduces a breaking change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants