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/03/20 10:18:25 UTC

[camel-kamelets] branch azure-datalake-storage-sink created (now a6e6f6bd)

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

acosentino pushed a change to branch azure-datalake-storage-sink
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


      at a6e6f6bd Add azure data lake gen2 - Sink Kamelet

This branch includes the following new commits:

     new 222baa5c Add azure data lake gen2 - Sink Kamelet
     new 9f071730 Add azure data lake gen2 - Sink Kamelet
     new 8efca9a7 Add azure data lake gen2 - Sink Kamelet
     new a6e6f6bd Add azure data lake gen2 - Sink Kamelet

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-kamelets] 04/04: Add azure data lake gen2 - Sink Kamelet

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch azure-datalake-storage-sink
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit a6e6f6bd09f0ffcab48a4aeb50dd647760f5d8c3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 20 11:15:52 2023 +0100

    Add azure data lake gen2 - Sink Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../main/resources/kamelets/azure-storage-datalake-sink.kamelet.yaml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 a1de0ed7..b3cd8c00 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
@@ -27,7 +27,7 @@ metadata:
     camel.apache.org/kamelet.group: "Azure Storage Blob Data Lake"
     camel.apache.org/kamelet.namespace: "Azure"
   labels:
-    camel.apache.org/kamelet.type: "Sink"
+    camel.apache.org/kamelet.type: "sink"
 spec:
   definition:
     title: "Azure Storage Blob Data Lake Sink"


[camel-kamelets] 01/04: Add azure data lake gen2 - Sink Kamelet

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch azure-datalake-storage-sink
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 222baa5c4e5900a519bc5f41396757d8af49437e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 20 11:13:24 2023 +0100

    Add azure data lake gen2 - Sink Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/azure-storage-datalake-sink.kamelet.yaml | 113 ++++++++++++++++++++++
 1 file changed, 113 insertions(+)

diff --git a/kamelets/azure-storage-datalake-sink.kamelet.yaml b/kamelets/azure-storage-datalake-sink.kamelet.yaml
new file mode 100644
index 00000000..a1de0ed7
--- /dev/null
+++ b/kamelets/azure-storage-datalake-sink.kamelet.yaml
@@ -0,0 +1,113 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+  name: azure-storage-datalake-sink
+  annotations:
+    camel.apache.org/kamelet.support.level: "Stable"
+    camel.apache.org/catalog.version: "4.0.0-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNi4wLjMsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4wIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMTU4LjIgODYwLjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMC [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "Azure Storage Blob Data Lake"
+    camel.apache.org/kamelet.namespace: "Azure"
+  labels:
+    camel.apache.org/kamelet.type: "Sink"
+spec:
+  definition:
+    title: "Azure Storage Blob Data Lake Sink"
+    description: |-
+      Send data to Azure Storage Blob Data Lake.
+    required:
+      - accountName
+      - clientId
+      - clientSecret
+      - tenantId
+      - fileSystemName
+    type: object
+    properties:
+      accountName:
+        title: Account Name
+        description: The Azure Storage Blob Data lake account name.
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+      clientId:
+        title: Client Id
+        description: The Azure Storage Blob Data lake client Id.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+        - urn:camel:group:credentials
+      clientSecret:
+        title: Client Secret
+        description: The Azure Storage Blob Data lake client secret.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+        - urn:camel:group:credentials
+      tenantId:
+        title: Tenant Id
+        description: The Azure Storage Blob Data lake tenant id.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+        - urn:camel:group:credentials
+      fileSystemName:
+        title: File System Name
+        description: The Azure Storage Blob Data lake File system name.
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+  dependencies:
+    - "camel:azure-storage-datalake"
+    - "camel:kamelet"
+    - "camel:core"
+    - "camel:timer"
+    - "github:apache.camel-kamelets:camel-kamelets-utils:4.0.0-SNAPSHOT"
+  template:
+    from:
+      uri: "kamelet:source"
+      steps:
+      - choice:
+          when:
+          - simple: "${header[file]}"
+            steps:
+            - set-header:
+                name: CamelAzureStorageDataLakeFileName
+                simple: "${header[file]}"
+          - simple: "${header[ce-file]}"
+            steps:
+            - set-header:
+                name: CamelAzureStorageDataLakeFileName
+                simple: "${header[ce-file]}"
+          otherwise:
+            steps:
+            - set-header:
+                name: CamelAzureStorageDataLakeFileName
+                simple: "${exchangeId}"
+      - to:
+          uri: "azure-storage-datalake:{{accountName}}/{{fileSystemName}}"
+          parameters:
+            clientId: "{{clientId}}"
+            clientSecret: "{{clientSecret}}"
+            tenantId: "{{tenantId}}"
+            operation: "upload"


[camel-kamelets] 02/04: Add azure data lake gen2 - Sink Kamelet

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch azure-datalake-storage-sink
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 9f0717308e46192f5edd0260b556f4296c7e4b5e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 20 11:14:19 2023 +0100

    Add azure data lake gen2 - Sink Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../azure-storage-datalake-sink.kamelet.yaml       | 113 +++++++++++++++++++++
 1 file changed, 113 insertions(+)

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
new file mode 100644
index 00000000..a1de0ed7
--- /dev/null
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-datalake-sink.kamelet.yaml
@@ -0,0 +1,113 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+  name: azure-storage-datalake-sink
+  annotations:
+    camel.apache.org/kamelet.support.level: "Stable"
+    camel.apache.org/catalog.version: "4.0.0-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNi4wLjMsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4wIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMTU4LjIgODYwLjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMC [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "Azure Storage Blob Data Lake"
+    camel.apache.org/kamelet.namespace: "Azure"
+  labels:
+    camel.apache.org/kamelet.type: "Sink"
+spec:
+  definition:
+    title: "Azure Storage Blob Data Lake Sink"
+    description: |-
+      Send data to Azure Storage Blob Data Lake.
+    required:
+      - accountName
+      - clientId
+      - clientSecret
+      - tenantId
+      - fileSystemName
+    type: object
+    properties:
+      accountName:
+        title: Account Name
+        description: The Azure Storage Blob Data lake account name.
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+      clientId:
+        title: Client Id
+        description: The Azure Storage Blob Data lake client Id.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+        - urn:camel:group:credentials
+      clientSecret:
+        title: Client Secret
+        description: The Azure Storage Blob Data lake client secret.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+        - urn:camel:group:credentials
+      tenantId:
+        title: Tenant Id
+        description: The Azure Storage Blob Data lake tenant id.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+        - urn:camel:group:credentials
+      fileSystemName:
+        title: File System Name
+        description: The Azure Storage Blob Data lake File system name.
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+  dependencies:
+    - "camel:azure-storage-datalake"
+    - "camel:kamelet"
+    - "camel:core"
+    - "camel:timer"
+    - "github:apache.camel-kamelets:camel-kamelets-utils:4.0.0-SNAPSHOT"
+  template:
+    from:
+      uri: "kamelet:source"
+      steps:
+      - choice:
+          when:
+          - simple: "${header[file]}"
+            steps:
+            - set-header:
+                name: CamelAzureStorageDataLakeFileName
+                simple: "${header[file]}"
+          - simple: "${header[ce-file]}"
+            steps:
+            - set-header:
+                name: CamelAzureStorageDataLakeFileName
+                simple: "${header[ce-file]}"
+          otherwise:
+            steps:
+            - set-header:
+                name: CamelAzureStorageDataLakeFileName
+                simple: "${exchangeId}"
+      - to:
+          uri: "azure-storage-datalake:{{accountName}}/{{fileSystemName}}"
+          parameters:
+            clientId: "{{clientId}}"
+            clientSecret: "{{clientSecret}}"
+            tenantId: "{{tenantId}}"
+            operation: "upload"


[camel-kamelets] 03/04: Add azure data lake gen2 - Sink Kamelet

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch azure-datalake-storage-sink
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 8efca9a773c7fba9948f9238f26d4964cb57bcab
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 20 11:15:09 2023 +0100

    Add azure data lake gen2 - Sink Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 docs/modules/ROOT/nav.adoc                        | 1 +
 kamelets/azure-storage-datalake-sink.kamelet.yaml | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index 7fd19f65..b991507a 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -36,6 +36,7 @@
 * xref:azure-storage-blob-changefeed-source.adoc[]
 * xref:azure-storage-blob-sink.adoc[]
 * xref:azure-storage-blob-source.adoc[]
+* xref:azure-storage-datalake-sink.adoc[]
 * xref:azure-storage-datalake-source.adoc[]
 * xref:azure-storage-queue-sink.adoc[]
 * xref:azure-storage-queue-source.adoc[]
diff --git a/kamelets/azure-storage-datalake-sink.kamelet.yaml b/kamelets/azure-storage-datalake-sink.kamelet.yaml
index a1de0ed7..b3cd8c00 100644
--- a/kamelets/azure-storage-datalake-sink.kamelet.yaml
+++ b/kamelets/azure-storage-datalake-sink.kamelet.yaml
@@ -27,7 +27,7 @@ metadata:
     camel.apache.org/kamelet.group: "Azure Storage Blob Data Lake"
     camel.apache.org/kamelet.namespace: "Azure"
   labels:
-    camel.apache.org/kamelet.type: "Sink"
+    camel.apache.org/kamelet.type: "sink"
 spec:
   definition:
     title: "Azure Storage Blob Data Lake Sink"