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:52:45 UTC

[camel-kamelets] branch google-pubsub-optional-serviceAccountKey created (now 737c02c9)

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

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


      at 737c02c9 Google Pubsub Kamelets: Make serviceAccountKey optional

This branch includes the following new commits:

     new fceb5556 Google Pubsub Kamelets: Make serviceAccountKey optional
     new 60b5eeb6 Google Pubsub Kamelets: Make serviceAccountKey optional
     new 790be75d Google Pubsub Kamelets: Make serviceAccountKey optional
     new 737c02c9 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.



[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 google-pubsub-optional-serviceAccountKey
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 60b5eeb69ad1488b01064eb778b2fcce289b2114
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}}"


[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 google-pubsub-optional-serviceAccountKey
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 737c02c981004d8c19d42de937aeff99ff8936f4
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 google-pubsub-optional-serviceAccountKey
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit fceb55560513607ad34d523db58a9caf2e1d2dde
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] 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 google-pubsub-optional-serviceAccountKey
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 790be75da5dacf4fc08c21a3b3af3d2b331ad21d
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}}"