You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/11/04 13:25:30 UTC

[camel-examples] branch main updated (7f5e5ea -> 43c6dab)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git.


    from 7f5e5ea  Regen docs
     new 0299761  CAMEL-16467 - Camel-Examples: Group the example for grouped componets in a middle folder - Azure
     new d442cc6  CAMEL-16467 - Camel-Examples: Group the example for grouped componets in a middle folder - Azure
     new b0598db  Regen
     new 43c6dab  CAMEL-16467 - Camel-Examples: Group the example for grouped componets in a middle folder - Azure

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 examples/{ => azure}/azure-eventhubs/README.adoc           |  0
 examples/{ => azure}/azure-eventhubs/pom.xml               |  2 +-
 .../main/java/org/apache/camel/example/MyApplication.java  |  0
 .../main/java/org/apache/camel/example/MyRouteBuilder.java |  0
 .../src/main/resources/application.properties              |  0
 .../azure-eventhubs}/src/main/resources/logback.xml        |  0
 examples/{ => azure}/azure-storage-blob/README.adoc        |  0
 examples/{ => azure}/azure-storage-blob/pom.xml            |  2 +-
 .../apache/camel/example/azurestorageblob/Application.java |  0
 .../src/main/resources/log4j2.properties                   |  0
 examples/{ => azure}/kafka-azure/README.adoc               |  0
 examples/{ => azure}/kafka-azure/pom.xml                   |  2 +-
 .../main/java/org/apache/camel/example/MyApplication.java  |  0
 .../main/java/org/apache/camel/example/MyRouteBuilder.java |  0
 .../kafka-azure/src/main/resources/application.properties  |  0
 .../kafka-azure}/src/main/resources/logback.xml            |  0
 examples/{aws/main-endpointdsl-aws2 => azure}/pom.xml      | 14 +++++++-------
 examples/pom.xml                                           |  4 +---
 18 files changed, 11 insertions(+), 13 deletions(-)
 rename examples/{ => azure}/azure-eventhubs/README.adoc (100%)
 rename examples/{ => azure}/azure-eventhubs/pom.xml (98%)
 rename examples/{kafka-azure => azure/azure-eventhubs}/src/main/java/org/apache/camel/example/MyApplication.java (100%)
 rename examples/{ => azure}/azure-eventhubs/src/main/java/org/apache/camel/example/MyRouteBuilder.java (100%)
 rename examples/{ => azure}/azure-eventhubs/src/main/resources/application.properties (100%)
 rename examples/{kafka-azure => azure/azure-eventhubs}/src/main/resources/logback.xml (100%)
 rename examples/{ => azure}/azure-storage-blob/README.adoc (100%)
 rename examples/{ => azure}/azure-storage-blob/pom.xml (98%)
 rename examples/{ => azure}/azure-storage-blob/src/main/java/org/apache/camel/example/azurestorageblob/Application.java (100%)
 rename examples/{ => azure}/azure-storage-blob/src/main/resources/log4j2.properties (100%)
 rename examples/{ => azure}/kafka-azure/README.adoc (100%)
 rename examples/{ => azure}/kafka-azure/pom.xml (98%)
 rename examples/{azure-eventhubs => azure/kafka-azure}/src/main/java/org/apache/camel/example/MyApplication.java (100%)
 rename examples/{ => azure}/kafka-azure/src/main/java/org/apache/camel/example/MyRouteBuilder.java (100%)
 rename examples/{ => azure}/kafka-azure/src/main/resources/application.properties (100%)
 rename examples/{azure-eventhubs => azure/kafka-azure}/src/main/resources/logback.xml (100%)
 copy examples/{aws/main-endpointdsl-aws2 => azure}/pom.xml (75%)

[camel-examples] 03/04: Regen

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git

commit b0598dba53d3e0dc8eee8b2ad76e0271d30f5056
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Nov 4 14:17:05 2021 +0100

    Regen
---
 examples/README.adoc | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/examples/README.adoc b/examples/README.adoc
index a2262d5..b772670 100644
--- a/examples/README.adoc
+++ b/examples/README.adoc
@@ -11,7 +11,7 @@ View the individual example READMEs for details.
 == Examples
 
 // examples: START
-Number of Examples: 95 (0 deprecated)
+Number of Examples: 93 (0 deprecated)
 
 [width="100%",cols="4,2,4",options="header"]
 |===
@@ -25,10 +25,6 @@ Number of Examples: 95 (0 deprecated)
 
 | link:aws-secrets-manager/README.adoc[Aws Secrets Manager] (aws-secrets-manager) | Beginner | An example for showing AWS Secrets Manager Camel component
 
-| link:azure-eventhubs/README.adoc[Azure Eventhubs] (azure-eventhubs) | Beginner | Azure Eventhubs example
-
-| link:azure-storage-blob/README.adoc[Azure Storage Blob] (azure-storage-blob) | Beginner | Azure Storage Blob example
-
 | link:basic/README.adoc[Basic] (basic) | Beginner | Basic example
 
 | link:cdi/README.adoc[CDI] (cdi) | Beginner | An example showing how to work with Camel and CDI for dependency injection
@@ -47,8 +43,6 @@ Number of Examples: 95 (0 deprecated)
 
 | link:java8/README.adoc[Java8] (java8) | Beginner | An example for showing Camel DSL for Java 8
 
-| link:kafka-azure/README.adoc[Kafka Azure] (kafka-azure) | Beginner | An example for showing standalone Camel with Kafka and Azure Storage Blob
-
 | link:kamelet/README.adoc[Kamelet] (kamelet) | Beginner | How to use Kamelets
 
 | link:kamelet-chucknorris/README.adoc[Kamelet Chucknorris] (kamelet-chucknorris) | Beginner | How easy it is to create your own Kamelets
@@ -98,6 +92,8 @@ Number of Examples: 95 (0 deprecated)
 
 | link:spring-xquery/README.adoc[Spring XQuery] (spring-xquery) | Beginner | An example using Spring XML to transform a message using XQuery
 
+| link:azure/readme.md[Azure] (azure) | Cloud | Multiple Camel Azure examples
+
 | link:cassandra-kubernetes/README.adoc[Cassandra Kubernetes] (cassandra-kubernetes) | Cloud | An example with Camel and Cassandra running on Kubernetes
 
 | link:cdi-kubernetes/README.adoc[CDI Kubernetes] (cdi-kubernetes) | Cloud | An example running Camel CDI on Kubernetes

[camel-examples] 04/04: CAMEL-16467 - Camel-Examples: Group the example for grouped componets in a middle folder - Azure

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git

commit 43c6dabfa60bd637de4638ae685176cf47c10b7a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Nov 4 14:24:53 2021 +0100

    CAMEL-16467 - Camel-Examples: Group the example for grouped componets in a middle folder - Azure
---
 examples/README.adoc | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/examples/README.adoc b/examples/README.adoc
index b772670..a2262d5 100644
--- a/examples/README.adoc
+++ b/examples/README.adoc
@@ -11,7 +11,7 @@ View the individual example READMEs for details.
 == Examples
 
 // examples: START
-Number of Examples: 93 (0 deprecated)
+Number of Examples: 95 (0 deprecated)
 
 [width="100%",cols="4,2,4",options="header"]
 |===
@@ -25,6 +25,10 @@ Number of Examples: 93 (0 deprecated)
 
 | link:aws-secrets-manager/README.adoc[Aws Secrets Manager] (aws-secrets-manager) | Beginner | An example for showing AWS Secrets Manager Camel component
 
+| link:azure-eventhubs/README.adoc[Azure Eventhubs] (azure-eventhubs) | Beginner | Azure Eventhubs example
+
+| link:azure-storage-blob/README.adoc[Azure Storage Blob] (azure-storage-blob) | Beginner | Azure Storage Blob example
+
 | link:basic/README.adoc[Basic] (basic) | Beginner | Basic example
 
 | link:cdi/README.adoc[CDI] (cdi) | Beginner | An example showing how to work with Camel and CDI for dependency injection
@@ -43,6 +47,8 @@ Number of Examples: 93 (0 deprecated)
 
 | link:java8/README.adoc[Java8] (java8) | Beginner | An example for showing Camel DSL for Java 8
 
+| link:kafka-azure/README.adoc[Kafka Azure] (kafka-azure) | Beginner | An example for showing standalone Camel with Kafka and Azure Storage Blob
+
 | link:kamelet/README.adoc[Kamelet] (kamelet) | Beginner | How to use Kamelets
 
 | link:kamelet-chucknorris/README.adoc[Kamelet Chucknorris] (kamelet-chucknorris) | Beginner | How easy it is to create your own Kamelets
@@ -92,8 +98,6 @@ Number of Examples: 93 (0 deprecated)
 
 | link:spring-xquery/README.adoc[Spring XQuery] (spring-xquery) | Beginner | An example using Spring XML to transform a message using XQuery
 
-| link:azure/readme.md[Azure] (azure) | Cloud | Multiple Camel Azure examples
-
 | link:cassandra-kubernetes/README.adoc[Cassandra Kubernetes] (cassandra-kubernetes) | Cloud | An example with Camel and Cassandra running on Kubernetes
 
 | link:cdi-kubernetes/README.adoc[CDI Kubernetes] (cdi-kubernetes) | Cloud | An example running Camel CDI on Kubernetes

[camel-examples] 01/04: CAMEL-16467 - Camel-Examples: Group the example for grouped componets in a middle folder - Azure

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git

commit 02997613d83caf489ddb4876e30c15c530b37abe
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Nov 4 14:11:35 2021 +0100

    CAMEL-16467 - Camel-Examples: Group the example for grouped componets in a middle folder - Azure
---
 examples/{ => azure}/azure-eventhubs/README.adoc   |  0
 examples/{ => azure}/azure-eventhubs/pom.xml       |  2 +-
 .../org/apache/camel/example/MyApplication.java    |  0
 .../org/apache/camel/example/MyRouteBuilder.java   |  0
 .../src/main/resources/application.properties      |  0
 .../src/main/resources/logback.xml                 |  0
 .../{ => azure}/azure-storage-blob/README.adoc     |  0
 examples/{ => azure}/azure-storage-blob/pom.xml    |  2 +-
 .../example/azurestorageblob/Application.java      |  0
 .../src/main/resources/log4j2.properties           |  0
 examples/{ => azure}/kafka-azure/README.adoc       |  0
 examples/{ => azure}/kafka-azure/pom.xml           |  2 +-
 .../org/apache/camel/example/MyApplication.java    |  0
 .../org/apache/camel/example/MyRouteBuilder.java   |  0
 .../src/main/resources/application.properties      |  0
 .../kafka-azure}/src/main/resources/logback.xml    |  0
 .../main/resources/logback.xml => azure/pom.xml}   | 37 +++++++++++++++-------
 17 files changed, 29 insertions(+), 14 deletions(-)

diff --git a/examples/azure-eventhubs/README.adoc b/examples/azure/azure-eventhubs/README.adoc
similarity index 100%
rename from examples/azure-eventhubs/README.adoc
rename to examples/azure/azure-eventhubs/README.adoc
diff --git a/examples/azure-eventhubs/pom.xml b/examples/azure/azure-eventhubs/pom.xml
similarity index 98%
rename from examples/azure-eventhubs/pom.xml
rename to examples/azure/azure-eventhubs/pom.xml
index e39e8d1..c0599c2 100644
--- a/examples/azure-eventhubs/pom.xml
+++ b/examples/azure/azure-eventhubs/pom.xml
@@ -24,7 +24,7 @@
 
     <parent>
         <groupId>org.apache.camel.example</groupId>
-        <artifactId>examples</artifactId>
+        <artifactId>camel-examples-aws-parent</artifactId>
         <version>3.13.0-SNAPSHOT</version>
     </parent>
 
diff --git a/examples/kafka-azure/src/main/java/org/apache/camel/example/MyApplication.java b/examples/azure/azure-eventhubs/src/main/java/org/apache/camel/example/MyApplication.java
similarity index 100%
rename from examples/kafka-azure/src/main/java/org/apache/camel/example/MyApplication.java
rename to examples/azure/azure-eventhubs/src/main/java/org/apache/camel/example/MyApplication.java
diff --git a/examples/azure-eventhubs/src/main/java/org/apache/camel/example/MyRouteBuilder.java b/examples/azure/azure-eventhubs/src/main/java/org/apache/camel/example/MyRouteBuilder.java
similarity index 100%
rename from examples/azure-eventhubs/src/main/java/org/apache/camel/example/MyRouteBuilder.java
rename to examples/azure/azure-eventhubs/src/main/java/org/apache/camel/example/MyRouteBuilder.java
diff --git a/examples/azure-eventhubs/src/main/resources/application.properties b/examples/azure/azure-eventhubs/src/main/resources/application.properties
similarity index 100%
rename from examples/azure-eventhubs/src/main/resources/application.properties
rename to examples/azure/azure-eventhubs/src/main/resources/application.properties
diff --git a/examples/kafka-azure/src/main/resources/logback.xml b/examples/azure/azure-eventhubs/src/main/resources/logback.xml
similarity index 100%
rename from examples/kafka-azure/src/main/resources/logback.xml
rename to examples/azure/azure-eventhubs/src/main/resources/logback.xml
diff --git a/examples/azure-storage-blob/README.adoc b/examples/azure/azure-storage-blob/README.adoc
similarity index 100%
rename from examples/azure-storage-blob/README.adoc
rename to examples/azure/azure-storage-blob/README.adoc
diff --git a/examples/azure-storage-blob/pom.xml b/examples/azure/azure-storage-blob/pom.xml
similarity index 98%
rename from examples/azure-storage-blob/pom.xml
rename to examples/azure/azure-storage-blob/pom.xml
index f0d3c10..6abb0d7 100644
--- a/examples/azure-storage-blob/pom.xml
+++ b/examples/azure/azure-storage-blob/pom.xml
@@ -23,7 +23,7 @@
 
     <parent>
         <groupId>org.apache.camel.example</groupId>
-        <artifactId>examples</artifactId>
+        <artifactId>camel-examples-azure-parent</artifactId>
         <version>3.13.0-SNAPSHOT</version>
     </parent>
 
diff --git a/examples/azure-storage-blob/src/main/java/org/apache/camel/example/azurestorageblob/Application.java b/examples/azure/azure-storage-blob/src/main/java/org/apache/camel/example/azurestorageblob/Application.java
similarity index 100%
rename from examples/azure-storage-blob/src/main/java/org/apache/camel/example/azurestorageblob/Application.java
rename to examples/azure/azure-storage-blob/src/main/java/org/apache/camel/example/azurestorageblob/Application.java
diff --git a/examples/azure-storage-blob/src/main/resources/log4j2.properties b/examples/azure/azure-storage-blob/src/main/resources/log4j2.properties
similarity index 100%
rename from examples/azure-storage-blob/src/main/resources/log4j2.properties
rename to examples/azure/azure-storage-blob/src/main/resources/log4j2.properties
diff --git a/examples/kafka-azure/README.adoc b/examples/azure/kafka-azure/README.adoc
similarity index 100%
rename from examples/kafka-azure/README.adoc
rename to examples/azure/kafka-azure/README.adoc
diff --git a/examples/kafka-azure/pom.xml b/examples/azure/kafka-azure/pom.xml
similarity index 98%
rename from examples/kafka-azure/pom.xml
rename to examples/azure/kafka-azure/pom.xml
index 866b814..bd425bd 100644
--- a/examples/kafka-azure/pom.xml
+++ b/examples/azure/kafka-azure/pom.xml
@@ -24,7 +24,7 @@
 
     <parent>
         <groupId>org.apache.camel.example</groupId>
-        <artifactId>examples</artifactId>
+        <artifactId>camel-examples-aws-parent</artifactId>
         <version>3.13.0-SNAPSHOT</version>
     </parent>
 
diff --git a/examples/azure-eventhubs/src/main/java/org/apache/camel/example/MyApplication.java b/examples/azure/kafka-azure/src/main/java/org/apache/camel/example/MyApplication.java
similarity index 100%
rename from examples/azure-eventhubs/src/main/java/org/apache/camel/example/MyApplication.java
rename to examples/azure/kafka-azure/src/main/java/org/apache/camel/example/MyApplication.java
diff --git a/examples/kafka-azure/src/main/java/org/apache/camel/example/MyRouteBuilder.java b/examples/azure/kafka-azure/src/main/java/org/apache/camel/example/MyRouteBuilder.java
similarity index 100%
rename from examples/kafka-azure/src/main/java/org/apache/camel/example/MyRouteBuilder.java
rename to examples/azure/kafka-azure/src/main/java/org/apache/camel/example/MyRouteBuilder.java
diff --git a/examples/kafka-azure/src/main/resources/application.properties b/examples/azure/kafka-azure/src/main/resources/application.properties
similarity index 100%
rename from examples/kafka-azure/src/main/resources/application.properties
rename to examples/azure/kafka-azure/src/main/resources/application.properties
diff --git a/examples/azure-eventhubs/src/main/resources/logback.xml b/examples/azure/kafka-azure/src/main/resources/logback.xml
similarity index 100%
copy from examples/azure-eventhubs/src/main/resources/logback.xml
copy to examples/azure/kafka-azure/src/main/resources/logback.xml
diff --git a/examples/azure-eventhubs/src/main/resources/logback.xml b/examples/azure/pom.xml
similarity index 50%
rename from examples/azure-eventhubs/src/main/resources/logback.xml
rename to examples/azure/pom.xml
index a798d0b..a9908d7 100644
--- a/examples/azure-eventhubs/src/main/resources/logback.xml
+++ b/examples/azure/pom.xml
@@ -17,14 +17,29 @@
     limitations under the License.
 
 -->
-<configuration>
-    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
-        <encoder>
-            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
-        </encoder>
-    </appender>
-
-    <root level="INFO">
-        <appender-ref ref="STDOUT" />
-    </root>
-</configuration>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.camel.example</groupId>
+        <artifactId>examples</artifactId>
+        <version>3.13.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>camel-examples-azure-parent</artifactId>
+    <name>Camel :: Example :: Azure :: Parent</name>
+    <description>Multiple Camel Azure examples</description>
+    <packaging>pom</packaging>
+
+    <properties>
+        <category>Cloud</category>
+    </properties>
+
+    <modules>
+        <module>azure-storage-blob</module>
+        <module>azure-eventhubs</module>
+        <module>kafka-azure</module>
+    </modules>
+
+</project>

[camel-examples] 02/04: CAMEL-16467 - Camel-Examples: Group the example for grouped componets in a middle folder - Azure

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git

commit d442cc67f08bf2bfcf926625bc938981d670f249
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Nov 4 14:13:03 2021 +0100

    CAMEL-16467 - Camel-Examples: Group the example for grouped componets in a middle folder - Azure
---
 examples/pom.xml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/examples/pom.xml b/examples/pom.xml
index 0744dba..c800a3e 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -87,8 +87,7 @@
         <module>artemis-large-messages</module>
         <module>as2</module>
         <module>aws</module>
-        <module>azure-eventhubs</module>
-        <module>azure-storage-blob</module>
+        <module>azure</module>
         <module>basic</module>
         <module>billboard-aggregate</module>
         <module>bigxml-split</module>
@@ -122,7 +121,6 @@
         <module>jmx</module>
         <module>jooq</module>
         <module>kafka</module>
-        <module>kafka-azure</module>
         <module>kamelet</module>
         <module>kamelet-chucknorris</module>
         <module>kamelet-main</module>