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

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

commit e075da46cf797a34e9d100d5fcf9d57d7da9ac62
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Jan 24 18:38:18 2022 +0100

    Fix #729 to use toD for dynamic to eip
---
 kamelets/dropbox-source.kamelet.yaml                                | 4 ++--
 kamelets/earthquake-source.kamelet.yaml                             | 6 +++---
 .../src/main/resources/kamelets/dropbox-source.kamelet.yaml         | 4 ++--
 .../src/main/resources/kamelets/earthquake-source.kamelet.yaml      | 6 +++---
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/kamelets/dropbox-source.kamelet.yaml 
b/kamelets/dropbox-source.kamelet.yaml
index 409798a..5c96214 100644
--- a/kamelets/dropbox-source.kamelet.yaml
+++ b/kamelets/dropbox-source.kamelet.yaml
@@ -91,7 +91,7 @@ spec:
           - set-property:
               name: dropboxFileName
               simple: ${body.metadata.pathDisplay}
-          - to-d: 
"dropbox:get?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
+          - toD: 
"dropbox:get?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
           - to: "kamelet:sink"
-          - to-d: 
"dropbox:del?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
+          - toD: 
"dropbox:del?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
 
diff --git a/kamelets/earthquake-source.kamelet.yaml 
b/kamelets/earthquake-source.kamelet.yaml
index e5c8d33..496dfc1 100644
--- a/kamelets/earthquake-source.kamelet.yaml
+++ b/kamelets/earthquake-source.kamelet.yaml
@@ -64,7 +64,7 @@ spec:
       - set-header:
           name: CamelCaffeineAction
           constant: GET
-      - tod: "caffeine-cache:cache-${routeId}?key=lastUpdate"
+      - toD: "caffeine-cache:cache-${routeId}?key=lastUpdate"
       - choice:
           when:
           - simple: "${header.CamelCaffeineActionHasResult}"
@@ -80,7 +80,7 @@ spec:
       - set-header:
           name: CamelHttpMethod
           constant: GET
-      - tod: 
"https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&updatedafter=${exchangeProperty.lastUpdate}&orderby=time-asc";
+      - toD: 
"https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&updatedafter=${exchangeProperty.lastUpdate}&orderby=time-asc";
       - remove-header:
           name: CamelHttpMethod
       - unmarshal:
@@ -98,7 +98,7 @@ spec:
       - set-header:
           name: CamelCaffeineAction
           constant: PUT
-      - tod: "caffeine-cache:cache-${routeId}?key=lastUpdate"
+      - toD: "caffeine-cache:cache-${routeId}?key=lastUpdate"
       - claim-check:
           operation: Pop
       - split:
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/dropbox-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/dropbox-source.kamelet.yaml
index 409798a..5c96214 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/dropbox-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/dropbox-source.kamelet.yaml
@@ -91,7 +91,7 @@ spec:
           - set-property:
               name: dropboxFileName
               simple: ${body.metadata.pathDisplay}
-          - to-d: 
"dropbox:get?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
+          - toD: 
"dropbox:get?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
           - to: "kamelet:sink"
-          - to-d: 
"dropbox:del?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
+          - toD: 
"dropbox:del?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
 
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 e5c8d33..496dfc1 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
@@ -64,7 +64,7 @@ spec:
       - set-header:
           name: CamelCaffeineAction
           constant: GET
-      - tod: "caffeine-cache:cache-${routeId}?key=lastUpdate"
+      - toD: "caffeine-cache:cache-${routeId}?key=lastUpdate"
       - choice:
           when:
           - simple: "${header.CamelCaffeineActionHasResult}"
@@ -80,7 +80,7 @@ spec:
       - set-header:
           name: CamelHttpMethod
           constant: GET
-      - tod: 
"https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&updatedafter=${exchangeProperty.lastUpdate}&orderby=time-asc";
+      - toD: 
"https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&updatedafter=${exchangeProperty.lastUpdate}&orderby=time-asc";
       - remove-header:
           name: CamelHttpMethod
       - unmarshal:
@@ -98,7 +98,7 @@ spec:
       - set-header:
           name: CamelCaffeineAction
           constant: PUT
-      - tod: "caffeine-cache:cache-${routeId}?key=lastUpdate"
+      - toD: "caffeine-cache:cache-${routeId}?key=lastUpdate"
       - claim-check:
           operation: Pop
       - split:

Reply via email to