-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e(757) - add tests for support for kamelet beans
- Loading branch information
Showing
4 changed files
with
129 additions
and
56 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
62 changes: 62 additions & 0 deletions
62
packages/ui-tests/cypress/fixtures/flows/SqlBeansKamelet.yaml
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,62 @@ | ||
apiVersion: camel.apache.org/v1 | ||
kind: Kamelet | ||
metadata: | ||
annotations: | ||
camel.apache.org/catalog.version: main-SNAPSHOT | ||
camel.apache.org/kamelet.group: Users | ||
camel.apache.org/kamelet.icon: data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNjAgNjAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDYwIDYwOyIgeG1sOnNwYWNlPSJwcmVzZ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.org/kamelet.support.level: Stable | ||
camel.apache.org/provider: Apache Software Foundation | ||
labels: | ||
camel.apache.org/kamelet.type: source | ||
name: kamelet-3024 | ||
spec: | ||
definition: | ||
description: Produces periodic events about random users! | ||
properties: | ||
period: | ||
default: 5000 | ||
description: The time interval between two events | ||
title: Period | ||
type: integer | ||
title: kamelet-3024 | ||
type: object | ||
dependencies: | ||
- camel:timer | ||
- camel:http | ||
- camel:kamelet | ||
template: | ||
beans: | ||
- name: mysqlDataSource | ||
properties: | ||
driver-class-name: com.mysql.jdbc.Driver | ||
password: dbpass | ||
port: "3306" | ||
url: jdbc:mysql://localhost/test | ||
username: dbuser | ||
type: io.kaoto.MysqlDataSource | ||
- name: postgreSqlSource | ||
properties: | ||
driver-class-name: org.postgresql.Driver | ||
password: dbpass | ||
port: "5432" | ||
url: jdbc:postgresql://localhost/test | ||
username: dbuser | ||
type: io.kaoto.PostgreSqlSource | ||
from: | ||
steps: | ||
- to: | ||
id: to-2047 | ||
parameters: | ||
dataSource: "" | ||
uri: sql | ||
- to: kamelet:sink | ||
id: from-2814 | ||
parameters: | ||
exceptionHandler: "#bean:{{test}}" | ||
period: "{{period}}" | ||
timerName: user | ||
uri: timer | ||
types: | ||
out: | ||
mediaType: application/json |
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