Skip to content

Introduces the plugin test framework with annotations and some standard tests.#5909

Merged
dlvenable merged 1 commit into
opensearch-project:mainfrom
dlvenable:5907-plugin-test-framework
Jul 31, 2025
Merged

Introduces the plugin test framework with annotations and some standard tests.#5909
dlvenable merged 1 commit into
opensearch-project:mainfrom
dlvenable:5907-plugin-test-framework

Conversation

@dlvenable
Copy link
Copy Markdown
Member

Description

Introduces the Data Prepper plugin test framework. This is a new project under data-prepper-test. It includes annotations and a base class to allow plugin authors to create plugin tests.

Currently, the only support is that it generates two standard tests:

  • Plugin can be found by the plugin framework
  • Plugin name conforms to standard naming convention

I also added the annotation and base class to the GrokProcessorIT class to use it as an initial test bed.

Issues Resolved

Resolves #5908

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

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.

…tations and a base class for plugin testing along with a couple of initial tests. Resolves opensearch-project#5908

Also, adds these tests to the grok processor as an initial processor to start using it.

Signed-off-by: David Venable <dlv@amazon.com>
Copy link
Copy Markdown
Collaborator

@san81 san81 left a comment

Choose a reason for hiding this comment

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

Thank you for the nice addition

@dlvenable dlvenable merged commit 49c61e6 into opensearch-project:main Jul 31, 2025
76 of 82 checks passed
@dlvenable dlvenable deleted the 5907-plugin-test-framework branch August 1, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initial work for Data Prepper plugin test framework with standard, simple tests

3 participants