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 13:03:00 UTC

[camel-kamelets] branch more-headers-support-6 created (now 758ada3e)

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

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


      at 758ada3e Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP/HTTP Secured

This branch includes the following new commits:

     new 5bee0889 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP
     new 3ee49388 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP Secured
     new 758ada3e Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP/HTTP Secured

The 3 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/03: Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP Secured

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

commit 3ee4938804279121be186007ac1d605d18071809
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 14:56:02 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP Secured
    
    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 7c20dd4c..a393cfee 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
@@ -64,7 +64,8 @@ public enum KameletPrefixSchemeEnum {
     google_pubsub("google-pubsub", "google-pubsub"),
     google_sheets("google-sheets", "google-sheets-stream"),
     google_storage("google-storage", "google-storage"),
-    http("http", "http");
+    http("http", "http"),
+    http_secured("http-secured", "http");
 
     public final String name;
     public final String scheme;


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

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

commit 5bee088985c0558ffca257ed057f4eb58eb67520
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 14:54:50 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP
    
    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 ec4259c8..7c20dd4c 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
@@ -63,7 +63,8 @@ public enum KameletPrefixSchemeEnum {
     google_mail("google-mail", "google-mail-stream"),
     google_pubsub("google-pubsub", "google-pubsub"),
     google_sheets("google-sheets", "google-sheets-stream"),
-    google_storage("google-storage", "google-storage");
+    google_storage("google-storage", "google-storage"),
+    http("http", "http");
 
     public final String name;
     public final String scheme;


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

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

commit 758ada3e194a579c9d3bb6069fd8dac9b41cb28b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 17 15:01:19 2022 +0200

    Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP/HTTP Secured
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../org/apache/camel/kamelets/catalog/KameletsCatalogTest.java    | 8 ++++++++
 1 file changed, 8 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 281ab0a2..a8f8d053 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
@@ -206,5 +206,13 @@ public class KameletsCatalogTest {
         assertEquals(20, headersGoogleStorageSource.size());
         List<ComponentModel.EndpointHeaderModel> headersGoogleStorageSink = catalog.getKameletSupportedHeaders("google-storage-sink");
         assertEquals(13, headersGoogleStorageSink.size());
+        List<ComponentModel.EndpointHeaderModel> headersHttpSource = catalog.getKameletSupportedHeaders("http-source");
+        assertEquals(5, headersHttpSource.size());
+        List<ComponentModel.EndpointHeaderModel> headersHttpSink = catalog.getKameletSupportedHeaders("http-sink");
+        assertEquals(14, headersHttpSink.size());
+        List<ComponentModel.EndpointHeaderModel> headersHttpSecuredSource = catalog.getKameletSupportedHeaders("http-secured-source");
+        assertEquals(5, headersHttpSecuredSource.size());
+        List<ComponentModel.EndpointHeaderModel> headersHttpSecuredSink = catalog.getKameletSupportedHeaders("http-secured-sink");
+        assertEquals(14, headersHttpSecuredSink.size());
     }
 }