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/10/26 07:55:40 UTC

[camel-kamelets] branch backport-0.9.2 created (now b587e292)

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

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


      at b587e292 Backport Regen

This branch includes the following new commits:

     new 0ca8d0b9 Azure Eventhubs Source Kamelet: Return raw data instead of transforming to json
     new e9702306 Google Functions: use base64 for service account key
     new b587e292 Backport Regen

The 3 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] 01/03: Azure Eventhubs Source Kamelet: Return raw data instead of transforming to json

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

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

commit 0ca8d0b9099e434f10b4313eb829aa7dc575ccc9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Sep 12 07:25:11 2022 +0200

    Azure Eventhubs Source Kamelet: Return raw data instead of transforming to json
---
 kamelets/azure-eventhubs-source.kamelet.yaml | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/kamelets/azure-eventhubs-source.kamelet.yaml b/kamelets/azure-eventhubs-source.kamelet.yaml
index e665c9cf..08132515 100644
--- a/kamelets/azure-eventhubs-source.kamelet.yaml
+++ b/kamelets/azure-eventhubs-source.kamelet.yaml
@@ -82,13 +82,8 @@ spec:
         - urn:camel:group:credentials
   types:
     out:
-      mediaType: application/json
+      mediaType: application/octet-stream
   dependencies:
-  #TODO: these mvn:* dependencies must be removed after upgrading to camel 3.10
-  - "mvn:com.fasterxml.jackson.core:jackson-core:2.11.3"
-  - "mvn:com.fasterxml.jackson.core:jackson-annotations:2.11.3"
-  - "mvn:com.fasterxml.jackson.core:jackson-databind:2.11.3"
-  - "mvn:com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.3"
   - "camel:azure-eventhubs"
   - "camel:kamelet"
   - "camel:jackson"
@@ -102,6 +97,4 @@ spec:
         blobAccessKey: "{{blobAccessKey}}"
         blobContainerName: "{{blobContainerName}}"
       steps:
-      - marshal:
-          json: {}
       - to: "kamelet:sink"


[camel-kamelets] 03/03: Backport Regen

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

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

commit b587e2929f6eb0c82877bd1b5270b4a914db3cee
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 26 09:55:25 2022 +0200

    Backport Regen
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../main/resources/kamelets/azure-eventhubs-source.kamelet.yaml  | 9 +--------
 .../main/resources/kamelets/google-functions-sink.kamelet.yaml   | 6 +++---
 2 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml
index e665c9cf..08132515 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml
@@ -82,13 +82,8 @@ spec:
         - urn:camel:group:credentials
   types:
     out:
-      mediaType: application/json
+      mediaType: application/octet-stream
   dependencies:
-  #TODO: these mvn:* dependencies must be removed after upgrading to camel 3.10
-  - "mvn:com.fasterxml.jackson.core:jackson-core:2.11.3"
-  - "mvn:com.fasterxml.jackson.core:jackson-annotations:2.11.3"
-  - "mvn:com.fasterxml.jackson.core:jackson-databind:2.11.3"
-  - "mvn:com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.3"
   - "camel:azure-eventhubs"
   - "camel:kamelet"
   - "camel:jackson"
@@ -102,6 +97,4 @@ spec:
         blobAccessKey: "{{blobAccessKey}}"
         blobContainerName: "{{blobContainerName}}"
       steps:
-      - marshal:
-          json: {}
       - to: "kamelet:sink"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-functions-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-functions-sink.kamelet.yaml
index 08e6bb9e..89d45988 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/google-functions-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/google-functions-sink.kamelet.yaml
@@ -52,8 +52,8 @@ spec:
         type: string
       serviceAccountKey:
         title: Service Account Key
-        description: The path to the service account key file that provides credentials for the Google Cloud Functions platform.
-        type: string
+        description: The path to the service account key file that provides credentials for the Google Cloud Functions platform. You must encode this value in base64.
+        type: binary
         x-descriptors:
         - urn:camel:group:credentials
   dependencies:
@@ -67,6 +67,6 @@ spec:
       - to:
           uri: "google-functions://{{functionName}}"
           parameters:
-            serviceAccountKey: "{{serviceAccountKey}}"
+            serviceAccountKey: "base64:{{serviceAccountKey}}"
             project: "{{projectId}}"
             location: "{{region}}"


[camel-kamelets] 02/03: Google Functions: use base64 for service account key

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

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

commit e9702306aecc10c49c8bffad624cb2503b21d1dd
Author: Rinaldo Pitzer JĂșnior <16...@users.noreply.github.com>
AuthorDate: Tue Oct 25 18:32:23 2022 -0300

    Google Functions: use base64 for service account key
---
 kamelets/google-functions-sink.kamelet.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kamelets/google-functions-sink.kamelet.yaml b/kamelets/google-functions-sink.kamelet.yaml
index 08e6bb9e..89d45988 100644
--- a/kamelets/google-functions-sink.kamelet.yaml
+++ b/kamelets/google-functions-sink.kamelet.yaml
@@ -52,8 +52,8 @@ spec:
         type: string
       serviceAccountKey:
         title: Service Account Key
-        description: The path to the service account key file that provides credentials for the Google Cloud Functions platform.
-        type: string
+        description: The path to the service account key file that provides credentials for the Google Cloud Functions platform. You must encode this value in base64.
+        type: binary
         x-descriptors:
         - urn:camel:group:credentials
   dependencies:
@@ -67,6 +67,6 @@ spec:
       - to:
           uri: "google-functions://{{functionName}}"
           parameters:
-            serviceAccountKey: "{{serviceAccountKey}}"
+            serviceAccountKey: "base64:{{serviceAccountKey}}"
             project: "{{projectId}}"
             location: "{{region}}"