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

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


The following commit(s) were added to refs/heads/main by this push:
     new ca4d2c5e5 chore: camelCase the two kamelet keys that are written in 
kebab-case (#3079)
ca4d2c5e5 is described below

commit ca4d2c5e5f5f8dcac795d939060f6123152bd531
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Oct 1 21:31:32 2026 +0200

    chore: camelCase the two kamelet keys that are written in kebab-case (#3079)
    
    earthquake-source writes setBody: {exchange-property: lastUpdate} and
    azure-storage-blob-changefeed-source writes marshal: {json: 
{module-class-names:
    ...}}. The runtime accepts both, so nothing is broken, but they are the 
only two
    of the 250 kamelets spelled that way and the YAML DSL schema lists only
    exchangeProperty and moduleClassNames. Tooling that validates against the 
schema
    reports them, and earthquake-source already writes exchangeProperty in a 
Simple
    expression a few lines above.
    
    Both copies are updated: kamelets/ and the copy under library/camel-kamelets
    that the build keeps beside it.
    
    Validated all 250 kamelets against the Camel YAML DSL schema afterwards: 
these
    two are clean and the only remaining report is an unrelated schema bug that
    reproduces in a plain route file (two when branches unmarshalling with 
different
    FHIR data formats).
---
 kamelets/azure-storage-blob-changefeed-source.kamelet.yaml              | 2 +-
 kamelets/earthquake-source.kamelet.yaml                                 | 2 +-
 .../kamelets/azure-storage-blob-changefeed-source.kamelet.yaml          | 2 +-
 .../src/main/resources/kamelets/earthquake-source.kamelet.yaml          | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml 
b/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
index 2927e8ec7..a4294c815 100644
--- a/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
+++ b/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
@@ -152,5 +152,5 @@ spec:
         - marshal:
             json:
               library: Jackson
-              module-class-names: 
com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
+              moduleClassNames: 
com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
         - to: "kamelet:sink"
diff --git a/kamelets/earthquake-source.kamelet.yaml 
b/kamelets/earthquake-source.kamelet.yaml
index 1bfd3e023..ffbf1c245 100644
--- a/kamelets/earthquake-source.kamelet.yaml
+++ b/kamelets/earthquake-source.kamelet.yaml
@@ -94,7 +94,7 @@ spec:
       - claimCheck:
           operation: Push
       - setBody:
-          exchange-property: lastUpdate
+          exchangeProperty: lastUpdate
       - setHeader:
           name: CamelCaffeineAction
           constant: PUT
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
index 2927e8ec7..a4294c815 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
@@ -152,5 +152,5 @@ spec:
         - marshal:
             json:
               library: Jackson
-              module-class-names: 
com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
+              moduleClassNames: 
com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
         - to: "kamelet:sink"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/earthquake-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/earthquake-source.kamelet.yaml
index 1bfd3e023..ffbf1c245 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/earthquake-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/earthquake-source.kamelet.yaml
@@ -94,7 +94,7 @@ spec:
       - claimCheck:
           operation: Push
       - setBody:
-          exchange-property: lastUpdate
+          exchangeProperty: lastUpdate
       - setHeader:
           name: CamelCaffeineAction
           constant: PUT

Reply via email to