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

Version bump to opensearch-3.0.0-alpha1 and replaced usage of deprecated classes #1504

Merged

Conversation

aggarwalShivani
Copy link
Contributor

@aggarwalShivani aggarwalShivani commented Feb 12, 2025

Description

Updated to opensearch-3.0.0-alpha1 and fixed usage of classes that are refactored/replaced in latest opensearch.

Changes:

  • Fixed imports for classes moved from org.opensearch.action.support.master to org.opensearch.action.support.clustermanager
  • Fixed imports for classes moved from org.opensearch.client to org.opensearch.transport.client
  • Replaced usage of deprecated classes (MasterNodeRequest, TransportMasterNodeAction) and methods (masterOperation()) etc by their alternatives (ClusterManagerNodeRequest, TransportClusterManagerNodeAction, clusterManagerOperation()).

Related Issues

Resolves #1503

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

@ankitkala
Copy link
Member

Security tests are failing. I see that they've not yet bumped up the version to 3.0. I'm okay to merge this change for now.

@ankitkala ankitkala merged commit 80918f3 into opensearch-project:main Feb 14, 2025
11 of 15 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.

Version bump of opensearch to 3.0.0.0-alpha1 and replacement of deprecated classes
3 participants