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 2024/02/12 12:19:38 UTC

(camel-kamelets) branch azure-files created (now a8802f91)

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

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


      at a8802f91 Added Azure Files Source Kamelet

This branch includes the following new commits:

     new 7c39e0a1 Added Azure Files Source Kamelet
     new 19270379 Added Azure Files Source Kamelet
     new 0a0d2db1 Added Azure Files Source Kamelet
     new a8802f91 Added Azure Files Source 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: Added Azure Files Source 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-files
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit a8802f91731de4df94d56f42ab7381ed06c93d2b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 12 13:17:47 2024 +0100

    Added Azure Files Source Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 docs/modules/ROOT/nav.adoc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index 2271a695..7f27d8d8 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -42,6 +42,7 @@
 * xref:azure-storage-blob-source.adoc[]
 * xref:azure-storage-datalake-sink.adoc[]
 * xref:azure-storage-datalake-source.adoc[]
+* xref:azure-storage-files-source.adoc[]
 * xref:azure-storage-queue-sink.adoc[]
 * xref:azure-storage-queue-source.adoc[]
 * xref:beer-source.adoc[]


(camel-kamelets) 03/04: Added Azure Files Source 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-files
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 0a0d2db1393a695ab12ac9aed8fb89537ba0dbbe
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 12 13:16:38 2024 +0100

    Added Azure Files Source Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../azure-storage-files-source.kamelet.yaml        | 100 +++++++++++++++++++++
 1 file changed, 100 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-files-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-files-source.kamelet.yaml
new file mode 100644
index 00000000..5beaf9e1
--- /dev/null
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-files-source.kamelet.yaml
@@ -0,0 +1,100 @@
+# ---------------------------------------------------------------------------
+# 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/v1
+kind: Kamelet
+metadata:
+  name: azure-storage-files-source
+  annotations:
+    camel.apache.org/kamelet.support.level: "Stable"
+    camel.apache.org/catalog.version: "4.4.0-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgOTEgODEiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNNjcuNTU4IDBIMjIuNDQxTDAgNDBsMjIuNDQxIDQwaDQ1LjExN0w5MCA0MCA2Ny [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "Azure Storage Blob"
+    camel.apache.org/kamelet.namespace: "Azure"
+  labels:
+    camel.apache.org/kamelet.type: "source"
+spec:
+  definition:
+    title: "Azure Storage File Source"
+    description: |-
+      Consume files from Azure Storage File Shares.
+    required:
+      - accountName
+      - shareName
+    type: object
+    properties:
+      accountName:
+        title: Account Name
+        description: The Azure Storage File Share account name.
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+      shareName:
+        title: Share Name
+        description: The Azure Storage File Share share name.
+        type: string
+      sharedKey:
+        title: Shared Access Key
+        description: The Azure Storage Blob access key.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
+      delay:
+        title: Delay
+        description: The number of milliseconds before the next poll of the selected blob.
+        type: integer
+        default: 500
+      deleteAfterRead:
+        title: Auto-delete Blob 
+        description: Specifies to delete blobs after consuming them
+        type: boolean
+        default: false
+      credentialType:
+        title: Credential Type
+        description: Determines the credential strategy to adopt.
+        type: string
+        enum: ["SHARED_ACCOUNT_KEY", "AZURE_IDENTITY", "SHARED_KEY_CREDENTIAL", "AZURE_SAS"]
+        default: "SHARED_ACCOUNT_KEY"
+      directoryName:
+        title: Directory Name
+        description: The directory from where the consumer will start reading files.
+        type: string
+        default: "."
+      recursive:
+        title: Recursive Mode 
+        description: If a directory, the consumer will look for files in all the sub-directories as well.
+        type: boolean
+        default: false        
+  dependencies:
+    - "camel:azure-files"
+    - "camel:kamelet"
+    - "camel:core"
+    - "camel:timer"
+  template:
+    from:
+      uri: "azure-files:{{accountName}}/{{shareName}}/{{directoryName}}"
+      parameters:
+        sharedKey: "{{?sharedKey}}"
+        credentialType: "{{credentialType}}"
+        delay: "{{delay}}"
+        delete: "{{deleteAfterRead}}"
+        recursive: "{{recursive}}"
+      steps:
+        - to: "kamelet:sink"
+


(camel-kamelets) 01/04: Added Azure Files Source 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-files
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 7c39e0a16f5d6e22dee1f85f66d52fb0e78d6505
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 12 13:13:41 2024 +0100

    Added Azure Files Source Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/azure-storage-files-source.kamelet.yaml | 100 +++++++++++++++++++++++
 1 file changed, 100 insertions(+)

diff --git a/kamelets/azure-storage-files-source.kamelet.yaml b/kamelets/azure-storage-files-source.kamelet.yaml
new file mode 100644
index 00000000..0aa028c0
--- /dev/null
+++ b/kamelets/azure-storage-files-source.kamelet.yaml
@@ -0,0 +1,100 @@
+# ---------------------------------------------------------------------------
+# 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/v1
+kind: Kamelet
+metadata:
+  name: azure-storage-files-source
+  annotations:
+    camel.apache.org/kamelet.support.level: "Stable"
+    camel.apache.org/catalog.version: "4.4.0-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgOTEgODEiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNNjcuNTU4IDBIMjIuNDQxTDAgNDBsMjIuNDQxIDQwaDQ1LjExN0w5MCA0MCA2Ny [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "Azure Storage Blob"
+    camel.apache.org/kamelet.namespace: "Azure"
+  labels:
+    camel.apache.org/kamelet.type: "source"
+spec:
+  definition:
+    title: "Azure Storage File Source"
+    description: |-
+      Consume files from Azure Storage File Shares.
+    required:
+      - accountName
+      - shareName
+    type: object
+    properties:
+      accountName:
+        title: Account Name
+        description: The Azure Storage File Share account name.
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+      shareName:
+        title: Share Name
+        description: The Azure Storage File Share share name.
+        type: string
+      accessKey:
+        title: Access Key
+        description: The Azure Storage Blob access key.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
+      delay:
+        title: Delay
+        description: The number of milliseconds before the next poll of the selected blob.
+        type: integer
+        default: 500
+      deleteAfterRead:
+        title: Auto-delete Blob 
+        description: Specifies to delete blobs after consuming them
+        type: boolean
+        default: false
+      credentialType:
+        title: Credential Type
+        description: Determines the credential strategy to adopt.
+        type: string
+        enum: ["SHARED_ACCOUNT_KEY", "AZURE_IDENTITY", "SHARED_KEY_CREDENTIAL", "AZURE_SAS"]
+        default: "SHARED_ACCOUNT_KEY"
+      directoryName:
+        title: Directory Name
+        description: The directory from where the consumer will start reading files.
+        type: string
+        default: "."
+      recursive:
+        title: Recursive Mode 
+        description: If a directory, the consumer will look for files in all the sub-directories as well.
+        type: boolean
+        default: false        
+  dependencies:
+    - "camel:azure-files"
+    - "camel:kamelet"
+    - "camel:core"
+    - "camel:timer"
+  template:
+    from:
+      uri: "azure-files:{{accountName}}/{{shareName}}/{{directoryName}}"
+      parameters:
+        sharedKey: "{{?accessKey}}"
+        credentialType: "{{credentialType}}"
+        delay: "{{delay}}"
+        delete: "{{deleteAfterRead}}"
+        recursive: "{{recursive}}"
+      steps:
+        - to: "kamelet:sink"
+


(camel-kamelets) 02/04: Added Azure Files Source 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-files
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 19270379ab95326445ea6cc6b177f194287a50cd
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 12 13:14:54 2024 +0100

    Added Azure Files Source Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/azure-storage-files-source.kamelet.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kamelets/azure-storage-files-source.kamelet.yaml b/kamelets/azure-storage-files-source.kamelet.yaml
index 0aa028c0..5beaf9e1 100644
--- a/kamelets/azure-storage-files-source.kamelet.yaml
+++ b/kamelets/azure-storage-files-source.kamelet.yaml
@@ -48,8 +48,8 @@ spec:
         title: Share Name
         description: The Azure Storage File Share share name.
         type: string
-      accessKey:
-        title: Access Key
+      sharedKey:
+        title: Shared Access Key
         description: The Azure Storage Blob access key.
         type: string
         format: password
@@ -90,7 +90,7 @@ spec:
     from:
       uri: "azure-files:{{accountName}}/{{shareName}}/{{directoryName}}"
       parameters:
-        sharedKey: "{{?accessKey}}"
+        sharedKey: "{{?sharedKey}}"
         credentialType: "{{credentialType}}"
         delay: "{{delay}}"
         delete: "{{deleteAfterRead}}"