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/13 09:17:28 UTC

[camel-kamelets] 04/04: Enum Http Method in Http Secured Sink Kamelet

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

acosentino pushed a commit to branch 0.9.x-http-methods
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 29321c5239f3d66d2111bcbb6a18df7b21fabd57
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 13 10:09:09 2023 +0100

    Enum Http Method in Http Secured Sink Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/http-secured-sink.kamelet.yaml           | 1 +
 1 file changed, 1 insertion(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/http-secured-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/http-secured-sink.kamelet.yaml
index 016840aa..96324dcd 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/http-secured-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/http-secured-sink.kamelet.yaml
@@ -45,6 +45,7 @@ spec:
         description: The HTTP method to use
         type: string
         default: POST
+        enum: ["GET", "POST", "PUT", "DELETE", "HEAD", "OPTIONS", "TRACE", "PATCH"]
       authMethod:
         title: Authentication Method
         description: Authentication methods allowed to use as a comma separated list of values Basic, Digest or NTLM.