Skip to content

Commit

Permalink
Add test yaml files
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Kondaka <[email protected]>
  • Loading branch information
Krishna Kondaka committed Jan 16, 2024
1 parent 55981b6 commit 598e952
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
three-pipelines-route-test-1:
delay: 2
source:
in_memory:
testing_key: PipelinesWithAcksIT
acknowledgments: true
route:
- 2xx_route: '/status >= 200 and /status < 300'
- other_route: '/status >= 300 or /status < 200'
sink:
- pipeline:
name: "three-pipelines-route-test-2"
routes:
- 2xx_route
- pipeline:
name: "three-pipelines-route-test-3"
routes:
- other_route
- in_memory:
testing_key: PipelinesWithAcksIT
acknowledgments: true

three-pipelines-route-test-2:
source:
pipeline:
name: "three-pipelines-route-test-1"
sink:
- in_memory:
testing_key: PipelinesWithAcksIT
acknowledgments: true

three-pipelines-route-test-3:
source:
pipeline:
name: "three-pipelines-route-test-1"
sink:
- in_memory:
testing_key: PipelinesWithAcksIT
acknowledgments: true

Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
three-pipelines-unrouted-test-1:
delay: 2
source:
in_memory:
testing_key: PipelinesWithAcksIT
acknowledgments: true
route:
- 1xx_route: '/status >= 700 and /status < 800'
- other_route: '/status >= 800 and /status < 900'
sink:
- pipeline:
name: "three-pipelines-unrouted-test-2"
routes:
- 1xx_route
- pipeline:
name: "three-pipelines-unrouted-test-3"
routes:
- other_route

three-pipelines-unrouted-test-2:
source:
pipeline:
name: "three-pipelines-unrouted-test-1"
sink:
- in_memory:
testing_key: PipelinesWithAcksIT
acknowledgments: true

three-pipelines-unrouted-test-3:
source:
pipeline:
name: "three-pipelines-unrouted-test-1"
sink:
- in_memory:
testing_key: PipelinesWithAcksIT
acknowledgments: true

0 comments on commit 598e952

Please sign in to comment.