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/09/20 11:12:46 UTC
[camel-kamelets] branch google-cloud-storage-info-exposure created (now 29f6bf79)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch google-cloud-storage-info-exposure
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
at 29f6bf79 Google Storage Source: Expose Kamelet data type information
This branch includes the following new commits:
new 29f6bf79 Google Storage Source: Expose Kamelet data type information
The 1 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] 01/01: Google Storage Source: Expose Kamelet data type information
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch google-cloud-storage-info-exposure
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 29f6bf79db34e35be38c2a7f2a92f7d80840cb2f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Sep 20 13:12:15 2023 +0200
Google Storage Source: Expose Kamelet data type information
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/google-storage-source.kamelet.yaml | 55 ++++++++++++++++++++++
.../kamelets/google-storage-source.kamelet.yaml | 55 ++++++++++++++++++++++
2 files changed, 110 insertions(+)
diff --git a/kamelets/google-storage-source.kamelet.yaml b/kamelets/google-storage-source.kamelet.yaml
index d60ad500..64d111e2 100644
--- a/kamelets/google-storage-source.kamelet.yaml
+++ b/kamelets/google-storage-source.kamelet.yaml
@@ -62,6 +62,61 @@ spec:
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
+ dataTypes:
+ out:
+ default: binary
+ headers:
+ CamelGoogleCloudStorageBucketName:
+ title: Google Cloud Storage Bucket Name
+ description: The bucket name which has been used to retrieve objects
+ type: string
+ CamelGoogleCloudStorageObjectName:
+ title: Google Cloud Storage Object Name
+ description: The object name under which the retrieved object is stored
+ type: string
+ CamelGoogleCloudStorageContentType:
+ title: Content Type
+ description: The content type of the retrieved object.
+ default: application/octet-stream
+ type: string
+ CamelGoogleCloudStorageETag:
+ title: ETag Value
+ description: |-
+ The hex encoded 128-bit MD5 digest of the associated object according to RFC 1864.
+ Is the generation number of the object for which you are retrieving information.
+ type: string
+ types:
+ binary:
+ format: "application-octet-stream"
+ description: Default binary representation of the Google Storage Cloud object retrieved from the bucket.
+ mediaType: application/octet-stream
+ cloudevents:
+ format: "aws2-s3:application-cloudevents"
+ description: |-
+ Output data type represents Google Storage download to response as CloudEvent V1. The data type sets Camel specific CloudEvent headers on the exchange with
+ respective data from the S3 bucket and its derived object.
+ headers:
+ CamelCloudEventID:
+ title: CloudEvent ID
+ description: The Camel exchange id set as event id
+ type: string
+ CamelCloudEventType:
+ title: CloudEvent Type
+ description: The event type
+ default: "org.apache.camel.event.google.storage.downloadTo"
+ type: string
+ CamelCloudEventSource:
+ title: CloudEvent Source
+ description: The event source. By default, the Google Cloud Storage bucket name with prefix "google.storage.bucket.".
+ type: string
+ CamelCloudEventSubject:
+ title: CloudEvent Subject
+ description: The event subject. Usually the Google Cloud Storage object name.
+ type: string
+ CamelCloudEventTime:
+ title: CloudEvent Time
+ description: The exchange creation timestamp as event time.
+ type: string
dependencies:
- "camel:kamelet"
- "camel:google-storage"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml
index d60ad500..64d111e2 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml
@@ -62,6 +62,61 @@ spec:
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
+ dataTypes:
+ out:
+ default: binary
+ headers:
+ CamelGoogleCloudStorageBucketName:
+ title: Google Cloud Storage Bucket Name
+ description: The bucket name which has been used to retrieve objects
+ type: string
+ CamelGoogleCloudStorageObjectName:
+ title: Google Cloud Storage Object Name
+ description: The object name under which the retrieved object is stored
+ type: string
+ CamelGoogleCloudStorageContentType:
+ title: Content Type
+ description: The content type of the retrieved object.
+ default: application/octet-stream
+ type: string
+ CamelGoogleCloudStorageETag:
+ title: ETag Value
+ description: |-
+ The hex encoded 128-bit MD5 digest of the associated object according to RFC 1864.
+ Is the generation number of the object for which you are retrieving information.
+ type: string
+ types:
+ binary:
+ format: "application-octet-stream"
+ description: Default binary representation of the Google Storage Cloud object retrieved from the bucket.
+ mediaType: application/octet-stream
+ cloudevents:
+ format: "aws2-s3:application-cloudevents"
+ description: |-
+ Output data type represents Google Storage download to response as CloudEvent V1. The data type sets Camel specific CloudEvent headers on the exchange with
+ respective data from the S3 bucket and its derived object.
+ headers:
+ CamelCloudEventID:
+ title: CloudEvent ID
+ description: The Camel exchange id set as event id
+ type: string
+ CamelCloudEventType:
+ title: CloudEvent Type
+ description: The event type
+ default: "org.apache.camel.event.google.storage.downloadTo"
+ type: string
+ CamelCloudEventSource:
+ title: CloudEvent Source
+ description: The event source. By default, the Google Cloud Storage bucket name with prefix "google.storage.bucket.".
+ type: string
+ CamelCloudEventSubject:
+ title: CloudEvent Subject
+ description: The event subject. Usually the Google Cloud Storage object name.
+ type: string
+ CamelCloudEventTime:
+ title: CloudEvent Time
+ description: The exchange creation timestamp as event time.
+ type: string
dependencies:
- "camel:kamelet"
- "camel:google-storage"