You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2024/09/19 15:28:03 UTC
(camel-kamelets) branch main updated: fix(doc): missing links from original documentation
This is an automated email from the ASF dual-hosted git repository.
pcongiusti 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 5f374729 fix(doc): missing links from original documentation
5f374729 is described below
commit 5f374729cb7731c436c27c2ceafb0f5a53f6c8b9
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Sep 19 17:27:55 2024 +0200
fix(doc): missing links from original documentation
---
docs/modules/ROOT/pages/development.adoc | 50 --------------------------------
docs/modules/ROOT/pages/index.adoc | 2 +-
2 files changed, 1 insertion(+), 51 deletions(-)
diff --git a/docs/modules/ROOT/pages/development.adoc b/docs/modules/ROOT/pages/development.adoc
index 9a7097ef..965d504f 100644
--- a/docs/modules/ROOT/pages/development.adoc
+++ b/docs/modules/ROOT/pages/development.adoc
@@ -326,54 +326,6 @@ kamel logs twitter-search-source-binding
If everything goes right, you should get some tweets in the logs after the integration is created.
-Refer to the xref:kamelets/kamelets-user.adoc[Kamelets User Guide] for more information on how to use it in different contexts (like Knative, Kafka, etc.).
-
-== Kamelet versions
-
-The catalog containing a set of Kamelets is generally developed in order to be used with a given Camel version (see the Apache Camel Kamelets catalog). However, when publishing the Kamelet to the cluster you may want to maintain more than one version for any reason (ie, to use a different dependency and be able to support multiple runtimes). You can therefore use the `.spec.versions` parameter to optionally maintain a set of alternative versions beside the main (and default) one.
-
-.my-timer-source.yaml
-[source,yaml]
-----
-apiVersion: camel.apache.org/v1
-kind: Kamelet
-metadata:
- name: my-timer-source
-spec:
- definition:
- title: "Timer Example"
- types:
- out:
- mediaType: text/plain
- template:
- from:
- uri: timer:tick
- steps:
- - setBody:
- constant: "Kamelet Main"
- - to: "kamelet:sink"
- versions:
- v2:
- definition:
- title: "Timer Example 2"
- types:
- out:
- mediaType: text/plain
- template:
- from:
- uri: timer:tick
- steps:
- - setBody:
- constant: "Kamelet V2"
- - to: "kamelet:sink"
-----
-
-NOTE: make sure the overall content fits into 1 MiB, which is the storage limit for a Custom Resource.
-
-This is a way to handle multiple version on Kubernetes and may not be supported out of the box by Camel core. If the Integration will require specifically to use `kamelet:my-timer-source?kameletVersion=v2`, then, the operator will mount properly the specification on the running application.
-
-The `.spec.versions` field may not be necessarily supported by the core as it's meant to provide a way to handle versioning on the cluster only. The runtime must be provided with a materialized Kamelet file with the chosen spec (the operator is in charge of that).
-
== Kamelet data types
A Kamelet usually encapsulates a specific functionality and serves a very opinionated use case with well-defined input parameters and outcome.
@@ -1112,8 +1064,6 @@ kamel logs earthquake-source-binding
If everything went well, you should see the events in the log.
-Refer to the xref:kamelets/kamelets-user.adoc[Kamelets User Guide] for more information on how to use it in different contexts (like Knative, Kafka, etc.).
-
[[creating-sink]]
== Creating a sink Kamelet
diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc
index 4ee97b68..4fd8fcf8 100644
--- a/docs/modules/ROOT/pages/index.adoc
+++ b/docs/modules/ROOT/pages/index.adoc
@@ -53,7 +53,7 @@ indexTable::[version="*",relative="avro-deserialize-action.adoc",cellformats="ut
This page contains the default Apache Camel Kamelets catalog.
-Consult the xref:{camel-k-docs-version}@camel-k::kamelets/kamelets-user.adoc[Kamelets User Guide] for information about how to use these.
+Consult the Kamelets User Guide for information about how to use these.
**We love contributions for this catalog**: you can follow the Kamelets Developer Guide for information on how to create new Kamelets and contribute them to the official https://github.com/apache/camel-kamelets/[github.com/apache/camel-kamelets] repository.