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:59:00 UTC

[camel-kamelets] branch 0.9.x updated (e5e83f3c -> 15d91c87)

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

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


    from e5e83f3c chore: regen
     new ffd5a2be Azure Eventhubs Source Kamelet: Return raw data instead of transforming to json
     new c9788412 Google Functions: use base64 for service account key
     new 15d91c87 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.


Summary of changes:
 kamelets/azure-eventhubs-source.kamelet.yaml                     | 9 +--------
 kamelets/google-functions-sink.kamelet.yaml                      | 6 +++---
 .../main/resources/kamelets/azure-eventhubs-source.kamelet.yaml  | 9 +--------
 .../main/resources/kamelets/google-functions-sink.kamelet.yaml   | 6 +++---
 4 files changed, 8 insertions(+), 22 deletions(-)


[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 0.9.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit ffd5a2be7ec285a1d755ccd137fc1a3adc44a24b
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] 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 0.9.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit c97884122422d8cfce44f7729a3279359e4ceea4
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}}"


[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 0.9.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 15d91c87a8cbe7415491df0c974193eaef65667f
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}}"