Skip to content

REST API Layer changes for recommission support#4321

Closed
pranikum wants to merge 20 commits intoopensearch-project:mainfrom
pranikum:recommission-api-level-support
Closed

REST API Layer changes for recommission support#4321
pranikum wants to merge 20 commits intoopensearch-project:mainfrom
pranikum:recommission-api-level-support

Conversation

@pranikum
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

github-actions bot commented Sep 1, 2022

Gradle Check (Jenkins) Run Completed with:

@imRishN
Copy link
Copy Markdown
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
Copy Markdown
Contributor

github-actions bot commented Sep 7, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 7, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 7, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

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

Gradle Check (Jenkins) Run Completed with:

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

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@codecov-commenter
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

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

Gradle Check (Jenkins) Run Completed with:

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

Gradle Check (Jenkins) Run Completed with:

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

Closing this PR. Reopened another one.

#4604

@pranikum pranikum closed this Sep 27, 2022
@pranikum pranikum deleted the recommission-api-level-support branch July 17, 2025 03:12
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