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 1d43f5d7b37 docs: remove duplicate code example in DHIS2 component
(#17404)
1d43f5d7b37 is described below
commit 1d43f5d7b379811f3a89c5cee0a3cd57bb8417f4
Author: cjmamo <[email protected]>
AuthorDate: Mon Mar 10 20:03:21 2025 +0100
docs: remove duplicate code example in DHIS2 component (#17404)
---
.../src/main/docs/dhis2-component.adoc | 20 --------------------
1 file changed, 20 deletions(-)
diff --git
a/components/camel-dhis2/camel-dhis2-component/src/main/docs/dhis2-component.adoc
b/components/camel-dhis2/camel-dhis2-component/src/main/docs/dhis2-component.adoc
index b00e1409fef..ec8f53a06e2 100644
---
a/components/camel-dhis2/camel-dhis2-component/src/main/docs/dhis2-component.adoc
+++
b/components/camel-dhis2/camel-dhis2-component/src/main/docs/dhis2-component.adoc
@@ -90,26 +90,6 @@ YAML::
----
====
-* Fetch an organisation unit code by ID:
-+
-[source,java]
-----
-package org.camel.dhis2.example;
-
-import org.apache.camel.builder.RouteBuilder;
-
-public class MyRouteBuilder extends RouteBuilder {
-
- public void configure() {
- from("direct:getResource")
-
.to("dhis2://get/resource?path=organisationUnits/O6uvpzGd5pu&fields=code&username=admin&password=district&baseApiUrl=https://play.dhis2.org/40.2.2/api")
- .unmarshal()
- .json(org.hisp.dhis.api.model.v40_2_2.OrganisationUnit.class);
- }
-}
-
-----
-
* Fetch all organisation units:
+
[tabs]