[Feature/extensions] Adding support for Extension Create Components [environment settings and add setting update consumers]#4517
Merged
owaiskazi19 merged 26 commits intoopensearch-project:feature/extensionsfrom Sep 23, 2022
joshpalis:create-components
Merged
[Feature/extensions] Adding support for Extension Create Components [environment settings and add setting update consumers]#4517owaiskazi19 merged 26 commits intoopensearch-project:feature/extensionsfrom joshpalis:create-components
owaiskazi19 merged 26 commits intoopensearch-project:feature/extensionsfrom
joshpalis:create-components
Conversation
…dated unit tests Signed-off-by: Joshua Palis <jpalis@amazon.com>
Signed-off-by: Joshua Palis <jpalis@amazon.com>
…er settings from which they would like to retrieve values for Signed-off-by: Joshua Palis <jpalis@amazon.com>
Signed-off-by: Joshua Palis <jpalis@amazon.com>
…Draft, as getSettings support still needs to be finalized Signed-off-by: Joshua Palis <jpalis@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## feature/extensions #4517 +/- ##
======================================================
Coverage 70.57% 70.58%
- Complexity 57370 57523 +153
======================================================
Files 4642 4650 +8
Lines 276302 276603 +301
Branches 40389 40422 +33
======================================================
+ Hits 195012 195246 +234
- Misses 64936 65067 +131
+ Partials 16354 16290 -64
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
…tion Signed-off-by: Joshua Palis <jpalis@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Joshua Palis <jpalis@amazon.com>
…rder to make this setting object source clear Signed-off-by: Joshua Palis <jpalis@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
6 tasks
Signed-off-by: Joshua Palis <jpalis@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Joshua Palis <jpalis@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
dbwiddis
requested changes
Sep 17, 2022
Member
dbwiddis
left a comment
There was a problem hiding this comment.
Existing code LGTM with one inline comment.
The Request and Response objects with writeTo methods and constructors from InputStreams need test classes. Should be a few examples of the pattern (instantiate with the constructor with objects, then writeTo a byte stream and construct from that byte stream and verify equality.
server/src/main/java/org/opensearch/env/EnvironmentSettingsResponse.java
Show resolved
Hide resolved
owaiskazi19
reviewed
Sep 19, 2022
server/src/main/java/org/opensearch/extensions/ExtensionsOrchestrator.java
Outdated
Show resolved
Hide resolved
owaiskazi19
reviewed
Sep 19, 2022
server/src/main/java/org/opensearch/extensions/UpdateSettingsResponseHandler.java
Show resolved
Hide resolved
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Joshua Palis <jpalis@amazon.com>
Signed-off-by: Joshua Palis <jpalis@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Joshua Palis <jpalis@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
dbwiddis
approved these changes
Sep 20, 2022
Contributor
Gradle Check (Jenkins) Run Completed with:
|
… the issue Re-run gradle check Signed-off-by: Joshua Palis <jpalis@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Joshua Palis <jpalis@amazon.com>
Signed-off-by: Joshua Palis <jpalis@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Joshua Palis <jpalis@amazon.com>
owaiskazi19
reviewed
Sep 22, 2022
server/src/test/java/org/opensearch/extensions/ExtensionsOrchestratorTests.java
Outdated
Show resolved
Hide resolved
Contributor
Gradle Check (Jenkins) Run Completed with:
|
owaiskazi19
reviewed
Sep 22, 2022
server/src/main/java/org/opensearch/extensions/AddSettingsUpdateConsumerRequestHandler.java
Show resolved
Hide resolved
owaiskazi19
approved these changes
Sep 22, 2022
Member
owaiskazi19
left a comment
There was a problem hiding this comment.
A small comment. Rest LGTM!
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Joshua Palis <jpalis@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds support for extensions to request environment setting values from opensearch, to add setting update consumers to cluster settings, and to receive update setting requests from Opensearch whenever a setting is updated.
Companion PR : opensearch-project/opensearch-sdk-java#138
Note : Currently in a draft state until opensearch-project/opensearch-sdk-java#79 is resolved
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.