This is an automated email from the ASF dual-hosted git repository.

gfournier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new a34054254 doc: Fix Camel K examples links
a34054254 is described below

commit a340542543e5c39ddf44532bf13ce31dc77373c0
Author: Gaelle Fournier <gaelle.fournier.w...@gmail.com>
AuthorDate: Wed Jun 12 18:28:49 2024 +0200

    doc: Fix Camel K examples links
---
 docs/modules/ROOT/pages/running/run-from-github.adoc | 4 ++--
 docs/modules/traits/pages/route.adoc                 | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/modules/ROOT/pages/running/run-from-github.adoc 
b/docs/modules/ROOT/pages/running/run-from-github.adoc
index 2cc744996..f9427bf17 100644
--- a/docs/modules/ROOT/pages/running/run-from-github.adoc
+++ b/docs/modules/ROOT/pages/running/run-from-github.adoc
@@ -16,14 +16,14 @@ As example, running the following command
 
 [source]
 ----
-kamel run github:apache/camel-k/examples/languages/Sample.java
+kamel run github:apache/camel-k-examples/generic-examples/languages/Sample.java
 ----
 
 is equivalent to:
 
 [source]
 ----
-kamel run 
https://raw.githubusercontent.com/apache/camel-k/main/examples/languages/Sample.java
+kamel run 
https://raw.githubusercontent.com/apache/camel-k-examples/main/generic-examples/languages/Sample.java
 ----
 
 but does not require to type the full GitHub RAW URL.
diff --git a/docs/modules/traits/pages/route.adoc 
b/docs/modules/traits/pages/route.adoc
index 163f9e598..49f3b32aa 100755
--- a/docs/modules/traits/pages/route.adoc
+++ b/docs/modules/traits/pages/route.adoc
@@ -116,7 +116,7 @@ Refer to the OpenShift route documentation for additional 
information.
 
 == Examples
 
-These examples uses *secrets* to store the certificates and keys to be 
referenced in the integrations. Read OpenShift route documentation for detailed 
information about routes. The 
https://github.com/apache/camel-k/blob/main/examples/http/PlatformHttpServer.java[PlatformHttpServer.java]
 is the integration example. 
+These examples uses *secrets* to store the certificates and keys to be 
referenced in the integrations. Read OpenShift route documentation for detailed 
information about routes. 
https://github.com/apache/camel-k-examples/blob/main/generic-examples/http/PlatformHttpServer.java[PlatformHttpServer.java]
 is the integration example.
 
 As a requirement to run these examples, you should have a `secret` with a key 
and certificate.
 
@@ -135,6 +135,7 @@ For all examples, you can use the following curl command to 
make an HTTP request
 [source,console]
 curl -k https://platform-http-server-`oc config view --minify -o 
'jsonpath={..namespace}'`.`oc get dnses/cluster 
-ojsonpath='{.spec.baseDomain}'`/hello?name=Camel-K
 
+
 * To add an *edge* route using secrets, use the parameters ending in `-secret` 
to set the secret name which contains the certificate. This route example trait 
references a secret named `my-combined-certs` which contains two keys named 
`tls.key` and `tls.crt`.
 +
 [source,console]

Reply via email to