This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 6c4b4a57d9b3 CAMEL-22764: Fix camel-oauth doc in the wrong place
6c4b4a57d9b3 is described below
commit 6c4b4a57d9b3654413f10443e52bec94055bf47c
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Dec 9 16:33:56 2025 +0100
CAMEL-22764: Fix camel-oauth doc in the wrong place
---
.../src/main/docs/{oauth-component.adoc => oauth.adoc} | 14 ++++----------
docs/components/modules/ROOT/nav.adoc | 1 -
docs/components/modules/ROOT/pages/oauth-component.adoc | 1 -
docs/components/modules/others/nav.adoc | 1 +
docs/components/modules/others/pages/oauth.adoc | 1 +
5 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/components/camel-oauth/src/main/docs/oauth-component.adoc
b/components/camel-oauth/src/main/docs/oauth.adoc
similarity index 96%
rename from components/camel-oauth/src/main/docs/oauth-component.adoc
rename to components/camel-oauth/src/main/docs/oauth.adoc
index d48b78810dff..9de058bc923f 100644
--- a/components/camel-oauth/src/main/docs/oauth-component.adoc
+++ b/components/camel-oauth/src/main/docs/oauth.adoc
@@ -1,19 +1,14 @@
-= OAuth Component
-:doctitle: OAuth
+= Oauth Component
+:doctitle: Oauth
:shortname: oauth
:artifactid: camel-oauth
-:description: Socket level networking using TCP or UDP with Netty 4.x.
+:description: Camel OAuth (Preview)
:since: 4.12
:supportlevel: Preview
:tabs-sync-option:
-:component-header: Set of Exchange Processors
-//Manually maintained attributes
-//:camel-spring-boot-name: oauth
*Since Camel {since}*
-*{component-header}*
-
The camel-oauth module comes with Processors that can be added to a route on
the client and resource owner side.
These processors intercept the message flow and perform the necessary
authentication steps against an Identity Provider (IdP) in some specs it also
called Authorization Server. Our primary choice of IdP is
https://www.keycloak.org[Keycloak]
@@ -132,7 +127,7 @@ Keycloak is already configured in such a way that below
examples should run with
There is a comprehensive set of camel-oauth examples as part of
https://github.com/tdiesler/camel-cloud-examples[camel-cloud-examples]. You'll
find xref:manual::camel-jbang.adoc[camel-jbang kubernetes] examples for every
OAuth flow, for every runtime, on every supported cluster.
-For example ...
+For example in the following _makefile_:
[source,makefile]
----
@@ -156,4 +151,3 @@ k8s-export: k8s-fetch-cert
--trait container.image-pull-policy=IfNotPresent \
--runtime=camel-main
----
-
diff --git a/docs/components/modules/ROOT/nav.adoc
b/docs/components/modules/ROOT/nav.adoc
index 852f888876fe..507b5315409c 100644
--- a/docs/components/modules/ROOT/nav.adoc
+++ b/docs/components/modules/ROOT/nav.adoc
@@ -275,7 +275,6 @@
** xref:netty-http-component.adoc[Netty HTTP]
** xref:nitrite-component.adoc[Nitrite]
** xref:oaipmh-component.adoc[OAI-PMH]
-** xref:oauth-component.adoc[OAuth]
** xref:olingo2-component.adoc[Olingo2]
** xref:olingo4-component.adoc[Olingo4]
** xref:milo-browse-component.adoc[OPC UA Browser]
diff --git a/docs/components/modules/ROOT/pages/oauth-component.adoc
b/docs/components/modules/ROOT/pages/oauth-component.adoc
deleted file mode 120000
index 4c8a72360d67..000000000000
--- a/docs/components/modules/ROOT/pages/oauth-component.adoc
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../components/camel-oauth/src/main/docs/oauth-component.adoc
\ No newline at end of file
diff --git a/docs/components/modules/others/nav.adoc
b/docs/components/modules/others/nav.adoc
index 0d8cdddbdd43..93e4ed21385b 100644
--- a/docs/components/modules/others/nav.adoc
+++ b/docs/components/modules/others/nav.adoc
@@ -36,6 +36,7 @@
** xref:microprofile-config.adoc[Microprofile Config]
** xref:microprofile-fault-tolerance.adoc[Microprofile Fault Tolerance]
** xref:microprofile-health.adoc[Microprofile Health]
+** xref:oauth.adoc[Oauth]
** xref:observability-services.adoc[Observability Services]
** xref:openapi-java.adoc[Openapi Java]
** xref:openapi-validator.adoc[Openapi Validator]
diff --git a/docs/components/modules/others/pages/oauth.adoc
b/docs/components/modules/others/pages/oauth.adoc
new file mode 120000
index 000000000000..1df9aeb7c828
--- /dev/null
+++ b/docs/components/modules/others/pages/oauth.adoc
@@ -0,0 +1 @@
+../../../../../components/camel-oauth/src/main/docs/oauth.adoc
\ No newline at end of file