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 2023/11/09 09:12:15 UTC

(camel-kamelets) 09/12: Use only camelCase in kamelets yaml - Cron Source Kamelet

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

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

commit 067751d23f2ab65e321879005be4fd66994e793a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Nov 9 09:56:37 2023 +0100

    Use only camelCase in kamelets yaml - Cron Source Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/cron-source.kamelet.yaml                                       | 2 +-
 .../src/main/resources/kamelets/chuck-norris-source.kamelet.yaml        | 2 +-
 .../camel-kamelets/src/main/resources/kamelets/cron-source.kamelet.yaml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/kamelets/cron-source.kamelet.yaml b/kamelets/cron-source.kamelet.yaml
index 0762d00f..0c52de8f 100644
--- a/kamelets/cron-source.kamelet.yaml
+++ b/kamelets/cron-source.kamelet.yaml
@@ -61,6 +61,6 @@ spec:
       parameters:
         schedule: "{{schedule}}"
       steps:
-      - set-body:
+      - setBody:
           constant: "{{message}}"
       - to: "kamelet:sink"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
index 9820cf23..189e8cc3 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
@@ -56,6 +56,6 @@ spec:
         - to: "https://api.chucknorris.io/jokes/random"
         - removeHeaders:
             pattern: '*'
-        - set-body:
+        - setBody:
             jsonpath: "$.value"
         - to: "kamelet:sink"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/cron-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/cron-source.kamelet.yaml
index 0762d00f..0c52de8f 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/cron-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/cron-source.kamelet.yaml
@@ -61,6 +61,6 @@ spec:
       parameters:
         schedule: "{{schedule}}"
       steps:
-      - set-body:
+      - setBody:
           constant: "{{message}}"
       - to: "kamelet:sink"