-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Example stable plugin #90805
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
Example stable plugin #90805
Conversation
in elastic#90707 a org.elasticsearch.test.AbstractSerializingTestCase was refactored and AbstractXContentSerializingTestCase should be used instead.
|
Hi @pgomulka, I've created a changelog YAML for you. |
…ample_stable_plugin
| @@ -0,0 +1,34 @@ | |||
| //TODO guide - mention buildscript (in parent) | |||
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.
Note: "buildscript" is a code block in build.gradle. The plugin developer can begin their project by copying and pasting the code block.
|
@elasticmachine ok to test |
|
@elasticmachine test this please |
|
Pinging @elastic/es-core-infra (Team:Core/Infra) |
williamrandolph
left a comment
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.
This is great work. I've run a successful live demo with it, and will be creating a guide for it soon.
This commit adds an example stable-analysis plugin under plugins/examples to show a usage of the new stable analysis api.
It implements AnalyzerFactory, CharFilterFactory, TokenFilterFactory and TokenizerFactory.
it also presents how to write unit tests and yaml rest tests without the dependencies on elasticsearch test framework.
relates #88980