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/18 16:31:16 UTC

[camel-kamelets] branch more-headers-support-7 updated (b1e7345b -> 69756897)

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

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


 discard b1e7345b Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Infinispan
    omit 758ada3e Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP/HTTP Secured
    omit 3ee49388 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP Secured
    omit 5bee0889 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP
     add 2d0e4e43 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP
     add 30625917 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP Secured
     add dbdc891b Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP/HTTP Secured
     new 69756897 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Infinispan

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (b1e7345b)
            \
             N -- N -- N   refs/heads/more-headers-support-7 (69756897)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 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:


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

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

commit 6975689789be7098d26491c565101c6325876cf0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 18 18:12:14 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Infinispan
    
    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 a393cfee..07c9bbd3 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
@@ -65,7 +65,8 @@ public enum KameletPrefixSchemeEnum {
     google_sheets("google-sheets", "google-sheets-stream"),
     google_storage("google-storage", "google-storage"),
     http("http", "http"),
-    http_secured("http-secured", "http");
+    http_secured("http-secured", "http"),
+    infinispan("infinispan", "infinispan");
 
     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 a8f8d053..7dd4f590 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
@@ -214,5 +214,9 @@ public class KameletsCatalogTest {
         assertEquals(5, headersHttpSecuredSource.size());
         List<ComponentModel.EndpointHeaderModel> headersHttpSecuredSink = catalog.getKameletSupportedHeaders("http-secured-sink");
         assertEquals(14, headersHttpSecuredSink.size());
+        List<ComponentModel.EndpointHeaderModel> headersInfinispanSource = catalog.getKameletSupportedHeaders("infinispan-source");
+        assertEquals(6, headersInfinispanSource.size());
+        List<ComponentModel.EndpointHeaderModel> headersInfinispanSink = catalog.getKameletSupportedHeaders("infinispan-sink");
+        assertEquals(14, headersInfinispanSink.size());
     }
 }