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:09 UTC

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

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());
     }
 }