This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push: new 88b4238 Externalize the Kamelet binding template in the Kafka Source (#456) 88b4238 is described below commit 88b4238bbc621876fbd92452d047cd41de39900a Author: Otavio Rodolfo Piske <orpi...@users.noreply.github.com> AuthorDate: Wed Aug 4 08:39:29 2021 +0200 Externalize the Kamelet binding template in the Kafka Source (#456) * Externalize the Kamelet binding template in the Kafka Source * Refreshed the documentation using the externalized templates --- docs/modules/ROOT/kamelet-binding-sink-source.tmpl | 43 +++++++ docs/modules/ROOT/kamelet.adoc.tmpl | 16 ++- .../ROOT/pages/avro-deserialize-action.adoc | 1 - docs/modules/ROOT/pages/avro-serialize-action.adoc | 1 - docs/modules/ROOT/pages/aws-cloudwatch-sink.adoc | 5 +- .../modules/ROOT/pages/aws-ddb-streams-source.adoc | 5 +- docs/modules/ROOT/pages/aws-ec2-sink.adoc | 5 +- .../ROOT/pages/aws-kinesis-firehose-sink.adoc | 5 +- docs/modules/ROOT/pages/aws-kinesis-sink.adoc | 5 +- docs/modules/ROOT/pages/aws-kinesis-source.adoc | 5 +- docs/modules/ROOT/pages/aws-lambda-sink.adoc | 5 +- docs/modules/ROOT/pages/aws-s3-sink.adoc | 5 +- docs/modules/ROOT/pages/aws-s3-source.adoc | 5 +- .../ROOT/pages/aws-s3-streaming-upload-sink.adoc | 5 +- docs/modules/ROOT/pages/aws-sns-fifo-sink.adoc | 5 +- docs/modules/ROOT/pages/aws-sns-sink.adoc | 5 +- docs/modules/ROOT/pages/aws-sqs-batch-sink.adoc | 5 +- docs/modules/ROOT/pages/aws-sqs-fifo-sink.adoc | 5 +- docs/modules/ROOT/pages/aws-sqs-sink.adoc | 5 +- docs/modules/ROOT/pages/aws-sqs-source.adoc | 5 +- docs/modules/ROOT/pages/aws-translate-action.adoc | 1 - docs/modules/ROOT/pages/azure-cosmosdb-source.adoc | 5 +- docs/modules/ROOT/pages/azure-eventhubs-sink.adoc | 5 +- .../modules/ROOT/pages/azure-eventhubs-source.adoc | 5 +- .../ROOT/pages/azure-storage-blob-sink.adoc | 5 +- .../ROOT/pages/azure-storage-blob-source.adoc | 5 +- .../ROOT/pages/azure-storage-queue-sink.adoc | 5 +- .../ROOT/pages/azure-storage-queue-source.adoc | 5 +- docs/modules/ROOT/pages/bitcoin-source.adoc | 5 +- docs/modules/ROOT/pages/caffeine-action.adoc | 1 - docs/modules/ROOT/pages/cassandra-sink.adoc | 5 +- docs/modules/ROOT/pages/cassandra-source.adoc | 5 +- docs/modules/ROOT/pages/chuck-norris-source.adoc | 5 +- docs/modules/ROOT/pages/chunk-template-action.adoc | 1 - docs/modules/ROOT/pages/cron-source.adoc | 5 +- docs/modules/ROOT/pages/dns-dig-action.adoc | 1 - docs/modules/ROOT/pages/dns-ip-action.adoc | 1 - docs/modules/ROOT/pages/dns-lookup-action.adoc | 1 - docs/modules/ROOT/pages/dropbox-sink.adoc | 5 +- docs/modules/ROOT/pages/dropbox-source.adoc | 5 +- docs/modules/ROOT/pages/earthquake-source.adoc | 5 +- .../ROOT/pages/elasticsearch-index-sink.adoc | 5 +- .../ROOT/pages/elasticsearch-search-source.adoc | 5 +- docs/modules/ROOT/pages/exec-sink.adoc | 5 +- docs/modules/ROOT/pages/extract-field-action.adoc | 1 - docs/modules/ROOT/pages/fhir-source.adoc | 5 +- docs/modules/ROOT/pages/file-watch-source.adoc | 5 +- .../ROOT/pages/freemarker-template-action.adoc | 1 - docs/modules/ROOT/pages/ftp-sink.adoc | 5 +- docs/modules/ROOT/pages/ftp-source.adoc | 5 +- docs/modules/ROOT/pages/ftps-sink.adoc | 5 +- docs/modules/ROOT/pages/ftps-source.adoc | 5 +- docs/modules/ROOT/pages/github-source.adoc | 5 +- .../modules/ROOT/pages/google-calendar-source.adoc | 5 +- docs/modules/ROOT/pages/google-mail-source.adoc | 5 +- docs/modules/ROOT/pages/google-sheets-source.adoc | 5 +- .../ROOT/pages/has-header-filter-action.adoc | 1 - .../ROOT/pages/header-matches-filter-action.adoc | 1 - docs/modules/ROOT/pages/hoist-field-action.adoc | 1 - docs/modules/ROOT/pages/http-secured-sink.adoc | 5 +- docs/modules/ROOT/pages/http-secured-source.adoc | 5 +- docs/modules/ROOT/pages/http-sink.adoc | 5 +- docs/modules/ROOT/pages/http-source.adoc | 5 +- docs/modules/ROOT/pages/infinispan-source.adoc | 5 +- docs/modules/ROOT/pages/insert-field-action.adoc | 1 - docs/modules/ROOT/pages/insert-header-action.adoc | 1 - .../ROOT/pages/is-tombstone-filter-action.adoc | 1 - docs/modules/ROOT/pages/jira-source.adoc | 5 +- docs/modules/ROOT/pages/jms-amqp-10-sink.adoc | 5 +- docs/modules/ROOT/pages/jms-amqp-10-source.adoc | 5 +- .../ROOT/pages/jms-apache-artemis-sink.adoc | 5 +- .../ROOT/pages/jms-apache-artemis-source.adoc | 5 +- .../ROOT/pages/json-deserialize-action.adoc | 1 - .../ROOT/pages/json-schema-validator-action.adoc | 1 - docs/modules/ROOT/pages/json-serialize-action.adoc | 1 - docs/modules/ROOT/pages/jsonata-action.adoc | 1 - .../ROOT/pages/kafka-manual-commit-action.adoc | 1 - .../modules/ROOT/pages/kafka-not-secured-sink.adoc | 5 +- .../ROOT/pages/kafka-not-secured-source.adoc | 5 +- docs/modules/ROOT/pages/kafka-sink.adoc | 5 +- docs/modules/ROOT/pages/kafka-source.adoc | 5 +- docs/modules/ROOT/pages/log-sink.adoc | 5 +- docs/modules/ROOT/pages/mail-imap-source.adoc | 5 +- docs/modules/ROOT/pages/mariadb-sink.adoc | 5 +- docs/modules/ROOT/pages/mariadb-source.adoc | 5 +- docs/modules/ROOT/pages/mask-field-action.adoc | 1 - .../pages/message-timestamp-router-action.adoc | 1 - docs/modules/ROOT/pages/minio-sink.adoc | 5 +- docs/modules/ROOT/pages/minio-source.adoc | 5 +- docs/modules/ROOT/pages/mongodb-sink.adoc | 5 +- docs/modules/ROOT/pages/mongodb-source.adoc | 5 +- docs/modules/ROOT/pages/mqtt-source.adoc | 5 +- .../ROOT/pages/mustache-template-action.adoc | 1 - docs/modules/ROOT/pages/mvel-template-action.adoc | 1 - docs/modules/ROOT/pages/mysql-sink.adoc | 5 +- docs/modules/ROOT/pages/mysql-source.adoc | 5 +- docs/modules/ROOT/pages/nats-sink.adoc | 5 +- docs/modules/ROOT/pages/nats-source.adoc | 5 +- .../ROOT/pages/openai-classification-action.adoc | 1 - .../ROOT/pages/openai-completion-action.adoc | 1 - docs/modules/ROOT/pages/pdf-action.adoc | 1 - docs/modules/ROOT/pages/postgresql-sink.adoc | 5 +- docs/modules/ROOT/pages/postgresql-source.adoc | 5 +- .../ROOT/pages/predicate-filter-action.adoc | 1 - .../ROOT/pages/protobuf-deserialize-action.adoc | 1 - .../ROOT/pages/protobuf-serialize-action.adoc | 1 - docs/modules/ROOT/pages/rabbitmq-source.adoc | 5 +- docs/modules/ROOT/pages/regex-router-action.adoc | 1 - docs/modules/ROOT/pages/replace-field-action.adoc | 1 - docs/modules/ROOT/pages/salesforce-source.adoc | 5 +- docs/modules/ROOT/pages/sftp-sink.adoc | 5 +- docs/modules/ROOT/pages/sftp-source.adoc | 5 +- docs/modules/ROOT/pages/slack-sink.adoc | 5 +- docs/modules/ROOT/pages/slack-source.adoc | 5 +- docs/modules/ROOT/pages/sqlserver-sink.adoc | 5 +- docs/modules/ROOT/pages/sqlserver-source.adoc | 5 +- docs/modules/ROOT/pages/ssh-source.adoc | 5 +- .../modules/ROOT/pages/string-template-action.adoc | 1 - docs/modules/ROOT/pages/telegram-sink.adoc | 5 +- docs/modules/ROOT/pages/telegram-source.adoc | 5 +- docs/modules/ROOT/pages/timer-source.adoc | 5 +- .../ROOT/pages/timestamp-router-action.adoc | 1 - .../pages/topic-name-matches-filter-action.adoc | 1 - .../ROOT/pages/twitter-directmessage-source.adoc | 5 +- docs/modules/ROOT/pages/twitter-search-source.adoc | 5 +- .../ROOT/pages/twitter-timeline-source.adoc | 5 +- docs/modules/ROOT/pages/value-to-key-action.adoc | 1 - .../ROOT/pages/velocity-template-action.adoc | 1 - docs/modules/ROOT/pages/webhook-source.adoc | 5 +- docs/modules/ROOT/properties-list.tmpl | 1 + script/generator/generator.go | 133 ++++++++------------- 131 files changed, 288 insertions(+), 388 deletions(-) diff --git a/docs/modules/ROOT/kamelet-binding-sink-source.tmpl b/docs/modules/ROOT/kamelet-binding-sink-source.tmpl new file mode 100644 index 0000000..72a052a --- /dev/null +++ b/docs/modules/ROOT/kamelet-binding-sink-source.tmpl @@ -0,0 +1,43 @@ +apiVersion: camel.apache.org/v1alpha1 +kind: KameletBinding +metadata: + name: {{ .Kamelet.ObjectMeta.Name }}-binding +spec: + {{ if eq (index .Kamelet.ObjectMeta.Labels "camel.apache.org/kamelet.type") "sink" }}source: + ref: + kind: {{ .GetVal "RefKind" }} + apiVersion: {{ .GetVal "RefApiVersion" }} + name: {{ .GetVal "RefName" }} + sink: + ref: + kind: Kamelet + apiVersion: camel.apache.org/v1alpha1 + name: {{ .Kamelet.ObjectMeta.Name }}{{ template "properties-list.tmpl" . }} + {{ else if eq (index .Kamelet.ObjectMeta.Labels "camel.apache.org/kamelet.type") "source" }}source: + ref: + kind: Kamelet + apiVersion: camel.apache.org/v1alpha1 + name: {{ .Kamelet.ObjectMeta.Name }}{{ template "properties-list.tmpl" . }} + sink: + ref: + kind: {{ .GetVal "RefKind" }} + apiVersion: {{ .GetVal "RefApiVersion" }} + name: {{ .GetVal "RefName" }} + {{ else if eq (index .Kamelet.ObjectMeta.Labels "camel.apache.org/kamelet.type") "action" }}source: + ref: + kind: Kamelet + apiVersion: camel.apache.org/v1alpha1 + name: timer-source + properties: + message: "Hello" + steps: + - ref: + kind: Kamelet + apiVersion: camel.apache.org/v1alpha1 + name: {{ .Kamelet.ObjectMeta.Name }}{{ template "properties-list.tmpl" . }} + sink: + ref: + kind: {{ .GetVal "RefKind" }} + apiVersion: {{ .GetVal "RefApiVersion" }} + name: {{ .GetVal "RefName" }} +{{ end }} \ No newline at end of file diff --git a/docs/modules/ROOT/kamelet.adoc.tmpl b/docs/modules/ROOT/kamelet.adoc.tmpl index 260e46b..00c3710 100644 --- a/docs/modules/ROOT/kamelet.adoc.tmpl +++ b/docs/modules/ROOT/kamelet.adoc.tmpl @@ -26,7 +26,12 @@ The `{{ .Kamelet.ObjectMeta.Name }}` Kamelet can be used as intermediate step in {{ else -}} The `{{ .Kamelet.ObjectMeta.Name }}` Kamelet can be used as Knative {{ index .Kamelet.ObjectMeta.Labels "camel.apache.org/kamelet.type" }} by binding it to a Knative object. {{ end }} -{{ .ExampleBinding "messaging.knative.dev/v1" "InMemoryChannel" "mychannel" }} +{{- .SetVal "RefApiVersion" "messaging.knative.dev/v1" -}}{{- .SetVal "RefKind" "InMemoryChannel" -}}{{- .SetVal "RefName" "mychannel" }} +.{{ .Kamelet.ObjectMeta.Name }}-binding.yaml +[source,yaml] +---- +{{ template "kamelet-binding-sink-source.tmpl" . }} +---- Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `{{ .Kamelet.ObjectMeta.Name }}-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -55,8 +60,13 @@ This will create the KameletBinding under the hood and apply it to the current n The `{{ .Kamelet.ObjectMeta.Name }}` Kamelet can be used as intermediate step in a Kafka binding. {{ else -}} The `{{ .Kamelet.ObjectMeta.Name }}` Kamelet can be used as Kafka {{ index .Kamelet.ObjectMeta.Labels "camel.apache.org/kamelet.type" }} by binding it to a Kafka topic. -{{ end }} -{{ .ExampleBinding "kafka.strimzi.io/v1beta1" "KafkaTopic" "my-topic" }} +{{ end }} {{- .SetVal "RefApiVersion" "kafka.strimzi.io/v1beta1" -}}{{- .SetVal "RefKind" "KafkaTopic" -}}{{- .SetVal "RefName" "my-topic" }} +.{{ .Kamelet.ObjectMeta.Name }}-binding.yaml +[source,yaml] +---- +{{ template "kamelet-binding-sink-source.tmpl" . }} +---- + Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. Make also sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. diff --git a/docs/modules/ROOT/pages/avro-deserialize-action.adoc b/docs/modules/ROOT/pages/avro-deserialize-action.adoc index 5ed8b76..d87e85c 100644 --- a/docs/modules/ROOT/pages/avro-deserialize-action.adoc +++ b/docs/modules/ROOT/pages/avro-deserialize-action.adoc @@ -56,7 +56,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `avro-deserialize-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/avro-serialize-action.adoc b/docs/modules/ROOT/pages/avro-serialize-action.adoc index 8f56cad..c0c99bb 100644 --- a/docs/modules/ROOT/pages/avro-serialize-action.adoc +++ b/docs/modules/ROOT/pages/avro-serialize-action.adoc @@ -56,7 +56,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `avro-serialize-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/aws-cloudwatch-sink.adoc b/docs/modules/ROOT/pages/aws-cloudwatch-sink.adoc index badfdc7..74c3bad 100644 --- a/docs/modules/ROOT/pages/aws-cloudwatch-sink.adoc +++ b/docs/modules/ROOT/pages/aws-cloudwatch-sink.adoc @@ -61,9 +61,8 @@ spec: cw_namespace: "The Cloud Watch Namespace" region: "eu-west-1" secretKey: "The Secret Key" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-cloudwatch-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -113,7 +112,7 @@ spec: cw_namespace: "The Cloud Watch Namespace" region: "eu-west-1" secretKey: "The Secret Key" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-ddb-streams-source.adoc b/docs/modules/ROOT/pages/aws-ddb-streams-source.adoc index 3151ee2..25aac5f 100644 --- a/docs/modules/ROOT/pages/aws-ddb-streams-source.adoc +++ b/docs/modules/ROOT/pages/aws-ddb-streams-source.adoc @@ -54,9 +54,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-ddb-streams-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -106,7 +105,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-ec2-sink.adoc b/docs/modules/ROOT/pages/aws-ec2-sink.adoc index f27b2e8..cad3719 100644 --- a/docs/modules/ROOT/pages/aws-ec2-sink.adoc +++ b/docs/modules/ROOT/pages/aws-ec2-sink.adoc @@ -54,9 +54,8 @@ spec: accessKey: "The Access Key" region: "eu-west-1" secretKey: "The Secret Key" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-ec2-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -105,7 +104,7 @@ spec: accessKey: "The Access Key" region: "eu-west-1" secretKey: "The Secret Key" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-kinesis-firehose-sink.adoc b/docs/modules/ROOT/pages/aws-kinesis-firehose-sink.adoc index 3d76083..d5f9c36 100644 --- a/docs/modules/ROOT/pages/aws-kinesis-firehose-sink.adoc +++ b/docs/modules/ROOT/pages/aws-kinesis-firehose-sink.adoc @@ -52,9 +52,8 @@ spec: region: "eu-west-1" secretKey: "The Secret Key" streamName: "The Stream Name" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-kinesis-firehose-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -104,7 +103,7 @@ spec: region: "eu-west-1" secretKey: "The Secret Key" streamName: "The Stream Name" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-kinesis-sink.adoc b/docs/modules/ROOT/pages/aws-kinesis-sink.adoc index 9ec529c..81394cb 100644 --- a/docs/modules/ROOT/pages/aws-kinesis-sink.adoc +++ b/docs/modules/ROOT/pages/aws-kinesis-sink.adoc @@ -64,9 +64,8 @@ spec: region: "eu-west-1" secretKey: "The Secret Key" stream: "The Stream Name" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-kinesis-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -116,7 +115,7 @@ spec: region: "eu-west-1" secretKey: "The Secret Key" stream: "The Stream Name" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-kinesis-source.adoc b/docs/modules/ROOT/pages/aws-kinesis-source.adoc index f48bf19..ce9a9af 100644 --- a/docs/modules/ROOT/pages/aws-kinesis-source.adoc +++ b/docs/modules/ROOT/pages/aws-kinesis-source.adoc @@ -52,9 +52,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-kinesis-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -104,7 +103,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-lambda-sink.adoc b/docs/modules/ROOT/pages/aws-lambda-sink.adoc index 123458a..f64244d 100644 --- a/docs/modules/ROOT/pages/aws-lambda-sink.adoc +++ b/docs/modules/ROOT/pages/aws-lambda-sink.adoc @@ -52,9 +52,8 @@ spec: function: "The Function Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-lambda-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -104,7 +103,7 @@ spec: function: "The Function Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-s3-sink.adoc b/docs/modules/ROOT/pages/aws-s3-sink.adoc index 8495c5a..28ca60d 100644 --- a/docs/modules/ROOT/pages/aws-s3-sink.adoc +++ b/docs/modules/ROOT/pages/aws-s3-sink.adoc @@ -59,9 +59,8 @@ spec: bucketNameOrArn: "The Bucket Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-s3-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -111,7 +110,7 @@ spec: bucketNameOrArn: "The Bucket Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-s3-source.adoc b/docs/modules/ROOT/pages/aws-s3-source.adoc index d08ad61..1efa71e 100644 --- a/docs/modules/ROOT/pages/aws-s3-source.adoc +++ b/docs/modules/ROOT/pages/aws-s3-source.adoc @@ -57,9 +57,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-s3-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -109,7 +108,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-s3-streaming-upload-sink.adoc b/docs/modules/ROOT/pages/aws-s3-streaming-upload-sink.adoc index 6ac056a..319a9cf 100644 --- a/docs/modules/ROOT/pages/aws-s3-streaming-upload-sink.adoc +++ b/docs/modules/ROOT/pages/aws-s3-streaming-upload-sink.adoc @@ -60,9 +60,8 @@ spec: keyName: "The Key Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-s3-streaming-upload-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -113,7 +112,7 @@ spec: keyName: "The Key Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-sns-fifo-sink.adoc b/docs/modules/ROOT/pages/aws-sns-fifo-sink.adoc index ccec184..a95c692 100644 --- a/docs/modules/ROOT/pages/aws-sns-fifo-sink.adoc +++ b/docs/modules/ROOT/pages/aws-sns-fifo-sink.adoc @@ -54,9 +54,8 @@ spec: region: "eu-west-1" secretKey: "The Secret Key" topicNameOrArn: "The Topic Name" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-sns-fifo-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -106,7 +105,7 @@ spec: region: "eu-west-1" secretKey: "The Secret Key" topicNameOrArn: "The Topic Name" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-sns-sink.adoc b/docs/modules/ROOT/pages/aws-sns-sink.adoc index 48e3122..7975b87 100644 --- a/docs/modules/ROOT/pages/aws-sns-sink.adoc +++ b/docs/modules/ROOT/pages/aws-sns-sink.adoc @@ -53,9 +53,8 @@ spec: region: "eu-west-1" secretKey: "The Secret Key" topicNameOrArn: "The Topic Name" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-sns-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -105,7 +104,7 @@ spec: region: "eu-west-1" secretKey: "The Secret Key" topicNameOrArn: "The Topic Name" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-sqs-batch-sink.adoc b/docs/modules/ROOT/pages/aws-sqs-batch-sink.adoc index 53277e6..618f033 100644 --- a/docs/modules/ROOT/pages/aws-sqs-batch-sink.adoc +++ b/docs/modules/ROOT/pages/aws-sqs-batch-sink.adoc @@ -55,9 +55,8 @@ spec: queueNameOrArn: "The Queue Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-sqs-batch-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -108,7 +107,7 @@ spec: queueNameOrArn: "The Queue Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-sqs-fifo-sink.adoc b/docs/modules/ROOT/pages/aws-sqs-fifo-sink.adoc index 7a1bc33..7f93b3b 100644 --- a/docs/modules/ROOT/pages/aws-sqs-fifo-sink.adoc +++ b/docs/modules/ROOT/pages/aws-sqs-fifo-sink.adoc @@ -54,9 +54,8 @@ spec: queueNameOrArn: "The Queue Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-sqs-fifo-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -106,7 +105,7 @@ spec: queueNameOrArn: "The Queue Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-sqs-sink.adoc b/docs/modules/ROOT/pages/aws-sqs-sink.adoc index 4a3ed7b..398a05a 100644 --- a/docs/modules/ROOT/pages/aws-sqs-sink.adoc +++ b/docs/modules/ROOT/pages/aws-sqs-sink.adoc @@ -53,9 +53,8 @@ spec: queueNameOrArn: "The Queue Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-sqs-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -105,7 +104,7 @@ spec: queueNameOrArn: "The Queue Name" region: "eu-west-1" secretKey: "The Secret Key" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-sqs-source.adoc b/docs/modules/ROOT/pages/aws-sqs-source.adoc index 51177f5..2a65225 100644 --- a/docs/modules/ROOT/pages/aws-sqs-source.adoc +++ b/docs/modules/ROOT/pages/aws-sqs-source.adoc @@ -54,9 +54,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-sqs-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -106,7 +105,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/aws-translate-action.adoc b/docs/modules/ROOT/pages/aws-translate-action.adoc index 3abe5a8..57c54a5 100644 --- a/docs/modules/ROOT/pages/aws-translate-action.adoc +++ b/docs/modules/ROOT/pages/aws-translate-action.adoc @@ -63,7 +63,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-translate-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/azure-cosmosdb-source.adoc b/docs/modules/ROOT/pages/azure-cosmosdb-source.adoc index 8c2cc31..15cc2f6 100644 --- a/docs/modules/ROOT/pages/azure-cosmosdb-source.adoc +++ b/docs/modules/ROOT/pages/azure-cosmosdb-source.adoc @@ -56,9 +56,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `azure-cosmosdb-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -108,7 +107,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/azure-eventhubs-sink.adoc b/docs/modules/ROOT/pages/azure-eventhubs-sink.adoc index 6a330fe..5720587 100644 --- a/docs/modules/ROOT/pages/azure-eventhubs-sink.adoc +++ b/docs/modules/ROOT/pages/azure-eventhubs-sink.adoc @@ -58,9 +58,8 @@ spec: namespaceName: "The Eventhubs Namespace" sharedAccessKey: "The Share Access Key" sharedAccessName: "The Share Access Name" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `azure-eventhubs-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -110,7 +109,7 @@ spec: namespaceName: "The Eventhubs Namespace" sharedAccessKey: "The Share Access Key" sharedAccessName: "The Share Access Name" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/azure-eventhubs-source.adoc b/docs/modules/ROOT/pages/azure-eventhubs-source.adoc index cdcd706..1dc1a68 100644 --- a/docs/modules/ROOT/pages/azure-eventhubs-source.adoc +++ b/docs/modules/ROOT/pages/azure-eventhubs-source.adoc @@ -58,9 +58,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `azure-eventhubs-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -113,7 +112,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/azure-storage-blob-sink.adoc b/docs/modules/ROOT/pages/azure-storage-blob-sink.adoc index 2b5c76a..f0f26fd 100644 --- a/docs/modules/ROOT/pages/azure-storage-blob-sink.adoc +++ b/docs/modules/ROOT/pages/azure-storage-blob-sink.adoc @@ -57,9 +57,8 @@ spec: accessKey: "The Access Key" accountName: "The Account Name" containerName: "The Container Name" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `azure-storage-blob-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -108,7 +107,7 @@ spec: accessKey: "The Access Key" accountName: "The Account Name" containerName: "The Container Name" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/azure-storage-blob-source.adoc b/docs/modules/ROOT/pages/azure-storage-blob-source.adoc index 9a198d4..87ae2ba 100644 --- a/docs/modules/ROOT/pages/azure-storage-blob-source.adoc +++ b/docs/modules/ROOT/pages/azure-storage-blob-source.adoc @@ -51,9 +51,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `azure-storage-blob-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -102,7 +101,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/azure-storage-queue-sink.adoc b/docs/modules/ROOT/pages/azure-storage-queue-sink.adoc index 7def719..938195a 100644 --- a/docs/modules/ROOT/pages/azure-storage-queue-sink.adoc +++ b/docs/modules/ROOT/pages/azure-storage-queue-sink.adoc @@ -58,9 +58,8 @@ spec: accessKey: "The Access Key" accountName: "The Account Name" queueName: "The Queue Name" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `azure-storage-queue-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -109,7 +108,7 @@ spec: accessKey: "The Access Key" accountName: "The Account Name" queueName: "The Queue Name" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/azure-storage-queue-source.adoc b/docs/modules/ROOT/pages/azure-storage-queue-source.adoc index 28b9cd2..ad0940d 100644 --- a/docs/modules/ROOT/pages/azure-storage-queue-source.adoc +++ b/docs/modules/ROOT/pages/azure-storage-queue-source.adoc @@ -51,9 +51,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `azure-storage-queue-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -102,7 +101,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/bitcoin-source.adoc b/docs/modules/ROOT/pages/bitcoin-source.adoc index 3105925..67bac5c 100644 --- a/docs/modules/ROOT/pages/bitcoin-source.adoc +++ b/docs/modules/ROOT/pages/bitcoin-source.adoc @@ -44,9 +44,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `bitcoin-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -91,7 +90,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/caffeine-action.adoc b/docs/modules/ROOT/pages/caffeine-action.adoc index b60fa98..d0ca0b6 100644 --- a/docs/modules/ROOT/pages/caffeine-action.adoc +++ b/docs/modules/ROOT/pages/caffeine-action.adoc @@ -63,7 +63,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `caffeine-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/cassandra-sink.adoc b/docs/modules/ROOT/pages/cassandra-sink.adoc index c35b9e4..6718d3d 100644 --- a/docs/modules/ROOT/pages/cassandra-sink.adoc +++ b/docs/modules/ROOT/pages/cassandra-sink.adoc @@ -59,9 +59,8 @@ spec: password: "The Password" preparedStatement: "The Prepared Statement" username: "The Username" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `cassandra-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -113,7 +112,7 @@ spec: password: "The Password" preparedStatement: "The Prepared Statement" username: "The Username" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/cassandra-source.adoc b/docs/modules/ROOT/pages/cassandra-source.adoc index 0449488..213bdfe 100644 --- a/docs/modules/ROOT/pages/cassandra-source.adoc +++ b/docs/modules/ROOT/pages/cassandra-source.adoc @@ -58,9 +58,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `cassandra-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -112,7 +111,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/chuck-norris-source.adoc b/docs/modules/ROOT/pages/chuck-norris-source.adoc index 488ea9f..24082a0 100644 --- a/docs/modules/ROOT/pages/chuck-norris-source.adoc +++ b/docs/modules/ROOT/pages/chuck-norris-source.adoc @@ -44,9 +44,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `chuck-norris-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -91,7 +90,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/chunk-template-action.adoc b/docs/modules/ROOT/pages/chunk-template-action.adoc index c841ad1..8c23e53 100644 --- a/docs/modules/ROOT/pages/chunk-template-action.adoc +++ b/docs/modules/ROOT/pages/chunk-template-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `chunk-template-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/cron-source.adoc b/docs/modules/ROOT/pages/cron-source.adoc index d18520e..4d50776 100644 --- a/docs/modules/ROOT/pages/cron-source.adoc +++ b/docs/modules/ROOT/pages/cron-source.adoc @@ -48,9 +48,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `cron-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -98,7 +97,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/dns-dig-action.adoc b/docs/modules/ROOT/pages/dns-dig-action.adoc index 05d8d45..8eb227b 100644 --- a/docs/modules/ROOT/pages/dns-dig-action.adoc +++ b/docs/modules/ROOT/pages/dns-dig-action.adoc @@ -56,7 +56,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `dns-dig-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/dns-ip-action.adoc b/docs/modules/ROOT/pages/dns-ip-action.adoc index 3664024..cd44084 100644 --- a/docs/modules/ROOT/pages/dns-ip-action.adoc +++ b/docs/modules/ROOT/pages/dns-ip-action.adoc @@ -52,7 +52,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `dns-ip-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/dns-lookup-action.adoc b/docs/modules/ROOT/pages/dns-lookup-action.adoc index b55fbed..a71ecf0 100644 --- a/docs/modules/ROOT/pages/dns-lookup-action.adoc +++ b/docs/modules/ROOT/pages/dns-lookup-action.adoc @@ -52,7 +52,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `dns-lookup-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/dropbox-sink.adoc b/docs/modules/ROOT/pages/dropbox-sink.adoc index 8786b3e..7152a2d 100644 --- a/docs/modules/ROOT/pages/dropbox-sink.adoc +++ b/docs/modules/ROOT/pages/dropbox-sink.adoc @@ -57,9 +57,8 @@ spec: accessToken: "The Dropbox Access Token" clientIdentifier: "The Client Identifier" remotePath: "The Remote Path" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `dropbox-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -108,7 +107,7 @@ spec: accessToken: "The Dropbox Access Token" clientIdentifier: "The Client Identifier" remotePath: "The Remote Path" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/dropbox-source.adoc b/docs/modules/ROOT/pages/dropbox-source.adoc index 1e0a21b..56ec6ce 100644 --- a/docs/modules/ROOT/pages/dropbox-source.adoc +++ b/docs/modules/ROOT/pages/dropbox-source.adoc @@ -53,9 +53,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `dropbox-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -105,7 +104,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/earthquake-source.adoc b/docs/modules/ROOT/pages/earthquake-source.adoc index 17ee3f7..5600d5e 100644 --- a/docs/modules/ROOT/pages/earthquake-source.adoc +++ b/docs/modules/ROOT/pages/earthquake-source.adoc @@ -45,9 +45,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `earthquake-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -92,7 +91,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/elasticsearch-index-sink.adoc b/docs/modules/ROOT/pages/elasticsearch-index-sink.adoc index e638900..f4aed5a 100644 --- a/docs/modules/ROOT/pages/elasticsearch-index-sink.adoc +++ b/docs/modules/ROOT/pages/elasticsearch-index-sink.adoc @@ -62,9 +62,8 @@ spec: properties: clusterName: "quickstart" hostAddresses: "quickstart-es-http:9200" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `elasticsearch-index-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -112,7 +111,7 @@ spec: properties: clusterName: "quickstart" hostAddresses: "quickstart-es-http:9200" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/elasticsearch-search-source.adoc b/docs/modules/ROOT/pages/elasticsearch-search-source.adoc index 1eac213..c9d0706 100644 --- a/docs/modules/ROOT/pages/elasticsearch-search-source.adoc +++ b/docs/modules/ROOT/pages/elasticsearch-search-source.adoc @@ -56,9 +56,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `elasticsearch-search-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -108,7 +107,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/exec-sink.adoc b/docs/modules/ROOT/pages/exec-sink.adoc index db6d73b..e278ff2 100644 --- a/docs/modules/ROOT/pages/exec-sink.adoc +++ b/docs/modules/ROOT/pages/exec-sink.adoc @@ -52,9 +52,8 @@ spec: name: exec-sink properties: executable: "The Executable Command" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `exec-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -101,7 +100,7 @@ spec: name: exec-sink properties: executable: "The Executable Command" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/extract-field-action.adoc b/docs/modules/ROOT/pages/extract-field-action.adoc index 65a73ae..189275f 100644 --- a/docs/modules/ROOT/pages/extract-field-action.adoc +++ b/docs/modules/ROOT/pages/extract-field-action.adoc @@ -55,7 +55,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `extract-field-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/fhir-source.adoc b/docs/modules/ROOT/pages/fhir-source.adoc index 4eec9bc..ad37fcf 100644 --- a/docs/modules/ROOT/pages/fhir-source.adoc +++ b/docs/modules/ROOT/pages/fhir-source.adoc @@ -54,9 +54,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `fhir-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -105,7 +104,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/file-watch-source.adoc b/docs/modules/ROOT/pages/file-watch-source.adoc index ec643dd..f328829 100644 --- a/docs/modules/ROOT/pages/file-watch-source.adoc +++ b/docs/modules/ROOT/pages/file-watch-source.adoc @@ -47,9 +47,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `file-watch-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -96,7 +95,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/freemarker-template-action.adoc b/docs/modules/ROOT/pages/freemarker-template-action.adoc index 3010f10..a8ca2a0 100644 --- a/docs/modules/ROOT/pages/freemarker-template-action.adoc +++ b/docs/modules/ROOT/pages/freemarker-template-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `freemarker-template-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/ftp-sink.adoc b/docs/modules/ROOT/pages/ftp-sink.adoc index dcbb4d2..66cf846 100644 --- a/docs/modules/ROOT/pages/ftp-sink.adoc +++ b/docs/modules/ROOT/pages/ftp-sink.adoc @@ -61,9 +61,8 @@ spec: directoryName: "The Directory Name" password: "The Password" username: "The Username" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `ftp-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -113,7 +112,7 @@ spec: directoryName: "The Directory Name" password: "The Password" username: "The Username" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/ftp-source.adoc b/docs/modules/ROOT/pages/ftp-source.adoc index e26d5b5..3fbbb0a 100644 --- a/docs/modules/ROOT/pages/ftp-source.adoc +++ b/docs/modules/ROOT/pages/ftp-source.adoc @@ -56,9 +56,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `ftp-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -108,7 +107,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/ftps-sink.adoc b/docs/modules/ROOT/pages/ftps-sink.adoc index 329869c..a620c4a 100644 --- a/docs/modules/ROOT/pages/ftps-sink.adoc +++ b/docs/modules/ROOT/pages/ftps-sink.adoc @@ -61,9 +61,8 @@ spec: directoryName: "The Directory Name" password: "The Password" username: "The Username" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `ftps-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -113,7 +112,7 @@ spec: directoryName: "The Directory Name" password: "The Password" username: "The Username" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/ftps-source.adoc b/docs/modules/ROOT/pages/ftps-source.adoc index e7d7dd5..f59b57d 100644 --- a/docs/modules/ROOT/pages/ftps-source.adoc +++ b/docs/modules/ROOT/pages/ftps-source.adoc @@ -56,9 +56,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `ftps-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -108,7 +107,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/github-source.adoc b/docs/modules/ROOT/pages/github-source.adoc index b58ad6b..e926734 100644 --- a/docs/modules/ROOT/pages/github-source.adoc +++ b/docs/modules/ROOT/pages/github-source.adoc @@ -51,9 +51,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `github-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -102,7 +101,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/google-calendar-source.adoc b/docs/modules/ROOT/pages/google-calendar-source.adoc index 06bf00d..1c9630a 100644 --- a/docs/modules/ROOT/pages/google-calendar-source.adoc +++ b/docs/modules/ROOT/pages/google-calendar-source.adoc @@ -61,9 +61,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `google-calendar-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -116,7 +115,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/google-mail-source.adoc b/docs/modules/ROOT/pages/google-mail-source.adoc index 2162b5c..5eaca2b 100644 --- a/docs/modules/ROOT/pages/google-mail-source.adoc +++ b/docs/modules/ROOT/pages/google-mail-source.adoc @@ -60,9 +60,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `google-mail-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -114,7 +113,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/google-sheets-source.adoc b/docs/modules/ROOT/pages/google-sheets-source.adoc index f8cee5a..27a15e8 100644 --- a/docs/modules/ROOT/pages/google-sheets-source.adoc +++ b/docs/modules/ROOT/pages/google-sheets-source.adoc @@ -61,9 +61,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `google-sheets-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -116,7 +115,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/has-header-filter-action.adoc b/docs/modules/ROOT/pages/has-header-filter-action.adoc index d3beb5c..7cf1775 100644 --- a/docs/modules/ROOT/pages/has-header-filter-action.adoc +++ b/docs/modules/ROOT/pages/has-header-filter-action.adoc @@ -55,7 +55,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `has-header-filter-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/header-matches-filter-action.adoc b/docs/modules/ROOT/pages/header-matches-filter-action.adoc index 9c4b428..a4886b9 100644 --- a/docs/modules/ROOT/pages/header-matches-filter-action.adoc +++ b/docs/modules/ROOT/pages/header-matches-filter-action.adoc @@ -56,7 +56,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `header-matches-filter-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/hoist-field-action.adoc b/docs/modules/ROOT/pages/hoist-field-action.adoc index b6f5a67..9573363 100644 --- a/docs/modules/ROOT/pages/hoist-field-action.adoc +++ b/docs/modules/ROOT/pages/hoist-field-action.adoc @@ -55,7 +55,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `hoist-field-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/http-secured-sink.adoc b/docs/modules/ROOT/pages/http-secured-sink.adoc index ec6fd14..b1f684d 100644 --- a/docs/modules/ROOT/pages/http-secured-sink.adoc +++ b/docs/modules/ROOT/pages/http-secured-sink.adoc @@ -51,9 +51,8 @@ spec: name: http-secured-sink properties: url: "https://my-service/path" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `http-secured-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -100,7 +99,7 @@ spec: name: http-secured-sink properties: url: "https://my-service/path" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/http-secured-source.adoc b/docs/modules/ROOT/pages/http-secured-source.adoc index 5757c67..175b614 100644 --- a/docs/modules/ROOT/pages/http-secured-source.adoc +++ b/docs/modules/ROOT/pages/http-secured-source.adoc @@ -52,9 +52,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `http-secured-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -101,7 +100,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/http-sink.adoc b/docs/modules/ROOT/pages/http-sink.adoc index 8bfdafb..78507bd 100644 --- a/docs/modules/ROOT/pages/http-sink.adoc +++ b/docs/modules/ROOT/pages/http-sink.adoc @@ -47,9 +47,8 @@ spec: name: http-sink properties: url: "https://my-service/path" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `http-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -96,7 +95,7 @@ spec: name: http-sink properties: url: "https://my-service/path" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/http-source.adoc b/docs/modules/ROOT/pages/http-source.adoc index ebb1b0b..3449243 100644 --- a/docs/modules/ROOT/pages/http-source.adoc +++ b/docs/modules/ROOT/pages/http-source.adoc @@ -48,9 +48,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `http-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -97,7 +96,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/infinispan-source.adoc b/docs/modules/ROOT/pages/infinispan-source.adoc index 98e13c8..da42581 100644 --- a/docs/modules/ROOT/pages/infinispan-source.adoc +++ b/docs/modules/ROOT/pages/infinispan-source.adoc @@ -57,9 +57,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `infinispan-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -109,7 +108,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/insert-field-action.adoc b/docs/modules/ROOT/pages/insert-field-action.adoc index 1c54428..21216aa 100644 --- a/docs/modules/ROOT/pages/insert-field-action.adoc +++ b/docs/modules/ROOT/pages/insert-field-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `insert-field-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/insert-header-action.adoc b/docs/modules/ROOT/pages/insert-header-action.adoc index d8ed19a..e75e627 100644 --- a/docs/modules/ROOT/pages/insert-header-action.adoc +++ b/docs/modules/ROOT/pages/insert-header-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `insert-header-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/is-tombstone-filter-action.adoc b/docs/modules/ROOT/pages/is-tombstone-filter-action.adoc index 79b427a..061f540 100644 --- a/docs/modules/ROOT/pages/is-tombstone-filter-action.adoc +++ b/docs/modules/ROOT/pages/is-tombstone-filter-action.adoc @@ -46,7 +46,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `is-tombstone-filter-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/jira-source.adoc b/docs/modules/ROOT/pages/jira-source.adoc index 1738716..d025334 100644 --- a/docs/modules/ROOT/pages/jira-source.adoc +++ b/docs/modules/ROOT/pages/jira-source.adoc @@ -51,9 +51,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `jira-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -102,7 +101,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/jms-amqp-10-sink.adoc b/docs/modules/ROOT/pages/jms-amqp-10-sink.adoc index af8c128..c4ee015 100644 --- a/docs/modules/ROOT/pages/jms-amqp-10-sink.adoc +++ b/docs/modules/ROOT/pages/jms-amqp-10-sink.adoc @@ -49,9 +49,8 @@ spec: properties: destinationName: "The Destination Name" remoteURI: "amqp://my-host:31616" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `jms-amqp-10-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -99,7 +98,7 @@ spec: properties: destinationName: "The Destination Name" remoteURI: "amqp://my-host:31616" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/jms-amqp-10-source.adoc b/docs/modules/ROOT/pages/jms-amqp-10-source.adoc index 77e0a19..41d6012 100644 --- a/docs/modules/ROOT/pages/jms-amqp-10-source.adoc +++ b/docs/modules/ROOT/pages/jms-amqp-10-source.adoc @@ -49,9 +49,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `jms-amqp-10-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -99,7 +98,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/jms-apache-artemis-sink.adoc b/docs/modules/ROOT/pages/jms-apache-artemis-sink.adoc index 3cfe50c..5bc7d02 100644 --- a/docs/modules/ROOT/pages/jms-apache-artemis-sink.adoc +++ b/docs/modules/ROOT/pages/jms-apache-artemis-sink.adoc @@ -49,9 +49,8 @@ spec: properties: brokerURL: "tcp://my-host:61616" destinationName: "person" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `jms-apache-artemis-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -99,7 +98,7 @@ spec: properties: brokerURL: "tcp://my-host:61616" destinationName: "person" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/jms-apache-artemis-source.adoc b/docs/modules/ROOT/pages/jms-apache-artemis-source.adoc index e1da2e2..0810dc7 100644 --- a/docs/modules/ROOT/pages/jms-apache-artemis-source.adoc +++ b/docs/modules/ROOT/pages/jms-apache-artemis-source.adoc @@ -49,9 +49,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `jms-apache-artemis-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -99,7 +98,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/json-deserialize-action.adoc b/docs/modules/ROOT/pages/json-deserialize-action.adoc index df01363..1aa37aa 100644 --- a/docs/modules/ROOT/pages/json-deserialize-action.adoc +++ b/docs/modules/ROOT/pages/json-deserialize-action.adoc @@ -46,7 +46,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `json-deserialize-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/json-schema-validator-action.adoc b/docs/modules/ROOT/pages/json-schema-validator-action.adoc index d51b445..f46d681 100644 --- a/docs/modules/ROOT/pages/json-schema-validator-action.adoc +++ b/docs/modules/ROOT/pages/json-schema-validator-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `json-schema-validator-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/json-serialize-action.adoc b/docs/modules/ROOT/pages/json-serialize-action.adoc index 5789746..0d73504 100644 --- a/docs/modules/ROOT/pages/json-serialize-action.adoc +++ b/docs/modules/ROOT/pages/json-serialize-action.adoc @@ -46,7 +46,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `json-serialize-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/jsonata-action.adoc b/docs/modules/ROOT/pages/jsonata-action.adoc index 83b2dcb..63b639a 100644 --- a/docs/modules/ROOT/pages/jsonata-action.adoc +++ b/docs/modules/ROOT/pages/jsonata-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `jsonata-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/kafka-manual-commit-action.adoc b/docs/modules/ROOT/pages/kafka-manual-commit-action.adoc index b39dd74..2ef8db6 100644 --- a/docs/modules/ROOT/pages/kafka-manual-commit-action.adoc +++ b/docs/modules/ROOT/pages/kafka-manual-commit-action.adoc @@ -46,7 +46,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `kafka-manual-commit-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/kafka-not-secured-sink.adoc b/docs/modules/ROOT/pages/kafka-not-secured-sink.adoc index 82292d4..9403c7f 100644 --- a/docs/modules/ROOT/pages/kafka-not-secured-sink.adoc +++ b/docs/modules/ROOT/pages/kafka-not-secured-sink.adoc @@ -56,9 +56,8 @@ spec: properties: brokers: "The Brokers" topic: "The Topic Names" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `kafka-not-secured-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -106,7 +105,7 @@ spec: properties: brokers: "The Brokers" topic: "The Topic Names" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/kafka-not-secured-source.adoc b/docs/modules/ROOT/pages/kafka-not-secured-source.adoc index 71049dd..c782de8 100644 --- a/docs/modules/ROOT/pages/kafka-not-secured-source.adoc +++ b/docs/modules/ROOT/pages/kafka-not-secured-source.adoc @@ -52,9 +52,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `kafka-not-secured-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -102,7 +101,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/kafka-sink.adoc b/docs/modules/ROOT/pages/kafka-sink.adoc index 4adbd68..4107314 100644 --- a/docs/modules/ROOT/pages/kafka-sink.adoc +++ b/docs/modules/ROOT/pages/kafka-sink.adoc @@ -62,9 +62,8 @@ spec: password: "The Password" topic: "The Topic Names" user: "The Username" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `kafka-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -114,7 +113,7 @@ spec: password: "The Password" topic: "The Topic Names" user: "The Username" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/kafka-source.adoc b/docs/modules/ROOT/pages/kafka-source.adoc index b6c92aa..d58652a 100644 --- a/docs/modules/ROOT/pages/kafka-source.adoc +++ b/docs/modules/ROOT/pages/kafka-source.adoc @@ -58,9 +58,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `kafka-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -110,7 +109,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/log-sink.adoc b/docs/modules/ROOT/pages/log-sink.adoc index c0d1b51..c13e3e9 100644 --- a/docs/modules/ROOT/pages/log-sink.adoc +++ b/docs/modules/ROOT/pages/log-sink.adoc @@ -45,9 +45,8 @@ spec: kind: Kamelet apiVersion: camel.apache.org/v1alpha1 name: log-sink - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `log-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -92,7 +91,7 @@ spec: kind: Kamelet apiVersion: camel.apache.org/v1alpha1 name: log-sink - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/mail-imap-source.adoc b/docs/modules/ROOT/pages/mail-imap-source.adoc index 34d9509..d80e096 100644 --- a/docs/modules/ROOT/pages/mail-imap-source.adoc +++ b/docs/modules/ROOT/pages/mail-imap-source.adoc @@ -53,9 +53,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mail-imap-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -104,7 +103,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/mariadb-sink.adoc b/docs/modules/ROOT/pages/mariadb-sink.adoc index 559804f..8ec4c18 100644 --- a/docs/modules/ROOT/pages/mariadb-sink.adoc +++ b/docs/modules/ROOT/pages/mariadb-sink.adoc @@ -67,9 +67,8 @@ spec: query: "INSERT INTO accounts (username,city) VALUES (:#username,:#city)" serverName: "localhost" username: "The Username" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mariadb-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -120,7 +119,7 @@ spec: query: "INSERT INTO accounts (username,city) VALUES (:#username,:#city)" serverName: "localhost" username: "The Username" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/mariadb-source.adoc b/docs/modules/ROOT/pages/mariadb-source.adoc index cedbbe6..94d1838 100644 --- a/docs/modules/ROOT/pages/mariadb-source.adoc +++ b/docs/modules/ROOT/pages/mariadb-source.adoc @@ -60,9 +60,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mariadb-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -113,7 +112,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/mask-field-action.adoc b/docs/modules/ROOT/pages/mask-field-action.adoc index a348d0a..53b3712 100644 --- a/docs/modules/ROOT/pages/mask-field-action.adoc +++ b/docs/modules/ROOT/pages/mask-field-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mask-field-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/message-timestamp-router-action.adoc b/docs/modules/ROOT/pages/message-timestamp-router-action.adoc index 71d565c..688994d 100644 --- a/docs/modules/ROOT/pages/message-timestamp-router-action.adoc +++ b/docs/modules/ROOT/pages/message-timestamp-router-action.adoc @@ -58,7 +58,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `message-timestamp-router-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/minio-sink.adoc b/docs/modules/ROOT/pages/minio-sink.adoc index 8c8bedb..f401f6a 100644 --- a/docs/modules/ROOT/pages/minio-sink.adoc +++ b/docs/modules/ROOT/pages/minio-sink.adoc @@ -59,9 +59,8 @@ spec: bucketName: "The Bucket Name" endpoint: "http://localhost:9000" secretKey: "The Secret Key" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `minio-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -111,7 +110,7 @@ spec: bucketName: "The Bucket Name" endpoint: "http://localhost:9000" secretKey: "The Secret Key" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/minio-source.adoc b/docs/modules/ROOT/pages/minio-source.adoc index a17347e..bd84274 100644 --- a/docs/modules/ROOT/pages/minio-source.adoc +++ b/docs/modules/ROOT/pages/minio-source.adoc @@ -54,9 +54,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `minio-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -106,7 +105,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/mongodb-sink.adoc b/docs/modules/ROOT/pages/mongodb-sink.adoc index 6c65112..0c1bbd5 100644 --- a/docs/modules/ROOT/pages/mongodb-sink.adoc +++ b/docs/modules/ROOT/pages/mongodb-sink.adoc @@ -62,9 +62,8 @@ spec: hosts: "The MongoDB Hosts" password: "The MongoDB Password" username: "The MongoDB Username" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mongodb-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -115,7 +114,7 @@ spec: hosts: "The MongoDB Hosts" password: "The MongoDB Password" username: "The MongoDB Username" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/mongodb-source.adoc b/docs/modules/ROOT/pages/mongodb-source.adoc index 358ecf5..8062dca 100644 --- a/docs/modules/ROOT/pages/mongodb-source.adoc +++ b/docs/modules/ROOT/pages/mongodb-source.adoc @@ -60,9 +60,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mongodb-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -113,7 +112,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/mqtt-source.adoc b/docs/modules/ROOT/pages/mqtt-source.adoc index 897e3f1..97a6c90 100644 --- a/docs/modules/ROOT/pages/mqtt-source.adoc +++ b/docs/modules/ROOT/pages/mqtt-source.adoc @@ -49,9 +49,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mqtt-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -99,7 +98,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/mustache-template-action.adoc b/docs/modules/ROOT/pages/mustache-template-action.adoc index 8805d96..f8daa96 100644 --- a/docs/modules/ROOT/pages/mustache-template-action.adoc +++ b/docs/modules/ROOT/pages/mustache-template-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mustache-template-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/mvel-template-action.adoc b/docs/modules/ROOT/pages/mvel-template-action.adoc index efd3b1e..478e0bb 100644 --- a/docs/modules/ROOT/pages/mvel-template-action.adoc +++ b/docs/modules/ROOT/pages/mvel-template-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mvel-template-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/mysql-sink.adoc b/docs/modules/ROOT/pages/mysql-sink.adoc index 6dc5f3e..64cd7af 100644 --- a/docs/modules/ROOT/pages/mysql-sink.adoc +++ b/docs/modules/ROOT/pages/mysql-sink.adoc @@ -67,9 +67,8 @@ spec: query: "INSERT INTO accounts (username,city) VALUES (:#username,:#city)" serverName: "localhost" username: "The Username" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mysql-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -120,7 +119,7 @@ spec: query: "INSERT INTO accounts (username,city) VALUES (:#username,:#city)" serverName: "localhost" username: "The Username" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/mysql-source.adoc b/docs/modules/ROOT/pages/mysql-source.adoc index 01e577c..e0d1356 100644 --- a/docs/modules/ROOT/pages/mysql-source.adoc +++ b/docs/modules/ROOT/pages/mysql-source.adoc @@ -60,9 +60,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mysql-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -113,7 +112,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/nats-sink.adoc b/docs/modules/ROOT/pages/nats-sink.adoc index a790bef..4bb4fe6 100644 --- a/docs/modules/ROOT/pages/nats-sink.adoc +++ b/docs/modules/ROOT/pages/nats-sink.adoc @@ -48,9 +48,8 @@ spec: properties: servers: "The Servers" topic: "The Topic" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `nats-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -98,7 +97,7 @@ spec: properties: servers: "The Servers" topic: "The Topic" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/nats-source.adoc b/docs/modules/ROOT/pages/nats-source.adoc index 71e7960..4a5b51b 100644 --- a/docs/modules/ROOT/pages/nats-source.adoc +++ b/docs/modules/ROOT/pages/nats-source.adoc @@ -48,9 +48,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `nats-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -98,7 +97,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/openai-classification-action.adoc b/docs/modules/ROOT/pages/openai-classification-action.adoc index 15d0f1e..92890ef 100644 --- a/docs/modules/ROOT/pages/openai-classification-action.adoc +++ b/docs/modules/ROOT/pages/openai-classification-action.adoc @@ -68,7 +68,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `openai-classification-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/openai-completion-action.adoc b/docs/modules/ROOT/pages/openai-completion-action.adoc index c9af816..ffc7c43 100644 --- a/docs/modules/ROOT/pages/openai-completion-action.adoc +++ b/docs/modules/ROOT/pages/openai-completion-action.adoc @@ -65,7 +65,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `openai-completion-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/pdf-action.adoc b/docs/modules/ROOT/pages/pdf-action.adoc index a9a3290..ef8fe14 100644 --- a/docs/modules/ROOT/pages/pdf-action.adoc +++ b/docs/modules/ROOT/pages/pdf-action.adoc @@ -55,7 +55,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `pdf-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/postgresql-sink.adoc b/docs/modules/ROOT/pages/postgresql-sink.adoc index 18c828a..8bd796d 100644 --- a/docs/modules/ROOT/pages/postgresql-sink.adoc +++ b/docs/modules/ROOT/pages/postgresql-sink.adoc @@ -63,9 +63,8 @@ spec: query: "INSERT INTO accounts (username,city) VALUES (:#username,:#city)" serverName: "localhost" username: "The Username" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `postgresql-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -116,7 +115,7 @@ spec: query: "INSERT INTO accounts (username,city) VALUES (:#username,:#city)" serverName: "localhost" username: "The Username" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/postgresql-source.adoc b/docs/modules/ROOT/pages/postgresql-source.adoc index c7b2658..5bbbd6b 100644 --- a/docs/modules/ROOT/pages/postgresql-source.adoc +++ b/docs/modules/ROOT/pages/postgresql-source.adoc @@ -56,9 +56,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `postgresql-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -109,7 +108,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/predicate-filter-action.adoc b/docs/modules/ROOT/pages/predicate-filter-action.adoc index 42ef01e..7055741 100644 --- a/docs/modules/ROOT/pages/predicate-filter-action.adoc +++ b/docs/modules/ROOT/pages/predicate-filter-action.adoc @@ -55,7 +55,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `predicate-filter-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/protobuf-deserialize-action.adoc b/docs/modules/ROOT/pages/protobuf-deserialize-action.adoc index 0ef4fc0..0fae745 100644 --- a/docs/modules/ROOT/pages/protobuf-deserialize-action.adoc +++ b/docs/modules/ROOT/pages/protobuf-deserialize-action.adoc @@ -55,7 +55,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `protobuf-deserialize-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/protobuf-serialize-action.adoc b/docs/modules/ROOT/pages/protobuf-serialize-action.adoc index fca537e..577cc6a 100644 --- a/docs/modules/ROOT/pages/protobuf-serialize-action.adoc +++ b/docs/modules/ROOT/pages/protobuf-serialize-action.adoc @@ -55,7 +55,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `protobuf-serialize-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/rabbitmq-source.adoc b/docs/modules/ROOT/pages/rabbitmq-source.adoc index b4f1224..996a1c7 100644 --- a/docs/modules/ROOT/pages/rabbitmq-source.adoc +++ b/docs/modules/ROOT/pages/rabbitmq-source.adoc @@ -53,9 +53,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `rabbitmq-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -105,7 +104,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/regex-router-action.adoc b/docs/modules/ROOT/pages/regex-router-action.adoc index 6548df0..381c623 100644 --- a/docs/modules/ROOT/pages/regex-router-action.adoc +++ b/docs/modules/ROOT/pages/regex-router-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `regex-router-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/replace-field-action.adoc b/docs/modules/ROOT/pages/replace-field-action.adoc index be08e1c..cf6a1fa 100644 --- a/docs/modules/ROOT/pages/replace-field-action.adoc +++ b/docs/modules/ROOT/pages/replace-field-action.adoc @@ -59,7 +59,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `replace-field-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/salesforce-source.adoc b/docs/modules/ROOT/pages/salesforce-source.adoc index 5ef8864..ece5d2b 100644 --- a/docs/modules/ROOT/pages/salesforce-source.adoc +++ b/docs/modules/ROOT/pages/salesforce-source.adoc @@ -57,9 +57,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `salesforce-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -111,7 +110,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/sftp-sink.adoc b/docs/modules/ROOT/pages/sftp-sink.adoc index 77993ca..37fe03b 100644 --- a/docs/modules/ROOT/pages/sftp-sink.adoc +++ b/docs/modules/ROOT/pages/sftp-sink.adoc @@ -61,9 +61,8 @@ spec: directoryName: "The Directory Name" password: "The Password" username: "The Username" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `sftp-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -113,7 +112,7 @@ spec: directoryName: "The Directory Name" password: "The Password" username: "The Username" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/sftp-source.adoc b/docs/modules/ROOT/pages/sftp-source.adoc index 767d4a5..9af0d26 100644 --- a/docs/modules/ROOT/pages/sftp-source.adoc +++ b/docs/modules/ROOT/pages/sftp-source.adoc @@ -56,9 +56,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `sftp-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -108,7 +107,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/slack-sink.adoc b/docs/modules/ROOT/pages/slack-sink.adoc index 853f5a8..2dd9b16 100644 --- a/docs/modules/ROOT/pages/slack-sink.adoc +++ b/docs/modules/ROOT/pages/slack-sink.adoc @@ -51,9 +51,8 @@ spec: properties: channel: "#myroom" webhookUrl: "The Webhook URL" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `slack-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -101,7 +100,7 @@ spec: properties: channel: "#myroom" webhookUrl: "The Webhook URL" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/slack-source.adoc b/docs/modules/ROOT/pages/slack-source.adoc index f3b9d98..584e3da 100644 --- a/docs/modules/ROOT/pages/slack-source.adoc +++ b/docs/modules/ROOT/pages/slack-source.adoc @@ -48,9 +48,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `slack-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -98,7 +97,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/sqlserver-sink.adoc b/docs/modules/ROOT/pages/sqlserver-sink.adoc index 69d7237..70b34c2 100644 --- a/docs/modules/ROOT/pages/sqlserver-sink.adoc +++ b/docs/modules/ROOT/pages/sqlserver-sink.adoc @@ -67,9 +67,8 @@ spec: query: "INSERT INTO accounts (username,city) VALUES (:#username,:#city)" serverName: "localhost" username: "The Username" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `sqlserver-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -120,7 +119,7 @@ spec: query: "INSERT INTO accounts (username,city) VALUES (:#username,:#city)" serverName: "localhost" username: "The Username" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/sqlserver-source.adoc b/docs/modules/ROOT/pages/sqlserver-source.adoc index ec2251f..04a2ddf 100644 --- a/docs/modules/ROOT/pages/sqlserver-source.adoc +++ b/docs/modules/ROOT/pages/sqlserver-source.adoc @@ -60,9 +60,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `sqlserver-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -113,7 +112,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/ssh-source.adoc b/docs/modules/ROOT/pages/ssh-source.adoc index 7072fc1..5810866 100644 --- a/docs/modules/ROOT/pages/ssh-source.adoc +++ b/docs/modules/ROOT/pages/ssh-source.adoc @@ -54,9 +54,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `ssh-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -106,7 +105,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/string-template-action.adoc b/docs/modules/ROOT/pages/string-template-action.adoc index ca56598..99961ff 100644 --- a/docs/modules/ROOT/pages/string-template-action.adoc +++ b/docs/modules/ROOT/pages/string-template-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `string-template-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/telegram-sink.adoc b/docs/modules/ROOT/pages/telegram-sink.adoc index d2371f5..f0c7502 100644 --- a/docs/modules/ROOT/pages/telegram-sink.adoc +++ b/docs/modules/ROOT/pages/telegram-sink.adoc @@ -60,9 +60,8 @@ spec: name: telegram-sink properties: authorizationToken: "The Token" - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `telegram-sink-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -109,7 +108,7 @@ spec: name: telegram-sink properties: authorizationToken: "The Token" - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/telegram-source.adoc b/docs/modules/ROOT/pages/telegram-source.adoc index 316b2fc..5283d47 100644 --- a/docs/modules/ROOT/pages/telegram-source.adoc +++ b/docs/modules/ROOT/pages/telegram-source.adoc @@ -48,9 +48,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `telegram-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -97,7 +96,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/timer-source.adoc b/docs/modules/ROOT/pages/timer-source.adoc index f84f3c6..27fa25e 100644 --- a/docs/modules/ROOT/pages/timer-source.adoc +++ b/docs/modules/ROOT/pages/timer-source.adoc @@ -48,9 +48,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `timer-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -97,7 +96,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/timestamp-router-action.adoc b/docs/modules/ROOT/pages/timestamp-router-action.adoc index ec795c4..e8656f3 100644 --- a/docs/modules/ROOT/pages/timestamp-router-action.adoc +++ b/docs/modules/ROOT/pages/timestamp-router-action.adoc @@ -55,7 +55,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `timestamp-router-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/topic-name-matches-filter-action.adoc b/docs/modules/ROOT/pages/topic-name-matches-filter-action.adoc index 34277d9..5ccfb98 100644 --- a/docs/modules/ROOT/pages/topic-name-matches-filter-action.adoc +++ b/docs/modules/ROOT/pages/topic-name-matches-filter-action.adoc @@ -55,7 +55,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `topic-name-matches-filter-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/twitter-directmessage-source.adoc b/docs/modules/ROOT/pages/twitter-directmessage-source.adoc index 5c4bf1f..f3c45cf 100644 --- a/docs/modules/ROOT/pages/twitter-directmessage-source.adoc +++ b/docs/modules/ROOT/pages/twitter-directmessage-source.adoc @@ -57,9 +57,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `twitter-directmessage-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -110,7 +109,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/twitter-search-source.adoc b/docs/modules/ROOT/pages/twitter-search-source.adoc index 967f088..b94c2e5 100644 --- a/docs/modules/ROOT/pages/twitter-search-source.adoc +++ b/docs/modules/ROOT/pages/twitter-search-source.adoc @@ -57,9 +57,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `twitter-search-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -110,7 +109,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/twitter-timeline-source.adoc b/docs/modules/ROOT/pages/twitter-timeline-source.adoc index 76e1037..6725550 100644 --- a/docs/modules/ROOT/pages/twitter-timeline-source.adoc +++ b/docs/modules/ROOT/pages/twitter-timeline-source.adoc @@ -57,9 +57,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `twitter-timeline-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -110,7 +109,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/pages/value-to-key-action.adoc b/docs/modules/ROOT/pages/value-to-key-action.adoc index 744bd67..b4f0aaf 100644 --- a/docs/modules/ROOT/pages/value-to-key-action.adoc +++ b/docs/modules/ROOT/pages/value-to-key-action.adoc @@ -55,7 +55,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `value-to-key-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/velocity-template-action.adoc b/docs/modules/ROOT/pages/velocity-template-action.adoc index a0a1b06..068d37c 100644 --- a/docs/modules/ROOT/pages/velocity-template-action.adoc +++ b/docs/modules/ROOT/pages/velocity-template-action.adoc @@ -57,7 +57,6 @@ spec: name: mychannel ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `velocity-template-action-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/webhook-source.adoc b/docs/modules/ROOT/pages/webhook-source.adoc index 33c643c..6ee0511 100644 --- a/docs/modules/ROOT/pages/webhook-source.adoc +++ b/docs/modules/ROOT/pages/webhook-source.adoc @@ -50,9 +50,8 @@ spec: kind: InMemoryChannel apiVersion: messaging.knative.dev/v1 name: mychannel - + ---- - Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `webhook-source-binding.yaml` file into your hard drive, then configure it according to your needs. @@ -97,7 +96,7 @@ spec: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: my-topic - + ---- Ensure that you've installed https://strimzi.io/[Strimzi] and created a topic named `my-topic` in the current namespace. diff --git a/docs/modules/ROOT/properties-list.tmpl b/docs/modules/ROOT/properties-list.tmpl new file mode 100644 index 0000000..fe58e16 --- /dev/null +++ b/docs/modules/ROOT/properties-list.tmpl @@ -0,0 +1 @@ +{{ if .HasRequiredProperties }}{{ .PropertyList }}{{ end }} \ No newline at end of file diff --git a/script/generator/generator.go b/script/generator/generator.go index f857544..b9ce662 100644 --- a/script/generator/generator.go +++ b/script/generator/generator.go @@ -35,7 +35,10 @@ func main() { } templateFile := path.Join(out, "kamelet.adoc.tmpl") - t, err := template.New("kamelet.adoc.tmpl").Funcs(funcMap).ParseFiles(templateFile) + kameletBindingFile := path.Join(out, "kamelet-binding-sink-source.tmpl") + propertiesListFile := path.Join(out, "properties-list.tmpl") + + t, err := template.New("kamelet.adoc.tmpl").Funcs(funcMap).ParseFiles(templateFile, kameletBindingFile, propertiesListFile) handleGeneralError(fmt.Sprintf("cannot load template file from %s", templateFile), err) kamelets := listKamelets(dir) @@ -61,12 +64,14 @@ func main() { type TemplateContext struct { Kamelet camel.Kamelet Image string + TemplateProperties map[string]string } func NewTemplateContext(kamelet camel.Kamelet, image string) TemplateContext { return TemplateContext{ Kamelet: kamelet, Image: image, + TemplateProperties: map[string]string{}, } } @@ -129,6 +134,53 @@ func (ctx *TemplateContext) HasProperties() bool { return len(ctx.Kamelet.Spec.Definition.Properties) > 0 } +func (ctx *TemplateContext) HasRequiredProperties() bool { + propDefs := getSortedProps(ctx.Kamelet) + + for _, propDef := range propDefs { + if propDef.Required { + return true + } + } + + return false +} + +func (ctx *TemplateContext) PropertyList() string { + propDefs := getSortedProps(ctx.Kamelet) + + sampleConfig := make([]string, 0) + for _, propDef := range propDefs { + if !propDef.Required { + continue + } + key := propDef.Name + if propDef.Default == nil { + ex := propDef.GetSampleValue() + sampleConfig = append(sampleConfig, fmt.Sprintf("%s: %s", key, ex)) + } + } + + /* + Creates the properties list in the YAML format. + */ + props := "" + if len(sampleConfig) > 0 { + props = fmt.Sprintf("\n %s:\n %s", "properties", strings.Join(sampleConfig, "\n ")) + } + + return props +} + +func (ctx *TemplateContext) SetVal(key, val string) string { + ctx.TemplateProperties[key] = val + return "" +} + +func (ctx *TemplateContext) GetVal(key string) string { + return ctx.TemplateProperties[key] +} + func (ctx *TemplateContext) Properties() string { content := "" if len(ctx.Kamelet.Spec.Definition.Properties) > 0 { @@ -161,85 +213,6 @@ func (ctx *TemplateContext) Properties() string { return content } -func (ctx *TemplateContext) ExampleBinding(apiVersion, kind, name string) string { - content := "" - propDefs := getSortedProps(ctx.Kamelet) - tp := ctx.Kamelet.ObjectMeta.Labels["camel.apache.org/kamelet.type"] - if tp != "" { - sampleConfig := make([]string, 0) - for _, propDef := range propDefs { - if !propDef.Required { - continue - } - key := propDef.Name - if propDef.Default == nil { - ex := propDef.GetSampleValue() - sampleConfig = append(sampleConfig, fmt.Sprintf("%s: %s", key, ex)) - } - } - props := "" - if len(sampleConfig) > 0 { - props += " properties:\n" - for _, p := range sampleConfig { - props += fmt.Sprintf(" %s\n", p) - } - } - - kameletRef := fmt.Sprintf(` ref: - kind: Kamelet - apiVersion: camel.apache.org/v1alpha1 - name: %s -%s`, ctx.Kamelet.Name, props) - - boundToRef := fmt.Sprintf(` ref: - kind: %s - apiVersion: %s - name: %s -`, kind, apiVersion, name) - var sourceRef string - var sinkRef string - var steps string - - switch tp { - case "source": - sourceRef = kameletRef - sinkRef = boundToRef - case "sink": - sourceRef = boundToRef - sinkRef = kameletRef - case "action": - sourceRef = ` ref: - kind: Kamelet - apiVersion: camel.apache.org/v1alpha1 - name: timer-source - properties: - message: "Hello"` - sinkRef = boundToRef - steps = fmt.Sprintf(` - steps: - -%s`, kameletRef[3:]) - } - - binding := fmt.Sprintf(`apiVersion: camel.apache.org/v1alpha1 -kind: KameletBinding -metadata: - name: %s-binding -spec: - source: -%s%s sink: -%s -`, ctx.Kamelet.Name, sourceRef, steps, sinkRef) - - content += fmt.Sprintf(".%s-binding.yaml\n", ctx.Kamelet.Name) - content += "[source,yaml]\n" - content += "----\n" - content += binding - content += "----\n" - - } - return content -} - func (ctx *TemplateContext) ExampleKamelBindCommand(ref string) string { tp := ctx.Kamelet.ObjectMeta.Labels["camel.apache.org/kamelet.type"] var prefix string