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/17 11:03:36 UTC

[camel-kamelets] branch more-headers-support-3 created (now 97adbcb6)

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

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


      at 97adbcb6 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Mail

This branch includes the following new commits:

     new 767a4bc8 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google BigQuery
     new c8e2df4b Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Calendar
     new b1ea846b Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Functions
     new fc521214 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Mail
     new 97adbcb6 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Mail

The 5 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] 03/05: Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Functions

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

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

commit b1ea846bcd658b29c659212dea4749ce95afd8bf
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 11:30:31 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Functions
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java   | 3 ++-
 .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java    | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
index 943bbdf4..5efdb107 100644
--- a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
+++ b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
@@ -58,7 +58,8 @@ public enum KameletPrefixSchemeEnum {
     github_pr("github-pullrequest", "github"),
     github_tag("github-tag", "github"),
     google_bigquery("google-bigquery", "google-bigquery"),
-    google_calendar("google-calendar", "google-calendar-stream");
+    google_calendar("google-calendar", "google-calendar-stream"),
+    google_functions("google-functions", "google-functions");
 
     public final String name;
     public final String scheme;
diff --git a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
index 8dcd8ab4..28102d28 100644
--- a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
+++ b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
@@ -192,5 +192,7 @@ public class KameletsCatalogTest {
         assertEquals(4, headersGoogleBigquerySink.size());
         List<ComponentModel.EndpointHeaderModel> headersGoogleCalendarSource = catalog.getKameletSupportedHeaders("google-calendar-source");
         assertEquals(1, headersGoogleCalendarSource.size());
+        List<ComponentModel.EndpointHeaderModel> headersGoogleFunctionsSink = catalog.getKameletSupportedHeaders("google-functions-sink");
+        assertEquals(5, headersGoogleFunctionsSink.size());
     }
 }


[camel-kamelets] 02/05: Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Calendar

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

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

commit c8e2df4b89e7acf5934c215eb146d6e870d09d9f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 11:28:24 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Calendar
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java  | 3 ++-
 .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java   | 4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
index 341cc42b..943bbdf4 100644
--- a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
+++ b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
@@ -57,7 +57,8 @@ public enum KameletPrefixSchemeEnum {
     github_pr_comments("github-pullrequest-comment", "github"),
     github_pr("github-pullrequest", "github"),
     github_tag("github-tag", "github"),
-    google_bigquery("google-bigquery", "google-bigquery");
+    google_bigquery("google-bigquery", "google-bigquery"),
+    google_calendar("google-calendar", "google-calendar-stream");
 
     public final String name;
     public final String scheme;
diff --git a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
index 1ae74866..8dcd8ab4 100644
--- a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
+++ b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
@@ -188,5 +188,9 @@ public class KameletsCatalogTest {
         assertEquals(7, headersGhPrSource.size());
         List<ComponentModel.EndpointHeaderModel> headersGhTagSource = catalog.getKameletSupportedHeaders("github-tag-source");
         assertEquals(7, headersGhTagSource.size());
+        List<ComponentModel.EndpointHeaderModel> headersGoogleBigquerySink = catalog.getKameletSupportedHeaders("google-bigquery-sink");
+        assertEquals(4, headersGoogleBigquerySink.size());
+        List<ComponentModel.EndpointHeaderModel> headersGoogleCalendarSource = catalog.getKameletSupportedHeaders("google-calendar-source");
+        assertEquals(1, headersGoogleCalendarSource.size());
     }
 }


[camel-kamelets] 01/05: Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google BigQuery

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

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

commit 767a4bc8ed9da5682ba9c306224349cc6e615301
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 11:22:23 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google BigQuery
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
index 2ec9717a..341cc42b 100644
--- a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
+++ b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
@@ -56,7 +56,8 @@ public enum KameletPrefixSchemeEnum {
     github_event("github-event", "github"),
     github_pr_comments("github-pullrequest-comment", "github"),
     github_pr("github-pullrequest", "github"),
-    github_tag("github-tag", "github");
+    github_tag("github-tag", "github"),
+    google_bigquery("google-bigquery", "google-bigquery");
 
     public final String name;
     public final String scheme;


[camel-kamelets] 04/05: Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Mail

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

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

commit fc521214565805b664a39c8821ed1933c8f4949c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 12:55:48 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Mail
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
index 5efdb107..32538294 100644
--- a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
+++ b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java
@@ -59,7 +59,8 @@ public enum KameletPrefixSchemeEnum {
     github_tag("github-tag", "github"),
     google_bigquery("google-bigquery", "google-bigquery"),
     google_calendar("google-calendar", "google-calendar-stream"),
-    google_functions("google-functions", "google-functions");
+    google_functions("google-functions", "google-functions"),
+    google_mail("google-mail", "google-mail-stream");
 
     public final String name;
     public final String scheme;


[camel-kamelets] 05/05: Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Mail

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

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

commit 97adbcb61f85efceb395b9bf4ccd3fab4d9f1a26
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 12:56:53 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Mail
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
index 28102d28..06d421ec 100644
--- a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
+++ b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
@@ -194,5 +194,7 @@ public class KameletsCatalogTest {
         assertEquals(1, headersGoogleCalendarSource.size());
         List<ComponentModel.EndpointHeaderModel> headersGoogleFunctionsSink = catalog.getKameletSupportedHeaders("google-functions-sink");
         assertEquals(5, headersGoogleFunctionsSink.size());
+        List<ComponentModel.EndpointHeaderModel> headersGoogleMailSource = catalog.getKameletSupportedHeaders("google-mail-source");
+        assertEquals(6, headersGoogleMailSource.size());
     }
 }