-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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] Extensibility support for getNamedWriteables extension point #3925
Merged
saratvemulapalli
merged 25 commits into
opensearch-project:feature/extensions
from
joshpalis:namedwriteables
Aug 8, 2022
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
9e31e52
extensibility support for getNamedWriteables extension point. Adding …
joshpalis bbfc81d
removing string response from parse request, this was added only for …
joshpalis 3d3c113
fixing syntax errors
joshpalis 1c6906f
modified logs for NamedWriteableRegistryRequest
joshpalis 62fe9f3
addressing PR comments
joshpalis d64f378
addressing PR comments
joshpalis 07df663
Merge branch 'feature/extensions' of https://github.com/opensearch-pr…
joshpalis 1c99994
fixing gradle precommit issues, fixed logger ussage errors
joshpalis 34c2a5e
Fixing all code comment format
joshpalis 9800380
added unit tests, added more javadocs, fixed handleException message …
joshpalis 72da0f5
Addressing PR comments, adding logs for eacch request sent to SDK, re…
joshpalis d373035
addressing PR comments, added additional unit tests for NamedWriteabl…
joshpalis d502edb
updating response handler test to check if ExtensionReader callback i…
joshpalis 65fd479
Updated ExtensionReader to use a StreamInput object rather than a byt…
joshpalis 479e094
fixing gradle precommit issues, spotless java check
joshpalis b193229
modified ExtensdionReader functional interface, abstracted context in…
joshpalis 8580a84
Modified Parse Request to take in a class instead of the fully qualif…
joshpalis b9f4a80
Updated ExtensionsOrchestratorTests, moved extensionYmlLines and exte…
joshpalis 467182e
linking additional issue to TODO
joshpalis bdc558c
using extensionsInitializedList instead of extensionsList to ensure t…
joshpalis d3d52a4
Merge branch 'feature/extensions' into namedwriteables
joshpalis 861daa4
updated tests to pass, after changing extension orchestrator to use t…
joshpalis 4bc44c2
Merge branch 'feature/extensions' into namedwriteables
joshpalis 39ab25c
addressing PR comments, moving named writeable registry support from …
joshpalis cd222aa
cleaning up comments/ logs, modified extensionsInitialized to be asyn…
joshpalis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Addressing PR comments, adding logs for eacch request sent to SDK, re…
…moved IndicesModuleNameResponse, replaced with ExtensionBooleanResponse, refactored ExtensionOrchestrator, moved NamedWriteableRegistry response handler to separate file, moved parseNamedWriteable callback method to response handler file, updated unit tests to reflect these changes Signed-off-by: Joshua Palis <jpalis@amazon.com>
- Loading branch information
commit 72da0f5da254b943420f69ba63f610fb0d3352fb
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
Does this method have to be public?
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.
Currently I target this method within my unit tests since
extensionsInitializedList
cannot be populated unless extensionsInitialize() occurs. The method which calls this iterates through initialized discovery nodes and sends a request to the extension associated with the node, therefore, in order to test this, I would have to call this method directly, which is only possible if it is public