This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch nicolaferraro-patch-1 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 58fbff675b6c3456fc892e293016cbebb61aecfe Author: Nicola Ferraro <[email protected]> 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 0000000..2769a0a --- /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"
