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 54b92e1d3dde6037ffc2f0d04d0269f228950639 Author: Andrea Cosentino <[email protected]> AuthorDate: Thu Feb 9 10:57:27 2023 +0100 Convert all the parameters with multiple possible values to enum - MongoDB Sink Signed-off-by: Andrea Cosentino <[email protected]> --- .../src/main/resources/kamelets/mongodb-sink.kamelet.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml index 0eb28514..2ce4225b 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/mongodb-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/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.
