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

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

commit bd7e95fb548e26506822bb6e354f48888f8af8fb
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Feb 9 10:56:33 2023 +0100

    Convert all the parameters with multiple possible values to enum - MongoDB 
Sink
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 kamelets/mongodb-sink.kamelet.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kamelets/mongodb-sink.kamelet.yaml 
b/kamelets/mongodb-sink.kamelet.yaml
index 0eb28514..2ce4225b 100644
--- a/kamelets/mongodb-sink.kamelet.yaml
+++ b/kamelets/mongodb-sink.kamelet.yaml
@@ -69,8 +69,9 @@ spec:
         type: string
       writeConcern:
         title: Write Concern
-        description: The level of acknowledgment requested from MongoDB for 
write operations. Possible values are ACKNOWLEDGED, W1, W2, W3, UNACKNOWLEDGED, 
JOURNALED, or MAJORITY.
+        description: The level of acknowledgment requested from MongoDB for 
write operations.
         type: string
+        enum: ["ACKNOWLEDGED", "W1", "W2", "W3", "UNACKNOWLEDGED", 
"JOURNALED", "MAJORITY"]
       createCollection:
         title: Collection
         description: Create a collection during initialization if it doesn't 
exist.

Reply via email to