Skip to content

Add integration test verifying processors work with empty, null, and …#7012

Open
Davidding4718 wants to merge 1 commit into
opensearch-project:mainfrom
Davidding4718:empty-processor-integration-test
Open

Add integration test verifying processors work with empty, null, and …#7012
Davidding4718 wants to merge 1 commit into
opensearch-project:mainfrom
Davidding4718:empty-processor-integration-test

Conversation

@Davidding4718

Copy link
Copy Markdown
Contributor

Description

Add integration test verifying that processors with no mandatory configuration work correctly when configured as a bare key (empty_processor:), explicit null (empty_processor: null), or explicit empty string (empty_processor: '').

Jackson YAML 2.21 changed bare key deserialization from null to "". This test ensures Data Prepper's plugin framework handles all three forms correctly by creating a simple EmptyProcessor that increments a counter on each event. The pipeline configures 3 instances and asserts the final count equals 3.

Issues Resolved

Resolves #6915 (follow-up: integration test coverage for empty string plugin configuration)

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.

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown

✅ License Header Check Passed

All newly added files have proper license headers. Great work! 🎉

…bare key configurations

Signed-off-by: Siqi Ding <dingdd@amazon.com>
@Davidding4718
Davidding4718 force-pushed the empty-processor-integration-test branch from f00a885 to a80f57c Compare July 20, 2026 16:36
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.

3 participants