Skip to content

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.

…ted classes

Signed-off-by: aggarwalShivani <shivani.aggarwal@nokia.com>
@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