This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 3d8473a Regen 3d8473a is described below commit 3d8473ade7bd413ae4441d08ff06d0661702c1ee Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Sep 24 09:37:12 2019 +0200 Regen --- apache-camel/pom.xml | 6 ++-- apache-camel/src/main/descriptors/common-bin.xml | 2 +- bom/camel-bom/pom.xml | 6 ++-- components/readme.adoc | 4 ++- .../kubernetes-persistent-volumes-component.adoc | 33 ++++++++++++++++++++++ parent/pom.xml | 6 ++-- .../camel-spring-boot-dependencies/pom.xml | 6 ++-- 7 files changed, 49 insertions(+), 14 deletions(-) diff --git a/apache-camel/pom.xml b/apache-camel/pom.xml index 4b55220..9ac79f8 100644 --- a/apache-camel/pom.xml +++ b/apache-camel/pom.xml @@ -1508,17 +1508,17 @@ </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring-junit5</artifactId> + <artifactId>camel-test-karaf</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-karaf</artifactId> + <artifactId>camel-test-spring</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring</artifactId> + <artifactId>camel-test-spring-junit5</artifactId> <version>${project.version}</version> </dependency> <dependency> diff --git a/apache-camel/src/main/descriptors/common-bin.xml b/apache-camel/src/main/descriptors/common-bin.xml index 09eaa00..adb73c0 100644 --- a/apache-camel/src/main/descriptors/common-bin.xml +++ b/apache-camel/src/main/descriptors/common-bin.xml @@ -322,9 +322,9 @@ <include>org.apache.camel:camel-test-blueprint</include> <include>org.apache.camel:camel-test-cdi</include> <include>org.apache.camel:camel-test-junit5</include> - <include>org.apache.camel:camel-test-spring-junit5</include> <include>org.apache.camel:camel-test-karaf</include> <include>org.apache.camel:camel-test-spring</include> + <include>org.apache.camel:camel-test-spring-junit5</include> <include>org.apache.camel:camel-testcontainers</include> <include>org.apache.camel:camel-testcontainers-spring</include> <include>org.apache.camel:camel-thrift</include> diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml index 52b2c0f..3a461ee 100644 --- a/bom/camel-bom/pom.xml +++ b/bom/camel-bom/pom.xml @@ -2925,17 +2925,17 @@ </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring-junit5</artifactId> + <artifactId>camel-test-karaf</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-karaf</artifactId> + <artifactId>camel-test-spring</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring</artifactId> + <artifactId>camel-test-spring-junit5</artifactId> <version>${project.version}</version> </dependency> <dependency> diff --git a/components/readme.adoc b/components/readme.adoc index 22a5457..989e36b 100644 --- a/components/readme.adoc +++ b/components/readme.adoc @@ -1065,7 +1065,7 @@ Number of Languages: 17 in 11 JAR artifacts (0 deprecated) == Miscellaneous Components // others: START -Number of Miscellaneous Components: 34 in 34 JAR artifacts (0 deprecated) +Number of Miscellaneous Components: 35 in 35 JAR artifacts (0 deprecated) [width="100%",cols="4,1,5",options="header"] |=== @@ -1131,6 +1131,8 @@ Number of Miscellaneous Components: 34 in 34 JAR artifacts (0 deprecated) | link:camel-test-spring/src/main/docs/test-spring.adoc[Test Spring] (camel-test-spring) | 2.10 | Camel unit testing with Spring +| link:camel-test-spring-junit5/src/main/docs/test-spring-junit5.adoc[Test Spring Junit5] (camel-test-spring-junit5) | 3.0 | Camel unit testing with Spring and JUnit 5 + | link:camel-testcontainers/src/main/docs/testcontainers.adoc[Testcontainers] (camel-testcontainers) | 2.22 | Camel support for testcontainers | link:camel-testcontainers-spring/src/main/docs/testcontainers-spring.adoc[Testcontainers Spring] (camel-testcontainers-spring) | 2.22 | Camel unit testing with Spring and testcontainers diff --git a/docs/components/modules/ROOT/pages/kubernetes-persistent-volumes-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-persistent-volumes-component.adoc index 38aa241..25a95cc 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-persistent-volumes-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-persistent-volumes-component.adoc @@ -108,3 +108,36 @@ The component supports 2 options, which are listed below. - listPersistentVolumes - listPersistentVolumesByLabels - getPersistentVolume + +== Kubernetes Persistent Volumes Producer Examples + +- listPersistentVolumes: this operation list the pv on a kubernetes cluster + +[source,java] +-------------------------------------------------------------------------------- +from("direct:list"). + toF("kubernetes-persistent-volumes:///?kubernetesClient=#kubernetesClient&operation=listPersistentVolumes"). + to("mock:result"); +-------------------------------------------------------------------------------- + +This operation return a List of pv from your cluster + +- listPersistentVolumesByLabels: this operation list the pv by labels on a kubernetes cluster + +[source,java] +-------------------------------------------------------------------------------- +from("direct:listByLabels").process(new Processor() { + + @Override + public void process(Exchange exchange) throws Exception { + Map<String, String> labels = new HashMap<>(); + labels.put("key1", "value1"); + labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_PERSISTENT_VOLUMES_LABELS, labels); + } + }); + toF("kubernetes-persistent-volumes:///?kubernetesClient=#kubernetesClient&operation=listPersistentVolumesByLabels"). + to("mock:result"); +-------------------------------------------------------------------------------- + +This operation return a List of pv from your cluster, using a label selector (with key1 and key2, with value value1 and value2) diff --git a/parent/pom.xml b/parent/pom.xml index a841916..f5350d8 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -2258,17 +2258,17 @@ </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring-junit5</artifactId> + <artifactId>camel-test-karaf</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-karaf</artifactId> + <artifactId>camel-test-spring</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring</artifactId> + <artifactId>camel-test-spring-junit5</artifactId> <version>${project.version}</version> </dependency> <dependency> diff --git a/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml b/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml index bb42363..ce8ceef 100644 --- a/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml +++ b/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml @@ -3155,17 +3155,17 @@ </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring-junit5</artifactId> + <artifactId>camel-test-karaf</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-karaf</artifactId> + <artifactId>camel-test-spring</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test-spring</artifactId> + <artifactId>camel-test-spring-junit5</artifactId> <version>${project.version}</version> </dependency> <dependency>