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 be99b27c2c0 CAMEL-19050: set bind mode to read-only in order to resolve permission error in Docker container (#9497) be99b27c2c0 is described below commit be99b27c2c01c7669b3de605c8d5c0b0d3d52683 Author: Claude Mamo <823038+claudem...@users.noreply.github.com> AuthorDate: Fri Mar 10 18:08:17 2023 +0100 CAMEL-19050: set bind mode to read-only in order to resolve permission error in Docker container (#9497) * CAMEL-19050: set bind mode to read-only in order to resolve permission error in Docker container * CAMEL-19050: edited component description --- .../camel-dhis2-component/src/main/docs/dhis2-component.adoc | 2 +- .../src/test/java/org/apache/camel/component/dhis2/Environment.java | 2 +- 2 files changed, 2 insertions(+), 2 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 b5d939160d2..088f96c1620 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 @@ -11,7 +11,7 @@ *{component-header}* -The Camel DHIS2 component leverages the https://github.com/dhis2/dhis2-java-sdk[DHIS2 Java SDK] to integrate Apache Camel with the https://dhis2.org/[DHIS2]. DHIS2 is a free, open-source software platform for collecting, analyzing, visualizing and sharing data. +The Camel DHIS2 component leverages the https://github.com/dhis2/dhis2-java-sdk[DHIS2 Java SDK] to integrate Apache Camel with the https://dhis2.org/[DHIS2]. DHIS2 is a free, open-source, fully customizable platform for collecting, analyzing, visualizing, and sharing aggregate and individual-data for district-level, national, regional, and international system and program management in health, education, and other domains. Maven users will need to add the following dependency to their `+pom.xml+`. diff --git a/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Environment.java b/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Environment.java index a5f2e4d716c..b58f7709074 100644 --- a/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Environment.java +++ b/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Environment.java @@ -61,7 +61,7 @@ public final class Environment { DHIS2_CONTAINER = new GenericContainer<>( "dhis2/core:2.37.4-tomcat-8.5.34-jre8-alpine") .dependsOn(POSTGRESQL_CONTAINER) - .withClasspathResourceMapping("dhis.conf", "/DHIS2_home/dhis.conf", BindMode.READ_WRITE) + .withClasspathResourceMapping("dhis.conf", "/DHIS2_home/dhis.conf", BindMode.READ_ONLY) .withNetwork(NETWORK).withExposedPorts(8080) .waitingFor( new HttpWaitStrategy().forStatusCode(200).withStartupTimeout(Duration.ofSeconds(120)))