Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS S3 Source Kamelet: Added autoCreateBucket option with default false #85

Merged
merged 2 commits into from
Mar 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions aws-s3-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,21 @@ spec:
description: The AWS region to connect to
type: string
example: eu-west-1
autoCreateBucket:
title: Autocreate bucket
description: Setting the autocreation of the S3 bucket bucketName.
type: boolean
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
types:
out:
mediaType: application/json
flow:
from:
uri: "aws2-s3:{{bucketNameOrArn}}"
parameters:
autoCreateBucket: "{{autoCreateBucket}}"
secretKey: "{{secretKey}}"
accessKey: "{{accessKey}}"
region: "{{region}}"
Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/aws-s3-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The following table summarizes the configuration options available for the `aws-
| *bucketNameOrArn {empty}* *| Bucket Name| The S3 Bucket name or ARN| string| |
| *region {empty}* *| AWS Region| The AWS region to connect to| string| | `"eu-west-1"`
| *secretKey {empty}* *| Secret Key| The secret key obtained from AWS| string| |
| autoCreateBucket| Autocreate bucket| Setting the autocreation of the S3 bucket bucketName.| boolean| `false`|
| deleteAfterRead| Auto-delete objects| Delete objects after consuming them| boolean| `true`|
|===

Expand Down
3 changes: 2 additions & 1 deletion docs/modules/ROOT/pages/dropbox-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ The following table summarizes the configuration options available for the `drop
| *accessToken {empty}* *| Dropbox Access Token| The access Token to use to access Dropbox| string| |
| *clientIdentifier {empty}* *| The client identifier| Dropbox App client Identifier| string| |
| *period {empty}* *| Period between polls| The interval between fetches to the earthquake API in milliseconds| integer| `10000`|
| *query {empty}* *| Querys| A space-separated list of sub-strings to search for. A file matches only if it contains all the sub-strings. If this option is not set, all files will be matched.| string| |
| *remotePath {empty}* *| Remote path| Original file or folder to work with| string| |
| query| Querys| A space-separated list of sub-strings to search for. A file matches only if it contains all the sub-strings. If this option is not set, all files will be matched.| string| |
|===

NOTE: Fields marked with ({empty}*) are mandatory.
Expand Down Expand Up @@ -44,6 +44,7 @@ spec:
properties:
accessToken: "The Dropbox Access Token"
clientIdentifier: "The The client identifier"
query: "The Querys"
remotePath: "The Remote path"
sink:
ref:
Expand Down