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:22:21 UTC

[camel-kamelets] branch main updated (6716a4de -> dbdc891b)

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

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


    from 6716a4de Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Google Storage
     new 2d0e4e43 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP
     new 30625917 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - HTTP Secured
     new dbdc891b 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.


Summary of changes:
 .../camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java     | 4 +++-
 .../org/apache/camel/kamelets/catalog/KameletsCatalogTest.java    | 8 ++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)


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

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


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

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

commit 306259176b7bc800d119496afae7a0bf32349601
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;