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 2021/03/11 17:33:03 UTC

[camel-kamelets] 01/04: Add delay option to google-* kamelet source - camel-google-calendar

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch delay
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 8447cc1f89e26301f9b35fedd51497b296d08740
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 11 18:29:27 2021 +0100

    Add delay option to google-* kamelet source - camel-google-calendar
---
 google-calendar-stream-source.kamelet.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/google-calendar-stream-source.kamelet.yaml b/google-calendar-stream-source.kamelet.yaml
index 17a25fc..2a88829 100644
--- a/google-calendar-stream-source.kamelet.yaml
+++ b/google-calendar-stream-source.kamelet.yaml
@@ -53,6 +53,11 @@ spec:
         type: string
         x-descriptors:
         - urn:alm:descriptor:com.tectonic.ui:password
+      delay:
+        title: Delay
+        description: Milliseconds before the next poll
+        type: integer
+        default: 500
       applicationName:
         title: Application name
         description: Google Calendar application name
@@ -85,6 +90,7 @@ spec:
         accessToken: "{{accessToken}}"
         refreshToken: "{{refreshToken}}"
         clientSecret: "{{clientSecret}}"
+        delay: "{{delay}}"
         applicationName: "{{applicationName}}"
         syncFlow: "{{syncFlow}}"
         consumeFromNow: "{{consumeFromNow}}"