You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/05/06 12:16:09 UTC
[camel-kamelets] 01/09: Create beer-source.kamelet.yaml
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch beer-source
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 4d68ccd61f5d8fd560ed9c6118ff2810714240ab
Author: Nicola Ferraro <ni...@gmail.com>
AuthorDate: Wed Sep 22 18:27:54 2021 +0200
Create beer-source.kamelet.yaml
---
beer-source.kamelet.yaml | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/beer-source.kamelet.yaml b/beer-source.kamelet.yaml
new file mode 100644
index 00000000..2769a0a5
--- /dev/null
+++ b/beer-source.kamelet.yaml
@@ -0,0 +1,32 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+ name: beer-source
+ annotations:
+ camel.apache.org/kamelet.support.level: "Preview"
+ camel.apache.org/catalog.version: "main-SNAPSHOT"
+ camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iOTJwdCIgd2lkdGg9IjkycHQiIHZlcnNpb249IjEuMCIgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyI+Cg [...]
+ camel.apache.org/provider: "Apache Software Foundation"
+ labels:
+ camel.apache.org/kamelet.type: "source"
+spec:
+ definition:
+ title: "Beer Source"
+ description: "Produces periodic events about beers!"
+ properties:
+ period:
+ title: Period
+ description: The time interval between two events
+ type: integer
+ default: 5000
+ types:
+ out:
+ mediaType: application/json
+ flow:
+ from:
+ uri: "timer:beer"
+ parameters:
+ period: "{{period}}"
+ steps:
+ - to: https://random-data-api.com/api/beer/random_beer
+ - to: "kamelet:sink"