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:41 UTC
[camel-kamelets] 05/05: Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Mail
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());
}
}