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/02/07 08:42:41 UTC

[camel-kamelets] 01/02: Convert all the parameters with multiple possible values to enum - Azure Storage Blob CDC

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

acosentino pushed a commit to branch azure-storage-cdc-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit d3779246ad76326ffb78735b56afdb46de805029
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 7 09:38:14 2023 +0100

    Convert all the parameters with multiple possible values to enum - Azure Storage Blob CDC
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/azure-storage-blob-cdc-source.kamelet.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/kamelets/azure-storage-blob-cdc-source.kamelet.yaml b/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
index 2c47b9f8..c04d4d8e 100644
--- a/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
+++ b/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
@@ -61,6 +61,7 @@ spec:
         description: Sets the receive mode for the receiver, possible values are PEEK_LOCK and RECEIVE_AND_DELETE
         type: string
         default: RECEIVE_AND_DELETE
+        enum: ["RECEIVE_AND_DELETE", "PEEK_LOCK"]
       subscriptionName:
         title: Subscription Name
         description: Sets the name of the subscription in the topic to listen to. This parameter is mandatory in case of topic.
@@ -85,9 +86,10 @@ spec:
         - urn:camel:group:credentials
       credentialType:
         title: Credential Type
-        description: Determines the credential strategy to adopt. Possible values are SHARED_ACCOUNT_KEY, SHARED_KEY_CREDENTIAL and AZURE_IDENTITY
+        description: Determines the credential strategy to adopt.
         type: string
         default: SHARED_ACCOUNT_KEY
+        enum: ["SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY"]
       getBlob:
         title: Get Object in Container
         description: >-