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 2023/03/10 10:46:32 UTC

[camel-kamelets] 02/02: Azure Functions Sink Kamelets: Added enum for HTTP Methods

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

acosentino pushed a commit to branch azure-functions-methods-enum
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit a0f0a66cb68eadd55763da992014811a2f4af8c5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 10 11:42:59 2023 +0100

    Azure Functions Sink Kamelets: Added enum for HTTP Methods
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/azure-functions-sink.kamelet.yaml        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml
index 615de1f9..c064d940 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml
@@ -46,6 +46,7 @@ spec:
         description: The HTTP method to use.
         type: string
         default: POST
+        enum: ["GET", "POST", "PUT", "DELETE", "HEAD", "OPTIONS", "TRACE", "PATCH"]
       key:
         title: Key
         description: A function-specific API key is required, if the authLevel of the function is FUNCTION or master key if the authLevel is ADMIN.