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

REST API Layer changes for recommission support #4321

Closed

Conversation

pranikum
Copy link
Contributor

@pranikum pranikum commented Aug 29, 2022

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

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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: pranikum <109206473+pranikum@users.noreply.github.com>
@pranikum pranikum requested review from a team and reta as code owners August 29, 2022 14:37
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2022

Gradle Check (Jenkins) Run Completed with:

@imRishN
Copy link
Member

imRishN commented Sep 2, 2022

Changes to -

  1. client/rest-high-level/src/test/java/org/opensearch/client/RestHighLevelClientTests.java
  2. rest-api-spec/src/main/resources/rest-api-spec/api
    are missing. We need to add that

Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@codecov-commenter
Copy link

codecov-commenter commented Sep 20, 2022

Codecov Report

Merging #4321 (7312b41) into main (57a4aed) will decrease coverage by 0.17%.
The diff coverage is 65.24%.

@@             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     
Impacted Files Coverage Δ
...va/org/opensearch/geometry/GeometryCollection.java 96.42% <0.00%> (+0.13%) ⬆️
...le/customsettings/ExampleCustomSettingsConfig.java 29.03% <ø> (ø)
...le/customsettings/ExampleCustomSettingsPlugin.java 9.09% <ø> (ø)
...igheuristic/CustomSignificanceHeuristicPlugin.java 0.00% <0.00%> (ø)
...ch/example/customsigheuristic/SimpleHeuristic.java 86.66% <ø> (ø)
...earch/example/customsuggester/CustomSuggester.java 0.00% <0.00%> (ø)
...example/customsuggester/CustomSuggesterPlugin.java 0.00% <0.00%> (ø)
...arch/example/customsuggester/CustomSuggestion.java 0.00% <ø> (ø)
...ample/customsuggester/CustomSuggestionBuilder.java 0.00% <ø> (ø)
...ample/customsuggester/CustomSuggestionContext.java 0.00% <ø> (ø)
... and 541 more

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

Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Comment on lines 799 to 811
* 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();
Copy link
Member

Choose a reason for hiding this comment

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

nit: deleteDecommissionState

Copy link
Contributor Author

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() {
Copy link
Member

Choose a reason for hiding this comment

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

nit: deleteDecommissionStateRequest

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: pranikum <109206473+pranikum@users.noreply.github.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@pranikum pranikum mentioned this pull request Sep 27, 2022
6 tasks
@pranikum
Copy link
Contributor Author

Closing this PR. Reopened another one.

#4604

@pranikum pranikum closed this Sep 27, 2022
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.

3 participants