You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ap...@apache.org on 2024/03/05 09:56:59 UTC
(camel-kamelets-examples) branch main updated: Use *.camel.yaml filename pattern for all JBang examples
This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 38b4a17 Use *.camel.yaml filename pattern for all JBang examples
38b4a17 is described below
commit 38b4a176718f80215cd6d66ce2606fa727018e2c
Author: Aurélien Pupier <ap...@redhat.com>
AuthorDate: Tue Mar 5 10:55:03 2024 +0100
Use *.camel.yaml filename pattern for all JBang examples
it allows tooling to detect that they are Camel files and provide more
help (open correct editor, associate yaml schema and more)
Signed-off-by: Aurélien Pupier <ap...@redhat.com>
---
jbang/aws-secrets-manager/README.adoc | 4 ++--
...ecret-reloading.yaml => timer-aws-secret-reloading.camel.yaml} | 0
jbang/azure-eventhubs-kafka-azure-schema-registry/README.md | 8 ++++----
...ducer.yaml => azure-kafka-schema-registry-producer.camel.yaml} | 0
.../{kafka-kamelet-log.yaml => kafka-kamelet-log.camel.yaml} | 0
.../{kafka-log.yaml => kafka-log.camel.yaml} | 0
jbang/azure-eventhubs-kafka-ibm-mq/README.adoc | 4 ++--
.../{kafka-mq.yaml => kafka-mq.camel.yaml} | 0
.../{mq-log.yaml => mq-log.camel.yaml} | 0
.../{timer-kafka.yaml => timer-kafka.camel.yaml} | 0
jbang/azure-key-vault-secrets-reloading/README.adoc | 4 ++--
...-reloading.yaml => timer-azure-key-vault-reloading.camel.yaml} | 0
jbang/azure-servicebus/README.adoc | 4 ++--
...-servicebus-to-log.yaml => azure-servicebus-to-log.camel.yaml} | 0
...azure-servicebus.yaml => timer-to-azure-servicebus.camel.yaml} | 0
jbang/azure-storage-blob-append/README.adoc | 4 ++--
.../{timer-append-blob.yaml => timer-append-blob.camel.yaml} | 0
jbang/azure-storage-blob-cdc/README.adoc | 2 +-
...re-storage-blob-cdc.yaml => azure-storage-blob-cdc.camel.yaml} | 0
jbang/chaos-monkey/{route.yaml => route.camel.yaml} | 0
jbang/circuit-breaker/{mycb.yaml => mycb.camel.yaml} | 0
jbang/error-handler/{foo.yaml => foo.camel.yaml} | 0
jbang/gcp-secret-manager-reloading/README.adoc | 4 ++--
...ecret-reloading.yaml => timer-gcp-secret-reloading.camel.yaml} | 0
jbang/google-secret-manager/README.adoc | 4 ++--
...imer-gcp-sec-finnhub.yaml => timer-gcp-sec-finnhub.camel.yaml} | 0
jbang/google-storage-cdc/README.adoc | 4 ++--
.../{google-storage-cdc.yaml => google-storage-cdc.camel.yaml} | 0
jbang/hello-yaml/README.adoc | 4 ++--
jbang/hello-yaml/{hello.yaml => hello.camel.yaml} | 0
jbang/http-streaming/README.adoc | 2 +-
jbang/http-streaming/{my-stream.yaml => my-stream.camel.yaml} | 0
jbang/json-transform/README.adoc | 4 ++--
jbang/json-transform/{beer-jq.yaml => beer-jq.camel.yaml} | 0
jbang/kafka-apicurio-schema-registry/README.md | 6 +++---
...ka-apicurio-kamelet.yaml => kafka-apicurio-kamelet.camel.yaml} | 0
...er-kamelet.yaml => kafka-apicurio-producer-kamelet.camel.yaml} | 0
.../{kafka-log.yaml => kafka-log.camel.yaml} | 0
jbang/kafka-apicurio-secured-schema-registry/README.md | 4 ++--
...ka-apicurio-kamelet.yaml => kafka-apicurio-kamelet.camel.yaml} | 0
...er-kamelet.yaml => kafka-apicurio-producer-kamelet.camel.yaml} | 0
jbang/kafka-batch-s3/README.adoc | 2 +-
.../{kafka-batch-s3.yaml => kafka-batch-s3.camel.yaml} | 0
jbang/kafka-health/README.adoc | 6 +++---
jbang/kafka-health/{consumer.yaml => consumer.camel.yaml} | 0
jbang/kafka-health/{producer.yaml => producer.camel.yaml} | 0
jbang/kafka-mq/README.adoc | 4 ++--
jbang/kafka-mq/{kafka-mq.yaml => kafka-mq.camel.yaml} | 0
jbang/kafka-mq/{mq-log.yaml => mq-log.camel.yaml} | 0
jbang/knative/README.adoc | 8 ++++----
jbang/knative/{log-sink.yaml => log-sink.camel.yaml} | 0
jbang/knative/{timer-source.yaml => timer-source.camel.yaml} | 0
jbang/languages/{routes.yaml => routes.camel.yaml} | 0
jbang/metrics/README.adoc | 2 +-
jbang/metrics/{metrics.yaml => metrics.camel.yaml} | 0
jbang/opensearch-search-log/README.adoc | 8 ++++----
.../{os-search-log.yaml => os-search-log.camel.yaml} | 0
.../{timer-os-index.yaml => timer-os-index.camel.yaml} | 0
jbang/pipe/README.adoc | 6 +++---
jbang/pipe/{upper.yaml => upper.camel.yaml} | 0
jbang/postgresql-gcp-secret-refresh/README.adoc | 2 +-
.../{postgresql-log.yaml => postgresql-log.camel.yaml} | 0
jbang/slack-source/README.adoc | 4 ++--
jbang/slack-source/{slack-source.yaml => slack-source.camel.yaml} | 0
jbang/snowflake-migration/README.adoc | 2 +-
...wflake-to-snowflake.yaml => snowflake-to-snowflake.camel.yaml} | 0
jbang/timer-elasticsearch-index/README.adoc | 8 ++++----
.../{timer-es-index.yaml => timer-es-index.camel.yaml} | 0
jbang/timer-opensearch-index/README.adoc | 4 ++--
.../{timer-os-index.yaml => timer-os-index.camel.yaml} | 0
jbang/variables-eip/README.adoc | 2 +-
jbang/variables-eip/{myapp.yaml => myapp.camel.yaml} | 0
72 files changed, 60 insertions(+), 60 deletions(-)
diff --git a/jbang/aws-secrets-manager/README.adoc b/jbang/aws-secrets-manager/README.adoc
index 18fdece..d125aa6 100644
--- a/jbang/aws-secrets-manager/README.adoc
+++ b/jbang/aws-secrets-manager/README.adoc
@@ -54,7 +54,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run timer-aws-secret-reloading.yaml
+$ camel run timer-aws-secret-reloading.camel.yaml
----
Or run it even shorter:
@@ -95,7 +95,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ camel run timer-aws-secret-reloading.yaml --console
+$ camel run timer-aws-secret-reloading.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
diff --git a/jbang/aws-secrets-manager/timer-aws-secret-reloading.yaml b/jbang/aws-secrets-manager/timer-aws-secret-reloading.camel.yaml
similarity index 100%
rename from jbang/aws-secrets-manager/timer-aws-secret-reloading.yaml
rename to jbang/aws-secrets-manager/timer-aws-secret-reloading.camel.yaml
diff --git a/jbang/azure-eventhubs-kafka-azure-schema-registry/README.md b/jbang/azure-eventhubs-kafka-azure-schema-registry/README.md
index de71259..999ddaf 100644
--- a/jbang/azure-eventhubs-kafka-azure-schema-registry/README.md
+++ b/jbang/azure-eventhubs-kafka-azure-schema-registry/README.md
@@ -54,23 +54,23 @@ mvn clean install
```
then run:
```bash
-camel run kafka-log.yaml
+camel run kafka-log.camel.yaml
```
You can also use the Kamelet for working with Azure Schema Registry and Azure Eventhubs Kafka
```bash
-jbang --fresh run camel@apache/camel run kafka-kamelet-log.yaml
+jbang --fresh run camel@apache/camel run kafka-kamelet-log.camel.yaml
```
You can also use the Kamelet for producing to Azure Schema Registry and Azure Eventhubs Kafka
```bash
-jbang --fresh run camel@apache/camel run --local-kamelet-dir=<path_to_your_local_kamelets> azure-kafka-schema-registry-producer.yaml
+jbang --fresh run camel@apache/camel run --local-kamelet-dir=<path_to_your_local_kamelets> azure-kafka-schema-registry-producer.camel.yaml
```
To run the example without JBang, but e.g. Spring Boot, You can export the route:
```bash
-camel export application.properties kafka-log.yaml --runtime=spring-boot --directory=code --gav com.acme.example:azure-sr:1.0.0
+camel export application.properties kafka-log.camel.yaml --runtime=spring-boot --directory=code --gav com.acme.example:azure-sr:1.0.0
```
And run as a regular Spring Boot application.
diff --git a/jbang/azure-eventhubs-kafka-azure-schema-registry/azure-kafka-schema-registry-producer.yaml b/jbang/azure-eventhubs-kafka-azure-schema-registry/azure-kafka-schema-registry-producer.camel.yaml
similarity index 100%
rename from jbang/azure-eventhubs-kafka-azure-schema-registry/azure-kafka-schema-registry-producer.yaml
rename to jbang/azure-eventhubs-kafka-azure-schema-registry/azure-kafka-schema-registry-producer.camel.yaml
diff --git a/jbang/azure-eventhubs-kafka-azure-schema-registry/kafka-kamelet-log.yaml b/jbang/azure-eventhubs-kafka-azure-schema-registry/kafka-kamelet-log.camel.yaml
similarity index 100%
rename from jbang/azure-eventhubs-kafka-azure-schema-registry/kafka-kamelet-log.yaml
rename to jbang/azure-eventhubs-kafka-azure-schema-registry/kafka-kamelet-log.camel.yaml
diff --git a/jbang/azure-eventhubs-kafka-azure-schema-registry/kafka-log.yaml b/jbang/azure-eventhubs-kafka-azure-schema-registry/kafka-log.camel.yaml
similarity index 100%
rename from jbang/azure-eventhubs-kafka-azure-schema-registry/kafka-log.yaml
rename to jbang/azure-eventhubs-kafka-azure-schema-registry/kafka-log.camel.yaml
diff --git a/jbang/azure-eventhubs-kafka-ibm-mq/README.adoc b/jbang/azure-eventhubs-kafka-ibm-mq/README.adoc
index f2bdbc6..d85fbac 100644
--- a/jbang/azure-eventhubs-kafka-ibm-mq/README.adoc
+++ b/jbang/azure-eventhubs-kafka-ibm-mq/README.adoc
@@ -89,7 +89,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run --local-kamelet-dir=<your-local-kamelets-path> kafka-mq.yaml
+$ camel run --local-kamelet-dir=<your-local-kamelets-path> kafka-mq.camel.yaml
----
=== MQ to log
@@ -107,7 +107,7 @@ You can run the timer to kafka route.
[source,sh]
----
-$ camel run --local-kamelet-dir=<your-local-kamelets-path> timer-kafka.yaml
+$ camel run --local-kamelet-dir=<your-local-kamelets-path> timer-kafka.camel.yaml
----
=== Help and contributions
diff --git a/jbang/azure-eventhubs-kafka-ibm-mq/kafka-mq.yaml b/jbang/azure-eventhubs-kafka-ibm-mq/kafka-mq.camel.yaml
similarity index 100%
rename from jbang/azure-eventhubs-kafka-ibm-mq/kafka-mq.yaml
rename to jbang/azure-eventhubs-kafka-ibm-mq/kafka-mq.camel.yaml
diff --git a/jbang/azure-eventhubs-kafka-ibm-mq/mq-log.yaml b/jbang/azure-eventhubs-kafka-ibm-mq/mq-log.camel.yaml
similarity index 100%
rename from jbang/azure-eventhubs-kafka-ibm-mq/mq-log.yaml
rename to jbang/azure-eventhubs-kafka-ibm-mq/mq-log.camel.yaml
diff --git a/jbang/azure-eventhubs-kafka-ibm-mq/timer-kafka.yaml b/jbang/azure-eventhubs-kafka-ibm-mq/timer-kafka.camel.yaml
similarity index 100%
rename from jbang/azure-eventhubs-kafka-ibm-mq/timer-kafka.yaml
rename to jbang/azure-eventhubs-kafka-ibm-mq/timer-kafka.camel.yaml
diff --git a/jbang/azure-key-vault-secrets-reloading/README.adoc b/jbang/azure-key-vault-secrets-reloading/README.adoc
index beb600c..40a1bce 100644
--- a/jbang/azure-key-vault-secrets-reloading/README.adoc
+++ b/jbang/azure-key-vault-secrets-reloading/README.adoc
@@ -67,7 +67,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run timer-azure-key-vault-reloading.yaml
+$ camel run timer-azure-key-vault-reloading.camel.yaml
----
Or run it even shorter:
@@ -108,7 +108,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ camel run --properties=azure-sec-integration.properties timer-azure-key-vault-reloading.yaml --console
+$ camel run --properties=azure-sec-integration.properties timer-azure-key-vault-reloading.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
diff --git a/jbang/azure-key-vault-secrets-reloading/timer-azure-key-vault-reloading.yaml b/jbang/azure-key-vault-secrets-reloading/timer-azure-key-vault-reloading.camel.yaml
similarity index 100%
rename from jbang/azure-key-vault-secrets-reloading/timer-azure-key-vault-reloading.yaml
rename to jbang/azure-key-vault-secrets-reloading/timer-azure-key-vault-reloading.camel.yaml
diff --git a/jbang/azure-servicebus/README.adoc b/jbang/azure-servicebus/README.adoc
index 096b0e6..bb48d19 100644
--- a/jbang/azure-servicebus/README.adoc
+++ b/jbang/azure-servicebus/README.adoc
@@ -64,7 +64,7 @@ Then you can run this producer example using:
[source,sh]
----
-$ jbang -Dcamel.jbang.version=4.5.0-SNAPSHOT camel run timer-to-azure-servicebus.yaml
+$ jbang -Dcamel.jbang.version=4.5.0-SNAPSHOT camel run timer-to-azure-servicebus.camel.yaml
----
=== How to run the consumer
@@ -73,7 +73,7 @@ Then you can run this consumer example using:
[source,sh]
----
-$ jbang -Dcamel.jbang.version=4.5.0-SNAPSHOT camel run azure-servicebus-to-log.yaml
+$ jbang -Dcamel.jbang.version=4.5.0-SNAPSHOT camel run azure-servicebus-to-log.camel.yaml
----
diff --git a/jbang/azure-servicebus/azure-servicebus-to-log.yaml b/jbang/azure-servicebus/azure-servicebus-to-log.camel.yaml
similarity index 100%
rename from jbang/azure-servicebus/azure-servicebus-to-log.yaml
rename to jbang/azure-servicebus/azure-servicebus-to-log.camel.yaml
diff --git a/jbang/azure-servicebus/timer-to-azure-servicebus.yaml b/jbang/azure-servicebus/timer-to-azure-servicebus.camel.yaml
similarity index 100%
rename from jbang/azure-servicebus/timer-to-azure-servicebus.yaml
rename to jbang/azure-servicebus/timer-to-azure-servicebus.camel.yaml
diff --git a/jbang/azure-storage-blob-append/README.adoc b/jbang/azure-storage-blob-append/README.adoc
index ef61e79..9b4ac57 100644
--- a/jbang/azure-storage-blob-append/README.adoc
+++ b/jbang/azure-storage-blob-append/README.adoc
@@ -34,7 +34,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run --local-kamelet-dir=<local-kamelets-dir> timer-append-blob.yaml
+$ camel run --local-kamelet-dir=<local-kamelets-dir> timer-append-blob.camel.yaml
----
Replace the local kamelet dir with your local directory.
@@ -45,7 +45,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-append-blob.yaml --console
+$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-append-blob.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
diff --git a/jbang/azure-storage-blob-append/timer-append-blob.yaml b/jbang/azure-storage-blob-append/timer-append-blob.camel.yaml
similarity index 100%
rename from jbang/azure-storage-blob-append/timer-append-blob.yaml
rename to jbang/azure-storage-blob-append/timer-append-blob.camel.yaml
diff --git a/jbang/azure-storage-blob-cdc/README.adoc b/jbang/azure-storage-blob-cdc/README.adoc
index 3865e66..d6befff 100644
--- a/jbang/azure-storage-blob-cdc/README.adoc
+++ b/jbang/azure-storage-blob-cdc/README.adoc
@@ -85,7 +85,7 @@ While the integration is running you can run the following commands:
[source,sh]
----
-az storage blob upload --account-name kameletsaccount --container-name kamelets --file nominatim-geocode-action.kamelet.yaml --account-key <accountKey>
+az storage blob upload --account-name kameletsaccount --container-name kamelets --file nominatim-geocode-action.kamelet.camel.yaml --account-key <accountKey>
Finished[#############################################################] 100.0000%
{
"client_request_id": "f9f842e6-748a-11ed-9435-f8e43bee8a96",
diff --git a/jbang/azure-storage-blob-cdc/azure-storage-blob-cdc.yaml b/jbang/azure-storage-blob-cdc/azure-storage-blob-cdc.camel.yaml
similarity index 100%
rename from jbang/azure-storage-blob-cdc/azure-storage-blob-cdc.yaml
rename to jbang/azure-storage-blob-cdc/azure-storage-blob-cdc.camel.yaml
diff --git a/jbang/chaos-monkey/route.yaml b/jbang/chaos-monkey/route.camel.yaml
similarity index 100%
rename from jbang/chaos-monkey/route.yaml
rename to jbang/chaos-monkey/route.camel.yaml
diff --git a/jbang/circuit-breaker/mycb.yaml b/jbang/circuit-breaker/mycb.camel.yaml
similarity index 100%
rename from jbang/circuit-breaker/mycb.yaml
rename to jbang/circuit-breaker/mycb.camel.yaml
diff --git a/jbang/error-handler/foo.yaml b/jbang/error-handler/foo.camel.yaml
similarity index 100%
rename from jbang/error-handler/foo.yaml
rename to jbang/error-handler/foo.camel.yaml
diff --git a/jbang/gcp-secret-manager-reloading/README.adoc b/jbang/gcp-secret-manager-reloading/README.adoc
index 859714c..458e334 100644
--- a/jbang/gcp-secret-manager-reloading/README.adoc
+++ b/jbang/gcp-secret-manager-reloading/README.adoc
@@ -144,7 +144,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run timer-gcp-secret-reloading.yaml
+$ camel run timer-gcp-secret-reloading.camel.yaml
----
Or run it even shorter:
@@ -186,7 +186,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ camel run timer-gcp-secret-reloading.yaml --console
+$ camel run timer-gcp-secret-reloading.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
diff --git a/jbang/gcp-secret-manager-reloading/timer-gcp-secret-reloading.yaml b/jbang/gcp-secret-manager-reloading/timer-gcp-secret-reloading.camel.yaml
similarity index 100%
rename from jbang/gcp-secret-manager-reloading/timer-gcp-secret-reloading.yaml
rename to jbang/gcp-secret-manager-reloading/timer-gcp-secret-reloading.camel.yaml
diff --git a/jbang/google-secret-manager/README.adoc b/jbang/google-secret-manager/README.adoc
index eb02384..a181697 100644
--- a/jbang/google-secret-manager/README.adoc
+++ b/jbang/google-secret-manager/README.adoc
@@ -40,7 +40,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run timer-gcp-sec-finnhub.yaml
+$ camel run timer-gcp-sec-finnhub.camel.yaml
----
You should see
@@ -101,7 +101,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ camel run timer-gcp-sec-finnhub.yaml --console
+$ camel run timer-gcp-sec-finnhub.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
diff --git a/jbang/google-secret-manager/timer-gcp-sec-finnhub.yaml b/jbang/google-secret-manager/timer-gcp-sec-finnhub.camel.yaml
similarity index 100%
rename from jbang/google-secret-manager/timer-gcp-sec-finnhub.yaml
rename to jbang/google-secret-manager/timer-gcp-sec-finnhub.camel.yaml
diff --git a/jbang/google-storage-cdc/README.adoc b/jbang/google-storage-cdc/README.adoc
index 3576bde..682b064 100644
--- a/jbang/google-storage-cdc/README.adoc
+++ b/jbang/google-storage-cdc/README.adoc
@@ -113,7 +113,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run --local-kamelet-dir=<local-kamelets-dir> google-storage-cdc.yaml
+$ camel run --local-kamelet-dir=<local-kamelets-dir> google-storage-cdc.camel.yaml
----
Replace the local kamelet dir with your local directory.
@@ -124,7 +124,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ camel run --local-kamelet-dir=<local-kamelets-dir> google-storage-cdc.yaml --console
+$ camel run --local-kamelet-dir=<local-kamelets-dir> google-storage-cdc.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
diff --git a/jbang/google-storage-cdc/google-storage-cdc.yaml b/jbang/google-storage-cdc/google-storage-cdc.camel.yaml
similarity index 100%
rename from jbang/google-storage-cdc/google-storage-cdc.yaml
rename to jbang/google-storage-cdc/google-storage-cdc.camel.yaml
diff --git a/jbang/hello-yaml/README.adoc b/jbang/hello-yaml/README.adoc
index fe765c6..dcb2259 100644
--- a/jbang/hello-yaml/README.adoc
+++ b/jbang/hello-yaml/README.adoc
@@ -30,7 +30,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run hello.yaml
+$ camel run hello.camel.yaml
----
=== Run directly from github
@@ -49,7 +49,7 @@ and hot-reload when the file is saved.
[source,sh]
----
-$ camel run hello.yaml --dev
+$ camel run hello.camel.yaml --dev
----
=== Developer Web Console
diff --git a/jbang/hello-yaml/hello.yaml b/jbang/hello-yaml/hello.camel.yaml
similarity index 100%
rename from jbang/hello-yaml/hello.yaml
rename to jbang/hello-yaml/hello.camel.yaml
diff --git a/jbang/http-streaming/README.adoc b/jbang/http-streaming/README.adoc
index 8b247dc..3c62c46 100644
--- a/jbang/http-streaming/README.adoc
+++ b/jbang/http-streaming/README.adoc
@@ -40,7 +40,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run my-stream.yaml
+$ camel run my-stream.camel.yaml
----
=== Help and contributions
diff --git a/jbang/http-streaming/my-stream.yaml b/jbang/http-streaming/my-stream.camel.yaml
similarity index 100%
rename from jbang/http-streaming/my-stream.yaml
rename to jbang/http-streaming/my-stream.camel.yaml
diff --git a/jbang/json-transform/README.adoc b/jbang/json-transform/README.adoc
index f9705b2..449daac 100644
--- a/jbang/json-transform/README.adoc
+++ b/jbang/json-transform/README.adoc
@@ -30,7 +30,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run beer-jq.yaml
+$ camel run beer-jq.camel.yaml
----
=== Live updates of message transformation
@@ -39,7 +39,7 @@ You can do live changes to the template in the beer-jo.yaml file and see the out
[source,bash]
----
-$ camel transform message --body=file:sample.json --source=beer-jq.yaml --pretty --watch
+$ camel transform message --body=file:sample.json --source=beer-jq.camel.yaml --pretty --watch
----
You can then edit the source file `beer-jq.yaml` file, and save the file, and watch the terminal for updated result.
diff --git a/jbang/json-transform/beer-jq.yaml b/jbang/json-transform/beer-jq.camel.yaml
similarity index 100%
rename from jbang/json-transform/beer-jq.yaml
rename to jbang/json-transform/beer-jq.camel.yaml
diff --git a/jbang/kafka-apicurio-schema-registry/README.md b/jbang/kafka-apicurio-schema-registry/README.md
index 0922ae3..e44ada0 100644
--- a/jbang/kafka-apicurio-schema-registry/README.md
+++ b/jbang/kafka-apicurio-schema-registry/README.md
@@ -35,7 +35,7 @@ mvn clean install
```
then run:
```bash
-camel run kafka-log.yaml
+camel run kafka-log.camel.yaml
```
You should see something like
@@ -86,7 +86,7 @@ Follow the same approach but run
then run:
```bash
-jbang run camel@apache/camel run --local-kamelet-dir=<local_path_to_camel_kamelets> --kamelets-version=4.1.0-SNAPSHOT kafka-apicurio-producer-kamelet.yaml
+jbang run camel@apache/camel run --local-kamelet-dir=<local_path_to_camel_kamelets> --kamelets-version=4.1.0-SNAPSHOT kafka-apicurio-producer-kamelet.camel.yaml
```
## Consume from Kafka with Kamelets
@@ -97,6 +97,6 @@ Follow the same approach but run
then run:
```bash
-jbang run camel@apache/camel run --local-kamelet-dir=<local_path_to_camel_kamelets> --kamelets-version=4.1.0-SNAPSHOT kafka-apicurio-kamelet.yaml
+jbang run camel@apache/camel run --local-kamelet-dir=<local_path_to_camel_kamelets> --kamelets-version=4.1.0-SNAPSHOT kafka-apicurio-kamelet.camel.yaml
```
diff --git a/jbang/kafka-apicurio-schema-registry/kafka-apicurio-kamelet.yaml b/jbang/kafka-apicurio-schema-registry/kafka-apicurio-kamelet.camel.yaml
similarity index 100%
rename from jbang/kafka-apicurio-schema-registry/kafka-apicurio-kamelet.yaml
rename to jbang/kafka-apicurio-schema-registry/kafka-apicurio-kamelet.camel.yaml
diff --git a/jbang/kafka-apicurio-schema-registry/kafka-apicurio-producer-kamelet.yaml b/jbang/kafka-apicurio-schema-registry/kafka-apicurio-producer-kamelet.camel.yaml
similarity index 100%
rename from jbang/kafka-apicurio-schema-registry/kafka-apicurio-producer-kamelet.yaml
rename to jbang/kafka-apicurio-schema-registry/kafka-apicurio-producer-kamelet.camel.yaml
diff --git a/jbang/kafka-apicurio-schema-registry/kafka-log.yaml b/jbang/kafka-apicurio-schema-registry/kafka-log.camel.yaml
similarity index 100%
rename from jbang/kafka-apicurio-schema-registry/kafka-log.yaml
rename to jbang/kafka-apicurio-schema-registry/kafka-log.camel.yaml
diff --git a/jbang/kafka-apicurio-secured-schema-registry/README.md b/jbang/kafka-apicurio-secured-schema-registry/README.md
index da2a6ea..6bf88ab 100644
--- a/jbang/kafka-apicurio-secured-schema-registry/README.md
+++ b/jbang/kafka-apicurio-secured-schema-registry/README.md
@@ -45,7 +45,7 @@ mvn clean install
```
then run:
```bash
-jbang run camel@apache/camel run --local-kamelet-dir=<local_path_to_camel_kamelets> kafka-apicurio-kamelet.yaml
+jbang run camel@apache/camel run --local-kamelet-dir=<local_path_to_camel_kamelets> kafka-apicurio-kamelet.camel.yaml
```
You should see something like
@@ -97,6 +97,6 @@ Follow the same approach but run
then run:
```bash
-jbang run camel@apache/camel run --local-kamelet-dir=<local_path_to_camel_kamelets> kafka-apicurio-producer-kamelet.yaml
+jbang run camel@apache/camel run --local-kamelet-dir=<local_path_to_camel_kamelets> kafka-apicurio-producer-kamelet.camel.yaml
```
diff --git a/jbang/kafka-apicurio-secured-schema-registry/kafka-apicurio-kamelet.yaml b/jbang/kafka-apicurio-secured-schema-registry/kafka-apicurio-kamelet.camel.yaml
similarity index 100%
rename from jbang/kafka-apicurio-secured-schema-registry/kafka-apicurio-kamelet.yaml
rename to jbang/kafka-apicurio-secured-schema-registry/kafka-apicurio-kamelet.camel.yaml
diff --git a/jbang/kafka-apicurio-secured-schema-registry/kafka-apicurio-producer-kamelet.yaml b/jbang/kafka-apicurio-secured-schema-registry/kafka-apicurio-producer-kamelet.camel.yaml
similarity index 100%
rename from jbang/kafka-apicurio-secured-schema-registry/kafka-apicurio-producer-kamelet.yaml
rename to jbang/kafka-apicurio-secured-schema-registry/kafka-apicurio-producer-kamelet.camel.yaml
diff --git a/jbang/kafka-batch-s3/README.adoc b/jbang/kafka-batch-s3/README.adoc
index 2e51747..a6359f2 100644
--- a/jbang/kafka-batch-s3/README.adoc
+++ b/jbang/kafka-batch-s3/README.adoc
@@ -65,7 +65,7 @@ Then you can run this example using:
[source,sh]
----
-$ jbang -Dcamel.jbang.version=4.4.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=<path_to_kamelets_repository> kafka-batch-s3.yaml
+$ jbang -Dcamel.jbang.version=4.4.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=<path_to_kamelets_repository> kafka-batch-s3.camel.yaml
----
=== Consumer running
diff --git a/jbang/kafka-batch-s3/kafka-batch-s3.yaml b/jbang/kafka-batch-s3/kafka-batch-s3.camel.yaml
similarity index 100%
rename from jbang/kafka-batch-s3/kafka-batch-s3.yaml
rename to jbang/kafka-batch-s3/kafka-batch-s3.camel.yaml
diff --git a/jbang/kafka-health/README.adoc b/jbang/kafka-health/README.adoc
index e3104bc..cc812d3 100644
--- a/jbang/kafka-health/README.adoc
+++ b/jbang/kafka-health/README.adoc
@@ -64,7 +64,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run consumer.yaml producer.yaml --health
+$ camel run consumer.camel.yaml producer.camel.yaml --health
----
And you can also run the example by using wildcards, instead of typing every file name:
@@ -78,12 +78,12 @@ You can also run consumer and producer in two seperate integrations:
[source,sh]
----
-$ camel run consumer.yaml --health
+$ camel run consumer.camel.yaml --health
----
[source,sh]
----
-$ camel run producer.yaml --health
+$ camel run producer.camel.yaml --health
----
Then you can access `http://localhost:8080/q/health` from a web browser to see the health status.
diff --git a/jbang/kafka-health/consumer.yaml b/jbang/kafka-health/consumer.camel.yaml
similarity index 100%
rename from jbang/kafka-health/consumer.yaml
rename to jbang/kafka-health/consumer.camel.yaml
diff --git a/jbang/kafka-health/producer.yaml b/jbang/kafka-health/producer.camel.yaml
similarity index 100%
rename from jbang/kafka-health/producer.yaml
rename to jbang/kafka-health/producer.camel.yaml
diff --git a/jbang/kafka-mq/README.adoc b/jbang/kafka-mq/README.adoc
index c704b79..5551923 100644
--- a/jbang/kafka-mq/README.adoc
+++ b/jbang/kafka-mq/README.adoc
@@ -80,12 +80,12 @@ Then you can run this example using:
[source,sh]
----
-$ camel run kafka-mq.yaml
+$ camel run kafka-mq.camel.yaml
----
[source,sh]
----
-$ camel run mq-log.yaml
+$ camel run mq-log.camel.yaml
----
Replace the local kamelet dir with your local directory.
diff --git a/jbang/kafka-mq/kafka-mq.yaml b/jbang/kafka-mq/kafka-mq.camel.yaml
similarity index 100%
rename from jbang/kafka-mq/kafka-mq.yaml
rename to jbang/kafka-mq/kafka-mq.camel.yaml
diff --git a/jbang/kafka-mq/mq-log.yaml b/jbang/kafka-mq/mq-log.camel.yaml
similarity index 100%
rename from jbang/kafka-mq/mq-log.yaml
rename to jbang/kafka-mq/mq-log.camel.yaml
diff --git a/jbang/knative/README.adoc b/jbang/knative/README.adoc
index 5b652be..1e7803e 100644
--- a/jbang/knative/README.adoc
+++ b/jbang/knative/README.adoc
@@ -36,8 +36,8 @@ Then you can run this example using:
[source,sh]
----
-$ camel run log-sink.yaml
-$ camel run timer-source.yaml
+$ camel run log-sink.camel.yaml
+$ camel run timer-source.camel.yaml
----
Pleas make sure to run the routes in separate terminals so you can see the individual log output with the events being exchanged.
@@ -49,7 +49,7 @@ and hot-reload when the file is saved.
[source,sh]
----
-$ camel run log-sink.yaml --dev
+$ camel run log-sink.camel.yaml --dev
----
=== Run directly from github
@@ -67,7 +67,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ camel run log-sink.yaml --console
+$ camel run log-sink.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel application.
diff --git a/jbang/knative/log-sink.yaml b/jbang/knative/log-sink.camel.yaml
similarity index 100%
rename from jbang/knative/log-sink.yaml
rename to jbang/knative/log-sink.camel.yaml
diff --git a/jbang/knative/timer-source.yaml b/jbang/knative/timer-source.camel.yaml
similarity index 100%
rename from jbang/knative/timer-source.yaml
rename to jbang/knative/timer-source.camel.yaml
diff --git a/jbang/languages/routes.yaml b/jbang/languages/routes.camel.yaml
similarity index 100%
rename from jbang/languages/routes.yaml
rename to jbang/languages/routes.camel.yaml
diff --git a/jbang/metrics/README.adoc b/jbang/metrics/README.adoc
index 95c89cd..b19c8d9 100644
--- a/jbang/metrics/README.adoc
+++ b/jbang/metrics/README.adoc
@@ -30,7 +30,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run metrics.yaml
+$ camel run metrics.camel.yaml
----
=== Run directly from github
diff --git a/jbang/metrics/metrics.yaml b/jbang/metrics/metrics.camel.yaml
similarity index 100%
rename from jbang/metrics/metrics.yaml
rename to jbang/metrics/metrics.camel.yaml
diff --git a/jbang/opensearch-search-log/README.adoc b/jbang/opensearch-search-log/README.adoc
index 7995bc1..59f9b9e 100644
--- a/jbang/opensearch-search-log/README.adoc
+++ b/jbang/opensearch-search-log/README.adoc
@@ -66,7 +66,7 @@ Then you can run this example using:
[source,sh]
----
-$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-os-index.yaml
+$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-os-index.camel.yaml
----
=== Developer Web Console
@@ -75,7 +75,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-os-index.yaml --console
+$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-os-index.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
@@ -131,7 +131,7 @@ Then you can run this example using:
[source,sh]
----
-$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> os-search-log.yaml
+$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> os-search-log.camel.yaml
----
=== Developer Web Console
@@ -140,7 +140,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> os-search-log.yaml --console
+$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> os-search-log.camel.yaml --console
----
=== Running source for searching index
diff --git a/jbang/opensearch-search-log/os-search-log.yaml b/jbang/opensearch-search-log/os-search-log.camel.yaml
similarity index 100%
rename from jbang/opensearch-search-log/os-search-log.yaml
rename to jbang/opensearch-search-log/os-search-log.camel.yaml
diff --git a/jbang/opensearch-search-log/timer-os-index.yaml b/jbang/opensearch-search-log/timer-os-index.camel.yaml
similarity index 100%
rename from jbang/opensearch-search-log/timer-os-index.yaml
rename to jbang/opensearch-search-log/timer-os-index.camel.yaml
diff --git a/jbang/pipe/README.adoc b/jbang/pipe/README.adoc
index eedff16..86054cd 100644
--- a/jbang/pipe/README.adoc
+++ b/jbang/pipe/README.adoc
@@ -25,7 +25,7 @@ has execution permission:
[source,sh]
----
-chmod +x upper.yaml
+chmod +x upper.camel.yaml
chmod +x to_csv.java
----
@@ -33,7 +33,7 @@ To run this example you can then run the script:
[source,sh]
----
-echo "Hello\nWorld" | ./upper.yaml
+echo "Hello\nWorld" | ./upper.camel.yaml
----
You can combine this with more pipes and filters scripting.
@@ -44,7 +44,7 @@ and then back into Camel to be converted into CSV.
[source,sh]
----
-cat words.txt | ./upper.yaml | sort | ./to_csv.java
+cat words.txt | ./upper.camel.yaml | sort | ./to_csv.java
----
=== Help and contributions
diff --git a/jbang/pipe/upper.yaml b/jbang/pipe/upper.camel.yaml
similarity index 100%
rename from jbang/pipe/upper.yaml
rename to jbang/pipe/upper.camel.yaml
diff --git a/jbang/postgresql-gcp-secret-refresh/README.adoc b/jbang/postgresql-gcp-secret-refresh/README.adoc
index 9bdcddd..8711a7b 100644
--- a/jbang/postgresql-gcp-secret-refresh/README.adoc
+++ b/jbang/postgresql-gcp-secret-refresh/README.adoc
@@ -295,7 +295,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ camel run postgresql-log.yaml --console
+$ camel run postgresql-log.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
diff --git a/jbang/postgresql-gcp-secret-refresh/postgresql-log.yaml b/jbang/postgresql-gcp-secret-refresh/postgresql-log.camel.yaml
similarity index 100%
rename from jbang/postgresql-gcp-secret-refresh/postgresql-log.yaml
rename to jbang/postgresql-gcp-secret-refresh/postgresql-log.camel.yaml
diff --git a/jbang/slack-source/README.adoc b/jbang/slack-source/README.adoc
index 4c323d6..74fa488 100644
--- a/jbang/slack-source/README.adoc
+++ b/jbang/slack-source/README.adoc
@@ -47,7 +47,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run --properties=slack-integration.properties slack-source.yaml
+$ camel run --properties=slack-integration.properties slack-source.camel.yaml
----
You should see
@@ -99,7 +99,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ camel run --properties=slack-integration.properties slack-source.yaml --console
+$ camel run --properties=slack-integration.properties slack-source.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
diff --git a/jbang/slack-source/slack-source.yaml b/jbang/slack-source/slack-source.camel.yaml
similarity index 100%
rename from jbang/slack-source/slack-source.yaml
rename to jbang/slack-source/slack-source.camel.yaml
diff --git a/jbang/snowflake-migration/README.adoc b/jbang/snowflake-migration/README.adoc
index 9ab3f19..0db7c8c 100644
--- a/jbang/snowflake-migration/README.adoc
+++ b/jbang/snowflake-migration/README.adoc
@@ -70,7 +70,7 @@ Then you can run this example using:
[source,sh]
----
-$ jbang -R=--add-opens -R=java.base/java.nio=ALL-UNNAMED -Dcamel.jbang.version=4.4.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> snowflake-log.yaml
+$ jbang -R=--add-opens -R=java.base/java.nio=ALL-UNNAMED -Dcamel.jbang.version=4.4.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> snowflake-log.camel.yaml
----
In the log you should see:
diff --git a/jbang/snowflake-migration/snowflake-to-snowflake.yaml b/jbang/snowflake-migration/snowflake-to-snowflake.camel.yaml
similarity index 100%
rename from jbang/snowflake-migration/snowflake-to-snowflake.yaml
rename to jbang/snowflake-migration/snowflake-to-snowflake.camel.yaml
diff --git a/jbang/timer-elasticsearch-index/README.adoc b/jbang/timer-elasticsearch-index/README.adoc
index b8f73e6..18acf4f 100644
--- a/jbang/timer-elasticsearch-index/README.adoc
+++ b/jbang/timer-elasticsearch-index/README.adoc
@@ -51,7 +51,7 @@ Password for the [elastic] user successfully reset.
New value: xxxxx
----
-Take note of the password, open the `timer-es-index.yaml` file and add the password in substitution of <password>
+Take note of the password, open the `timer-es-index.camel.yaml` file and add the password in substitution of <password>
Now we need to download the self-signed certificate to communicate with the Elasticsearch cluster
@@ -94,7 +94,7 @@ We need now to encode the http_ca.crt into base64 to be used in the kamelet
[oscerd@ghost timer-elasticsearch-index]$ cat http_ca.crt | base64 -w 0
----
-Take note of the value, open the `timer-es-index.yaml` file and add the value in substitution of <certificate>
+Take note of the value, open the `timer-es-index.camel.yaml` file and add the value in substitution of <certificate>
We should be ready to test our route.
@@ -104,7 +104,7 @@ Then you can run this example using:
[source,sh]
----
-$ jbang run --fresh -Dcamel.jbang.version=3.21.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-es-index.yaml
+$ jbang run --fresh -Dcamel.jbang.version=3.21.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-es-index.camel.yaml
----
=== Developer Web Console
@@ -113,7 +113,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ jbang run --fresh -Dcamel.jbang.version=3.21.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-es-index.yaml --console
+$ jbang run --fresh -Dcamel.jbang.version=3.21.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-es-index.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
diff --git a/jbang/timer-elasticsearch-index/timer-es-index.yaml b/jbang/timer-elasticsearch-index/timer-es-index.camel.yaml
similarity index 100%
rename from jbang/timer-elasticsearch-index/timer-es-index.yaml
rename to jbang/timer-elasticsearch-index/timer-es-index.camel.yaml
diff --git a/jbang/timer-opensearch-index/README.adoc b/jbang/timer-opensearch-index/README.adoc
index 1e42101..8b68828 100644
--- a/jbang/timer-opensearch-index/README.adoc
+++ b/jbang/timer-opensearch-index/README.adoc
@@ -66,7 +66,7 @@ Then you can run this example using:
[source,sh]
----
-$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-os-index.yaml
+$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-os-index.camel.yaml
----
=== Developer Web Console
@@ -75,7 +75,7 @@ You can enable the developer console via `--console` flag as show:
[source,sh]
----
-$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-os-index.yaml --console
+$ jbang run --fresh camel@apache/camel run --local-kamelet-dir=<path_to_local_kamelet_dir> timer-os-index.camel.yaml --console
----
Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
diff --git a/jbang/timer-opensearch-index/timer-os-index.yaml b/jbang/timer-opensearch-index/timer-os-index.camel.yaml
similarity index 100%
rename from jbang/timer-opensearch-index/timer-os-index.yaml
rename to jbang/timer-opensearch-index/timer-os-index.camel.yaml
diff --git a/jbang/variables-eip/README.adoc b/jbang/variables-eip/README.adoc
index 6699211..30e6e13 100644
--- a/jbang/variables-eip/README.adoc
+++ b/jbang/variables-eip/README.adoc
@@ -30,7 +30,7 @@ Then you can run this example using:
[source,sh]
----
-$ camel run myapp.yaml
+$ camel run myapp.camel.yaml
----
Or run with wildcard:
diff --git a/jbang/variables-eip/myapp.yaml b/jbang/variables-eip/myapp.camel.yaml
similarity index 100%
rename from jbang/variables-eip/myapp.yaml
rename to jbang/variables-eip/myapp.camel.yaml