-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
REST API Layer changes for recommission support #4321
REST API Layer changes for recommission support #4321
Conversation
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Gradle Check (Jenkins) Run Completed with:
|
Changes to -
|
...opensearch/action/admin/cluster/decommission/awareness/delete/DeleteDecommissionRequest.java
Outdated
Show resolved
Hide resolved
...ch/action/admin/cluster/decommission/awareness/delete/TransportDeleteDecommissionAction.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/client/ClusterAdminClient.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/cluster/decommission/DecommissionAttribute.java
Outdated
Show resolved
Hide resolved
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #4321 +/- ##
============================================
- Coverage 70.81% 70.64% -0.18%
+ Complexity 57438 57426 -12
============================================
Files 4617 4634 +17
Lines 275545 276114 +569
Branches 40340 40421 +81
============================================
- Hits 195125 195050 -75
- Misses 64085 64743 +658
+ Partials 16335 16321 -14
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
.../opensearch/action/admin/cluster/decommission/awareness/delete/DeleteDecommissionAction.java
Outdated
Show resolved
Hide resolved
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Gradle Check (Jenkins) Run Completed with:
|
* Deletes the decommission metadata. | ||
*/ | ||
ActionFuture<DeleteDecommissionStateResponse> deleteDecommission(DeleteDecommissionStateRequest request); | ||
|
||
/** | ||
* Deletes the decommission metadata. | ||
*/ | ||
void deleteDecommission(DeleteDecommissionStateRequest request, ActionListener<DeleteDecommissionStateResponse> listener); | ||
|
||
/** | ||
* Deletes the decommission metadata. | ||
*/ | ||
DeleteDecommissionStateRequestBuilder prepareDeleteDecommission(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: deleteDecommissionState
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
/** | ||
* Creates a new delete decommission request. | ||
*/ | ||
public static DeleteDecommissionStateRequest deleteDecommissionRequest() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: deleteDecommissionStateRequest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Gradle Check (Jenkins) Run Completed with:
|
Closing this PR. Reopened another one. |
Signed-off-by: pranikum 109206473+pranikum@users.noreply.github.com
Description
This change contain REST API layer changes for Recommission API support.
This pr is dependent of Service layer changes. (#4320)
This change has some changes for the PR #4084
Issues Resolved
[List any issues this PR will resolve]
Check List
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.