This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 6e9eed72672d905f0df8e172fad76d51ce922470 Author: Michael Anstis <[email protected]> AuthorDate: Fri Mar 3 16:16:58 2023 +0000 Issue-1336: DynamoDB Sink - use enum for available operations --- kamelets/aws-ddb-sink.kamelet.yaml | 1 + .../camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/kamelets/aws-ddb-sink.kamelet.yaml b/kamelets/aws-ddb-sink.kamelet.yaml index 07a7c3cb..f93d4617 100644 --- a/kamelets/aws-ddb-sink.kamelet.yaml +++ b/kamelets/aws-ddb-sink.kamelet.yaml @@ -73,6 +73,7 @@ spec: title: Operation description: "The operation to perform. The options are PutItem, UpdateItem, or DeleteItem." type: string + enum: ["PutItem", "UpdateItem", "DeleteItem"] default: PutItem example: PutItem writeCapacity: diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml index 07a7c3cb..f93d4617 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml @@ -73,6 +73,7 @@ spec: title: Operation description: "The operation to perform. The options are PutItem, UpdateItem, or DeleteItem." type: string + enum: ["PutItem", "UpdateItem", "DeleteItem"] default: PutItem example: PutItem writeCapacity:
