From 9f5a5d6c292137b2d87c8b69f6945f605727820e Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 7 Feb 2023 14:15:41 +0100 Subject: [PATCH 1/4] Convert all the parameters with multiple possible values to enum - Azure Storage Blob Sink Signed-off-by: Andrea Cosentino --- kamelets/azure-storage-blob-sink.kamelet.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kamelets/azure-storage-blob-sink.kamelet.yaml b/kamelets/azure-storage-blob-sink.kamelet.yaml index 07f18fbff..0a720ede0 100644 --- a/kamelets/azure-storage-blob-sink.kamelet.yaml +++ b/kamelets/azure-storage-blob-sink.kamelet.yaml @@ -65,9 +65,10 @@ spec: default: uploadBlockBlob 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"] dependencies: - "camel:core" - "camel:azure-storage-blob" From 4f7066f93bd757dcf01f6a48b018b7814f1c7b1d Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 7 Feb 2023 14:16:18 +0100 Subject: [PATCH 2/4] Convert all the parameters with multiple possible values to enum - Azure Storage Blob Sink Signed-off-by: Andrea Cosentino --- .../resources/kamelets/azure-storage-blob-sink.kamelet.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml index 07f18fbff..0a720ede0 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml @@ -65,9 +65,10 @@ spec: default: uploadBlockBlob 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"] dependencies: - "camel:core" - "camel:azure-storage-blob" From 5ce323b25e39bd5de4d67208dbed9043115f799a Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 7 Feb 2023 14:16:57 +0100 Subject: [PATCH 3/4] Convert all the parameters with multiple possible values to enum - Azure Storage Blob Source Signed-off-by: Andrea Cosentino --- kamelets/azure-storage-blob-source.kamelet.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kamelets/azure-storage-blob-source.kamelet.yaml b/kamelets/azure-storage-blob-source.kamelet.yaml index 95225f788..052c2a70e 100644 --- a/kamelets/azure-storage-blob-source.kamelet.yaml +++ b/kamelets/azure-storage-blob-source.kamelet.yaml @@ -60,9 +60,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"] delay: title: Delay description: The number of milliseconds before the next poll of the selected blob. From ed33085dae76b4c13619827b925c3afbd781be58 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Tue, 7 Feb 2023 14:17:28 +0100 Subject: [PATCH 4/4] Convert all the parameters with multiple possible values to enum - Azure Storage Blob Source Signed-off-by: Andrea Cosentino --- .../resources/kamelets/azure-storage-blob-source.kamelet.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml index 95225f788..052c2a70e 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml @@ -60,9 +60,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"] delay: title: Delay description: The number of milliseconds before the next poll of the selected blob.