-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: missed exception in plugin error (#4945)
* FIX: missed exception in plugin error building Signed-off-by: George Chen <[email protected]>
- Loading branch information
1 parent
e9bffee
commit 13dccc4
Showing
6 changed files
with
102 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
23 changes: 23 additions & 0 deletions
23
data-prepper-core/src/test/resources/connected_pipeline_incorrect_buffer.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# this configuration file is solely for testing formatting | ||
test-pipeline-1: | ||
source: | ||
stdin: | ||
buffer: | ||
invalid_buffer: #this plugin fails | ||
sink: | ||
- pipeline: | ||
name: "test-pipeline-2" | ||
test-pipeline-2: | ||
source: | ||
pipeline: | ||
name: "test-pipeline-1" | ||
sink: | ||
- pipeline: | ||
name: "test-pipeline-3" | ||
test-pipeline-3: | ||
source: | ||
pipeline: | ||
name: "test-pipeline-2" | ||
sink: | ||
- file: | ||
path: "/tmp/todelete.txt" |
23 changes: 23 additions & 0 deletions
23
data-prepper-core/src/test/resources/connected_pipeline_incorrect_processor.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# this configuration file is solely for testing formatting | ||
test-pipeline-1: | ||
source: | ||
stdin: | ||
processor: | ||
- invalid_processor: # this plugin should fail | ||
sink: | ||
- pipeline: | ||
name: "test-pipeline-2" | ||
test-pipeline-2: | ||
source: | ||
pipeline: | ||
name: "test-pipeline-1" | ||
sink: | ||
- pipeline: | ||
name: "test-pipeline-3" | ||
test-pipeline-3: | ||
source: | ||
pipeline: | ||
name: "test-pipeline-2" | ||
sink: | ||
- file: | ||
path: "/tmp/todelete.txt" |
22 changes: 22 additions & 0 deletions
22
data-prepper-core/src/test/resources/connected_pipeline_incorrect_sink.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# this configuration file is solely for testing formatting | ||
test-pipeline-1: | ||
source: | ||
stdin: | ||
sink: | ||
- pipeline: | ||
name: "test-pipeline-2" | ||
- invalid_sink: # this plugin should fail | ||
test-pipeline-2: | ||
source: | ||
pipeline: | ||
name: "test-pipeline-1" | ||
sink: | ||
- pipeline: | ||
name: "test-pipeline-3" | ||
test-pipeline-3: | ||
source: | ||
pipeline: | ||
name: "test-pipeline-2" | ||
sink: | ||
- file: | ||
path: "/tmp/todelete.txt" |