forked from redpanda-data/connect
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'benthosdev:main' into main2
- Loading branch information
Showing
642 changed files
with
23,373 additions
and
6,790 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
pipeline: | ||
processors: | ||
- resource: http_submit | ||
|
||
processor_resources: | ||
- label: http_submit | ||
http: | ||
url: http://nonexistant.foo/ | ||
verb: POST | ||
|
||
tests: | ||
- name: test_case | ||
target_processors: /pipeline/processors | ||
mocks: | ||
http_submit: | ||
mapping: 'root = {"abc": 123}' | ||
input_batch: | ||
- json_content: | ||
foo: bar | ||
output_batches: | ||
- - json_equals: | ||
abc: 123 | ||
bloblang: '!errored()' |
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,16 @@ | ||
processor_resources: | ||
- label: woof_drop | ||
mapping: | | ||
root = if this.resource."service.name" == "woof" { deleted() } | ||
tests: | ||
- name: woof drop test | ||
target_processors: 'woof_drop' | ||
input_batch: | ||
- content: '{"resource":{"cloud.platform":"aws_eks","host.id":"aaa","service.name":"meow"}}' | ||
- content: '{"resource":{"cloud.platform":"aws_eks","host.id":"bbb","service.name":"woof"}}' | ||
- content: '{"resource":{"cloud.platform":"aws_eks","host.id":"ccc","service.name":"quack"}}' | ||
output_batches: | ||
- | ||
- json_contains: { "resource": { "cloud.platform": "aws_eks", "host.id": "aaa" } } | ||
- json_contains: { "resource": { "cloud.platform": "aws_eks", "host.id": "ccc" } } |
Oops, something went wrong.