Skip to content

Release CRT Sync HTTP client #4750

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 11 commits into from
Dec 15, 2023
Merged

Release CRT Sync HTTP client #4750

merged 11 commits into from
Dec 15, 2023

Conversation

zoewangg
Copy link
Contributor

@zoewangg zoewangg commented Dec 6, 2023

Motivation and Context

Merging CRT Sync HTTP client.
#3343

Testing

Running test suites

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING document
  • Local run of mvn install succeeds
  • My code follows the code style of this project
  • My change requires a change to the Javadoc documentation
  • I have updated the Javadoc documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed
  • I have added a changelog entry. Adding a new entry must be accomplished by running the scripts/new-change script and following the instructions. Commit the new file created by the script in .changes/next-release with your changes.
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • I confirm that this pull request can be released under the Apache 2 license

JonathanHenson and others added 2 commits December 5, 2023 17:19
* implemented synchronous crt java http client with tests.

* Forgot about informing the loader of what we did.

* Still not completed with PR, but the large refactors have been done and I want to go ahead and get a review. Still WIP on moving the anonymous classes to another class.

* Addressed refactor comments. Going to make another pass at adding some more integ tests.

* make the client base abstract to force users to override it, since that's its intention.

* Fixed but in the response stream handler for the async to sync stream adapter to properly complete and close upon end of the response. Began adding some tests but they don't all pass yet.

* Updates to use new http exception error info for tls negotiation, changes to test running. passing sync client tests.

* Revert to using the error code. Updated crt version to include the needed changes.

* Refactored benchmarks and s3 stability tests to handle both async and sync runs. Added sync variants for crt clients for the http client benchmarks and s3 stability test.

* Update the console output to have accurate test name.

* Further code review fixes as well as updates for the linters.

* Fixed some checkstyle errors I hope?

* More checkstyle fixes.

* PR Feedback

* add volatile

* Close threadpool at end of CRT tests

---------

Co-authored-by: Waqar Ahmed Khan <[email protected]>
Co-authored-by: Dongie Agnir <[email protected]>
* Update javadoc, minor refactoring

* Fix tests

* Revert checkstyle update
@zoewangg zoewangg requested a review from a team as a code owner December 6, 2023 21:09
@zoewangg zoewangg force-pushed the feature/master/synccrtclient branch from 3f150ab to 24b5bba Compare December 15, 2023 01:29
…e it increases test time and makes tests flaky especially when tests are running in parallel. We still verify it in wiremock tests and stability tests
@zoewangg zoewangg force-pushed the feature/master/synccrtclient branch from 23dea4a to bfc589e Compare December 15, 2023 03:16
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

74.9% Coverage on New Code (required ≥ 80%)
3.1% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

idea Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

@zoewangg zoewangg merged commit 848038f into master Dec 15, 2023
@zoewangg zoewangg deleted the feature/master/synccrtclient branch December 15, 2023 23:28
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.

3 participants