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

[JPMS Support] Refactoring of org.opensearch.client from :server module #17272

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

prudhvigodithi
Copy link
Member

@prudhvigodithi prudhvigodithi commented Feb 6, 2025

Description

  • [JPMS Support] Refactor the :server module org.opensearch.client to org.opensearch.transport.client.

  • This will remove the split package issue for org.opensearch.client.

Related Issues

Part of #8110

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

@prudhvigodithi
Copy link
Member Author

prudhvigodithi commented Feb 6, 2025

This should be simple refactoring compared to previous PR's. Adding @msfroh @andrross @reta to please take a look at this refactoring.
Thanks
@getsaurabh02 @vamshin

@prudhvigodithi prudhvigodithi force-pushed the 3.0.0-refactor branch 2 times, most recently from 24e279d to ea4ed8f Compare February 6, 2025 01:07
@prudhvigodithi prudhvigodithi changed the title [JPMS Support] Refactor the :server module org.opensearch.client to org.opensearch.core.client [JPMS Support] Refactor the :server module org.opensearch.client to org.opensearch.client.server Feb 6, 2025
@prudhvigodithi
Copy link
Member Author

prudhvigodithi commented Feb 6, 2025

I havent noticed this, coming from https://github.com/opensearch-project/OpenSearch/tree/main/client/rest-high-level/src/main/java/org/opensearch/client/core, we already have org.opensearch.client.core, so modified to org.opensearch.client.server in order to avoid breaking the java rest level client.

Copy link
Contributor

github-actions bot commented Feb 6, 2025

✅ Gradle check result for ea4ed8f: SUCCESS

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.38%. Comparing base (8325812) to head (683cdbc).
Report is 10 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #17272      +/-   ##
============================================
+ Coverage     72.31%   72.38%   +0.07%     
+ Complexity    65549    65493      -56     
============================================
  Files          5295     5292       -3     
  Lines        304965   304493     -472     
  Branches      44291    44218      -73     
============================================
- Hits         220536   220416     -120     
+ Misses        66376    65988     -388     
- Partials      18053    18089      +36     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Feb 6, 2025

✅ Gradle check result for ad0fcaa: SUCCESS

@prudhvigodithi prudhvigodithi changed the title [JPMS Support] Refactor the :server module org.opensearch.client to org.opensearch.client.server [JPMS Support] Refactor the :server module org.opensearch.client to org.opensearch.internal.client Feb 6, 2025
@prudhvigodithi prudhvigodithi marked this pull request as ready for review February 6, 2025 05:13
@prudhvigodithi prudhvigodithi force-pushed the 3.0.0-refactor branch 2 times, most recently from 4c2bcac to d74afdd Compare February 6, 2025 17:04
Copy link
Contributor

github-actions bot commented Feb 6, 2025

✅ Gradle check result for d74afdd: SUCCESS

@prudhvigodithi prudhvigodithi changed the title [JPMS Support] Refactor the :server module org.opensearch.client to org.opensearch.internal.client [JPMS Support] Refactoring of org.opensearch.client from :server module Feb 6, 2025
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Copy link
Contributor

github-actions bot commented Feb 6, 2025

✅ Gradle check result for 683cdbc: SUCCESS

@prudhvigodithi prudhvigodithi requested a review from msfroh February 6, 2025 22:58
@andrross andrross merged commit bbdf73a into opensearch-project:main Feb 6, 2025
33 of 34 checks passed
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.

4 participants