You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/12/05 12:06:19 UTC

[camel] branch main updated: [doc] Fix MinIO bucket and object destination (#8834)

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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 6c8ae5862ec [doc] Fix MinIO bucket and object destination (#8834)
6c8ae5862ec is described below

commit 6c8ae5862ec0fc88d1fa4056258c73da26e99c7c
Author: Marco Carletti <mc...@redhat.com>
AuthorDate: Mon Dec 5 13:06:13 2022 +0100

    [doc] Fix MinIO bucket and object destination (#8834)
---
 .../resources/org/apache/camel/component/minio/minio.json         | 8 ++++----
 .../java/org/apache/camel/component/minio/MinioConfiguration.java | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/components/camel-minio/src/generated/resources/org/apache/camel/component/minio/minio.json b/components/camel-minio/src/generated/resources/org/apache/camel/component/minio/minio.json
index 5f41fa32ab6..e305c4343bb 100644
--- a/components/camel-minio/src/generated/resources/org/apache/camel/component/minio/minio.json
+++ b/components/camel-minio/src/generated/resources/org/apache/camel/component/minio/minio.json
@@ -39,8 +39,8 @@
     "bypassGovernanceMode": { "kind": "property", "displayName": "Bypass Governance Mode", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Set this flag if you want to bypassGovernanceMode when deleting a particular object." },
     "deleteAfterRead": { "kind": "property", "displayName": "Delete After Read", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Delete objects from Minio after they have been retrieved. The delete is only performed if the Ex [...]
     "delimiter": { "kind": "property", "displayName": "Delimiter", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "The delimiter which is used in the ListObjectsRequest to only consume objects we are interested in." },
-    "destinationBucketName": { "kind": "property", "displayName": "Destination Bucket Name", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Source bucket name." },
-    "destinationObjectName": { "kind": "property", "displayName": "Destination Object Name", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Source object name." },
+    "destinationBucketName": { "kind": "property", "displayName": "Destination Bucket Name", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Destination bucket name." },
+    "destinationObjectName": { "kind": "property", "displayName": "Destination Object Name", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Destination object name." },
     "includeBody": { "kind": "property", "displayName": "Include Body", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "If it is true, the exchange body will be set to a stream to the contents of the file. If false, the heade [...]
     "includeFolders": { "kind": "property", "displayName": "Include Folders", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "The flag which is used in the ListObjectsRequest to set include folders." },
     "includeUserMetadata": { "kind": "property", "displayName": "Include User Metadata", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "The flag which is used in the ListObjectsRequest to get objects with user meta data." },
@@ -110,8 +110,8 @@
     "bypassGovernanceMode": { "kind": "parameter", "displayName": "Bypass Governance Mode", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Set this flag if you want to bypassGovernanceMode when deleting a particular object." },
     "deleteAfterRead": { "kind": "parameter", "displayName": "Delete After Read", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Delete objects from Minio after they have been retrieved. The delete is only performed if the E [...]
     "delimiter": { "kind": "parameter", "displayName": "Delimiter", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "The delimiter which is used in the ListObjectsRequest to only consume objects we are interested in." },
-    "destinationBucketName": { "kind": "parameter", "displayName": "Destination Bucket Name", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Source bucket name." },
-    "destinationObjectName": { "kind": "parameter", "displayName": "Destination Object Name", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Source object name." },
+    "destinationBucketName": { "kind": "parameter", "displayName": "Destination Bucket Name", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Destination bucket name." },
+    "destinationObjectName": { "kind": "parameter", "displayName": "Destination Object Name", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "Destination object name." },
     "includeBody": { "kind": "parameter", "displayName": "Include Body", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "If it is true, the exchange body will be set to a stream to the contents of the file. If false, the head [...]
     "includeFolders": { "kind": "parameter", "displayName": "Include Folders", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "The flag which is used in the ListObjectsRequest to set include folders." },
     "includeUserMetadata": { "kind": "parameter", "displayName": "Include User Metadata", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.minio.MinioConfiguration", "configurationField": "configuration", "description": "The flag which is used in the ListObjectsRequest to get objects with user meta data." },
diff --git a/components/camel-minio/src/main/java/org/apache/camel/component/minio/MinioConfiguration.java b/components/camel-minio/src/main/java/org/apache/camel/component/minio/MinioConfiguration.java
index 7c9ca357b4d..9fd3ec1e383 100644
--- a/components/camel-minio/src/main/java/org/apache/camel/component/minio/MinioConfiguration.java
+++ b/components/camel-minio/src/main/java/org/apache/camel/component/minio/MinioConfiguration.java
@@ -489,7 +489,7 @@ public class MinioConfiguration implements Cloneable {
     }
 
     /**
-     * Source bucket name.
+     * Destination bucket name.
      */
     public void setDestinationBucketName(String destinationBucketName) {
         this.destinationBucketName = destinationBucketName;
@@ -500,7 +500,7 @@ public class MinioConfiguration implements Cloneable {
     }
 
     /**
-     * Source object name.
+     * Destination object name.
      */
     public void setDestinationObjectName(String destinationObjectName) {
         this.destinationObjectName = destinationObjectName;