This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/master by this push:
new 433eb38 Use to-d instead of tod for compatibility with 1.4
433eb38 is described below
commit 433eb38e76bf63dc2ccd9e2be00fe5d3c5056f87
Author: nicolaferraro <[email protected]>
AuthorDate: Mon Apr 12 18:03:57 2021 +0200
Use to-d instead of tod for compatibility with 1.4
---
dropbox-source.kamelet.yaml | 4 ++--
earthquake-source.kamelet.yaml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dropbox-source.kamelet.yaml b/dropbox-source.kamelet.yaml
index e97cf63..e765103 100644
--- a/dropbox-source.kamelet.yaml
+++ b/dropbox-source.kamelet.yaml
@@ -61,7 +61,7 @@ spec:
- set-property:
name: dropboxFileName
simple: ${body.metadata.pathDisplay}
- - tod:
"dropbox:get?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
+ - to-d:
"dropbox:get?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
- to: "kamelet:sink"
- - tod:
"dropbox:del?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
+ - to-d:
"dropbox:del?accessToken={{accessToken}}&clientIdentifier={{clientIdentifier}}&remotePath=${exchangeProperty.dropboxFileName}"
diff --git a/earthquake-source.kamelet.yaml b/earthquake-source.kamelet.yaml
index dc8f2fe..1247795 100755
--- a/earthquake-source.kamelet.yaml
+++ b/earthquake-source.kamelet.yaml
@@ -40,7 +40,7 @@ spec:
- set-header:
name: CamelCaffeineAction
constant: GET
- - tod: "caffeine-cache:cache-${routeId}?key=lastUpdate"
+ - to-d: "caffeine-cache:cache-${routeId}?key=lastUpdate"
- choice:
when:
- simple: "${header.CamelCaffeineActionHasResult}"
@@ -56,7 +56,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"
+ - to-d:
"https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&updatedafter=${exchangeProperty.lastUpdate}&orderby=time-asc"
- unmarshal:
json: {}
- set-property:
@@ -72,7 +72,7 @@ spec:
- set-header:
name: CamelCaffeineAction
constant: PUT
- - tod: "caffeine-cache:cache-${routeId}?key=lastUpdate"
+ - to-d: "caffeine-cache:cache-${routeId}?key=lastUpdate"
- claim-check:
operation: Pop
- split: