From b628e96fe023cd9e6cb71a8fd13f733ec62cc7a0 Mon Sep 17 00:00:00 2001 From: Claudio Miranda Date: Tue, 19 Dec 2023 22:46:08 +0000 Subject: [PATCH] Fix #1808 - remove empty x-descriptors field --- kamelets/google-calendar-source.kamelet.yaml | 2 -- kamelets/google-mail-source.kamelet.yaml | 1 - kamelets/google-pubsub-source.kamelet.yaml | 5 ++--- kamelets/google-sheets-source.kamelet.yaml | 3 +-- kamelets/google-storage-cdc-source.kamelet.yaml | 6 ++---- kamelets/google-storage-sink.kamelet.yaml | 5 ++--- kamelets/google-storage-source.kamelet.yaml | 4 +--- kamelets/http-secured-sink.kamelet.yaml | 3 +-- kamelets/infinispan-sink.kamelet.yaml | 1 - kamelets/infinispan-source.kamelet.yaml | 1 - ...-apicurio-registry-not-secured-source.kamelet.yaml | 3 --- .../kafka-azure-schema-registry-source.kamelet.yaml | 5 +---- kamelets/kafka-scram-source.kamelet.yaml | 3 --- kamelets/kafka-source.kamelet.yaml | 3 --- kamelets/kafka-ssl-source.kamelet.yaml | 5 +---- kamelets/minio-sink.kamelet.yaml | 5 ++--- kamelets/minio-source.kamelet.yaml | 4 +--- kamelets/mongodb-changes-stream-source.kamelet.yaml | 2 -- kamelets/mongodb-sink.kamelet.yaml | 7 ++----- kamelets/mongodb-source.kamelet.yaml | 5 +---- kamelets/opensearch-index-sink.kamelet.yaml | 11 +++++------ kamelets/opensearch-search-source.kamelet.yaml | 5 ++--- kamelets/salesforce-source.kamelet.yaml | 6 +----- kamelets/scp-sink.kamelet.yaml | 3 +-- kamelets/sftp-sink.kamelet.yaml | 6 +----- kamelets/sftp-source.kamelet.yaml | 10 +--------- kamelets/splunk-hec-sink.kamelet.yaml | 4 ---- kamelets/sqlserver-sink.kamelet.yaml | 6 ++---- kamelets/sqlserver-source.kamelet.yaml | 4 +--- .../kamelets/google-calendar-source.kamelet.yaml | 2 -- .../kamelets/google-mail-source.kamelet.yaml | 1 - .../kamelets/google-pubsub-source.kamelet.yaml | 5 ++--- .../kamelets/google-sheets-source.kamelet.yaml | 3 +-- .../kamelets/google-storage-cdc-source.kamelet.yaml | 6 ++---- .../kamelets/google-storage-sink.kamelet.yaml | 5 ++--- .../kamelets/google-storage-source.kamelet.yaml | 4 +--- .../resources/kamelets/http-secured-sink.kamelet.yaml | 3 +-- .../resources/kamelets/infinispan-sink.kamelet.yaml | 1 - .../resources/kamelets/infinispan-source.kamelet.yaml | 1 - ...-apicurio-registry-not-secured-source.kamelet.yaml | 3 --- .../kafka-azure-schema-registry-source.kamelet.yaml | 5 +---- .../kamelets/kafka-scram-source.kamelet.yaml | 3 --- .../main/resources/kamelets/kafka-source.kamelet.yaml | 3 --- .../resources/kamelets/kafka-ssl-source.kamelet.yaml | 5 +---- .../main/resources/kamelets/minio-sink.kamelet.yaml | 5 ++--- .../main/resources/kamelets/minio-source.kamelet.yaml | 4 +--- .../mongodb-changes-stream-source.kamelet.yaml | 2 -- .../main/resources/kamelets/mongodb-sink.kamelet.yaml | 7 ++----- .../resources/kamelets/mongodb-source.kamelet.yaml | 5 +---- .../kamelets/opensearch-index-sink.kamelet.yaml | 11 +++++------ .../kamelets/opensearch-search-source.kamelet.yaml | 5 ++--- .../resources/kamelets/salesforce-source.kamelet.yaml | 6 +----- .../src/main/resources/kamelets/scp-sink.kamelet.yaml | 3 +-- .../main/resources/kamelets/sftp-sink.kamelet.yaml | 6 +----- .../main/resources/kamelets/sftp-source.kamelet.yaml | 10 +--------- .../resources/kamelets/splunk-hec-sink.kamelet.yaml | 4 ---- .../resources/kamelets/sqlserver-sink.kamelet.yaml | 6 ++---- .../resources/kamelets/sqlserver-source.kamelet.yaml | 4 +--- 58 files changed, 62 insertions(+), 194 deletions(-) diff --git a/kamelets/google-calendar-source.kamelet.yaml b/kamelets/google-calendar-source.kamelet.yaml index 13be19582..aeb0f6eaa 100644 --- a/kamelets/google-calendar-source.kamelet.yaml +++ b/kamelets/google-calendar-source.kamelet.yaml @@ -91,13 +91,11 @@ spec: title: Sync Flow description: Specifies to sync events for incremental synchronization. type: boolean - x-descriptors: default: false consumeFromNow: title: Consume from now description: Specfies to consume events in the calendar from now on. type: boolean - x-descriptors: default: true types: out: diff --git a/kamelets/google-mail-source.kamelet.yaml b/kamelets/google-mail-source.kamelet.yaml index 5afad34f1..fd7164077 100644 --- a/kamelets/google-mail-source.kamelet.yaml +++ b/kamelets/google-mail-source.kamelet.yaml @@ -86,7 +86,6 @@ spec: title: Mark as Read description: Mark the message as read once it has been consumed type: boolean - x-descriptors: default: true labels: title: Gmail Labels diff --git a/kamelets/google-pubsub-source.kamelet.yaml b/kamelets/google-pubsub-source.kamelet.yaml index e198b48f1..ca625d057 100644 --- a/kamelets/google-pubsub-source.kamelet.yaml +++ b/kamelets/google-pubsub-source.kamelet.yaml @@ -32,7 +32,7 @@ spec: title: "Google Pubsub Source" description: |- Consume messages from Google Cloud Pub/Sub. - + If you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter. required: - projectId @@ -57,7 +57,6 @@ spec: title: Synchronous Pull description: Specifies to synchronously pull batches of messages. type: boolean - x-descriptors: default: false maxMessagesPerPoll: title: Max Messages Per Poll @@ -68,7 +67,7 @@ spec: title: Concurrent Consumers description: The number of parallel streams to consume from the subscription. type: integer - default: 1 + default: 1 dependencies: - "camel:kamelet" - "camel:google-pubsub" diff --git a/kamelets/google-sheets-source.kamelet.yaml b/kamelets/google-sheets-source.kamelet.yaml index c57e30795..17b6f280b 100644 --- a/kamelets/google-sheets-source.kamelet.yaml +++ b/kamelets/google-sheets-source.kamelet.yaml @@ -89,7 +89,6 @@ spec: title: Split Results description: True if value range result should be split into rows or columns to process each of them individually. type: boolean - x-descriptors: default: true range: title: Cells Range @@ -141,7 +140,7 @@ spec: json: format: "application-json" description: |- - Json representation of a GoogleSheets ValueRange object that holds all values for the given cell range. + Json representation of a GoogleSheets ValueRange object that holds all values for the given cell range. Or Json array of values for a single row/column in the range when 'splitResults' mode is enabled. mediaType: application/json json-struct: diff --git a/kamelets/google-storage-cdc-source.kamelet.yaml b/kamelets/google-storage-cdc-source.kamelet.yaml index 019dd8187..57a8937c9 100644 --- a/kamelets/google-storage-cdc-source.kamelet.yaml +++ b/kamelets/google-storage-cdc-source.kamelet.yaml @@ -36,7 +36,7 @@ spec: Service account key is the basic method for authenticating to the Google Pubsub and Google Storage. To use this Kamelet you'll need to set up Events notification for your Google Storage Bucket. - + You must encode the `serviceAccountKey` property before you pass it as a parameter. required: - projectId @@ -63,7 +63,6 @@ spec: title: Synchronous Pull description: Specifies to synchronously pull batches of messages. type: boolean - x-descriptors: default: false maxMessagesPerPoll: title: Max Messages Per Poll @@ -85,8 +84,7 @@ spec: If getObject is enabled, then the file created in the Bucket will be get and returned as body, if not only the event will be returned as body. type: boolean - x-descriptors: - default: false + default: false dependencies: - "camel:kamelet" - "camel:google-pubsub" diff --git a/kamelets/google-storage-sink.kamelet.yaml b/kamelets/google-storage-sink.kamelet.yaml index df0ef319e..cc7e6d13a 100644 --- a/kamelets/google-storage-sink.kamelet.yaml +++ b/kamelets/google-storage-sink.kamelet.yaml @@ -32,9 +32,9 @@ spec: title: "Google Storage Sink" description: |- Upload objects to Google Cloud Storage. - + If you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter. - + In the header, you can set the `file` / `ce-file` property to specify the filename to upload. If you do set property in the header, the Kamelet uses the exchange ID as filename. required: - bucketNameOrArn @@ -54,7 +54,6 @@ spec: title: Autocreate Bucket description: Specifies to automatically create the Google Cloud Storage bucket. type: boolean - x-descriptors: default: false dependencies: - "camel:core" diff --git a/kamelets/google-storage-source.kamelet.yaml b/kamelets/google-storage-source.kamelet.yaml index 9759d8d67..51d11696e 100644 --- a/kamelets/google-storage-source.kamelet.yaml +++ b/kamelets/google-storage-source.kamelet.yaml @@ -52,13 +52,11 @@ spec: title: Auto-delete Objects description: Specifies to delete objects after consuming them. type: boolean - x-descriptors: default: true autoCreateBucket: title: Autocreate Bucket description: Specifies to automatically create the Google Cloud Storage bucket. type: boolean - x-descriptors: default: false dataTypes: out: @@ -80,7 +78,7 @@ spec: CamelGoogleCloudStorageETag: title: ETag Value description: |- - The hex encoded 128-bit MD5 digest of the associated object according to RFC 1864. + The hex encoded 128-bit MD5 digest of the associated object according to RFC 1864. Is the generation number of the object for which you are retrieving information. type: string types: diff --git a/kamelets/http-secured-sink.kamelet.yaml b/kamelets/http-secured-sink.kamelet.yaml index 124d78830..a244d7e66 100644 --- a/kamelets/http-secured-sink.kamelet.yaml +++ b/kamelets/http-secured-sink.kamelet.yaml @@ -56,7 +56,6 @@ spec: title: Authentication Preemptive description: If this option is true, camel-http sends preemptive basic authentication to the server. type: boolean - x-descriptors: default: false authUsername: title: Authentication Username @@ -86,7 +85,7 @@ spec: constant: "{{method}}" - to: uri: "{{url}}" - parameters: + parameters: authMethod: "{{authMethod}}" authUsername: "{{authUsername}}" authPassword: "{{authPassword}}" diff --git a/kamelets/infinispan-sink.kamelet.yaml b/kamelets/infinispan-sink.kamelet.yaml index 8580b05ab..34796010c 100644 --- a/kamelets/infinispan-sink.kamelet.yaml +++ b/kamelets/infinispan-sink.kamelet.yaml @@ -58,7 +58,6 @@ spec: description: If the Infinispan instance is secured or not type: boolean default: true - x-descriptors: username: title: Username description: Username to connect to Infinispan. diff --git a/kamelets/infinispan-source.kamelet.yaml b/kamelets/infinispan-source.kamelet.yaml index 23dbde372..0d6ef47bb 100644 --- a/kamelets/infinispan-source.kamelet.yaml +++ b/kamelets/infinispan-source.kamelet.yaml @@ -52,7 +52,6 @@ spec: description: If the Infinispan instance is secured or not type: boolean default: true - x-descriptors: username: title: Username description: Username to connect to Infinispan. diff --git a/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml b/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml index 1a75832c4..d3500224a 100644 --- a/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml +++ b/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml @@ -58,13 +58,11 @@ spec: description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer type: boolean default: true - x-descriptors: allowManualCommit: title: Allow Manual Commit description: Whether to allow doing manual commits type: boolean default: false - x-descriptors: pollOnError: title: Poll On Error Behavior description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP @@ -89,7 +87,6 @@ spec: title: Automatically Deserialize Headers description: When enabled the Kamelet source will deserialize all message headers to String representation. type: boolean - x-descriptors: default: true valueDeserializer: title: Value Deserializer diff --git a/kamelets/kafka-azure-schema-registry-source.kamelet.yaml b/kamelets/kafka-azure-schema-registry-source.kamelet.yaml index 5924ccff6..8bbed6f19 100644 --- a/kamelets/kafka-azure-schema-registry-source.kamelet.yaml +++ b/kamelets/kafka-azure-schema-registry-source.kamelet.yaml @@ -78,13 +78,11 @@ spec: description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer type: boolean default: true - x-descriptors: allowManualCommit: title: Allow Manual Commit description: Whether to allow doing manual commits type: boolean default: false - x-descriptors: pollOnError: title: Poll On Error Behavior description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP @@ -109,7 +107,6 @@ spec: title: Automatically Deserialize Headers description: When enabled the Kamelet source will deserialize all message headers to String representation. type: boolean - x-descriptors: default: true valueDeserializer: title: Value Deserializer @@ -127,7 +124,7 @@ spec: title: Specific Avro Value Type description: The Specific Type Avro will have to deal with type: string - example: "com.example.Order" + example: "com.example.Order" dependencies: - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.0-SNAPSHOT" - "camel:kafka" diff --git a/kamelets/kafka-scram-source.kamelet.yaml b/kamelets/kafka-scram-source.kamelet.yaml index 4489833d6..55b331dfd 100644 --- a/kamelets/kafka-scram-source.kamelet.yaml +++ b/kamelets/kafka-scram-source.kamelet.yaml @@ -88,13 +88,11 @@ spec: description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer type: boolean default: true - x-descriptors: allowManualCommit: title: Allow Manual Commit description: Whether to allow doing manual commits type: boolean default: false - x-descriptors: pollOnError: title: Poll On Error Behavior description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP @@ -119,7 +117,6 @@ spec: title: Automatically Deserialize Headers description: When enabled the Kamelet source will deserialize all message headers to String representation. type: boolean - x-descriptors: default: true dependencies: - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.0-SNAPSHOT" diff --git a/kamelets/kafka-source.kamelet.yaml b/kamelets/kafka-source.kamelet.yaml index 2c75dc2e5..cf093df5e 100644 --- a/kamelets/kafka-source.kamelet.yaml +++ b/kamelets/kafka-source.kamelet.yaml @@ -88,13 +88,11 @@ spec: description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer type: boolean default: true - x-descriptors: allowManualCommit: title: Allow Manual Commit description: Whether to allow doing manual commits type: boolean default: false - x-descriptors: pollOnError: title: Poll On Error Behavior description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP @@ -119,7 +117,6 @@ spec: title: Automatically Deserialize Headers description: When enabled the Kamelet source will deserialize all message headers to String representation. type: boolean - x-descriptors: default: true dependencies: - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.0-SNAPSHOT" diff --git a/kamelets/kafka-ssl-source.kamelet.yaml b/kamelets/kafka-ssl-source.kamelet.yaml index 5ffd2aa79..d17d72790 100644 --- a/kamelets/kafka-ssl-source.kamelet.yaml +++ b/kamelets/kafka-ssl-source.kamelet.yaml @@ -68,13 +68,11 @@ spec: description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer type: boolean default: true - x-descriptors: allowManualCommit: title: Allow Manual Commit description: Whether to allow doing manual commits type: boolean default: false - x-descriptors: pollOnError: title: Poll On Error Behavior description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP @@ -99,7 +97,6 @@ spec: title: Automatically Deserialize Headers description: When enabled the Kamelet source will deserialize all message headers to String representation. type: boolean - x-descriptors: default: true sslKeyPassword: description: The password of the private key in the key store file. @@ -165,7 +162,7 @@ spec: sslProtocol: '{{sslProtocol}}' sslEnabledProtocols: '{{sslEnabledProtocols}}' sslEndpointAlgorithm: '{{sslEndpointAlgorithm}}' - saslMechanism: '{{saslMechanism}}' + saslMechanism: '{{saslMechanism}}' groupId: '{{?consumerGroup}}' autoOffsetReset: '{{autoOffsetReset}}' pollOnError: '{{pollOnError}}' diff --git a/kamelets/minio-sink.kamelet.yaml b/kamelets/minio-sink.kamelet.yaml index 83ac146a4..6a16ce84b 100644 --- a/kamelets/minio-sink.kamelet.yaml +++ b/kamelets/minio-sink.kamelet.yaml @@ -68,9 +68,8 @@ spec: example: http://localhost:9000 autoCreateBucket: title: Autocreate Bucket - description: Specify to automatically create the MinIO bucket. + description: Specify to automatically create the MinIO bucket. type: boolean - x-descriptors: default: false keyName: title: Key Name @@ -89,7 +88,7 @@ spec: when: - simple: '${propertiesExist:!keyName}' steps: - - choice: + - choice: when: - simple: "${header[file]}" steps: diff --git a/kamelets/minio-source.kamelet.yaml b/kamelets/minio-source.kamelet.yaml index 3405cc78a..5405bd464 100644 --- a/kamelets/minio-source.kamelet.yaml +++ b/kamelets/minio-source.kamelet.yaml @@ -47,7 +47,6 @@ spec: title: Auto-delete Objects description: Delete objects after consuming them. type: boolean - x-descriptors: default: true accessKey: title: Access Key @@ -70,9 +69,8 @@ spec: example: http://localhost:9000 autoCreateBucket: title: Autocreate Bucket - description: Specifies to automatically create the MinIO bucket. + description: Specifies to automatically create the MinIO bucket. type: boolean - x-descriptors: default: false dependencies: - "camel:minio" diff --git a/kamelets/mongodb-changes-stream-source.kamelet.yaml b/kamelets/mongodb-changes-stream-source.kamelet.yaml index 625b016e9..4e355660a 100644 --- a/kamelets/mongodb-changes-stream-source.kamelet.yaml +++ b/kamelets/mongodb-changes-stream-source.kamelet.yaml @@ -64,13 +64,11 @@ spec: description: whether to enable ssl connection to mongodb type: boolean default: true - x-descriptors: sslValidationEnabled: title: Enables Ssl Certificates Validation and Host name checks. description: IMPORTANT this should be disabled only in test environment since can pose security issues. type: boolean default: true - x-descriptors: database: title: MongoDB Database description: Sets the name of the MongoDB database to target. diff --git a/kamelets/mongodb-sink.kamelet.yaml b/kamelets/mongodb-sink.kamelet.yaml index 2dae3fb1e..110866112 100644 --- a/kamelets/mongodb-sink.kamelet.yaml +++ b/kamelets/mongodb-sink.kamelet.yaml @@ -56,7 +56,7 @@ spec: type: string format: password x-descriptors: - - urn:camel:group:credentials + - urn:camel:group:credentials username: title: MongoDB Username description: A username for accessing MongoDB. @@ -68,13 +68,11 @@ spec: description: whether to enable ssl connection to mongodb type: boolean default: true - x-descriptors: sslValidationEnabled: title: Enables Ssl Certificates Validation and Host name checks. description: IMPORTANT this should be disabled only in test environment since can pose security issues. type: boolean default: true - x-descriptors: database: title: MongoDB Database description: The name of the MongoDB database. @@ -89,7 +87,6 @@ spec: description: Create a collection during initialization if it doesn't exist. type: boolean default: false - x-descriptors: types: in: mediaType: application/json @@ -126,7 +123,7 @@ spec: - setHeader: name: CamelMongoDbUpsert simple: "${header[ce-dbupsert]}" - - to: + - to: uri: "{{local-mongodb}}:test" parameters: createCollection: "{{?createCollection}}" diff --git a/kamelets/mongodb-source.kamelet.yaml b/kamelets/mongodb-source.kamelet.yaml index 8ca3c088a..316dd438c 100644 --- a/kamelets/mongodb-source.kamelet.yaml +++ b/kamelets/mongodb-source.kamelet.yaml @@ -70,13 +70,11 @@ spec: description: whether to enable ssl connection to mongodb type: boolean default: true - x-descriptors: sslValidationEnabled: title: Enables Ssl Certificates Validation and Host name checks. description: IMPORTANT this should be disabled only in test environment since can pose security issues. type: boolean default: true - x-descriptors: database: title: MongoDB Database description: The name of the MongoDB database. @@ -85,11 +83,10 @@ spec: title: MongoDB Persistent Tail Tracking description: Specifies to enable persistent tail tracking, which is a mechanism to keep track of the last consumed data across system restarts. The next time the system is up, the endpoint recovers the cursor from the point where it last stopped consuimg data. This option will only work on capped collections. type: boolean - x-descriptors: default: false tailTrackIncreasingField: title: MongoDB Tail Track Increasing Field - description: The correlation field in the incoming data which is of increasing nature and is used to position the tailing cursor every time it is generated. + description: The correlation field in the incoming data which is of increasing nature and is used to position the tailing cursor every time it is generated. type: string dependencies: - "camel:kamelet" diff --git a/kamelets/opensearch-index-sink.kamelet.yaml b/kamelets/opensearch-index-sink.kamelet.yaml index 03327870e..9b8087ae6 100644 --- a/kamelets/opensearch-index-sink.kamelet.yaml +++ b/kamelets/opensearch-index-sink.kamelet.yaml @@ -33,16 +33,16 @@ spec: description: |- Stores JSON-formatted data into Opensearch. - The input data must be formatted in JSON according to the requirements of the index. + The input data must be formatted in JSON according to the requirements of the index. If you specify the `certificate` property, you must base64 encode it before you pass it as a parameter. - + In the header, you can set the following properties: - `indexId` / `ce-indexid`: The index ID for OpenSearch. - + - `indexName` / `ce-indexname`: The index name for OpenSearch. - + If you do not set a property in the header, the Kamelet uses the exchange ID for the index setting. required: - clusterName @@ -67,7 +67,6 @@ spec: description: Specifies to connect by using SSL. type: boolean default: false - x-descriptors: hostAddresses: title: Host Addresses description: A comma-separated list of remote transport addresses in `ip:port format`. @@ -84,7 +83,7 @@ spec: type: string example: data certificate: - title: Certificate + title: Certificate description: The Certificate for accessing the OpenSearch cluster. You must encode this value in base64. type: string types: diff --git a/kamelets/opensearch-search-source.kamelet.yaml b/kamelets/opensearch-search-source.kamelet.yaml index c88480017..bfd703dbb 100644 --- a/kamelets/opensearch-search-source.kamelet.yaml +++ b/kamelets/opensearch-search-source.kamelet.yaml @@ -32,7 +32,7 @@ spec: title: "OpenSearch Search Source" description: |- Search data on OpenSearch - + The `query` parameter must be formatted in JSON. If you specify the `certificate` property, you must base64 encode it before you pass it as a parameter. @@ -70,7 +70,6 @@ spec: description: Do we want to connect using SSL? type: boolean default: false - x-descriptors: hostAddresses: title: Host Addresses description: Comma separated list with ip:port formatted remote transport addresses to use. @@ -84,7 +83,7 @@ spec: description: The name of the cluster. type: string certificate: - title: Certificate + title: Certificate description: The Certificate for accessing the Opensearch cluster. You must encode this value in base64. type: string types: diff --git a/kamelets/salesforce-source.kamelet.yaml b/kamelets/salesforce-source.kamelet.yaml index a12acaa93..f2577803f 100644 --- a/kamelets/salesforce-source.kamelet.yaml +++ b/kamelets/salesforce-source.kamelet.yaml @@ -26,7 +26,7 @@ metadata: camel.apache.org/kamelet.group: "Salesforce" camel.apache.org/kamelet.namespace: "Salesforce" labels: - camel.apache.org/kamelet.type: "source" + camel.apache.org/kamelet.type: "source" spec: definition: title: "Salesforce Source" @@ -92,25 +92,21 @@ spec: title: Notify Operation Create description: Notify for create operation. type: boolean - x-descriptors: default: true notifyForOperationUpdate: title: Notify Operation Update description: Notify for update operation. type: boolean - x-descriptors: default: false notifyForOperationDelete: title: Notify Operation Delete description: Notify for delete operation. type: boolean - x-descriptors: default: false notifyForOperationUndelete: title: Notify Operation Undelete description: Notify for undelete operation. type: boolean - x-descriptors: default: false operation: title: Operation diff --git a/kamelets/scp-sink.kamelet.yaml b/kamelets/scp-sink.kamelet.yaml index ccb355eac..96a045de3 100644 --- a/kamelets/scp-sink.kamelet.yaml +++ b/kamelets/scp-sink.kamelet.yaml @@ -75,7 +75,6 @@ spec: description: If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts. type: boolean default: true - x-descriptors: dependencies: - "camel:core" - "camel:jsch" @@ -92,4 +91,4 @@ spec: privateKeyFile: "{{?privateKeyFile}}" privateKeyPassphrase: "{{?privateKeyPassphrase}}" strictHostKeyChecking: "{{?strictHostKeyChecking}}" - useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" + useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" diff --git a/kamelets/sftp-sink.kamelet.yaml b/kamelets/sftp-sink.kamelet.yaml index a1a91c756..f9b0667ab 100644 --- a/kamelets/sftp-sink.kamelet.yaml +++ b/kamelets/sftp-sink.kamelet.yaml @@ -73,7 +73,6 @@ spec: description: Specifies to use passive mode connection. type: boolean default: false - x-descriptors: fileExist: title: File Existence description: How to behave in case of file already existent. @@ -85,7 +84,6 @@ spec: description: Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false). type: boolean default: false - x-descriptors: privateKeyFile: title: Private Key File description: Set the private key file so that the SFTP endpoint can do private key verification. @@ -109,13 +107,11 @@ spec: description: If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts. type: boolean default: true - x-descriptors: autoCreate: title: Autocreate Missing Directories description: Automatically create the directory the files should be written to. type: boolean default: true - x-descriptors: dependencies: - "camel:ftp" - "camel:core" @@ -145,7 +141,7 @@ spec: privateKeyPassphrase: "{{?privateKeyPassphrase}}" privateKeyUri: "{{?privateKeyUri}}" strictHostKeyChecking: "{{?strictHostKeyChecking}}" - useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" + useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" passiveMode: "{{passiveMode}}" fileExist: "{{fileExist}}" binary: "{{binary}}" diff --git a/kamelets/sftp-source.kamelet.yaml b/kamelets/sftp-source.kamelet.yaml index 5e2c13d36..d5f7eab72 100644 --- a/kamelets/sftp-source.kamelet.yaml +++ b/kamelets/sftp-source.kamelet.yaml @@ -69,31 +69,26 @@ spec: description: Sets the passive mode connection. type: boolean default: false - x-descriptors: recursive: title: Recursive description: If a directory, look for files in all sub-directories as well. type: boolean default: false - x-descriptors: idempotent: title: Idempotency description: Skip already-processed files. type: boolean default: true - x-descriptors: ignoreFileNotFoundOrPermissionError: title: Ignore File Not Found Or Permission Error description: Whether to ignore when (trying to list files in directories or when downloading a file), which does not exist or due to permission error. By default when a directory or file does not exists or insufficient permission, then an exception is thrown. Setting this option to true allows to ignore that instead. type: boolean default: false - x-descriptors: binary: title: Binary description: Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false). type: boolean default: false - x-descriptors: privateKeyFile: title: Private Key File description: Set the private key file so that the SFTP endpoint can do private key verification. @@ -117,19 +112,16 @@ spec: description: If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts. type: boolean default: true - x-descriptors: autoCreate: title: Autocreate Missing Directories description: Automatically create starting directory. type: boolean default: true - x-descriptors: delete: title: Delete description: If true, the file will be deleted after it is processed successfully. type: boolean default: false - x-descriptors: dependencies: - "camel:ftp" - "camel:core" @@ -144,7 +136,7 @@ spec: privateKeyPassphrase: "{{?privateKeyPassphrase}}" privateKeyUri: "{{?privateKeyUri}}" strictHostKeyChecking: "{{?strictHostKeyChecking}}" - useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" + useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" passiveMode: "{{passiveMode}}" recursive: "{{recursive}}" idempotent: "{{idempotent}}" diff --git a/kamelets/splunk-hec-sink.kamelet.yaml b/kamelets/splunk-hec-sink.kamelet.yaml index b2c4e9458..0354bff4e 100644 --- a/kamelets/splunk-hec-sink.kamelet.yaml +++ b/kamelets/splunk-hec-sink.kamelet.yaml @@ -58,13 +58,11 @@ spec: title: Body Only description: Send to Splunk only data contained in the body. type: boolean - x-descriptors: default: false headersOnly: title: Headers Only description: Send to Splunk only data contained in the headers. type: boolean - x-descriptors: default: false index: title: Index @@ -82,13 +80,11 @@ spec: title: Skip TLS Verification description: Skip TLS verification. type: boolean - x-descriptors: default: false https: title: Secure description: Use a secure HTTPS connection. type: boolean - x-descriptors: default: true time: title: Time diff --git a/kamelets/sqlserver-sink.kamelet.yaml b/kamelets/sqlserver-sink.kamelet.yaml index fb661e215..179e0bd40 100644 --- a/kamelets/sqlserver-sink.kamelet.yaml +++ b/kamelets/sqlserver-sink.kamelet.yaml @@ -88,13 +88,11 @@ spec: title: Encrypt Connection description: Encrypt the connection to SQL Server. type: boolean - x-descriptors: default: false trustServerCertificate: title: Trust Server Certificate description: Trust Server Certificate type: boolean - x-descriptors: default: true types: in: @@ -117,9 +115,9 @@ spec: uri: "kamelet:source" steps: - unmarshal: - json: + json: library: Jackson - - to: + - to: uri: "sql:{{query}}" parameters: dataSource: "#bean:{{dsBean}}" diff --git a/kamelets/sqlserver-source.kamelet.yaml b/kamelets/sqlserver-source.kamelet.yaml index 78bebd0b2..3df26bb1f 100644 --- a/kamelets/sqlserver-source.kamelet.yaml +++ b/kamelets/sqlserver-source.kamelet.yaml @@ -85,13 +85,11 @@ spec: title: Encrypt Connection description: Encrypt the connection to SQL Server. type: boolean - x-descriptors: default: false trustServerCertificate: title: Trust Server Certificate description: Trust Server Certificate type: boolean - x-descriptors: default: true delay: title: Delay @@ -123,6 +121,6 @@ spec: delay: "{{delay}}" steps: - marshal: - json: + json: library: Jackson - to: "kamelet:sink" diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-calendar-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-calendar-source.kamelet.yaml index 13be19582..aeb0f6eaa 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/google-calendar-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/google-calendar-source.kamelet.yaml @@ -91,13 +91,11 @@ spec: title: Sync Flow description: Specifies to sync events for incremental synchronization. type: boolean - x-descriptors: default: false consumeFromNow: title: Consume from now description: Specfies to consume events in the calendar from now on. type: boolean - x-descriptors: default: true types: out: diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-mail-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-mail-source.kamelet.yaml index 5afad34f1..fd7164077 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/google-mail-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/google-mail-source.kamelet.yaml @@ -86,7 +86,6 @@ spec: title: Mark as Read description: Mark the message as read once it has been consumed type: boolean - x-descriptors: default: true labels: title: Gmail Labels diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml index e198b48f1..ca625d057 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml @@ -32,7 +32,7 @@ spec: title: "Google Pubsub Source" description: |- Consume messages from Google Cloud Pub/Sub. - + If you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter. required: - projectId @@ -57,7 +57,6 @@ spec: title: Synchronous Pull description: Specifies to synchronously pull batches of messages. type: boolean - x-descriptors: default: false maxMessagesPerPoll: title: Max Messages Per Poll @@ -68,7 +67,7 @@ spec: title: Concurrent Consumers description: The number of parallel streams to consume from the subscription. type: integer - default: 1 + default: 1 dependencies: - "camel:kamelet" - "camel:google-pubsub" diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-sheets-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-sheets-source.kamelet.yaml index c57e30795..17b6f280b 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/google-sheets-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/google-sheets-source.kamelet.yaml @@ -89,7 +89,6 @@ spec: title: Split Results description: True if value range result should be split into rows or columns to process each of them individually. type: boolean - x-descriptors: default: true range: title: Cells Range @@ -141,7 +140,7 @@ spec: json: format: "application-json" description: |- - Json representation of a GoogleSheets ValueRange object that holds all values for the given cell range. + Json representation of a GoogleSheets ValueRange object that holds all values for the given cell range. Or Json array of values for a single row/column in the range when 'splitResults' mode is enabled. mediaType: application/json json-struct: diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml index 019dd8187..57a8937c9 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml @@ -36,7 +36,7 @@ spec: Service account key is the basic method for authenticating to the Google Pubsub and Google Storage. To use this Kamelet you'll need to set up Events notification for your Google Storage Bucket. - + You must encode the `serviceAccountKey` property before you pass it as a parameter. required: - projectId @@ -63,7 +63,6 @@ spec: title: Synchronous Pull description: Specifies to synchronously pull batches of messages. type: boolean - x-descriptors: default: false maxMessagesPerPoll: title: Max Messages Per Poll @@ -85,8 +84,7 @@ spec: If getObject is enabled, then the file created in the Bucket will be get and returned as body, if not only the event will be returned as body. type: boolean - x-descriptors: - default: false + default: false dependencies: - "camel:kamelet" - "camel:google-pubsub" diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-storage-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-storage-sink.kamelet.yaml index df0ef319e..cc7e6d13a 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/google-storage-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/google-storage-sink.kamelet.yaml @@ -32,9 +32,9 @@ spec: title: "Google Storage Sink" description: |- Upload objects to Google Cloud Storage. - + If you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter. - + In the header, you can set the `file` / `ce-file` property to specify the filename to upload. If you do set property in the header, the Kamelet uses the exchange ID as filename. required: - bucketNameOrArn @@ -54,7 +54,6 @@ spec: title: Autocreate Bucket description: Specifies to automatically create the Google Cloud Storage bucket. type: boolean - x-descriptors: default: false dependencies: - "camel:core" diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml index 9759d8d67..51d11696e 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml @@ -52,13 +52,11 @@ spec: title: Auto-delete Objects description: Specifies to delete objects after consuming them. type: boolean - x-descriptors: default: true autoCreateBucket: title: Autocreate Bucket description: Specifies to automatically create the Google Cloud Storage bucket. type: boolean - x-descriptors: default: false dataTypes: out: @@ -80,7 +78,7 @@ spec: CamelGoogleCloudStorageETag: title: ETag Value description: |- - The hex encoded 128-bit MD5 digest of the associated object according to RFC 1864. + The hex encoded 128-bit MD5 digest of the associated object according to RFC 1864. Is the generation number of the object for which you are retrieving information. type: string types: diff --git a/library/camel-kamelets/src/main/resources/kamelets/http-secured-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/http-secured-sink.kamelet.yaml index 124d78830..a244d7e66 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/http-secured-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/http-secured-sink.kamelet.yaml @@ -56,7 +56,6 @@ spec: title: Authentication Preemptive description: If this option is true, camel-http sends preemptive basic authentication to the server. type: boolean - x-descriptors: default: false authUsername: title: Authentication Username @@ -86,7 +85,7 @@ spec: constant: "{{method}}" - to: uri: "{{url}}" - parameters: + parameters: authMethod: "{{authMethod}}" authUsername: "{{authUsername}}" authPassword: "{{authPassword}}" diff --git a/library/camel-kamelets/src/main/resources/kamelets/infinispan-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/infinispan-sink.kamelet.yaml index 8580b05ab..34796010c 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/infinispan-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/infinispan-sink.kamelet.yaml @@ -58,7 +58,6 @@ spec: description: If the Infinispan instance is secured or not type: boolean default: true - x-descriptors: username: title: Username description: Username to connect to Infinispan. diff --git a/library/camel-kamelets/src/main/resources/kamelets/infinispan-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/infinispan-source.kamelet.yaml index 23dbde372..0d6ef47bb 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/infinispan-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/infinispan-source.kamelet.yaml @@ -52,7 +52,6 @@ spec: description: If the Infinispan instance is secured or not type: boolean default: true - x-descriptors: username: title: Username description: Username to connect to Infinispan. diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml index 1a75832c4..d3500224a 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml @@ -58,13 +58,11 @@ spec: description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer type: boolean default: true - x-descriptors: allowManualCommit: title: Allow Manual Commit description: Whether to allow doing manual commits type: boolean default: false - x-descriptors: pollOnError: title: Poll On Error Behavior description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP @@ -89,7 +87,6 @@ spec: title: Automatically Deserialize Headers description: When enabled the Kamelet source will deserialize all message headers to String representation. type: boolean - x-descriptors: default: true valueDeserializer: title: Value Deserializer diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-azure-schema-registry-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-azure-schema-registry-source.kamelet.yaml index 5924ccff6..8bbed6f19 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/kafka-azure-schema-registry-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-azure-schema-registry-source.kamelet.yaml @@ -78,13 +78,11 @@ spec: description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer type: boolean default: true - x-descriptors: allowManualCommit: title: Allow Manual Commit description: Whether to allow doing manual commits type: boolean default: false - x-descriptors: pollOnError: title: Poll On Error Behavior description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP @@ -109,7 +107,6 @@ spec: title: Automatically Deserialize Headers description: When enabled the Kamelet source will deserialize all message headers to String representation. type: boolean - x-descriptors: default: true valueDeserializer: title: Value Deserializer @@ -127,7 +124,7 @@ spec: title: Specific Avro Value Type description: The Specific Type Avro will have to deal with type: string - example: "com.example.Order" + example: "com.example.Order" dependencies: - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.0-SNAPSHOT" - "camel:kafka" diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-scram-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-scram-source.kamelet.yaml index 4489833d6..55b331dfd 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/kafka-scram-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-scram-source.kamelet.yaml @@ -88,13 +88,11 @@ spec: description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer type: boolean default: true - x-descriptors: allowManualCommit: title: Allow Manual Commit description: Whether to allow doing manual commits type: boolean default: false - x-descriptors: pollOnError: title: Poll On Error Behavior description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP @@ -119,7 +117,6 @@ spec: title: Automatically Deserialize Headers description: When enabled the Kamelet source will deserialize all message headers to String representation. type: boolean - x-descriptors: default: true dependencies: - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.0-SNAPSHOT" diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml index 2c75dc2e5..cf093df5e 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml @@ -88,13 +88,11 @@ spec: description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer type: boolean default: true - x-descriptors: allowManualCommit: title: Allow Manual Commit description: Whether to allow doing manual commits type: boolean default: false - x-descriptors: pollOnError: title: Poll On Error Behavior description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP @@ -119,7 +117,6 @@ spec: title: Automatically Deserialize Headers description: When enabled the Kamelet source will deserialize all message headers to String representation. type: boolean - x-descriptors: default: true dependencies: - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.0-SNAPSHOT" diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml index 5ffd2aa79..d17d72790 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml @@ -68,13 +68,11 @@ spec: description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer type: boolean default: true - x-descriptors: allowManualCommit: title: Allow Manual Commit description: Whether to allow doing manual commits type: boolean default: false - x-descriptors: pollOnError: title: Poll On Error Behavior description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP @@ -99,7 +97,6 @@ spec: title: Automatically Deserialize Headers description: When enabled the Kamelet source will deserialize all message headers to String representation. type: boolean - x-descriptors: default: true sslKeyPassword: description: The password of the private key in the key store file. @@ -165,7 +162,7 @@ spec: sslProtocol: '{{sslProtocol}}' sslEnabledProtocols: '{{sslEnabledProtocols}}' sslEndpointAlgorithm: '{{sslEndpointAlgorithm}}' - saslMechanism: '{{saslMechanism}}' + saslMechanism: '{{saslMechanism}}' groupId: '{{?consumerGroup}}' autoOffsetReset: '{{autoOffsetReset}}' pollOnError: '{{pollOnError}}' diff --git a/library/camel-kamelets/src/main/resources/kamelets/minio-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/minio-sink.kamelet.yaml index 83ac146a4..6a16ce84b 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/minio-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/minio-sink.kamelet.yaml @@ -68,9 +68,8 @@ spec: example: http://localhost:9000 autoCreateBucket: title: Autocreate Bucket - description: Specify to automatically create the MinIO bucket. + description: Specify to automatically create the MinIO bucket. type: boolean - x-descriptors: default: false keyName: title: Key Name @@ -89,7 +88,7 @@ spec: when: - simple: '${propertiesExist:!keyName}' steps: - - choice: + - choice: when: - simple: "${header[file]}" steps: diff --git a/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml index 3405cc78a..5405bd464 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml @@ -47,7 +47,6 @@ spec: title: Auto-delete Objects description: Delete objects after consuming them. type: boolean - x-descriptors: default: true accessKey: title: Access Key @@ -70,9 +69,8 @@ spec: example: http://localhost:9000 autoCreateBucket: title: Autocreate Bucket - description: Specifies to automatically create the MinIO bucket. + description: Specifies to automatically create the MinIO bucket. type: boolean - x-descriptors: default: false dependencies: - "camel:minio" diff --git a/library/camel-kamelets/src/main/resources/kamelets/mongodb-changes-stream-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/mongodb-changes-stream-source.kamelet.yaml index 625b016e9..4e355660a 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/mongodb-changes-stream-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/mongodb-changes-stream-source.kamelet.yaml @@ -64,13 +64,11 @@ spec: description: whether to enable ssl connection to mongodb type: boolean default: true - x-descriptors: sslValidationEnabled: title: Enables Ssl Certificates Validation and Host name checks. description: IMPORTANT this should be disabled only in test environment since can pose security issues. type: boolean default: true - x-descriptors: database: title: MongoDB Database description: Sets the name of the MongoDB database to target. 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 2dae3fb1e..110866112 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 @@ -56,7 +56,7 @@ spec: type: string format: password x-descriptors: - - urn:camel:group:credentials + - urn:camel:group:credentials username: title: MongoDB Username description: A username for accessing MongoDB. @@ -68,13 +68,11 @@ spec: description: whether to enable ssl connection to mongodb type: boolean default: true - x-descriptors: sslValidationEnabled: title: Enables Ssl Certificates Validation and Host name checks. description: IMPORTANT this should be disabled only in test environment since can pose security issues. type: boolean default: true - x-descriptors: database: title: MongoDB Database description: The name of the MongoDB database. @@ -89,7 +87,6 @@ spec: description: Create a collection during initialization if it doesn't exist. type: boolean default: false - x-descriptors: types: in: mediaType: application/json @@ -126,7 +123,7 @@ spec: - setHeader: name: CamelMongoDbUpsert simple: "${header[ce-dbupsert]}" - - to: + - to: uri: "{{local-mongodb}}:test" parameters: createCollection: "{{?createCollection}}" diff --git a/library/camel-kamelets/src/main/resources/kamelets/mongodb-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/mongodb-source.kamelet.yaml index 8ca3c088a..316dd438c 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/mongodb-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/mongodb-source.kamelet.yaml @@ -70,13 +70,11 @@ spec: description: whether to enable ssl connection to mongodb type: boolean default: true - x-descriptors: sslValidationEnabled: title: Enables Ssl Certificates Validation and Host name checks. description: IMPORTANT this should be disabled only in test environment since can pose security issues. type: boolean default: true - x-descriptors: database: title: MongoDB Database description: The name of the MongoDB database. @@ -85,11 +83,10 @@ spec: title: MongoDB Persistent Tail Tracking description: Specifies to enable persistent tail tracking, which is a mechanism to keep track of the last consumed data across system restarts. The next time the system is up, the endpoint recovers the cursor from the point where it last stopped consuimg data. This option will only work on capped collections. type: boolean - x-descriptors: default: false tailTrackIncreasingField: title: MongoDB Tail Track Increasing Field - description: The correlation field in the incoming data which is of increasing nature and is used to position the tailing cursor every time it is generated. + description: The correlation field in the incoming data which is of increasing nature and is used to position the tailing cursor every time it is generated. type: string dependencies: - "camel:kamelet" diff --git a/library/camel-kamelets/src/main/resources/kamelets/opensearch-index-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/opensearch-index-sink.kamelet.yaml index 03327870e..9b8087ae6 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/opensearch-index-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/opensearch-index-sink.kamelet.yaml @@ -33,16 +33,16 @@ spec: description: |- Stores JSON-formatted data into Opensearch. - The input data must be formatted in JSON according to the requirements of the index. + The input data must be formatted in JSON according to the requirements of the index. If you specify the `certificate` property, you must base64 encode it before you pass it as a parameter. - + In the header, you can set the following properties: - `indexId` / `ce-indexid`: The index ID for OpenSearch. - + - `indexName` / `ce-indexname`: The index name for OpenSearch. - + If you do not set a property in the header, the Kamelet uses the exchange ID for the index setting. required: - clusterName @@ -67,7 +67,6 @@ spec: description: Specifies to connect by using SSL. type: boolean default: false - x-descriptors: hostAddresses: title: Host Addresses description: A comma-separated list of remote transport addresses in `ip:port format`. @@ -84,7 +83,7 @@ spec: type: string example: data certificate: - title: Certificate + title: Certificate description: The Certificate for accessing the OpenSearch cluster. You must encode this value in base64. type: string types: diff --git a/library/camel-kamelets/src/main/resources/kamelets/opensearch-search-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/opensearch-search-source.kamelet.yaml index c88480017..bfd703dbb 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/opensearch-search-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/opensearch-search-source.kamelet.yaml @@ -32,7 +32,7 @@ spec: title: "OpenSearch Search Source" description: |- Search data on OpenSearch - + The `query` parameter must be formatted in JSON. If you specify the `certificate` property, you must base64 encode it before you pass it as a parameter. @@ -70,7 +70,6 @@ spec: description: Do we want to connect using SSL? type: boolean default: false - x-descriptors: hostAddresses: title: Host Addresses description: Comma separated list with ip:port formatted remote transport addresses to use. @@ -84,7 +83,7 @@ spec: description: The name of the cluster. type: string certificate: - title: Certificate + title: Certificate description: The Certificate for accessing the Opensearch cluster. You must encode this value in base64. type: string types: diff --git a/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml index a12acaa93..f2577803f 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/salesforce-source.kamelet.yaml @@ -26,7 +26,7 @@ metadata: camel.apache.org/kamelet.group: "Salesforce" camel.apache.org/kamelet.namespace: "Salesforce" labels: - camel.apache.org/kamelet.type: "source" + camel.apache.org/kamelet.type: "source" spec: definition: title: "Salesforce Source" @@ -92,25 +92,21 @@ spec: title: Notify Operation Create description: Notify for create operation. type: boolean - x-descriptors: default: true notifyForOperationUpdate: title: Notify Operation Update description: Notify for update operation. type: boolean - x-descriptors: default: false notifyForOperationDelete: title: Notify Operation Delete description: Notify for delete operation. type: boolean - x-descriptors: default: false notifyForOperationUndelete: title: Notify Operation Undelete description: Notify for undelete operation. type: boolean - x-descriptors: default: false operation: title: Operation diff --git a/library/camel-kamelets/src/main/resources/kamelets/scp-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/scp-sink.kamelet.yaml index ccb355eac..96a045de3 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/scp-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/scp-sink.kamelet.yaml @@ -75,7 +75,6 @@ spec: description: If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts. type: boolean default: true - x-descriptors: dependencies: - "camel:core" - "camel:jsch" @@ -92,4 +91,4 @@ spec: privateKeyFile: "{{?privateKeyFile}}" privateKeyPassphrase: "{{?privateKeyPassphrase}}" strictHostKeyChecking: "{{?strictHostKeyChecking}}" - useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" + useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" diff --git a/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml index a1a91c756..f9b0667ab 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/sftp-sink.kamelet.yaml @@ -73,7 +73,6 @@ spec: description: Specifies to use passive mode connection. type: boolean default: false - x-descriptors: fileExist: title: File Existence description: How to behave in case of file already existent. @@ -85,7 +84,6 @@ spec: description: Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false). type: boolean default: false - x-descriptors: privateKeyFile: title: Private Key File description: Set the private key file so that the SFTP endpoint can do private key verification. @@ -109,13 +107,11 @@ spec: description: If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts. type: boolean default: true - x-descriptors: autoCreate: title: Autocreate Missing Directories description: Automatically create the directory the files should be written to. type: boolean default: true - x-descriptors: dependencies: - "camel:ftp" - "camel:core" @@ -145,7 +141,7 @@ spec: privateKeyPassphrase: "{{?privateKeyPassphrase}}" privateKeyUri: "{{?privateKeyUri}}" strictHostKeyChecking: "{{?strictHostKeyChecking}}" - useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" + useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" passiveMode: "{{passiveMode}}" fileExist: "{{fileExist}}" binary: "{{binary}}" diff --git a/library/camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml index 5e2c13d36..d5f7eab72 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/sftp-source.kamelet.yaml @@ -69,31 +69,26 @@ spec: description: Sets the passive mode connection. type: boolean default: false - x-descriptors: recursive: title: Recursive description: If a directory, look for files in all sub-directories as well. type: boolean default: false - x-descriptors: idempotent: title: Idempotency description: Skip already-processed files. type: boolean default: true - x-descriptors: ignoreFileNotFoundOrPermissionError: title: Ignore File Not Found Or Permission Error description: Whether to ignore when (trying to list files in directories or when downloading a file), which does not exist or due to permission error. By default when a directory or file does not exists or insufficient permission, then an exception is thrown. Setting this option to true allows to ignore that instead. type: boolean default: false - x-descriptors: binary: title: Binary description: Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false). type: boolean default: false - x-descriptors: privateKeyFile: title: Private Key File description: Set the private key file so that the SFTP endpoint can do private key verification. @@ -117,19 +112,16 @@ spec: description: If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts. type: boolean default: true - x-descriptors: autoCreate: title: Autocreate Missing Directories description: Automatically create starting directory. type: boolean default: true - x-descriptors: delete: title: Delete description: If true, the file will be deleted after it is processed successfully. type: boolean default: false - x-descriptors: dependencies: - "camel:ftp" - "camel:core" @@ -144,7 +136,7 @@ spec: privateKeyPassphrase: "{{?privateKeyPassphrase}}" privateKeyUri: "{{?privateKeyUri}}" strictHostKeyChecking: "{{?strictHostKeyChecking}}" - useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" + useUserKnownHostsFile: "{{?useUserKnownHostsFile}}" passiveMode: "{{passiveMode}}" recursive: "{{recursive}}" idempotent: "{{idempotent}}" diff --git a/library/camel-kamelets/src/main/resources/kamelets/splunk-hec-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/splunk-hec-sink.kamelet.yaml index b2c4e9458..0354bff4e 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/splunk-hec-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/splunk-hec-sink.kamelet.yaml @@ -58,13 +58,11 @@ spec: title: Body Only description: Send to Splunk only data contained in the body. type: boolean - x-descriptors: default: false headersOnly: title: Headers Only description: Send to Splunk only data contained in the headers. type: boolean - x-descriptors: default: false index: title: Index @@ -82,13 +80,11 @@ spec: title: Skip TLS Verification description: Skip TLS verification. type: boolean - x-descriptors: default: false https: title: Secure description: Use a secure HTTPS connection. type: boolean - x-descriptors: default: true time: title: Time diff --git a/library/camel-kamelets/src/main/resources/kamelets/sqlserver-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/sqlserver-sink.kamelet.yaml index fb661e215..179e0bd40 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/sqlserver-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/sqlserver-sink.kamelet.yaml @@ -88,13 +88,11 @@ spec: title: Encrypt Connection description: Encrypt the connection to SQL Server. type: boolean - x-descriptors: default: false trustServerCertificate: title: Trust Server Certificate description: Trust Server Certificate type: boolean - x-descriptors: default: true types: in: @@ -117,9 +115,9 @@ spec: uri: "kamelet:source" steps: - unmarshal: - json: + json: library: Jackson - - to: + - to: uri: "sql:{{query}}" parameters: dataSource: "#bean:{{dsBean}}" diff --git a/library/camel-kamelets/src/main/resources/kamelets/sqlserver-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/sqlserver-source.kamelet.yaml index 78bebd0b2..3df26bb1f 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/sqlserver-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/sqlserver-source.kamelet.yaml @@ -85,13 +85,11 @@ spec: title: Encrypt Connection description: Encrypt the connection to SQL Server. type: boolean - x-descriptors: default: false trustServerCertificate: title: Trust Server Certificate description: Trust Server Certificate type: boolean - x-descriptors: default: true delay: title: Delay @@ -123,6 +121,6 @@ spec: delay: "{{delay}}" steps: - marshal: - json: + json: library: Jackson - to: "kamelet:sink"