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/14 12:47:24 UTC
[camel-kamelets] branch az-functions-headers-doc created (now 896b2957)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch az-functions-headers-doc
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
at 896b2957 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Azure Functions
This branch includes the following new commits:
new 896b2957 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Azure Functions
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.
[camel-kamelets] 01/01: Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Azure Functions
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch az-functions-headers-doc
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 896b2957b54c004a6a1170b7eca29353e41b295c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Oct 14 14:46:56 2022 +0200
Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Azure Functions
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java | 3 ++-
.../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java | 2 ++
2 files changed, 4 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 3ba37dbc..ba27db67 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
@@ -32,7 +32,8 @@ public enum KameletPrefixSchemeEnum {
aws_sqs("aws-sqs","aws2-sqs"),
aws_sqs_batch("aws-sqs-batch","aws2-sqs"),
aws_sqs_fifo("aws-sqs-fifo","aws2-sqs"),
- azure_eventhubs("azure-eventhubs","azure-eventhubs");
+ azure_eventhubs("azure-eventhubs","azure-eventhubs"),
+ azure_functions("azure-functions","vertx-http");
public final String label;
public final String prefix;
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 8613e978..8f51c985 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
@@ -136,5 +136,7 @@ public class KameletsCatalogTest {
assertEquals(0, headerNotExistent.size());
List<ComponentModel.EndpointHeaderModel> headersAzureSink = catalog.getKameletSupportedHeaders("azure-eventhubs-sink");
assertEquals(2, headersAzureSink.size());
+ List<ComponentModel.EndpointHeaderModel> headersAzureFunctionsSink = catalog.getKameletSupportedHeaders("azure-functions-sink");
+ assertEquals(8, headersAzureFunctionsSink.size());
}
}