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 5437d74d509 Keep DHIS2 component backwards compatible (#13024) 5437d74d509 is described below commit 5437d74d509dcce3a3a19299321658f29ae1bd02 Author: Claude Mamo <823038+claudem...@users.noreply.github.com> AuthorDate: Wed Feb 7 06:55:23 2024 +0100 Keep DHIS2 component backwards compatible (#13024) * fix: keep DHIS2 component backwards compatible * test: remove duplicate log entry --- .../src/test/java/org/apache/camel/component/dhis2/Dhis2GetIT.java | 1 - components/camel-dhis2/pom.xml | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Dhis2GetIT.java b/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Dhis2GetIT.java index 907145c9233..b548ddb45f2 100644 --- a/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Dhis2GetIT.java +++ b/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Dhis2GetIT.java @@ -55,7 +55,6 @@ public class Dhis2GetIT extends AbstractDhis2TestSupport { final List<OrganisationUnit> result = requestBodyAndHeaders("direct://COLLECTION", null, headers); - LOG.debug("collection: {}", result); assertTrue(result.size() >= 2); LOG.debug("collection: {}", result); } diff --git a/components/camel-dhis2/pom.xml b/components/camel-dhis2/pom.xml index 11ebe1e665c..6ed92c8efce 100644 --- a/components/camel-dhis2/pom.xml +++ b/components/camel-dhis2/pom.xml @@ -59,6 +59,12 @@ <version>${dhis2-java-sdk.version}</version> <classifier>v40.2.2</classifier> </dependency> + <dependency> + <groupId>org.hisp.dhis.integration.sdk</groupId> + <artifactId>jackson-resource-model</artifactId> + <version>${dhis2-java-sdk.version}</version> + <classifier>v2.39.1</classifier> + </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-test-junit5</artifactId>