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

Migrate client transports to Apache HttpClient/Core5.x #231

Merged
merged 5 commits into from
Nov 4, 2022

Conversation

owaiskazi19
Copy link
Member

@owaiskazi19 owaiskazi19 commented Nov 3, 2022

Signed-off-by: Owais Kazi owaiskazi19@gmail.com

Description

This PR covers:

  1. Migrate client transports to Apache HttpClient / Core 5.x - Migrate client transports to Apache HttpClient / Core 5.x opensearch-java#246
  2. Support Java 8 Time (JSR 310) objects [FEATURE] Document how to use Java 8 Time (JSR 310) objects opensearch-java#250
  3. Upgraded java client to 3.0.0-SNAPSHOT

Issues Resolved

Closes #210 and #89

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
@owaiskazi19 owaiskazi19 requested a review from a team November 3, 2022 21:56
joshpalis
joshpalis previously approved these changes Nov 3, 2022
Copy link
Member

@joshpalis joshpalis left a comment

Choose a reason for hiding this comment

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

LGTM Thanks Owais!

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Nov 3, 2022

Codecov Report

Merging #231 (010b73e) into main (35f8d2b) will increase coverage by 0.99%.
The diff coverage is 92.30%.

❗ Current head 010b73e differs from pull request most recent head 138dba7. Consider uploading reports for the commit 138dba7 to get more accurate results

@@             Coverage Diff              @@
##               main     #231      +/-   ##
============================================
+ Coverage     65.86%   66.86%   +0.99%     
+ Complexity      103      100       -3     
============================================
  Files            25       24       -1     
  Lines           501      501              
  Branches         17       17              
============================================
+ Hits            330      335       +5     
+ Misses          159      154       -5     
  Partials         12       12              
Impacted Files Coverage Δ
...arch/sdk/handlers/ClusterStateResponseHandler.java 35.29% <ø> (ø)
...k/handlers/EnvironmentSettingsResponseHandler.java 35.29% <ø> (ø)
src/main/java/org/opensearch/sdk/SDKClient.java 84.00% <91.66%> (+4.00%) ⬆️
...main/java/org/opensearch/sdk/ExtensionsRunner.java 65.18% <100.00%> (-0.51%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

joshpalis
joshpalis previously approved these changes Nov 3, 2022
@ryanbogan ryanbogan self-requested a review November 3, 2022 23:14
ryanbogan
ryanbogan previously approved these changes Nov 3, 2022
dbwiddis
dbwiddis previously approved these changes Nov 4, 2022
Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

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

Approved with suggestions. (As in, OK to merge since this is blocking all other PRs, and make the version changes as part of #229 and change the javadocs in another PR.)

build.gradle Outdated Show resolved Hide resolved
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
@dbwiddis dbwiddis merged commit 2a7332a into opensearch-project:main Nov 4, 2022
kokibas pushed a commit to kokibas/opensearch-sdk-java that referenced this pull request Mar 17, 2023
…oject#231)

* Migrate client transports to Apache HttpClient/Core5.x

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

* Removed scheme

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

* Cleanep up compiler warnings

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

* Updated comment

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

* Generalized version numbers to a variable

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
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.

[BUG] SDKClient test failures due to Apache HttpClient / Core 5.x upgrade
5 participants