Skip to content

Conversation

@cdekkerpossibilit
Copy link

Added option to pass in an existing httpclient to ApiConfig. Refactored ApiUtil to use that client. The timeout property gets and sets the client's timeout directly.
This allows for easier unit / integration testing as well as reuse of HttpClients already available in consuming code.
I set minimum .NET Framework version to 4.6.2 because .NET 4.5 has been out of support for a long time now.

…ed ApiUtil to use that client. The timeout property gets and sets the client's timeout directly.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@AbbTek
Copy link

AbbTek commented Mar 4, 2024

Is there any possibility that this solution could be merged? We need this for testing and monitoring.

@cdekkerpossibilit
Copy link
Author

Is there any possibility that this solution could be merged? We need this for testing and monitoring.

I don;t think Chargebee devs do anything with PRs, it's been 2 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants