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 12:19:05 UTC

[camel-kamelets] branch headers-support-5 created (now 2e3f1ed6)

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

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


      at 2e3f1ed6 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Storage

This branch includes the following new commits:

     new 7a000543 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Pubsub
     new 6580755a Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Sheets
     new f844d384 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Storage
     new 77ca4a80 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Sheets
     new 2e3f1ed6 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Storage

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

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

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

commit 6580755a91bc07b7ed79df06da619d9b37d2052d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 14:05:11 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Sheets
    
    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 35644c92..fc49127b 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
@@ -61,7 +61,8 @@ public enum KameletPrefixSchemeEnum {
     google_calendar("google-calendar", "google-calendar-stream"),
     google_functions("google-functions", "google-functions"),
     google_mail("google-mail", "google-mail-stream"),
-    google_pubsub("google-pubsub", "google-pubsub");
+    google_pubsub("google-pubsub", "google-pubsub"),
+    google_sheets("google-sheets", "google-sheets-stream");
 
     public final String name;
     public final String scheme;


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

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

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

commit 7a0005437b8dbcacf7e9ee9ea61457d007702d87
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 14:04:45 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Pubsub
    
    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 32538294..35644c92 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
@@ -60,7 +60,8 @@ public enum KameletPrefixSchemeEnum {
     google_bigquery("google-bigquery", "google-bigquery"),
     google_calendar("google-calendar", "google-calendar-stream"),
     google_functions("google-functions", "google-functions"),
-    google_mail("google-mail", "google-mail-stream");
+    google_mail("google-mail", "google-mail-stream"),
+    google_pubsub("google-pubsub", "google-pubsub");
 
     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 06d421ec..3f38ffac 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
@@ -196,5 +196,9 @@ public class KameletsCatalogTest {
         assertEquals(5, headersGoogleFunctionsSink.size());
         List<ComponentModel.EndpointHeaderModel> headersGoogleMailSource = catalog.getKameletSupportedHeaders("google-mail-source");
         assertEquals(6, headersGoogleMailSource.size());
+        List<ComponentModel.EndpointHeaderModel> headersGooglePubsubSink = catalog.getKameletSupportedHeaders("google-pubsub-sink");
+        assertEquals(3, headersGooglePubsubSink.size());
+        List<ComponentModel.EndpointHeaderModel> headersGooglePubsubSource = catalog.getKameletSupportedHeaders("google-pubsub-source");
+        assertEquals(4, headersGooglePubsubSource.size());
     }
 }


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

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

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

commit 2e3f1ed67c5f1c199bc39c37ac7f6662692c571f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 14:18:50 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Storage
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java   | 4 ++++
 1 file changed, 4 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 4ff5c2c3..281ab0a2 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
@@ -202,5 +202,9 @@ public class KameletsCatalogTest {
         assertEquals(4, headersGooglePubsubSource.size());
         List<ComponentModel.EndpointHeaderModel> headersGoogleSheetsSource = catalog.getKameletSupportedHeaders("google-sheets-source");
         assertEquals(6, headersGoogleSheetsSource.size());
+        List<ComponentModel.EndpointHeaderModel> headersGoogleStorageSource = catalog.getKameletSupportedHeaders("google-storage-source");
+        assertEquals(20, headersGoogleStorageSource.size());
+        List<ComponentModel.EndpointHeaderModel> headersGoogleStorageSink = catalog.getKameletSupportedHeaders("google-storage-sink");
+        assertEquals(13, headersGoogleStorageSink.size());
     }
 }


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

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

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

commit f844d384fd5f98739dd41fcea888f27540e9a11d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 14:09:15 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Storage
    
    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 fc49127b..ec4259c8 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
@@ -62,7 +62,8 @@ public enum KameletPrefixSchemeEnum {
     google_functions("google-functions", "google-functions"),
     google_mail("google-mail", "google-mail-stream"),
     google_pubsub("google-pubsub", "google-pubsub"),
-    google_sheets("google-sheets", "google-sheets-stream");
+    google_sheets("google-sheets", "google-sheets-stream"),
+    google_storage("google-storage", "google-storage");
 
     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 Sheets

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

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

commit 77ca4a80899c98804587bf022d58b8babd3a6d79
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 14:12:44 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Sheets
    
    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 3f38ffac..4ff5c2c3 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
@@ -200,5 +200,7 @@ public class KameletsCatalogTest {
         assertEquals(3, headersGooglePubsubSink.size());
         List<ComponentModel.EndpointHeaderModel> headersGooglePubsubSource = catalog.getKameletSupportedHeaders("google-pubsub-source");
         assertEquals(4, headersGooglePubsubSource.size());
+        List<ComponentModel.EndpointHeaderModel> headersGoogleSheetsSource = catalog.getKameletSupportedHeaders("google-sheets-source");
+        assertEquals(6, headersGoogleSheetsSource.size());
     }
 }