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 2022/04/07 08:45:13 UTC

[camel-kamelets] 03/05: Move required properties to the top to align with other kamelets

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 24da7d64655ed18b6dafbe40b20dc4dce074c7d9
Author: Anton Giertli <ag...@redhat.com>
AuthorDate: Thu Apr 7 08:09:28 2022 +0200

    Move required properties to the top to align with other kamelets
---
 kamelets/kafka-ssl-sink.kamelet.yaml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/kamelets/kafka-ssl-sink.kamelet.yaml b/kamelets/kafka-ssl-sink.kamelet.yaml
index 7b1957c4..32022bcb 100644
--- a/kamelets/kafka-ssl-sink.kamelet.yaml
+++ b/kamelets/kafka-ssl-sink.kamelet.yaml
@@ -38,6 +38,13 @@ spec:
       - `partition-key` / `ce-partitionkey`: as message partition key
 
       Both the headers are optional.
+    required:
+      - topic
+      - bootstrapServers
+      - sslKeystoreLocation
+      - sslKeystorePassword
+      - sslTruststoreLocation
+      - sslKeyPassword
     properties:
       bootstrapServers:
         description: Comma separated list of Kafka Broker URLs
@@ -103,13 +110,6 @@ spec:
           SASL_SSL and SSL are supported
         title: Security Protocol
         type: string
-    required:
-      - topic
-      - bootstrapServers
-      - sslKeystoreLocation
-      - sslKeystorePassword
-      - sslTruststoreLocation
-      - sslKeyPassword
     title: Kafka SSL Sink
     type: object
   dependencies: