[Backport 1.x] Execute remote actions on another extension#606
Merged
owaiskazi19 merged 2 commits into1.xfrom Mar 30, 2023
Merged
[Backport 1.x] Execute remote actions on another extension#606owaiskazi19 merged 2 commits into1.xfrom
owaiskazi19 merged 2 commits into1.xfrom
Conversation
* Add ProxyAction with TransportAction and handlers Signed-off-by: Daniel Widdis <widdis@gmail.com> * Give SDKActionModule a copy of ExtensionsRunner to use with transport Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add new ProxyActionRequest Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add SDKTransportService wrapper accessible to actions Signed-off-by: Daniel Widdis <widdis@gmail.com> * Implement ProxyTransportAction Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add test case to HelloWorldExtension Signed-off-by: Daniel Widdis <widdis@gmail.com> * Better naming of ExtensionActionResponse and correct action name Signed-off-by: Daniel Widdis <widdis@gmail.com> * Refactoring with TransportService and latest OpenSearch PR updates Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add ExtensionsActionRequestHandler Signed-off-by: Daniel Widdis <widdis@gmail.com> * Instantiate Proxy Action Request Signed-off-by: Daniel Widdis <widdis@gmail.com> * Working test case! Signed-off-by: Daniel Widdis <widdis@gmail.com> * Properly parse returned byte array into a response Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add sequence diagram to DESIGN.md Signed-off-by: Daniel Widdis <widdis@gmail.com> * Typoo fix Signed-off-by: Daniel Widdis <widdis@gmail.com> * Update with latest changes on companion PR Signed-off-by: Daniel Widdis <widdis@gmail.com> * Rename ProxyFoo to RemoteExtensionFoo Signed-off-by: Daniel Widdis <widdis@gmail.com> * Better handling of response bytes Signed-off-by: Daniel Widdis <widdis@gmail.com> * Handle plugin remote action requests Signed-off-by: Daniel Widdis <widdis@gmail.com> * Address code review comments Signed-off-by: Daniel Widdis <widdis@gmail.com> * Update sequence diagram Signed-off-by: Daniel Widdis <widdis@gmail.com> --------- Signed-off-by: Daniel Widdis <widdis@gmail.com> (cherry picked from commit ebc684a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Member
|
Gradle check needs 2.x backport PR of opensearch-project/OpenSearch#6734 |
joshpalis
approved these changes
Mar 30, 2023
owaiskazi19
approved these changes
Mar 30, 2023
caokyhieu
pushed a commit
to caokyhieu/opensearch-sdk-java
that referenced
this pull request
Aug 15, 2025
…pensearch-project#606) * Add ProxyAction with TransportAction and handlers * Give SDKActionModule a copy of ExtensionsRunner to use with transport * Add new ProxyActionRequest * Add SDKTransportService wrapper accessible to actions * Implement ProxyTransportAction * Add test case to HelloWorldExtension * Better naming of ExtensionActionResponse and correct action name * Refactoring with TransportService and latest OpenSearch PR updates * Add ExtensionsActionRequestHandler * Instantiate Proxy Action Request * Working test case! * Properly parse returned byte array into a response * Add sequence diagram to DESIGN.md * Typoo fix * Update with latest changes on companion PR * Rename ProxyFoo to RemoteExtensionFoo * Better handling of response bytes * Handle plugin remote action requests * Address code review comments * Update sequence diagram --------- (cherry picked from commit ebc684a) Signed-off-by: Daniel Widdis <widdis@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Joshua Palis <jpalis@amazon.com>
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.
Backport ebc684a from #588.