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 2022/12/14 13:54:53 UTC

[camel-kamelets] branch main updated (7c9682bf -> 45551217)

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

acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


    from 7c9682bf Log action should show streams by default
     new d9281d22 Google Pubsub Kamelets: Make serviceAccountKey optional
     new f50a81a7 Google Pubsub Kamelets: Make serviceAccountKey optional
     new 1f6c9c49 Google Pubsub Kamelets: Make serviceAccountKey optional
     new 45551217 Google Pubsub Kamelets: Make serviceAccountKey optional

The 4 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.


Summary of changes:
 kamelets/google-pubsub-sink.kamelet.yaml                             | 5 ++---
 kamelets/google-pubsub-source.kamelet.yaml                           | 5 +++--
 .../src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml      | 5 ++---
 .../src/main/resources/kamelets/google-pubsub-source.kamelet.yaml    | 5 +++--
 4 files changed, 10 insertions(+), 10 deletions(-)


[camel-kamelets] 03/04: Google Pubsub Kamelets: Make serviceAccountKey optional

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 1f6c9c49a307d273d431f98eecd5248baba1eed8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 14 14:51:48 2022 +0100

    Google Pubsub Kamelets: Make serviceAccountKey optional
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/google-pubsub-sink.kamelet.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kamelets/google-pubsub-sink.kamelet.yaml b/kamelets/google-pubsub-sink.kamelet.yaml
index 51371e68..3b1d4f92 100644
--- a/kamelets/google-pubsub-sink.kamelet.yaml
+++ b/kamelets/google-pubsub-sink.kamelet.yaml
@@ -32,11 +32,10 @@ spec:
     description: |-
       Send messages to Google Cloud Pub/Sub.
 
-      You must encode the `serviceAccountKey` property before you pass it as a parameter.
+      If you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter.
     required:
       - projectId
       - destinationName
-      - serviceAccountKey
     type: object
     properties:
       projectId:
@@ -64,4 +63,4 @@ spec:
       - to:
           uri: "google-pubsub://{{projectId}}:{{destinationName}}"
           parameters:
-            serviceAccountKey: "base64:{{serviceAccountKey}}"
+            serviceAccountKey: "base64:{{?serviceAccountKey}}"


[camel-kamelets] 04/04: Google Pubsub Kamelets: Make serviceAccountKey optional

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 45551217e4ee1aa835f7121138ee8836a5d3a645
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 14 14:52:30 2022 +0100

    Google Pubsub Kamelets: Make serviceAccountKey optional
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml      | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml
index 51371e68..3b1d4f92 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml
@@ -32,11 +32,10 @@ spec:
     description: |-
       Send messages to Google Cloud Pub/Sub.
 
-      You must encode the `serviceAccountKey` property before you pass it as a parameter.
+      If you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter.
     required:
       - projectId
       - destinationName
-      - serviceAccountKey
     type: object
     properties:
       projectId:
@@ -64,4 +63,4 @@ spec:
       - to:
           uri: "google-pubsub://{{projectId}}:{{destinationName}}"
           parameters:
-            serviceAccountKey: "base64:{{serviceAccountKey}}"
+            serviceAccountKey: "base64:{{?serviceAccountKey}}"


[camel-kamelets] 01/04: Google Pubsub Kamelets: Make serviceAccountKey optional

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit d9281d226a574722b1e4a9a0a6a13009ab43e4af
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 14 14:50:29 2022 +0100

    Google Pubsub Kamelets: Make serviceAccountKey optional
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/google-pubsub-source.kamelet.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/kamelets/google-pubsub-source.kamelet.yaml b/kamelets/google-pubsub-source.kamelet.yaml
index 6f2a6a07..4a3d3232 100644
--- a/kamelets/google-pubsub-source.kamelet.yaml
+++ b/kamelets/google-pubsub-source.kamelet.yaml
@@ -31,10 +31,11 @@ spec:
     title: "Google Pubsub Source"
     description: |-
       Consume messages from Google Cloud Pub/Sub.
+      
+      If you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter.
     required:
       - projectId
       - subscriptionName
-      - serviceAccountKey
     type: object
     properties:
       projectId:
@@ -76,7 +77,7 @@ spec:
     from:
       uri: "google-pubsub://{{projectId}}:{{subscriptionName}}"
       parameters:
-        serviceAccountKey: "base64:{{serviceAccountKey}}"
+        serviceAccountKey: "base64:{{?serviceAccountKey}}"
         synchronousPull: "{{synchronousPull}}"
         maxMessagesPerPoll: "{{maxMessagesPerPoll}}"
         concurrentConsumers: "{{concurrentConsumers}}"


[camel-kamelets] 02/04: Google Pubsub Kamelets: Make serviceAccountKey optional

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit f50a81a7f121ded50b78dded654bac74032ce823
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 14 14:50:55 2022 +0100

    Google Pubsub Kamelets: Make serviceAccountKey optional
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/google-pubsub-source.kamelet.yaml    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml
index 6f2a6a07..4a3d3232 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml
@@ -31,10 +31,11 @@ spec:
     title: "Google Pubsub Source"
     description: |-
       Consume messages from Google Cloud Pub/Sub.
+      
+      If you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter.
     required:
       - projectId
       - subscriptionName
-      - serviceAccountKey
     type: object
     properties:
       projectId:
@@ -76,7 +77,7 @@ spec:
     from:
       uri: "google-pubsub://{{projectId}}:{{subscriptionName}}"
       parameters:
-        serviceAccountKey: "base64:{{serviceAccountKey}}"
+        serviceAccountKey: "base64:{{?serviceAccountKey}}"
         synchronousPull: "{{synchronousPull}}"
         maxMessagesPerPoll: "{{maxMessagesPerPoll}}"
         concurrentConsumers: "{{concurrentConsumers}}"