-
Notifications
You must be signed in to change notification settings - Fork 58
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
[Feature/extensions] Modified Environment settings support #179
[Feature/extensions] Modified Environment settings support #179
Conversation
…ceptionHandling Signed-off-by: Joshua Palis <jpalis@amazon.com>
…sponse handler syncronously Signed-off-by: Joshua Palis <jpalis@amazon.com>
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.
Need better handling of non-happy-path.
src/main/java/org/opensearch/sdk/handlers/EnvironmentSettingsResponseHandler.java
Show resolved
Hide resolved
src/main/java/org/opensearch/sdk/handlers/EnvironmentSettingsResponseHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/sdk/handlers/EnvironmentSettingsResponseHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/sdk/handlers/EnvironmentSettingsResponseHandler.java
Show resolved
Hide resolved
Signed-off-by: Joshua Palis <jpalis@amazon.com>
src/main/java/org/opensearch/sdk/handlers/EnvironmentSettingsResponseHandler.java
Outdated
Show resolved
Hide resolved
…andler Signed-off-by: Joshua Palis <jpalis@amazon.com>
f2399fb
to
6eab1a5
Compare
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.
LGTM!
Signed-off-by: Joshua Palis <jpalis@amazon.com>
d9ec172
Hey @joshpalis I just noticed the following in some gradle checks:
Can you please add that |
@dbwiddis Sure thanks for catching that, I'll make sure to add this |
…h-project#179) * modified environment settings request to use sendGenericRequestWithExceptionHandling Signed-off-by: Joshua Palis <jpalis@amazon.com> * modified sendEnvironmentRequest to return the Settings object from response handler syncronously Signed-off-by: Joshua Palis <jpalis@amazon.com> * addressing PR comments Signed-off-by: Joshua Palis <jpalis@amazon.com> * addressing PR comments, moving countdown latch creation to response handler Signed-off-by: Joshua Palis <jpalis@amazon.com> * adding missing javadocs Signed-off-by: Joshua Palis <jpalis@amazon.com> Signed-off-by: Joshua Palis <jpalis@amazon.com>
Description
Environment Settings support for extensibility will now pass the entire Settings object from OpenSearch node environment to the SDK.
Companion PR : opensearch-project/OpenSearch#4731
Issues Resolved
#78
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.