diff --git a/kamelets/dropbox-source.kamelet.yaml b/kamelets/dropbox-source.kamelet.yaml index 409798a5b..5c962140e 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 e5c8d33c0..496dfc1e1 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 409798a5b..5c962140e 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 e5c8d33c0..496dfc1e1 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: