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 2021/03/01 10:22:59 UTC

[camel] 04/07: CAMEL-16274 - Camel-google-storage: serviceAccountKey should be supported as file, classpath, remote etc.

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

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

commit 6645e9a9f340af68025fe74de18544e40a3cc2f5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 1 09:32:39 2021 +0100

    CAMEL-16274 - Camel-google-storage: serviceAccountKey should be supported as file, classpath, remote etc.
---
 .../component/google/storage/GoogleCloudStorageConfiguration.java    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/components/camel-google-storage/src/main/java/org/apache/camel/component/google/storage/GoogleCloudStorageConfiguration.java b/components/camel-google-storage/src/main/java/org/apache/camel/component/google/storage/GoogleCloudStorageConfiguration.java
index 035240e..982cb27 100644
--- a/components/camel-google-storage/src/main/java/org/apache/camel/component/google/storage/GoogleCloudStorageConfiguration.java
+++ b/components/camel-google-storage/src/main/java/org/apache/camel/component/google/storage/GoogleCloudStorageConfiguration.java
@@ -87,9 +87,8 @@ public class GoogleCloudStorageConfiguration implements Cloneable {
     }
 
     /**
-     * The Service account key that can be used as credentials for the Storage client.
-     * 
-     * @param serviceAccountKey
+     * The Service account key that can be used as credentials for the Storage client. It can be loaded by default from classpath, but you can prefix with "classpath:",
+     * "file:", or "http:" to load the resource from different systems.
      */
     public void setServiceAccountKey(String serviceAccountKey) {
         this.serviceAccountKey = serviceAccountKey;