Skip to content
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

Created EngineExtension with default implementation from EnginePlugin #393

Conversation

varuntumbe
Copy link
Contributor

Signed-off-by: varuntumbe [email protected]

Description

Add a new interface EngineExtension with default implementations for extension points matching EnginePlugin.java.

Issues Resolved

#323

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.

Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except this is a good time to delete that deprecated extension point.

This is also a great example of an "extension-side" implementation that is one of the main reasons for #319.

src/main/java/org/opensearch/sdk/EngineExtension.java Outdated Show resolved Hide resolved
dbwiddis
dbwiddis previously approved these changes Jan 31, 2023
Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks again!

@dbwiddis
Copy link
Member

dbwiddis commented Jan 31, 2023

Er, spoke too soon, looks like spotless is complaining about something. :( (Extra line break)

@varuntumbe
Copy link
Contributor Author

Yep I think its best to run the spotlessApply before every commit

@dbwiddis
Copy link
Member

Yep I think its best to run the spotlessApply before every commit

I have a single key macro for "gradle spotlessapply check". :)

@varuntumbe
Copy link
Contributor Author

Will take some time for #319 , I need to read and understand ExtensionManager class and will ask questions If I get stuck understanding the code

@saratvemulapalli saratvemulapalli merged commit d622f72 into opensearch-project:main Jan 31, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 3, 2023
…#393)

* Added EngineExtension Interface
Signed-off-by: varuntumbe <[email protected]>

* deleting the depreciated method
Signed-off-by: varuntumbe <[email protected]>

* spotlessApply has been done
Signed-off-by: varuntumbe <[email protected]>
(cherry picked from commit d622f72)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ryanbogan pushed a commit that referenced this pull request Feb 3, 2023
…#393) (#410)

* Added EngineExtension Interface
Signed-off-by: varuntumbe <[email protected]>

* deleting the depreciated method
Signed-off-by: varuntumbe <[email protected]>

* spotlessApply has been done
Signed-off-by: varuntumbe <[email protected]>
(cherry picked from commit d622f72)
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>
kokibas pushed a commit to kokibas/opensearch-sdk-java that referenced this pull request Mar 17, 2023
…opensearch-project#393)

* Added EngineExtension Interface
Signed-off-by: varuntumbe <[email protected]>

* deleting the depreciated method
Signed-off-by: varuntumbe <[email protected]>

* spotlessApply has been done
Signed-off-by: varuntumbe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants