lburgazzoli commented on issue #449:
URL: https://github.com/apache/camel-kamelets/issues/449#issuecomment-887517188
```yaml
apiVersion: camel.apache.org/v1alpha1
kind: Kamelet
metadata:
name: azure-storage-blob-source
spec:
definition:
title: "Azure Storage Blob Source"
description: |-
Consume Files from Azure Storage Blob.
required:
- period
- accountName
- containerName
- accessKey
type: object
properties:
period:
title: Period between Polls
description: The interval between fetches to the Azure Storage
Container in milliseconds
type: integer
default: 10000
accountName:
title: Account Name
description: The Azure Storage Blob account name.
type: string
containerName:
title: Container Name
description: The Azure Storage Blob container name.
type: string
accessKey:
title: Access Key
description: The Azure Storage Blob access Key.
type: string
format: password
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
dependencies:
- "camel:azure-storage-blob"
- "camel:kamelet"
- "camel:core"
- "camel:jsonpath"
- "camel:timer"
flow:
from:
uri: "timer:azure-storage-blob-stream"
parameters:
period: "{{period}}"
steps:
- to:
uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
parameters:
operation: "listBlobs"
accessKey: "{{accessKey}}"
- split:
jsonpath: "$.*"
steps:
- set-property:
name: azureBlobName
simple: ${body.name}
- to-d:
"azure-storage-blob:{{accountName}}/{{containerName}}?accessKey=RAW({{accessKey}})&operation=getBlob&blobName=${exchangeProperty.azureBlobName}"
- to: "kamelet:sink"
```
@davsclaus I think the `to-d` here fails because when the real url is
computed, the local properties are not more known.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]