Skip to content

Modified local node request to return discovery node directly to caller#202

Merged
joshpalis merged 4 commits intoopensearch-project:mainfrom
joshpalis:local-node
Oct 31, 2022
Merged

Modified local node request to return discovery node directly to caller#202
joshpalis merged 4 commits intoopensearch-project:mainfrom
joshpalis:local-node

Conversation

@joshpalis
Copy link
Copy Markdown
Member

@joshpalis joshpalis commented Oct 20, 2022

Signed-off-by: Joshua Palis jpalis@amazon.com

Description

Modified local node request to return discovery node directly to caller

Edit : Separate local Node Requests are not necessary to provide support for since the local node is already transported to the SDK during node initialization. There is already a getter for the opensearch node (source node) used for testing, and this can be modified in order to access this within an extension

Companion PR : opensearch-project/OpenSearch#4862

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: Joshua Palis <jpalis@amazon.com>
… getLocalNode to avoid naming confusion.

Signed-off-by: Joshua Palis <jpalis@amazon.com>
dbwiddis
dbwiddis previously approved these changes Oct 22, 2022
Signed-off-by: Joshua Palis <jpalis@amazon.com>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #202 (d9385c8) into main (cf542d3) will increase coverage by 0.52%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main     #202      +/-   ##
============================================
+ Coverage     65.86%   66.39%   +0.52%     
+ Complexity      103      100       -3     
============================================
  Files            25       24       -1     
  Lines           501      491      -10     
  Branches         17       17              
============================================
- Hits            330      326       -4     
+ Misses          159      153       -6     
  Partials         12       12              
Impacted Files Coverage Δ
...main/java/org/opensearch/sdk/ExtensionsRunner.java 65.18% <100.00%> (-0.51%) ⬇️

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

@joshpalis joshpalis merged commit be8ffb9 into opensearch-project:main Oct 31, 2022
kokibas pushed a commit to kokibas/opensearch-sdk-java that referenced this pull request Mar 17, 2023
…er (opensearch-project#202)

* Modified local node request to return discovery node direfctly to caller

Signed-off-by: Joshua Palis <jpalis@amazon.com>

* Removing sendLocalNodeRequest, renaming getter for opensearch node to getLocalNode to avoid naming confusion.

Signed-off-by: Joshua Palis <jpalis@amazon.com>

* Reverting name of opensearch node getter

Signed-off-by: Joshua Palis <jpalis@amazon.com>

Signed-off-by: Joshua Palis <jpalis@amazon.com>
caokyhieu pushed a commit to caokyhieu/opensearch-sdk-java that referenced this pull request Aug 15, 2025
…er (opensearch-project#202)

* Modified local node request to return discovery node direfctly to caller

Signed-off-by: Joshua Palis <jpalis@amazon.com>

* Removing sendLocalNodeRequest, renaming getter for opensearch node to getLocalNode to avoid naming confusion.

Signed-off-by: Joshua Palis <jpalis@amazon.com>

* Reverting name of opensearch node getter

Signed-off-by: Joshua Palis <jpalis@amazon.com>

Signed-off-by: Joshua Palis <jpalis@amazon.com>
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.

4 participants