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:10 UTC
(camel-kamelets) 04/12: Use only camelCase in kamelets yaml - Azure Kamelets
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 62730b1977cca53ad6de5173f703a6e91e801fb2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Nov 9 09:40:36 2023 +0100
Use only camelCase in kamelets yaml - Azure Kamelets
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../kamelets/azure-cosmosdb-sink.kamelet.yaml | 4 +--
.../kamelets/azure-eventhubs-sink.kamelet.yaml | 4 +--
.../kamelets/azure-functions-sink.kamelet.yaml | 4 +--
.../azure-storage-blob-append-sink.kamelet.yaml | 6 ++---
.../azure-storage-blob-cdc-source.kamelet.yaml | 8 +++---
...ure-storage-blob-changefeed-source.kamelet.yaml | 30 +++++++++++-----------
.../kamelets/azure-storage-blob-sink.kamelet.yaml | 6 ++---
.../azure-storage-datalake-sink.kamelet.yaml | 6 ++---
.../kamelets/azure-storage-queue-sink.kamelet.yaml | 4 +--
9 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-cosmosdb-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-cosmosdb-sink.kamelet.yaml
index 8f016fd2..194c1214 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-cosmosdb-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-cosmosdb-sink.kamelet.yaml
@@ -89,12 +89,12 @@ spec:
when:
- simple: "${header[itemPartitionKey]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureCosmosDbItemPartitionKey
simple: "${header[itemPartitionKey]}"
- simple: "${header[ce-itemPartitionKey]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureCosmosDbItemPartitionKey
simple: "${header[ce-itemPartitionKey]}"
- unmarshal:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml
index 2db0652f..e25d27ca 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml
@@ -78,12 +78,12 @@ spec:
when:
- simple: "${header[partition-id]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureEventHubsPartitionId
simple: "${header[partition-id]}"
- simple: "${header[ce-partition-id]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureEventHubsPartitionId
simple: "${header[ce-partition-id]}"
- to:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml
index 096c2ae8..171ffe72 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml
@@ -63,9 +63,9 @@ spec:
from:
uri: kamelet:source
steps:
- - remove-header:
+ - removeHeader:
name: CamelHttpUri
- - set-header:
+ - setHeader:
name: CamelHttpMethod
constant: "{{method}}"
- to: "vertx-http:{{url}}?code={{?key}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-append-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-append-sink.kamelet.yaml
index bff71ced..33a681e8 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-append-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-append-sink.kamelet.yaml
@@ -76,17 +76,17 @@ spec:
when:
- simple: "${header[file]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureStorageBlobBlobName
simple: "${header[file]}"
- simple: "${header[ce-file]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureStorageBlobBlobName
simple: "${header[ce-file]}"
otherwise:
steps:
- - set-header:
+ - setHeader:
name: CamelAzureStorageBlobBlobName
simple: "${exchangeId}"
- to:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
index ebef9b1a..7905ca73 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
@@ -123,19 +123,19 @@ spec:
when:
- simple: '${properties:getBlob:true}'
steps:
- - set-body:
+ - setBody:
simple: ${body.toString()}
- unmarshal:
json:
library: Jackson
unmarshalType: com.fasterxml.jackson.databind.JsonNode
- - set-property:
+ - setProperty:
name: azure-storage-blob-event-type
jsonpath: $.eventType
- - set-property:
+ - setProperty:
name: azure-storage-blob-subject
jsonpath: $.subject
- - set-property:
+ - setProperty:
name: azure-storage-blob-blob-name
simple: '${exchangeProperty.azure-storage-blob-subject.substring(${exchangeProperty.azure-storage-blob-subject.lastIndexOf("/")}++)}'
- log: "${exchangeProperty.azure-storage-blob-event-type} - ${exchangeProperty.azure-storage-blob-subject} - ${exchangeProperty.azure-storage-blob-blob-name}"
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 7c289f36..2dedee4d 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
@@ -84,42 +84,42 @@ spec:
json:
library: Jackson
unmarshalType: com.fasterxml.jackson.databind.JsonNode
- - set-header:
+ - setHeader:
name: "azure-storage-blob-changefeed-topic"
jsonpath:
- suppress-exceptions: true
+ suppressExceptions: true
expression: $.topic
- - set-header:
+ - setHeader:
name: "azure-storage-blob-changefeed-subject"
jsonpath:
- suppress-exceptions: true
+ suppressExceptions: true
expression: $.subject
- - set-header:
+ - setHeader:
name: "azure-storage-blob-changefeed-eventType"
jsonpath:
- suppress-exceptions: true
+ suppressExceptions: true
expression: $.eventType
- - set-header:
+ - setHeader:
name: "azure-storage-blob-changefeed-eventTime"
jsonpath:
- suppress-exceptions: true
+ suppressExceptions: true
expression: $.eventTime
- - set-header:
+ - setHeader:
name: "azure-storage-blob-changefeed-id"
jsonpath:
- suppress-exceptions: true
+ suppressExceptions: true
expression: $.id
- - set-header:
+ - setHeader:
name: "azure-storage-blob-changefeed-dataVersion"
jsonpath:
- suppress-exceptions: true
+ suppressExceptions: true
expression: $.dataVersion
- - set-header:
+ - setHeader:
name: "azure-storage-blob-changefeed-metadataVersion"
jsonpath:
- suppress-exceptions: true
+ suppressExceptions: true
expression: $.metadataVersion
- - set-body:
+ - setBody:
jsonpath:
expression: $.data
- marshal:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml
index e6a68907..6389454c 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml
@@ -76,17 +76,17 @@ spec:
when:
- simple: "${header[file]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureStorageBlobBlobName
simple: "${header[file]}"
- simple: "${header[ce-file]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureStorageBlobBlobName
simple: "${header[ce-file]}"
otherwise:
steps:
- - set-header:
+ - setHeader:
name: CamelAzureStorageBlobBlobName
simple: "${exchangeId}"
- to:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-datalake-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-datalake-sink.kamelet.yaml
index 3680884c..9daf7fae 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-datalake-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-datalake-sink.kamelet.yaml
@@ -91,17 +91,17 @@ spec:
when:
- simple: "${header[file]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureStorageDataLakeFileName
simple: "${header[file]}"
- simple: "${header[ce-file]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureStorageDataLakeFileName
simple: "${header[ce-file]}"
otherwise:
steps:
- - set-header:
+ - setHeader:
name: CamelAzureStorageDataLakeFileName
simple: "${exchangeId}"
- to:
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml
index e400a6a7..d6b9ee8a 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml
@@ -71,12 +71,12 @@ spec:
when:
- simple: "${header[expiration]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureStorageQueueTimeToLive
simple: "${header[expiration]}"
- simple: "${header[ce-expiration]}"
steps:
- - set-header:
+ - setHeader:
name: CamelAzureStorageQueueTimeToLive
simple: "${header[ce-expiration]}"
- to: