[GitHub] [camel-k] tadayosi commented on issue #3837: Release 1.11.0

2022-11-24 Thread GitBox


tadayosi commented on issue #3837:
URL: https://github.com/apache/camel-k/issues/3837#issuecomment-1327104015

   Claudio is working on the build failures at #3838. Once it's merged it 
should be fixed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] tadayosi commented on issue #3790: Deprecate overlapping Kamel CLI features in favour of Camel JBang

2022-11-24 Thread GitBox


tadayosi commented on issue #3790:
URL: https://github.com/apache/camel-k/issues/3790#issuecomment-1327098902

   Thanks!  Yes, I agree that `camel bind` cannot replace `kamel bind`.
   
   For `kamel local`, we can deprecate all the commands for sure.
   
   For `kamel local inspect`, I personally find it useful when debugging to see 
the expected dependencies are actually there. I would contribute the same 
feature to `camel` CLI, and/or move the same command to `kamel` top-level like 
`kamel inspect` as a debugging option for developers.
   
   The reason why I'd think the subcommand is useful for debugging is that it 
uses the same internal mechanism with `kamel run` for resolving dependencies 
from integration files so it could be used as a fast check on whether expected 
dependencies are detected without uploading to cloud.
   
   Different views are also welcome.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (a8dd8eea26a -> 25a9de2b978)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


from a8dd8eea26a CAMEL-18756: deprecate the spark component (#8773)
 add 25a9de2b978 Upgrade to CXF 3.5.4

No new revisions were added by this update.

Summary of changes:
 camel-dependencies/pom.xml | 6 +++---
 parent/pom.xml | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)



[GitHub] [camel] github-actions[bot] commented on pull request #8775: camel-jbang - Upgrade to Camel 3.18.3

2022-11-24 Thread GitBox


github-actions[bot] commented on PR #8775:
URL: https://github.com/apache/camel/pull/8775#issuecomment-1327088330

   :no_entry_sign: There are (likely) no components to be tested in this PR


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] tadayosi commented on pull request #3838: Fix tests related to recent camel-k-runtime changes

2022-11-24 Thread GitBox


tadayosi commented on PR #3838:
URL: https://github.com/apache/camel-k/pull/3838#issuecomment-1327085580

   About this `upgrade` failure:
   https://github.com/apache/camel-k/actions/runs/3545561937/jobs/5953803406
   ```
 cli_upgrade_test.go:94: 
 Timed out after 60.020s.
 Expected
 : 
 to equal
 : 1.11.0-SNAPSHOT
   ```
   It could be that using the default timeout (60s) for this line is too short 
for snapshot dependencies:
   
https://github.com/apache/camel-k/blob/main/e2e/namespace/upgrade/cli_upgrade_test.go#L94


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8775: camel-jbang - Upgrade to Camel 3.18.3

2022-11-24 Thread GitBox


github-actions[bot] commented on PR #8775:
URL: https://github.com/apache/camel/pull/8775#issuecomment-1327070693

   :no_entry_sign: There are (likely) no components to be tested in this PR


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: Upgrade to CXF 3.5.4

2022-11-24 Thread davsclaus
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 25a9de2b978 Upgrade to CXF 3.5.4
25a9de2b978 is described below

commit 25a9de2b9781875d5824c6724e0141bcdc780b0a
Author: Claus Ibsen 
AuthorDate: Fri Nov 25 07:11:27 2022 +0100

Upgrade to CXF 3.5.4
---
 camel-dependencies/pom.xml | 6 +++---
 parent/pom.xml | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index 0d8ca413c68..5f4443e194c 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -150,11 +150,11 @@
 4.9.3
 3.3.4
 4.3.0
-3.5.3
-3.5.3
+3.5.4
+3.5.4
 [3.5,3.6)
 3.3.2
-3.3.1
+3.3.2
 
 true
 
diff --git a/parent/pom.xml b/parent/pom.xml
index 61ef172f576..e02a5904957 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -133,12 +133,12 @@
 4.9.3
 3.3.4
 4.3.0
-3.5.3
+3.5.4
 [3.5,3.6)
-3.5.3
+3.5.4
 
 3.3.2
-3.3.1
+3.3.2
 2.1.4
 1.9.5
 1.4.0



[camel-karaf] branch main updated: Upgrade stax2-api to 4.2.1 / Version 3.1.4 conflicting with cxf (#208)

2022-11-24 Thread davsclaus
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-karaf.git


The following commit(s) were added to refs/heads/main by this push:
 new 39716f45 Upgrade stax2-api to 4.2.1 / Version 3.1.4 conflicting with 
cxf (#208)
39716f45 is described below

commit 39716f453ca915bf613db54090a4f8f2a1ccda13
Author: donkon 
AuthorDate: Fri Nov 25 07:05:31 2022 +0100

Upgrade stax2-api to 4.2.1 / Version 3.1.4 conflicting with cxf (#208)

Co-authored-by: Björn Konrad 
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index b1ef2c94..74e26f7b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -295,7 +295,7 @@
 
2.7.5_1
 1.15.0_1
 
2.5.0_2
-3.1.4
+4.2.1
 4.2
 4.3.4_1
 1.2.1_1



[GitHub] [camel-karaf] davsclaus merged pull request #208: Upgrade stax2-api to 4.2.1 / Version 3.1.4 conflicting with cxf

2022-11-24 Thread GitBox


davsclaus merged PR #208:
URL: https://github.com/apache/camel-karaf/pull/208


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-karaf] branch main updated: vuln-fix: Temporary File Information Disclosure (#210)

2022-11-24 Thread davsclaus
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-karaf.git


The following commit(s) were added to refs/heads/main by this push:
 new 950dfa5d vuln-fix: Temporary File Information Disclosure (#210)
950dfa5d is described below

commit 950dfa5d23e6e2065711b46486f3cdffc5f60df0
Author: Jonathan Leitschuh 
AuthorDate: Fri Nov 25 01:02:09 2022 -0500

vuln-fix: Temporary File Information Disclosure (#210)

This fixes temporary file information disclosure vulnerability due to the 
use
of the vulnerable `File.createTempFile()` method. The vulnerability is 
fixed by
using the `Files.createTempFile()` method which sets the correct posix 
permissions.

Weakness: CWE-377: Insecure Temporary File
Severity: Medium
CVSSS: 5.5
Detection: CodeQL & OpenRewrite 
(https://public.moderne.io/recipes/org.openrewrite.java.security.SecureTempFileCreation)

Reported-by: Jonathan Leitschuh 
Signed-off-by: Jonathan Leitschuh 

Bug-tracker: https://github.com/JLLeitschuh/security-research/issues/18


Co-authored-by: Moderne 

Co-authored-by: Moderne 
---
 .../src/test/java/org/apache/camel/blueprint/MainTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/components/camel-blueprint-main/src/test/java/org/apache/camel/blueprint/MainTest.java
 
b/components/camel-blueprint-main/src/test/java/org/apache/camel/blueprint/MainTest.java
index fd045a3c..c3876cbb 100644
--- 
a/components/camel-blueprint-main/src/test/java/org/apache/camel/blueprint/MainTest.java
+++ 
b/components/camel-blueprint-main/src/test/java/org/apache/camel/blueprint/MainTest.java
@@ -20,6 +20,7 @@ import java.io.File;
 import java.io.FileOutputStream;
 import java.net.URL;
 import java.net.URLClassLoader;
+import java.nio.file.Files;
 
 import org.apache.aries.util.io.IOUtils;
 import org.apache.camel.ProducerTemplate;
@@ -64,7 +65,7 @@ public class MainTest {
 .set("Bundle-ManifestVersion", "2")
 .set("Bundle-SymbolicName", SYMBOLIC_NAME)
 .set("Bundle-Version", "1.0.0");
-File tb = File.createTempFile(SYMBOLIC_NAME + "-", ".jar", new 
File("target"));
+File tb = Files.createTempFile(new File("target").toPath(), 
SYMBOLIC_NAME + "-", ".jar").toFile();
 FileOutputStream out = new FileOutputStream(tb);
 IOUtils.copy(bundle.build(), out);
 out.close();



[GitHub] [camel-karaf] davsclaus merged pull request #210: [SECURITY] Fix Temporary File Information Disclosure Vulnerability

2022-11-24 Thread GitBox


davsclaus merged PR #210:
URL: https://github.com/apache/camel-karaf/pull/210


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] tadayosi opened a new pull request, #8775: camel-jbang - Upgrade to Camel 3.18.3

2022-11-24 Thread GitBox


tadayosi opened a new pull request, #8775:
URL: https://github.com/apache/camel/pull/8775

   This will let you install Camel 3.18.3 `camel` cli with this command:
   ```
   jbang app install install camel@apache/camel/camel-3.18.x
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] davsclaus commented on a diff in pull request #8774: camel-splunk-hec - Add endpoint url suffix configuration to enable op…

2022-11-24 Thread GitBox


davsclaus commented on code in PR #8774:
URL: https://github.com/apache/camel/pull/8774#discussion_r1032016103


##
components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECConfiguration.java:
##
@@ -99,6 +101,20 @@ public void setHost(String host) {
 this.host = host;
 }
 
+/**
+ * Splunk endpoint
+ *   Defaults to /services/collector/event
+ *   To write RAW data like JSON use /services/collector/raw
+ *   To extract timestamps in Splunk>8.0 
/services/collector/event?auto_extract_timestamp=true
+ */
+public void setEndpoint(String endpoint) {

Review Comment:
   Are there other endpoints? And endpoint can maybe confuse as Camel also has 
a concept of endpoint. So maybe we can come up with a different name?
   
   For the last with the query parameter then that will not work as Camel think 
its another parameter.
   
   So maybe come up
   
   1) a new name, with 3 enum values: default, raw, timestamp
   2) And then you can set the url based on the endpoint inside the camel 
component



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-spring-boot] branch main updated: [create-pull-request] automated change

2022-11-24 Thread acosentino
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-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
 new 6305a1e3697 [create-pull-request] automated change
6305a1e3697 is described below

commit 6305a1e36972539d6c0eb1dd238baef229cc678d
Author: oscerd 
AuthorDate: Fri Nov 25 01:18:59 2022 +

[create-pull-request] automated change
---
 .../resources/org/apache/camel/springboot/catalog/components/hbase.json | 2 +-
 .../resources/org/apache/camel/springboot/catalog/components/spark.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hbase.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hbase.json
index 3b81521dbbd..fe6b8adf27f 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hbase.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hbase.json
@@ -4,7 +4,7 @@
 "name": "hbase",
 "title": "HBase",
 "description": "Reading and write from\/to an HBase store (Hadoop 
database).",
-"deprecated": false,
+"deprecated": true,
 "firstVersion": "2.10.0",
 "label": "bigdata,database,hadoop",
 "javaType": "org.apache.camel.component.hbase.HBaseComponent",
diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/spark.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/spark.json
index 6e83aaf7418..764cf7687a4 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/spark.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/spark.json
@@ -4,7 +4,7 @@
 "name": "spark",
 "title": "Spark",
 "description": "Send RDD or DataFrame jobs to Apache Spark clusters.",
-"deprecated": false,
+"deprecated": true,
 "firstVersion": "2.17.0",
 "label": "bigdata,iot",
 "javaType": "org.apache.camel.component.spark.SparkComponent",



[GitHub] [camel-spring-boot] oscerd merged pull request #672: [Github Actions] Periodic Sync Camel Spring Boot Main Branch

2022-11-24 Thread GitBox


oscerd merged PR #672:
URL: https://github.com/apache/camel-spring-boot/pull/672


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2926: [CI] - Quarkus Main Branch Build Failure

2022-11-24 Thread GitBox


github-actions[bot] commented on issue #2926:
URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-1327022303

   The 
[quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) 
branch build has failed:
   
   * Build ID: 3544876469-946-0e314e77-9e53-41a5-b519-9eb003a7cfb3
   * Camel Quarkus Commit: 4daf1f293f598a15925f09572ae8b5976260524a
   
   * Quarkus Main Commit: feae03951f2ce1d3d3b77e6966a5553f294302f7
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/3544876469


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-kafka-connector] branch automatic-periodic-sync updated (01d25ed6e -> 3788f5921)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch automatic-periodic-sync
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


from 01d25ed6e Updated CHANGELOG.md
 add 3788f5921 [create-pull-request] automated change

No new revisions were added by this update.

Summary of changes:
 .../awscloudwatchsink/CamelAwscloudwatchsinkSinkConnector.java | 3 +--
 .../awscloudwatchsink/CamelAwscloudwatchsinkSinkConnectorConfig.java   | 3 +--
 .../awscloudwatchsink/CamelAwscloudwatchsinkSinkTask.java  | 3 +--
 .../camel/kafkaconnector/awsddbsink/CamelAwsddbsinkSinkConnector.java  | 3 +--
 .../kafkaconnector/awsddbsink/CamelAwsddbsinkSinkConnectorConfig.java  | 3 +--
 .../camel/kafkaconnector/awsddbsink/CamelAwsddbsinkSinkTask.java   | 3 +--
 .../awsddbstreamssource/CamelAwsddbstreamssourceSourceConnector.java   | 3 +--
 .../CamelAwsddbstreamssourceSourceConnectorConfig.java | 3 +--
 .../awsddbstreamssource/CamelAwsddbstreamssourceSourceTask.java| 3 +--
 .../camel/kafkaconnector/awsec2sink/CamelAwsec2sinkSinkConnector.java  | 3 +--
 .../kafkaconnector/awsec2sink/CamelAwsec2sinkSinkConnectorConfig.java  | 3 +--
 .../camel/kafkaconnector/awsec2sink/CamelAwsec2sinkSinkTask.java   | 3 +--
 .../awseventbridgesink/CamelAwseventbridgesinkSinkConnector.java   | 3 +--
 .../awseventbridgesink/CamelAwseventbridgesinkSinkConnectorConfig.java | 3 +--
 .../awseventbridgesink/CamelAwseventbridgesinkSinkTask.java| 3 +--
 .../CamelAwskinesisfirehosesinkSinkConnector.java  | 3 +--
 .../CamelAwskinesisfirehosesinkSinkConnectorConfig.java| 3 +--
 .../awskinesisfirehosesink/CamelAwskinesisfirehosesinkSinkTask.java| 3 +--
 .../awskinesissink/CamelAwskinesissinkSinkConnector.java   | 3 +--
 .../awskinesissink/CamelAwskinesissinkSinkConnectorConfig.java | 3 +--
 .../kafkaconnector/awskinesissink/CamelAwskinesissinkSinkTask.java | 3 +--
 .../awskinesissource/CamelAwskinesissourceSourceConnector.java | 3 +--
 .../awskinesissource/CamelAwskinesissourceSourceConnectorConfig.java   | 3 +--
 .../awskinesissource/CamelAwskinesissourceSourceTask.java  | 3 +--
 .../kafkaconnector/awslambdasink/CamelAwslambdasinkSinkConnector.java  | 3 +--
 .../awslambdasink/CamelAwslambdasinkSinkConnectorConfig.java   | 3 +--
 .../camel/kafkaconnector/awslambdasink/CamelAwslambdasinkSinkTask.java | 3 +--
 .../awsredshiftsink/CamelAwsredshiftsinkSinkConnector.java | 3 +--
 .../awsredshiftsink/CamelAwsredshiftsinkSinkConnectorConfig.java   | 3 +--
 .../kafkaconnector/awsredshiftsink/CamelAwsredshiftsinkSinkTask.java   | 3 +--
 .../awsredshiftsource/CamelAwsredshiftsourceSourceConnector.java   | 3 +--
 .../awsredshiftsource/CamelAwsredshiftsourceSourceConnectorConfig.java | 3 +--
 .../awsredshiftsource/CamelAwsredshiftsourceSourceTask.java| 3 +--
 .../camel/kafkaconnector/awss3sink/CamelAwss3sinkSinkConnector.java| 3 +--
 .../kafkaconnector/awss3sink/CamelAwss3sinkSinkConnectorConfig.java| 3 +--
 .../apache/camel/kafkaconnector/awss3sink/CamelAwss3sinkSinkTask.java  | 3 +--
 .../kafkaconnector/awss3source/CamelAwss3sourceSourceConnector.java| 3 +--
 .../awss3source/CamelAwss3sourceSourceConnectorConfig.java | 3 +--
 .../camel/kafkaconnector/awss3source/CamelAwss3sourceSourceTask.java   | 3 +--
 .../CamelAwss3streaminguploadsinkSinkConnector.java| 3 +--
 .../CamelAwss3streaminguploadsinkSinkConnectorConfig.java  | 3 +--
 .../CamelAwss3streaminguploadsinkSinkTask.java | 3 +--
 .../awssecretsmanagersink/CamelAwssecretsmanagersinkSinkConnector.java | 3 +--
 .../CamelAwssecretsmanagersinkSinkConnectorConfig.java | 3 +--
 .../awssecretsmanagersink/CamelAwssecretsmanagersinkSinkTask.java  | 3 +--
 .../camel/kafkaconnector/awssessink/CamelAwssessinkSinkConnector.java  | 3 +--
 .../kafkaconnector/awssessink/CamelAwssessinkSinkConnectorConfig.java  | 3 +--
 .../camel/kafkaconnector/awssessink/CamelAwssessinkSinkTask.java   | 3 +--
 .../awssnsfifosink/CamelAwssnsfifosinkSinkConnector.java   | 3 +--
 .../awssnsfifosink/CamelAwssnsfifosinkSinkConnectorConfig.java | 3 +--
 .../kafkaconnector/awssnsfifosink/CamelAwssnsfifosinkSinkTask.java | 3 +--
 .../camel/kafkaconnector/awssnssink/CamelAwssnssinkSinkConnector.java  | 3 +--
 .../kafkaconnector/awssnssink/CamelAwssnssinkSinkConnectorConfig.java  | 3 +--
 .../camel/kafkaconnector/awssnssink/CamelAwssnssinkSinkTask.java   | 3 +--
 .../awssqsbatchsink/CamelAwssqsbatchsinkSinkConnector.java | 3 +--
 .../awssqsbatchsink/CamelAwssqsbatchsinkSinkConnectorConfig.java   | 3 +--
 .../kafkaconnector/awssqsbatchsink/CamelAwssqsbatchsinkSinkTask.java   | 3 +--
 .../awssqsfifosink/CamelAwssqsfifosinkSinkConnector.java  

[GitHub] [camel-kafka-connector] github-actions[bot] opened a new pull request, #1476: [Github Actions] Periodic Sync Camel-kafka-connector main Branch

2022-11-24 Thread GitBox


github-actions[bot] opened a new pull request, #1476:
URL: https://github.com/apache/camel-kafka-connector/pull/1476

   Periodic Sync of Camel Kafka connector main Branch with main Camel Main.
   see 
https://github.com/apache/camel-kafka-connector/blob/main/.github/workflows/automatic-sync-camel-main.yml


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-kamelets] branch main updated: Updated CHANGELOG.md

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new 43849b24 Updated CHANGELOG.md
43849b24 is described below

commit 43849b24429383fbba6bcb3955594545616748c2
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Nov 25 03:21:41 2022 +

Updated CHANGELOG.md
---
 CHANGELOG.md | 5 +
 1 file changed, 5 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3b97828d..74fe291c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,11 @@
 
 **Merged pull requests:**
 
+- Added an Azure Storage Blob Source It Test 
[\#1180](https://github.com/apache/camel-kamelets/pull/1180) 
([oscerd](https://github.com/oscerd))
+- Added an it-tests for AWS S3 CDC 
[\#1179](https://github.com/apache/camel-kamelets/pull/1179) 
([oscerd](https://github.com/oscerd))
+- Upgrade Jackson to version 2.14.1 
[\#1178](https://github.com/apache/camel-kamelets/pull/1178) 
([oscerd](https://github.com/oscerd))
+- Upgrade ActiveMQ Artemis to version 2.27.0 
[\#1177](https://github.com/apache/camel-kamelets/pull/1177) 
([oscerd](https://github.com/oscerd))
+- Upgrade PostgreSQL driver to version 42.5.1 
[\#1176](https://github.com/apache/camel-kamelets/pull/1176) 
([oscerd](https://github.com/oscerd))
 - SCP Sink IT Test 
[\#1175](https://github.com/apache/camel-kamelets/pull/1175) 
([oscerd](https://github.com/oscerd))
 - It-Tests Makefile: Add specific targets for different kind of it-tests 
[\#1174](https://github.com/apache/camel-kamelets/pull/1174) 
([oscerd](https://github.com/oscerd))
 - SCP connector missing authentication options to use a private key 
[\#1172](https://github.com/apache/camel-kamelets/pull/1172) 
([oscerd](https://github.com/oscerd))



[GitHub] [camel-karavan] mgubaidullin commented on issue #533: VS Code designer crashes when adding log-sink Kamelet

2022-11-24 Thread GitBox


mgubaidullin commented on issue #533:
URL: https://github.com/apache/camel-karavan/issues/533#issuecomment-1326980886

   Duplicate https://github.com/apache/camel-karavan/issues/523


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2927: [CI] - Camel Main Branch Build Failure

2022-11-24 Thread GitBox


github-actions[bot] commented on issue #2927:
URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-1326939989

   The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) 
branch build has failed:
   
   * Build ID: 3544351236-842-823ae738-b471-40b0-b829-7e72f5025564
   * Camel Quarkus Commit: 9d7f8473986f8bb8a3c44bda6aeedf0741985312
   
   * Camel Main Commit: feae03951f2ce1d3d3b77e6966a5553f294302f7
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/3544351236


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-spring-boot] branch automatic-periodic-sync updated (7aa1c7ded59 -> 968377ddb63)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch automatic-periodic-sync
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


from 7aa1c7ded59 CAMEL-18746 Add missing debezium db2/oracle starters (#670)
 add 22596664c57 CAMEL-18750: camel-elastisearch-starter - Spring Boot 
clash with json-api dependency
 add 892d726989f [CAMEL-18729]fix 
CxfPayloadProducerNamespaceOnEnvelopeStreamCacheTest
 add 47abaf3021a CAMEL-18758: upgrade to spring boot 2.7.6
 add a83f84c25ea Regen
 add 968377ddb63 [create-pull-request] automated change

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/springboot/catalog/components/hbase.json   | 2 +-
 .../org/apache/camel/springboot/catalog/components/hdfs.json| 2 +-
 .../org/apache/camel/springboot/catalog/components/spark.json   | 2 +-
 .../CxfPayloadProducerNamespaceOnEnvelopeStreamCacheTest.java   | 2 +-
 components-starter/camel-elasticsearch-starter/pom.xml  | 6 ++
 pom.xml | 2 +-
 6 files changed, 11 insertions(+), 5 deletions(-)



[GitHub] [camel-spring-boot] github-actions[bot] opened a new pull request, #672: [Github Actions] Periodic Sync Camel Spring Boot Main Branch

2022-11-24 Thread GitBox


github-actions[bot] opened a new pull request, #672:
URL: https://github.com/apache/camel-spring-boot/pull/672

   Periodic Sync of Camel Spring Boot Main Branch with main Camel Main.
   see 
https://github.com/apache/camel-spring-boot/blob/main/.github/workflows/automatic-sync-main.yml


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] github-actions[bot] commented on issue #3425: failed: could not pull base image image adoptopenjdk/openjdk11:slim: https://auth.docker.io/token dial tcp: i/o timeout

2022-11-24 Thread GitBox


github-actions[bot] commented on issue #3425:
URL: https://github.com/apache/camel-k/issues/3425#issuecomment-1326907212

   This issue has been automatically marked as stale due to 90 days of 
inactivity. 
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply 
write any comment.
   Thanks for your contributions!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-k] branch dependabot/go_modules/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring-0.61.1 created (now 5fc4ce5aa)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/go_modules/github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring-0.61.1
in repository https://gitbox.apache.org/repos/asf/camel-k.git


  at 5fc4ce5aa chore(deps): bump 
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring

No new revisions were added by this update.



[GitHub] [camel-k] dependabot[bot] commented on pull request #3832: chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.50.0 to 0.61.0

2022-11-24 Thread GitBox


dependabot[bot] commented on PR #3832:
URL: https://github.com/apache/camel-k/pull/3832#issuecomment-1326907084

   Superseded by #3846.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] dependabot[bot] closed pull request #3832: chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.50.0 to 0.61.0

2022-11-24 Thread GitBox


dependabot[bot] closed pull request #3832: chore(deps): bump 
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 
0.50.0 to 0.61.0
URL: https://github.com/apache/camel-k/pull/3832


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] dependabot[bot] opened a new pull request, #3846: chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.50.0 to 0.61.1

2022-11-24 Thread GitBox


dependabot[bot] opened a new pull request, #3846:
URL: https://github.com/apache/camel-k/pull/3846

   Bumps 
[github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator)
 from 0.50.0 to 0.61.1.
   
   Release notes
   Sourced from https://github.com/prometheus-operator/prometheus-operator/releases;>github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring's
 releases.
   
   0.61.1 / 2022-11-24
   
   [BUGFIX] Fixed a regression that caused the ThanosRuler statefulsets to 
be stuck after upgrading the operator to v0.61.0. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5183;>#5183
   
   0.61.0 / 2022-11-16
   
   [CHANGE] Updated RuleGroup description and add validation for the CRD. 
https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5072;>#5072
   [CHANGE] Removed validations in the operator that are already covered at 
the CRD level. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5108;>#5108
   [CHANGE] jsonnet: Enforced existence of the TLS secret for the admission 
webhook deployment. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5112;>#5112
   [CHANGE] jsonnet: Changed default port of the admission webhook service 
from 8443 to 443. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5112;>#5112
   [CHANGE] Added a filter for non-running pods in the ServiceMonitor CRD. 
https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5149;>#5149
   [FEATURE] Added spec.attachMetadata.node in the ServiceMonitor CRD. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5147;>#5147
   [ENHANCEMENT] Updated ProbeTLSConfig and SafeTLSConfig description. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5081;>#5081
   [ENHANCEMENT] Updated admission webhook deployment's jsonnet to avoid 
down-time on updates. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5099;>#5099
   [ENHANCEMENT] Added the filterExternalLabels field to the remote read 
configuration of the Prometheus CRD. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5142;>#5142
   [ENHANCEMENT] Added enableHttp2 field to AlertingEndpoints https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5152;>#5152
   [ENHANCEMENT] Updated ThanosRuler arguments (QueryConfig, 
AlertManagerConfig, ObjectStorageConfig and TracingConfig) to be directly read 
from secrets instead of using ENV vars. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5122;>#5122
   [ENHANCEMENT] Add alertmanagerConfigMatcherStrategy to Alertmanager CRD 
in order to disable auto-generated namespace matchers. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5084;>#5084
   [BUGFIX] Ignore PartialResponseStrategy in the Prometheus CRD. This 
field is only applicable for the Thanos Ruler. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5125;>#5125
   
   0.60.1 / 2022-10-10
   
   [BUGFIX] Fixed configuration when spec.tsdb.outOfOrderTimeWindow is set 
in the Prometheus CRD. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5078;>#5078
   
   0.60.0 / 2022-10-06
   
   [CHANGE] Added filterRunning field to the PodMonitor CRD. 
By default, non-running pods are dropped by the Prometheus service discovery. 
To preserve the old behavior and keep pods which aren't running, set 
filterRunning: false. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5049;>#5049
   [FEATURE] Added grpcListenLocal and 
httpListenLocal fields to the Thanos sidecar configuration of the 
Prometheus CRD. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5045;>#5045
   [FEATURE] Added hostNetwork field to the Prometheus CRD. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5010;>#5010
   [FEATURE] Added spec.tsdb.outOfOrderTimeWindow field to the 
Prometheus CRD to allow out-of-order samples in TSDB. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5071;>#5071
   [ENHANCEMENT] Added columns showing the Prometheus conditions to the 
output of kubectl get prometheus. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5055;>#5055
   [ENHANCEMENT] Added observedGeneration field to the 
Prometheus status conditions. https://github-redirect.dependabot.com/prometheus-operator/prometheus-operator/issues/5005;>#5005
   
   0.59.2 / 2022-09-20
   
   [CHANGE/BUGFIX] Removed FOWNER capability from the Thanos sidecar. 

[GitHub] [camel-kamelets] oscerd commented on pull request #1181: Fix mail-sink Kamelet

2022-11-24 Thread GitBox


oscerd commented on PR #1181:
URL: https://github.com/apache/camel-kamelets/pull/1181#issuecomment-1326830198

   Good to backport on 0.9.x. Thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8774: camel-splunk-hec - Add endpoint url suffix configuration to enable op…

2022-11-24 Thread GitBox


github-actions[bot] commented on PR #8774:
URL: https://github.com/apache/camel/pull/8774#issuecomment-1326828862

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 1 | 1 | 1 | 0 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] kremers commented on pull request #8774: camel-splunk-hec - Add endpoint url suffix configuration to enable op…

2022-11-24 Thread GitBox


kremers commented on PR #8774:
URL: https://github.com/apache/camel/pull/8774#issuecomment-1326827633

   Fixed checkstyle error from automated testing in [b999da5]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] kremers commented on pull request #8774: camel-splunk-hec - Add endpoint url suffix configuration to enable op…

2022-11-24 Thread GitBox


kremers commented on PR #8774:
URL: https://github.com/apache/camel/pull/8774#issuecomment-1326825499

   Added test and default value in [60c65f8]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-kamelets] christophd opened a new pull request, #1181: Fix mail-sink Kamelet

2022-11-24 Thread GitBox


christophd opened a new pull request, #1181:
URL: https://github.com/apache/camel-kamelets/pull/1181

   - In fact mail-sink only supports smtp protocol. Others like pop3 and imap 
do not make sense for sending mails
   - SMTPS protocol is also not supported because SSL context is missing
   - to:{{protocol}} stopped working with latest versions so remove protocol 
property and always use "smtp"
   - Also fix YAKS test


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (83efab84a9a -> a8dd8eea26a)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


from 83efab84a9a CAMEL-18758: prepare for spring boot 2.7.6
 add a8dd8eea26a CAMEL-18756: deprecate the spark component (#8773)

No new revisions were added by this update.

Summary of changes:
 .../resources/org/apache/camel/catalog/components/spark.json | 2 +-
 components/camel-spark/pom.xml   | 2 +-
 .../META-INF/services/org/apache/camel/component.properties  | 2 +-
 .../generated/resources/org/apache/camel/component/spark/spark.json  | 2 +-
 components/camel-spark/src/main/docs/spark-component.adoc| 5 +++--
 .../org/apache/camel/builder/component/ComponentsBuilderFactory.java | 1 +
 .../camel/builder/component/dsl/SparkComponentBuilderFactory.java| 1 +
 dsl/camel-componentdsl/src/generated/resources/metadata.json | 2 +-
 .../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java| 2 ++
 .../camel/builder/endpoint/dsl/SparkEndpointBuilderFactory.java  | 3 +++
 10 files changed, 15 insertions(+), 7 deletions(-)



[GitHub] [camel-k] tobiasoort commented on issue #1238: Multi-architecture support

2022-11-24 Thread GitBox


tobiasoort commented on issue #1238:
URL: https://github.com/apache/camel-k/issues/1238#issuecomment-1326795463

   Current status: retracted the PR because the build is failing at a weird 
point (unittests of the client, even before the Operator is being built...). 
Will fiddle in my own fork and create a new and clean one once it all works.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-spring-boot] branch camel-spring-boot-3.18.x updated: CAMEL-18758: upgrade to spring boot 2.7.6

2022-11-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-spring-boot-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/camel-spring-boot-3.18.x by 
this push:
 new 4b93010db3b CAMEL-18758: upgrade to spring boot 2.7.6
4b93010db3b is described below

commit 4b93010db3b5f74539994b2a1f5ea3c635e86b78
Author: Claus Ibsen 
AuthorDate: Thu Nov 24 20:11:30 2022 +0100

CAMEL-18758: upgrade to spring boot 2.7.6
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 81fb486b200..202deecf481 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,7 +108,7 @@
 false
 
 
-2.7.5
+2.7.6
 
 
 3.18.4-SNAPSHOT



[camel] branch camel-3.18.x updated: CAMEL-18758: prepare for spring boot 2.7.6

2022-11-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.18.x by this push:
 new 0eb80216e26 CAMEL-18758: prepare for spring boot 2.7.6
0eb80216e26 is described below

commit 0eb80216e2671461ba50ecc5075d9509c46c0650
Author: Claus Ibsen 
AuthorDate: Thu Nov 24 20:10:46 2022 +0100

CAMEL-18758: prepare for spring boot 2.7.6
---
 camel-dependencies/pom.xml | 14 +++---
 parent/pom.xml | 12 ++--
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index d42c4439882..c1838e5ff16 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -257,7 +257,7 @@
 2.5.0
 2.1.11
 6.2.5.Final
-5.6.11.Final
+5.6.14.Final
 2.6.1
 2.7.1
 4.1.5
@@ -403,8 +403,8 @@
 3.2.3
 
3.0.0-M4
 3.3.1
-4.2.9
-1.9.5
+4.2.13
+1.10.2
 2.0.1
 
3.0
 3.0.1
@@ -428,7 +428,7 @@
 1.0.0.Beta4
 1.0.1
 2.0.5
-4.1.79.Final
+4.1.85.Final
 
1.0.69
 9.22
 3.4.4
@@ -457,7 +457,7 @@
 1.8
 4.4.3.Final
 4.25.0
-2.10.0
+2.10.2
 8.0.6
 0.61.0
 0.33.10
@@ -513,8 +513,8 @@
 2.3.2
 ${spring5-version}
 [5,6)
-3.1.3
-5.3.23
+3.1.4
+5.3.24
 1.5
 3.14.9
 1.17.2
diff --git a/parent/pom.xml b/parent/pom.xml
index 830d27293a7..edfaba63b0b 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -238,7 +238,7 @@
 2.5.0
 2.1.11
 6.2.5.Final
-5.6.11.Final
+5.6.14.Final
 2.6.1
 2.7.1
 1.7
@@ -390,8 +390,8 @@
 3.2.3
 
3.0.0-M4
 3.3.1
-4.2.9
-1.9.5
+4.2.13
+1.10.2
 2.0.1
 3.0.1
 
3.0
@@ -414,7 +414,7 @@
 1.0.0.Beta4
 1.0.1
 0.4.0
-4.1.79.Final
+4.1.85.Final
 2.0.5
 
1.0.69
 9.22
@@ -499,10 +499,10 @@
 2.3.2
 [5,6)
 ${spring5-version}
-5.3.23
+5.3.24
 2.4.7
 5.7.4
-3.1.3
+3.1.4
 1.5
 3.14.9
 1.17.2



[GitHub] [camel-k] tobiasoort closed pull request #3820: Multi-architecture support #1238

2022-11-24 Thread GitBox


tobiasoort closed pull request #3820: Multi-architecture support #1238
URL: https://github.com/apache/camel-k/pull/3820


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] tobiasoort commented on pull request #3820: Multi-architecture support #1238

2022-11-24 Thread GitBox


tobiasoort commented on PR #3820:
URL: https://github.com/apache/camel-k/pull/3820#issuecomment-1326778298

   I'll work on this PR in my fork and create a new one because this mess is 
only causing useless notifications for you.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8774: camel-splunk-hec - Add endpoint url suffix configuration to enable op…

2022-11-24 Thread GitBox


github-actions[bot] commented on PR #8774:
URL: https://github.com/apache/camel/pull/8774#issuecomment-1326775975

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :warning: Please note that the changes on this PR may be **tested 
automatically**. 
   
   If necessary Apache Camel Committers may access logs and test results in the 
job summaries!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] kremers opened a new pull request, #8774: camel-splunk-hec - Add endpoint url suffix configuration to enable op…

2022-11-24 Thread GitBox


kremers opened a new pull request, #8774:
URL: https://github.com/apache/camel/pull/8774

   …tions and raw transports
   
   Trivial change, adding option to configure endpoint url suffix


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-kamelets] christophd commented on pull request #1162: chore: Introduce Kamelet input/output data types

2022-11-24 Thread GitBox


christophd commented on PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#issuecomment-1326773729

   @davsclaus absolutely! IMO this should go to Camel core in the long term. 
That's why I was adding all those spi and api parts as well as the registry 
with factory finder lookup as part of this solution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (c46fc471104 -> 83efab84a9a)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


from c46fc471104 camel-hbase: deprecate the component (#8770)
 add 83efab84a9a CAMEL-18758: prepare for spring boot 2.7.6

No new revisions were added by this update.

Summary of changes:
 camel-dependencies/pom.xml | 8 
 parent/pom.xml | 8 
 2 files changed, 8 insertions(+), 8 deletions(-)



[camel] branch main updated: CAMEL-18756: deprecate the spark component (#8773)

2022-11-24 Thread davsclaus
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 a8dd8eea26a CAMEL-18756: deprecate the spark component (#8773)
a8dd8eea26a is described below

commit a8dd8eea26ad74c0e67a6978aad45174a279e01c
Author: Alexandre Gallice 
AuthorDate: Thu Nov 24 19:51:08 2022 +0100

CAMEL-18756: deprecate the spark component (#8773)
---
 .../resources/org/apache/camel/catalog/components/spark.json | 2 +-
 components/camel-spark/pom.xml   | 2 +-
 .../META-INF/services/org/apache/camel/component.properties  | 2 +-
 .../generated/resources/org/apache/camel/component/spark/spark.json  | 2 +-
 components/camel-spark/src/main/docs/spark-component.adoc| 5 +++--
 .../org/apache/camel/builder/component/ComponentsBuilderFactory.java | 1 +
 .../camel/builder/component/dsl/SparkComponentBuilderFactory.java| 1 +
 dsl/camel-componentdsl/src/generated/resources/metadata.json | 2 +-
 .../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java| 2 ++
 .../camel/builder/endpoint/dsl/SparkEndpointBuilderFactory.java  | 3 +++
 10 files changed, 15 insertions(+), 7 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/spark.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/spark.json
index 9f14ef2cc7b..4724f02cb42 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/spark.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/spark.json
@@ -4,7 +4,7 @@
 "name": "spark",
 "title": "Spark",
 "description": "Send RDD or DataFrame jobs to Apache Spark clusters.",
-"deprecated": false,
+"deprecated": true,
 "firstVersion": "2.17.0",
 "label": "bigdata,iot",
 "javaType": "org.apache.camel.component.spark.SparkComponent",
diff --git a/components/camel-spark/pom.xml b/components/camel-spark/pom.xml
index d2c3fb2c287..02a8f05e400 100644
--- a/components/camel-spark/pom.xml
+++ b/components/camel-spark/pom.xml
@@ -30,7 +30,7 @@
 
 camel-spark
 jar
-Camel :: Apache Spark
+Camel :: Apache Spark (deprecated)
 Camel Apache Spark Support
 
 
diff --git 
a/components/camel-spark/src/generated/resources/META-INF/services/org/apache/camel/component.properties
 
b/components/camel-spark/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index f0494cf0b0e..629486bec24 100644
--- 
a/components/camel-spark/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ 
b/components/camel-spark/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -3,5 +3,5 @@ components=spark
 groupId=org.apache.camel
 artifactId=camel-spark
 version=3.20.0-SNAPSHOT
-projectName=Camel :: Apache Spark
+projectName=Camel :: Apache Spark (deprecated)
 projectDescription=Camel Apache Spark Support
diff --git 
a/components/camel-spark/src/generated/resources/org/apache/camel/component/spark/spark.json
 
b/components/camel-spark/src/generated/resources/org/apache/camel/component/spark/spark.json
index 9f14ef2cc7b..4724f02cb42 100644
--- 
a/components/camel-spark/src/generated/resources/org/apache/camel/component/spark/spark.json
+++ 
b/components/camel-spark/src/generated/resources/org/apache/camel/component/spark/spark.json
@@ -4,7 +4,7 @@
 "name": "spark",
 "title": "Spark",
 "description": "Send RDD or DataFrame jobs to Apache Spark clusters.",
-"deprecated": false,
+"deprecated": true,
 "firstVersion": "2.17.0",
 "label": "bigdata,iot",
 "javaType": "org.apache.camel.component.spark.SparkComponent",
diff --git a/components/camel-spark/src/main/docs/spark-component.adoc 
b/components/camel-spark/src/main/docs/spark-component.adoc
index 7aabc915e57..e6679ba0fad 100644
--- a/components/camel-spark/src/main/docs/spark-component.adoc
+++ b/components/camel-spark/src/main/docs/spark-component.adoc
@@ -1,10 +1,11 @@
-= Spark Component
+= Spark Component (deprecated)
 :doctitle: Spark
 :shortname: spark
 :artifactid: camel-spark
 :description: Send RDD or DataFrame jobs to Apache Spark clusters.
 :since: 2.17
-:supportlevel: Stable
+:supportlevel: Stable-deprecated
+:deprecated: *deprecated*
 :component-header: Only producer is supported
 //Manually maintained attributes
 :camel-spring-boot-name: spark
diff --git 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 81fc85c325a..0aae7716fbc 100644
--- 

[GitHub] [camel] davsclaus merged pull request #8773: CAMEL-18756: deprecate the spark component

2022-11-24 Thread GitBox


davsclaus merged PR #8773:
URL: https://github.com/apache/camel/pull/8773


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8773: CAMEL-18756: deprecate the spark component

2022-11-24 Thread GitBox


github-actions[bot] commented on PR #8773:
URL: https://github.com/apache/camel/pull/8773#issuecomment-1326758313

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 1 | 1 | 0 | 1 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (e0c54ccaaca -> c46fc471104)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


from e0c54ccaaca (chores) removed unused exceptions in components
 add c46fc471104 camel-hbase: deprecate the component (#8770)

No new revisions were added by this update.

Summary of changes:
 .../resources/org/apache/camel/catalog/components/hbase.json | 2 +-
 components/camel-hbase/pom.xml   | 2 +-
 .../META-INF/services/org/apache/camel/component.properties  | 2 +-
 .../generated/resources/org/apache/camel/component/hbase/hbase.json  | 2 +-
 components/camel-hbase/src/main/docs/hbase-component.adoc| 5 +++--
 .../org/apache/camel/builder/component/ComponentsBuilderFactory.java | 1 +
 .../camel/builder/component/dsl/HbaseComponentBuilderFactory.java| 1 +
 dsl/camel-componentdsl/src/generated/resources/metadata.json | 2 +-
 .../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java| 2 ++
 .../camel/builder/endpoint/dsl/HBaseEndpointBuilderFactory.java  | 3 +++
 10 files changed, 15 insertions(+), 7 deletions(-)



[camel] branch regen_bot updated (a444ac88dbb -> e0c54ccaaca)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


from a444ac88dbb [CAMEL-18753] camel-yaml-dsl - OnCompletion is not added 
in the route… (#8771)
 add 591355b08f5 (chores) camel-kafka: improved the documentation for 
handling manual commits with camel-kafka (#8769)
 add bcd1044310c (chores) removed unused exceptions in core
 add 06141148c63 (chores) removed unused exceptions in DSLs
 add e0c54ccaaca (chores) removed unused exceptions in components

No new revisions were added by this update.

Summary of changes:
 .../component/aws2/eventbridge/EventbridgeProducer.java  |  2 +-
 .../camel/component/aries/HyperledgerAriesComponent.java |  3 +--
 .../main/java/org/apache/camel/component/jasypt/Main.java|  2 +-
 .../java/org/apache/camel/component/jms/JmsComponent.java|  5 ++---
 .../java/org/apache/camel/component/jms/JmsEndpoint.java |  4 ++--
 components/camel-kafka/src/main/docs/kafka-component.adoc|  9 ++---
 .../src/main/java/org/apache/camel/util/IOHelper.java|  2 +-
 .../src/main/java/org/apache/camel/xml/jaxb/JaxbHelper.java  |  2 +-
 .../java/org/apache/camel/converter/jaxp/XmlConverter.java   | 12 ++--
 .../org/apache/camel/util/xml/StreamSourceConverter.java |  3 +--
 .../java/org/apache/camel/dsl/jbang/core/commands/Run.java   |  2 +-
 .../camel/dsl/jbang/core/commands/action/LoggerAction.java   |  2 +-
 .../org/apache/camel/dsl/jbang/core/common/GistHelper.java   |  2 +-
 13 files changed, 25 insertions(+), 25 deletions(-)



[camel] branch main updated: CAMEL-18758: prepare for spring boot 2.7.6

2022-11-24 Thread davsclaus
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 83efab84a9a CAMEL-18758: prepare for spring boot 2.7.6
83efab84a9a is described below

commit 83efab84a9ae97b5e4e4bfbff99d1d9164727f52
Author: Claus Ibsen 
AuthorDate: Thu Nov 24 18:52:27 2022 +0100

CAMEL-18758: prepare for spring boot 2.7.6
---
 camel-dependencies/pom.xml | 8 
 parent/pom.xml | 8 
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index bd35b8c4b6f..0d8ca413c68 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -177,7 +177,7 @@
 5.4.4
 0.3.0
 2.1.5
-3.10.2
+3.10.8
 
8.5.2
 
8.5.2
 
7.10.2
@@ -253,7 +253,7 @@
 2.5.0
 2.1.11
 6.2.5.Final
-5.6.12.Final
+5.6.14.Final
 2.6.1
 2.7.1
 4.1.5
@@ -405,7 +405,7 @@
 3.8.6
 3.5.2
 3.3.1
-4.2.9
+4.2.13
 1.10.2
 2.0.1
 
3.0
@@ -518,7 +518,7 @@
 2.3.2
 ${spring5-version}
 [5,6)
-3.1.3
+3.1.4
 5.3.24
 1.5
 3.14.9
diff --git a/parent/pom.xml b/parent/pom.xml
index 36fee08a82e..61ef172f576 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -158,7 +158,7 @@
 
8.0.28
 0.3.0
 2.1.5
-3.10.2
+3.10.8
 
8.5.2
 
8.5.2
 
7.10.2
@@ -233,7 +233,7 @@
 2.5.0
 2.1.11
 6.2.5.Final
-5.6.12.Final
+5.6.14.Final
 2.6.1
 2.7.1
 1.7
@@ -391,7 +391,7 @@
 
3.0.0-M4
 3.5.2
 3.3.1
-4.2.9
+4.2.13
 1.10.2
 2.0.1
 3.0.1
@@ -507,7 +507,7 @@
 5.3.24
 2.4.7
 5.7.5
-3.1.3
+3.1.4
 1.5
 3.14.9
 1.17.2



[camel-spring-boot] branch main updated (892d726989f -> a83f84c25ea)

2022-11-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


from 892d726989f [CAMEL-18729]fix 
CxfPayloadProducerNamespaceOnEnvelopeStreamCacheTest
 new 47abaf3021a CAMEL-18758: upgrade to spring boot 2.7.6
 new a83f84c25ea Regen

The 2 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:
 .../resources/org/apache/camel/springboot/catalog/components/hdfs.json  | 2 +-
 pom.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



[camel-spring-boot] 01/02: CAMEL-18758: upgrade to spring boot 2.7.6

2022-11-24 Thread davsclaus
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-spring-boot.git

commit 47abaf3021a56de3be2e546db9c5be3b70a2f866
Author: Claus Ibsen 
AuthorDate: Thu Nov 24 18:52:52 2022 +0100

CAMEL-18758: upgrade to spring boot 2.7.6
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index ea7ef82ccfb..f4b4ce79dbf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,7 +108,7 @@
 false
 
 
-2.7.5
+2.7.6
 
 
 3.20.0-SNAPSHOT



[camel-spring-boot] 02/02: Regen

2022-11-24 Thread davsclaus
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-spring-boot.git

commit a83f84c25ea9332daa7f2353cb037f4a367b1bd8
Author: Claus Ibsen 
AuthorDate: Thu Nov 24 19:06:14 2022 +0100

Regen
---
 .../resources/org/apache/camel/springboot/catalog/components/hdfs.json  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hdfs.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hdfs.json
index 5ed4ca29b4f..108624560b5 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hdfs.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hdfs.json
@@ -61,7 +61,7 @@
 "bufferSize": { "kind": "parameter", "displayName": "Buffer Size", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 4096, "configurationClass": 
"org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": 
"config", "description": "The buffer size used by HDFS" },
 "checkIdleInterval": { "kind": "parameter", "displayName": "Check Idle 
Interval", "group": "advanced", "label": "advanced", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 500, "configurationClass": 
"org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": 
"config", "description": "How often (time in millis) in to run the idle checker 
background task. This option is only in use if the  [...]
 "chunkSize": { "kind": "parameter", "displayName": "Chunk Size", "group": 
"advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 4096, "configurationClass": 
"org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": 
"config", "description": "When reading a normal file, this is split into chunks 
producing a message per chunk." },
-"compressionCodec": { "kind": "parameter", "displayName": "Compression 
Codec", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": "org.apache.camel.component.hdfs.HdfsCompressionCodec", 
"enum": [ "DEFAULT", "GZIP", "BZIP2" ], "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": "DEFAULT", "configurationClass": 
"org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": 
"config", "description": "The compressio [...]
+"compressionCodec": { "kind": "parameter", "displayName": "Compression 
Codec", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": "org.apache.camel.component.hdfs.HdfsCompressionCodec", 
"enum": [ "DEFAULT", "GZIP", "BZIP2", "SNAPPY" ], "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "DEFAULT", 
"configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", 
"configurationField": "config", "description": "The  [...]
 "compressionType": { "kind": "parameter", "displayName": "Compression 
Type", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": "org.apache.hadoop.io.SequenceFile.CompressionType", 
"enum": [ "NONE", "RECORD", "BLOCK" ], "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "NONE", "configurationClass": 
"org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": 
"config", "description": "The compression type to [...]
 "openedSuffix": { "kind": "parameter", "displayName": "Opened Suffix", 
"group": "advanced", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "opened", "configurationClass": 
"org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": 
"config", "description": "When a file is opened for reading\/writing the file 
is renamed with this suffix to avoid to read it [...]
 "readSuffix": { "kind": "parameter", "displayName": "Read Suffix", 
"group": "advanced", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "read", "configurationClass": 
"org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": 
"config", "description": "Once the file has been read is renamed with this 
suffix to avoid to read it again." },



[GitHub] [camel-quarkus] aldettinger commented on issue #3763: CVE-2022-26612: Apache Hadoop: Arbitrary file write in FileUtil#unpackEntries on Windows

2022-11-24 Thread GitBox


aldettinger commented on issue #3763:
URL: https://github.com/apache/camel-quarkus/issues/3763#issuecomment-1326731347

   Ok, let's deprecate both in Camel Quarkus then. We could come back if there 
is a strong community involvement to narrow down the maintenance burden in the 
future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: camel-hbase: deprecate the component (#8770)

2022-11-24 Thread davsclaus
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 c46fc471104 camel-hbase: deprecate the component (#8770)
c46fc471104 is described below

commit c46fc471104655f7d41e570a9bd7f2c525bd8424
Author: Alexandre Gallice 
AuthorDate: Thu Nov 24 18:28:41 2022 +0100

camel-hbase: deprecate the component (#8770)
---
 .../resources/org/apache/camel/catalog/components/hbase.json | 2 +-
 components/camel-hbase/pom.xml   | 2 +-
 .../META-INF/services/org/apache/camel/component.properties  | 2 +-
 .../generated/resources/org/apache/camel/component/hbase/hbase.json  | 2 +-
 components/camel-hbase/src/main/docs/hbase-component.adoc| 5 +++--
 .../org/apache/camel/builder/component/ComponentsBuilderFactory.java | 1 +
 .../camel/builder/component/dsl/HbaseComponentBuilderFactory.java| 1 +
 dsl/camel-componentdsl/src/generated/resources/metadata.json | 2 +-
 .../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java| 2 ++
 .../camel/builder/endpoint/dsl/HBaseEndpointBuilderFactory.java  | 3 +++
 10 files changed, 15 insertions(+), 7 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hbase.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hbase.json
index b7470f78ad9..c31324b11e5 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hbase.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hbase.json
@@ -4,7 +4,7 @@
 "name": "hbase",
 "title": "HBase",
 "description": "Reading and write from\/to an HBase store (Hadoop 
database).",
-"deprecated": false,
+"deprecated": true,
 "firstVersion": "2.10.0",
 "label": "bigdata,database,hadoop",
 "javaType": "org.apache.camel.component.hbase.HBaseComponent",
diff --git a/components/camel-hbase/pom.xml b/components/camel-hbase/pom.xml
index 4f22571ef38..7da053a64d9 100644
--- a/components/camel-hbase/pom.xml
+++ b/components/camel-hbase/pom.xml
@@ -28,7 +28,7 @@
 
 camel-hbase
 jar
-Camel :: Hbase
+Camel :: Hbase (deprecated)
 Camel HBase component
 
 
diff --git 
a/components/camel-hbase/src/generated/resources/META-INF/services/org/apache/camel/component.properties
 
b/components/camel-hbase/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 8febbe50638..01de49b527f 100644
--- 
a/components/camel-hbase/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ 
b/components/camel-hbase/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -3,5 +3,5 @@ components=hbase
 groupId=org.apache.camel
 artifactId=camel-hbase
 version=3.20.0-SNAPSHOT
-projectName=Camel :: Hbase
+projectName=Camel :: Hbase (deprecated)
 projectDescription=Camel HBase component
diff --git 
a/components/camel-hbase/src/generated/resources/org/apache/camel/component/hbase/hbase.json
 
b/components/camel-hbase/src/generated/resources/org/apache/camel/component/hbase/hbase.json
index b7470f78ad9..c31324b11e5 100644
--- 
a/components/camel-hbase/src/generated/resources/org/apache/camel/component/hbase/hbase.json
+++ 
b/components/camel-hbase/src/generated/resources/org/apache/camel/component/hbase/hbase.json
@@ -4,7 +4,7 @@
 "name": "hbase",
 "title": "HBase",
 "description": "Reading and write from\/to an HBase store (Hadoop 
database).",
-"deprecated": false,
+"deprecated": true,
 "firstVersion": "2.10.0",
 "label": "bigdata,database,hadoop",
 "javaType": "org.apache.camel.component.hbase.HBaseComponent",
diff --git a/components/camel-hbase/src/main/docs/hbase-component.adoc 
b/components/camel-hbase/src/main/docs/hbase-component.adoc
index 1abd115964e..c238c1e40be 100644
--- a/components/camel-hbase/src/main/docs/hbase-component.adoc
+++ b/components/camel-hbase/src/main/docs/hbase-component.adoc
@@ -1,10 +1,11 @@
-= HBase Component
+= HBase Component (deprecated)
 :doctitle: HBase
 :shortname: hbase
 :artifactid: camel-hbase
 :description: Reading and write from/to an HBase store (Hadoop database).
 :since: 2.10
-:supportlevel: Stable
+:supportlevel: Stable-deprecated
+:deprecated: *deprecated*
 :component-header: Both producer and consumer are supported
 //Manually maintained attributes
 :camel-spring-boot-name: hbase
diff --git 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 22e014d68bb..81fc85c325a 100644
--- 

[GitHub] [camel] davsclaus merged pull request #8770: camel-hbase: deprecate the component

2022-11-24 Thread GitBox


davsclaus merged PR #8770:
URL: https://github.com/apache/camel/pull/8770


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] davsclaus commented on pull request #8770: camel-hbase: deprecate the component

2022-11-24 Thread GitBox


davsclaus commented on PR #8770:
URL: https://github.com/apache/camel/pull/8770#issuecomment-1326717768

   deprecating a component does not break tests, so good to merge


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] 02/03: (chores) removed unused exceptions in DSLs

2022-11-24 Thread orpiske
This is an automated email from the ASF dual-hosted git repository.

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

commit 06141148c63fa6e5774f1c130aa23f40e7aa0d80
Author: Otavio Rodolfo Piske 
AuthorDate: Thu Nov 24 14:57:06 2022 +0100

(chores) removed unused exceptions in DSLs
---
 .../src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java | 2 +-
 .../org/apache/camel/dsl/jbang/core/commands/action/LoggerAction.java   | 2 +-
 .../main/java/org/apache/camel/dsl/jbang/core/common/GistHelper.java| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
index d0125ec5ef6..4a4a09dbf09 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
@@ -644,7 +644,7 @@ class Run extends CamelCommand {
 return main;
 }
 
-private void configureLogging() throws Exception {
+private void configureLogging() {
 if (silentRun) {
 // do not configure logging
 } else if (logging) {
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/LoggerAction.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/LoggerAction.java
index f0c1e178921..942e99e5ee2 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/LoggerAction.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/LoggerAction.java
@@ -88,7 +88,7 @@ public class LoggerAction extends ActionBaseCommand {
 return 0;
 }
 
-protected Integer callList() throws Exception {
+protected Integer callList() {
 List rows = new ArrayList<>();
 
 List pids = findPids("*");
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/GistHelper.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/GistHelper.java
index 2450c155292..f91fcd14bf4 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/GistHelper.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/GistHelper.java
@@ -32,7 +32,7 @@ public final class GistHelper {
 private GistHelper() {
 }
 
-public static String asGistSingleUrl(String url) throws Exception {
+public static String asGistSingleUrl(String url) {
 if (url.startsWith("https://gist.githubusercontent.com/;)) {
 url = url.substring(35);
 } else if (url.startsWith("https://gist.github.com/;)) {



[camel] 03/03: (chores) removed unused exceptions in components

2022-11-24 Thread orpiske
This is an automated email from the ASF dual-hosted git repository.

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

commit e0c54ccaacad632e50bd93140bd94b465789d4c0
Author: Otavio Rodolfo Piske 
AuthorDate: Thu Nov 24 14:57:22 2022 +0100

(chores) removed unused exceptions in components
---
 .../apache/camel/component/aws2/eventbridge/EventbridgeProducer.java | 2 +-
 .../org/apache/camel/component/aries/HyperledgerAriesComponent.java  | 3 +--
 .../src/main/java/org/apache/camel/component/jasypt/Main.java| 2 +-
 .../src/main/java/org/apache/camel/component/jms/JmsComponent.java   | 5 ++---
 .../src/main/java/org/apache/camel/component/jms/JmsEndpoint.java| 4 ++--
 5 files changed, 7 insertions(+), 9 deletions(-)

diff --git 
a/components/camel-aws/camel-aws2-eventbridge/src/main/java/org/apache/camel/component/aws2/eventbridge/EventbridgeProducer.java
 
b/components/camel-aws/camel-aws2-eventbridge/src/main/java/org/apache/camel/component/aws2/eventbridge/EventbridgeProducer.java
index 8490f9d9ae6..c17c108987d 100644
--- 
a/components/camel-aws/camel-aws2-eventbridge/src/main/java/org/apache/camel/component/aws2/eventbridge/EventbridgeProducer.java
+++ 
b/components/camel-aws/camel-aws2-eventbridge/src/main/java/org/apache/camel/component/aws2/eventbridge/EventbridgeProducer.java
@@ -490,7 +490,7 @@ public class EventbridgeProducer extends DefaultProducer {
 }
 }
 
-private void putEvent(EventBridgeClient eventbridgeClient, Exchange 
exchange) throws InvalidPayloadException, IOException {
+private void putEvent(EventBridgeClient eventbridgeClient, Exchange 
exchange) throws InvalidPayloadException {
 if (getConfiguration().isPojoRequest()) {
 Object payload = exchange.getIn().getMandatoryBody();
 if (payload instanceof PutEventsRequest) {
diff --git 
a/components/camel-hyperledger-aries/src/main/java/org/apache/camel/component/aries/HyperledgerAriesComponent.java
 
b/components/camel-hyperledger-aries/src/main/java/org/apache/camel/component/aries/HyperledgerAriesComponent.java
index 2908dfebd0a..82f0d16881e 100644
--- 
a/components/camel-hyperledger-aries/src/main/java/org/apache/camel/component/aries/HyperledgerAriesComponent.java
+++ 
b/components/camel-hyperledger-aries/src/main/java/org/apache/camel/component/aries/HyperledgerAriesComponent.java
@@ -16,7 +16,6 @@
  */
 package org.apache.camel.component.aries;
 
-import java.io.IOException;
 import java.util.List;
 import java.util.Map;
 
@@ -116,7 +115,7 @@ public class HyperledgerAriesComponent extends 
DefaultComponent {
 return adminClient;
 }
 
-public AriesClient createClient(String walletName) throws IOException {
+public AriesClient createClient(String walletName) {
 NessusWallet wallet = assertWallet(walletName);
 AgentConfiguration agentConfig = getAgentConfiguration();
 return AriesClientFactory.createClient(agentConfig, wallet);
diff --git 
a/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java
 
b/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java
index 90c42742ac6..e165e4d5dc1 100644
--- 
a/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java
+++ 
b/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java
@@ -175,7 +175,7 @@ public class Main {
 return valid;
 }
 
-public void run(String[] args) throws Exception {
+public void run(String[] args) {
 if (!parseArguments(args)) {
 showOptions();
 return;
diff --git 
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
 
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
index 4ab334663e4..5c71df57853 100644
--- 
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
+++ 
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
@@ -208,7 +208,7 @@ public class JmsComponent extends 
HeaderFilterStrategyComponent {
 return configuration.createInOnlyTemplate(endpoint, pubSubDomain, 
destination);
 }
 
-public AbstractMessageListenerContainer 
createMessageListenerContainer(JmsEndpoint endpoint) throws Exception {
+public AbstractMessageListenerContainer 
createMessageListenerContainer(JmsEndpoint endpoint) {
 return configuration.createMessageListenerContainer(endpoint);
 }
 
@@ -692,8 +692,7 @@ public class JmsComponent extends 
HeaderFilterStrategyComponent {
 return JmsConfiguration.createDestinationResolver(destinationEndpoint);
 }
 
-public void 
configureMessageListenerContainer(AbstractMessageListenerContainer container, 
JmsEndpoint endpoint)
-throws Exception {
+public void 
configureMessageListenerContainer(AbstractMessageListenerContainer container, 
JmsEndpoint endpoint) 

[camel] branch main updated (591355b08f5 -> e0c54ccaaca)

2022-11-24 Thread orpiske
This is an automated email from the ASF dual-hosted git repository.

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


from 591355b08f5 (chores) camel-kafka: improved the documentation for 
handling manual commits with camel-kafka (#8769)
 new bcd1044310c (chores) removed unused exceptions in core
 new 06141148c63 (chores) removed unused exceptions in DSLs
 new e0c54ccaaca (chores) removed unused exceptions in components

The 3 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:
 .../component/aws2/eventbridge/EventbridgeProducer.java  |  2 +-
 .../camel/component/aries/HyperledgerAriesComponent.java |  3 +--
 .../main/java/org/apache/camel/component/jasypt/Main.java|  2 +-
 .../java/org/apache/camel/component/jms/JmsComponent.java|  5 ++---
 .../java/org/apache/camel/component/jms/JmsEndpoint.java |  4 ++--
 .../src/main/java/org/apache/camel/util/IOHelper.java|  2 +-
 .../src/main/java/org/apache/camel/xml/jaxb/JaxbHelper.java  |  2 +-
 .../java/org/apache/camel/converter/jaxp/XmlConverter.java   | 12 ++--
 .../org/apache/camel/util/xml/StreamSourceConverter.java |  3 +--
 .../java/org/apache/camel/dsl/jbang/core/commands/Run.java   |  2 +-
 .../camel/dsl/jbang/core/commands/action/LoggerAction.java   |  2 +-
 .../org/apache/camel/dsl/jbang/core/common/GistHelper.java   |  2 +-
 12 files changed, 19 insertions(+), 22 deletions(-)



[camel] 01/03: (chores) removed unused exceptions in core

2022-11-24 Thread orpiske
This is an automated email from the ASF dual-hosted git repository.

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

commit bcd1044310c36c5fba70aca7253cd76e7b82a5f9
Author: Otavio Rodolfo Piske 
AuthorDate: Thu Nov 24 14:56:52 2022 +0100

(chores) removed unused exceptions in core
---
 .../src/main/java/org/apache/camel/util/IOHelper.java|  2 +-
 .../src/main/java/org/apache/camel/xml/jaxb/JaxbHelper.java  |  2 +-
 .../java/org/apache/camel/converter/jaxp/XmlConverter.java   | 12 ++--
 .../org/apache/camel/util/xml/StreamSourceConverter.java |  3 +--
 4 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java 
b/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java
index f4de4d0e17b..b6d9b8f9e6d 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java
@@ -724,7 +724,7 @@ public final class IOHelper {
 return IOHelper.buffered(new EncodingFileWriter(os, charset));
 }
 
-public static BufferedWriter toWriter(FileOutputStream os, Charset 
charset) throws IOException {
+public static BufferedWriter toWriter(FileOutputStream os, Charset 
charset) {
 return IOHelper.buffered(new EncodingFileWriter(os, charset));
 }
 }
diff --git 
a/core/camel-xml-jaxb/src/main/java/org/apache/camel/xml/jaxb/JaxbHelper.java 
b/core/camel-xml-jaxb/src/main/java/org/apache/camel/xml/jaxb/JaxbHelper.java
index d140de5e6b9..460c5df1bbe 100644
--- 
a/core/camel-xml-jaxb/src/main/java/org/apache/camel/xml/jaxb/JaxbHelper.java
+++ 
b/core/camel-xml-jaxb/src/main/java/org/apache/camel/xml/jaxb/JaxbHelper.java
@@ -169,7 +169,7 @@ public final class JaxbHelper {
  * @param document   the DOM document
  * @param namespaces the map of namespaces to add new found XML namespaces
  */
-public static void extractNamespaces(Document document, Map namespaces) throws JAXBException {
+public static void extractNamespaces(Document document, Map namespaces) {
 NamedNodeMap attributes = 
document.getDocumentElement().getAttributes();
 for (int i = 0; i < attributes.getLength(); i++) {
 Node item = attributes.item(i);
diff --git 
a/core/camel-xml-jaxp/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java
 
b/core/camel-xml-jaxp/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java
index 5556b6f1b73..94f4ab4ff58 100644
--- 
a/core/camel-xml-jaxp/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java
+++ 
b/core/camel-xml-jaxp/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java
@@ -297,7 +297,7 @@ public class XmlConverter {
  * easy to derive from this class to add new kinds of conversion).
  */
 @Converter(order = 15)
-public SAXSource toSAXSource(String source, Exchange exchange) throws 
IOException, SAXException, TransformerException {
+public SAXSource toSAXSource(String source, Exchange exchange) throws 
SAXException, TransformerException {
 return toSAXSource(toSource(source), exchange);
 }
 
@@ -326,7 +326,7 @@ public class XmlConverter {
  * easy to derive from this class to add new kinds of conversion).
  */
 @Converter(order = 18)
-public SAXSource toSAXSource(InputStream source, Exchange exchange) throws 
IOException, SAXException, TransformerException {
+public SAXSource toSAXSource(InputStream source, Exchange exchange) throws 
SAXException, TransformerException {
 return toSAXSource(toStreamSource(source), exchange);
 }
 
@@ -335,7 +335,7 @@ public class XmlConverter {
  * easy to derive from this class to add new kinds of conversion).
  */
 @Converter(order = 19)
-public SAXSource toSAXSource(byte[] in, Exchange exchange) throws 
IOException, SAXException, TransformerException {
+public SAXSource toSAXSource(byte[] in, Exchange exchange) throws 
SAXException, TransformerException {
 return toSAXSource(toStreamSource(in, exchange), exchange);
 }
 
@@ -391,13 +391,13 @@ public class XmlConverter {
 }
 
 @Converter(order = 27)
-public StreamSource toStreamSource(byte[] in, Exchange exchange) throws 
TransformerException {
+public StreamSource toStreamSource(byte[] in, Exchange exchange) {
 InputStream is = 
exchange.getContext().getTypeConverter().convertTo(InputStream.class, exchange, 
in);
 return new StreamSource(is);
 }
 
 @Converter(order = 28)
-public StreamSource toStreamSource(ByteBuffer in, Exchange exchange) 
throws TransformerException {
+public StreamSource toStreamSource(ByteBuffer in, Exchange exchange) {
 InputStream is = 
exchange.getContext().getTypeConverter().convertTo(InputStream.class, exchange, 
in);
 return new StreamSource(is);
 }
@@ -829,7 +829,7 @@ public class XmlConverter {
  * easy 

[GitHub] [camel] orpiske merged pull request #8772: (chores) removed unused exceptions in core, components and DSLs

2022-11-24 Thread GitBox


orpiske merged PR #8772:
URL: https://github.com/apache/camel/pull/8772


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] orpiske commented on pull request #8772: (chores) removed unused exceptions in core, components and DSLs

2022-11-24 Thread GitBox


orpiske commented on PR #8772:
URL: https://github.com/apache/camel/pull/8772#issuecomment-1326714812

   The test failure is unrelated. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8773: CAMEL-18756: deprecate the spark component

2022-11-24 Thread GitBox


github-actions[bot] commented on PR #8773:
URL: https://github.com/apache/camel/pull/8773#issuecomment-1326710304

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :warning: Please note that the changes on this PR may be **tested 
automatically**. 
   
   If necessary Apache Camel Committers may access logs and test results in the 
job summaries!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] aldettinger opened a new pull request, #8773: CAMEL-18756: deprecate the spark component

2022-11-24 Thread GitBox


aldettinger opened a new pull request, #8773:
URL: https://github.com/apache/camel/pull/8773

   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8770: camel-hbase: deprecate the component

2022-11-24 Thread GitBox


github-actions[bot] commented on PR #8770:
URL: https://github.com/apache/camel/pull/8770#issuecomment-1326691837

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 4 | 4 | 1 | 4 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-kamelets] oscerd commented on pull request #1162: chore: Introduce Kamelet input/output data types

2022-11-24 Thread GitBox


oscerd commented on PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#issuecomment-1326677661

   We could create a kamelet-api module. I'll try the PR on jbang too.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-kamelets] davsclaus commented on pull request #1162: chore: Introduce Kamelet input/output data types

2022-11-24 Thread GitBox


davsclaus commented on PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#issuecomment-1326673603

   Please make sure that this works in standalone Camel as well, eg such as try 
via camel-jbang.
   Kamelets are universal building blocks and MUST work on camel-spring-boot, 
camel-kafka-connector, camel-quarkus (without camel-k), and of course camel-k 
as well.
   
   Previously Kamelets have been kept more basic where the kamelet-util JAR was 
what the name said - utility. With this kind of work, then its no longer util, 
but a core and api part of kamelets, which IMHO later should be moved into 
their own modules.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (e3df7ccb446 -> a444ac88dbb)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


from e3df7ccb446 CAMEL-18745: Add originalBody as function to simple 
language.
 add a444ac88dbb [CAMEL-18753] camel-yaml-dsl - OnCompletion is not added 
in the route… (#8771)

No new revisions were added by this update.

Summary of changes:
 .../camel/dsl/yaml/YamlRoutesBuilderLoader.java|  9 +++
 ...xceptionTest.groovy => OnCompletionTest.groovy} | 28 +++---
 2 files changed, 18 insertions(+), 19 deletions(-)
 copy 
dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/{OnExceptionTest.groovy
 => OnCompletionTest.groovy} (64%)



[GitHub] [camel-kamelets] christophd commented on a diff in pull request #1162: chore: Introduce Kamelet input/output data types

2022-11-24 Thread GitBox


christophd commented on code in PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#discussion_r1031687678


##
kamelets/aws-ddb-sink.kamelet.yaml:
##
@@ -107,17 +113,24 @@ spec:
   - "camel:aws2-ddb"
   - "camel:kamelet"
   template:
+beans:
+- name: dataTypeRegistry

Review Comment:
   see https://github.com/apache/camel-k/issues/3845



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] christophd opened a new issue, #3845: Add DataTypeRegistry as bean in Camel context

2022-11-24 Thread GitBox


christophd opened a new issue, #3845:
URL: https://github.com/apache/camel-k/issues/3845

   Kamelets introduces a new concept for data types as described in #1980 
   
   At the moment each Kamelet adds a local bean representing the 
DataTypeRegistry in order to resolve converter implementations at runtime. 
   
   The registry for data type converters should be added to the Camel context 
as a singleton service. This can be done by adding 
`quarkus.camel.service.registry.include-patterns` property on the camel-quarkus 
project that builds the integration jars.
   
   This way we avoid each Kamelet to introduce the local bean but reuse the 
singleton service. We would need to set this for KameletBinding or when an 
integration uses Kamelet components. Kamelets assume the DataTypeRegistry to be 
set on the CamelContext.
   
   See https://github.com/apache/camel-kamelets/pull/1162 for details


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-website] branch regen_bot updated (6f1d6d88 -> d3fef5b2)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel-website.git


from 6f1d6d88 Remove newline after the link
 add 43aa99d2 feat: camel k jbang
 add d3fef5b2 fix: kamelets dir and trailing spaces

No new revisions were added by this update.

Summary of changes:
 content/blog/2022/11/camel-k-jbang/featured.png | Bin 0 -> 103773 bytes
 content/blog/2022/11/camel-k-jbang/index.md | 229 
 2 files changed, 229 insertions(+)
 create mode 100644 content/blog/2022/11/camel-k-jbang/featured.png
 create mode 100644 content/blog/2022/11/camel-k-jbang/index.md



[GitHub] [camel-kamelets] christophd commented on a diff in pull request #1162: chore: Introduce Kamelet input/output data types

2022-11-24 Thread GitBox


christophd commented on code in PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#discussion_r1031682625


##
library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/format/DefaultDataTypeRegistry.java:
##
@@ -0,0 +1,154 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.camel.kamelets.utils.format;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Optional;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.CamelContextAware;
+import org.apache.camel.ExtendedCamelContext;
+import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.impl.engine.DefaultInjector;
+import org.apache.camel.impl.engine.DefaultPackageScanClassResolver;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeConverter;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeLoader;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeRegistry;
+import org.apache.camel.spi.PackageScanClassResolver;
+import org.apache.camel.support.service.ServiceSupport;
+
+/**
+ * Default data type registry able to resolve data types converters in the 
project. Data types may be defined at the component level
+ * via {@link org.apache.camel.kamelets.utils.format.spi.annotations.DataType} 
annotations. Also, users can add data types directly
+ * to the Camel context or manually to the registry.
+ *
+ * The registry is able to retrieve converters for a given data type based on 
the component scheme and the given data type name.
+ */
+public class DefaultDataTypeRegistry extends ServiceSupport implements 
DataTypeRegistry, CamelContextAware {

Review Comment:
   see https://github.com/apache/camel-k/issues/3844



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] christophd opened a new issue, #3844: Add data type converter factory finder discovery in camel-quarkus

2022-11-24 Thread GitBox


christophd opened a new issue, #3844:
URL: https://github.com/apache/camel-k/issues/3844

   Kamelets introduces a data type concept as described in #1980
   
   The data type implementations are resolved with factory finder mechanism. We 
will need to add the factory finder for DataTypeConverters when building the 
camel-quarkus jar for the integration. This makes sure that META-INF resources 
for factory finder lookup are included in the jars and runtime is able to 
resolve the data type implementation at runtime.
   
   Usually this can be done with adding 
`quarkus.camel.service.discovery.include-patterns` property at build time.
   
   See https://github.com/apache/camel-kamelets/pull/1162 for details


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] squakez opened a new pull request, #3843: [backport 1.10.x] fix(core): move to policy/v1

2022-11-24 Thread GitBox


squakez opened a new pull request, #3843:
URL: https://github.com/apache/camel-k/pull/3843

   Closes #3840
   
   
   
   
   
   
   
   
   **Release Note**
   ```release-note
   fix(core): move to policy/v1
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] squakez opened a new pull request, #3842: [backport 1.8.x] fix(core): move to policy/v1

2022-11-24 Thread GitBox


squakez opened a new pull request, #3842:
URL: https://github.com/apache/camel-k/pull/3842

   Closes #3840
   
   
   
   
   
   
   
   
   **Release Note**
   ```release-note
   fix(core): move to policy/v1
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-kamelets] christophd commented on a diff in pull request #1162: chore: Introduce Kamelet input/output data types

2022-11-24 Thread GitBox


christophd commented on code in PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#discussion_r1031676501


##
library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/format/AnnotationDataTypeLoader.java:
##
@@ -0,0 +1,171 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.camel.kamelets.utils.format;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.net.URL;
+import java.nio.charset.StandardCharsets;
+import java.util.Enumeration;
+import java.util.HashSet;
+import java.util.Set;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.CamelContextAware;
+import org.apache.camel.ExtendedCamelContext;
+import org.apache.camel.TypeConverterLoaderException;
+import org.apache.camel.impl.engine.DefaultPackageScanClassResolver;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeConverter;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeLoader;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeRegistry;
+import org.apache.camel.kamelets.utils.format.spi.annotations.DataType;
+import org.apache.camel.spi.PackageScanClassResolver;
+import org.apache.camel.util.IOHelper;
+import org.apache.camel.util.ObjectHelper;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Data type loader scans packages for {@link DataTypeConverter} classes 
annotated with {@link DataType} annotation.
+ */
+public class AnnotationDataTypeLoader implements DataTypeLoader, 
CamelContextAware {

Review Comment:
   good pint. not sure either about this. we will switch to factory finder 
mechanism once this is enabled for the DataTypeConverter in camel-quarkus and 
this mechanism will work in native mode, too.



##
library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/format/AnnotationDataTypeLoader.java:
##
@@ -0,0 +1,171 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.camel.kamelets.utils.format;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.net.URL;
+import java.nio.charset.StandardCharsets;
+import java.util.Enumeration;
+import java.util.HashSet;
+import java.util.Set;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.CamelContextAware;
+import org.apache.camel.ExtendedCamelContext;
+import org.apache.camel.TypeConverterLoaderException;
+import org.apache.camel.impl.engine.DefaultPackageScanClassResolver;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeConverter;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeLoader;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeRegistry;
+import org.apache.camel.kamelets.utils.format.spi.annotations.DataType;
+import org.apache.camel.spi.PackageScanClassResolver;
+import org.apache.camel.util.IOHelper;
+import org.apache.camel.util.ObjectHelper;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Data type loader scans packages for {@link DataTypeConverter} classes 
annotated with {@link DataType} annotation.
+ */
+public class AnnotationDataTypeLoader implements DataTypeLoader, 
CamelContextAware {

Review Comment:
   good point. not sure either about this. we will switch to factory finder 
mechanism once this is enabled for the DataTypeConverter in camel-quarkus and 
this mechanism will work in native mode, 

[GitHub] [camel-kamelets] christophd commented on a diff in pull request #1162: chore: Introduce Kamelet input/output data types

2022-11-24 Thread GitBox


christophd commented on code in PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#discussion_r1031674841


##
library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/format/DefaultDataTypeRegistry.java:
##
@@ -0,0 +1,154 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.camel.kamelets.utils.format;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Optional;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.CamelContextAware;
+import org.apache.camel.ExtendedCamelContext;
+import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.impl.engine.DefaultInjector;
+import org.apache.camel.impl.engine.DefaultPackageScanClassResolver;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeConverter;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeLoader;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeRegistry;
+import org.apache.camel.spi.PackageScanClassResolver;
+import org.apache.camel.support.service.ServiceSupport;
+
+/**
+ * Default data type registry able to resolve data types converters in the 
project. Data types may be defined at the component level
+ * via {@link org.apache.camel.kamelets.utils.format.spi.annotations.DataType} 
annotations. Also, users can add data types directly
+ * to the Camel context or manually to the registry.
+ *
+ * The registry is able to retrieve converters for a given data type based on 
the component scheme and the given data type name.
+ */
+public class DefaultDataTypeRegistry extends ServiceSupport implements 
DataTypeRegistry, CamelContextAware {

Review Comment:
   we need to enable the factory finder in camel-quarkus for this with 
`quarkus.camel.service.discovery.include-patterns` build time property. This 
needs to be done in Camel K so I will add a new issue to track this one in 
Camel K.
   
   Once we have this we can disable classpath scan here in Kamelets and use 
lazy loading via factory finder.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-website] 02/02: fix: kamelets dir and trailing spaces

2022-11-24 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

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

commit d3fef5b2b1def99735438b1931172b8cddcee590
Author: Pasquale Congiusti 
AuthorDate: Thu Nov 24 15:04:04 2022 +0100

fix: kamelets dir and trailing spaces
---
 content/blog/2022/11/camel-k-jbang/index.md | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/content/blog/2022/11/camel-k-jbang/index.md 
b/content/blog/2022/11/camel-k-jbang/index.md
index 9ccc8767..0f7b1e7f 100644
--- a/content/blog/2022/11/camel-k-jbang/index.md
+++ b/content/blog/2022/11/camel-k-jbang/index.md
@@ -39,7 +39,7 @@ $ camel init HelloJBang.java
 At this stage, we could edit the file with the logic we need for our 
integration, or, simply run it:
 
 ```
-$ camel run HelloJBang.java 
+$ camel run HelloJBang.java
 2022-11-23 12:11:05.407  INFO 52841 --- [   main] 
org.apache.camel.main.MainSupport: Apache Camel (JBang) 3.18.1 is 
starting
 2022-11-23 12:11:05.470  INFO 52841 --- [   main] 
org.apache.camel.main.MainSupport: Using Java 11.0.17 with PID 52841. 
Started by squake in /home/squake/workspace/jbang/camel-blog
 2022-11-23 12:11:07.537  INFO 52841 --- [   main] 
e.camel.impl.engine.AbstractCamelContext : Apache Camel 3.18.1 (CamelJBang) is 
starting
@@ -54,7 +54,7 @@ $ camel run HelloJBang.java
 A local java process will start with a Camel application running. No need to 
create a Maven project, all the boilerplate is on Camel JBang! However, you may 
notice that the Camel version used is different from the one we want to target. 
This is because my Camel JBang is using a different version of Camel. No worry, 
we can re-run this application but specifying the Camel version we want to run:
 
 ```
-$ jbang run -Dcamel.jbang.version=3.18.3 camel@apache/camel run 
HelloJBang.java 
+$ jbang run -Dcamel.jbang.version=3.18.3 camel@apache/camel run HelloJBang.java
 ...
 [1] 2022-11-23 11:13:02,825 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] 
(main) Apache Camel 3.18.3 (camel-1) started in 70ms (build:0ms init:61ms 
start:9ms)
 ...
@@ -73,8 +73,8 @@ Integration "hello-j-bang" created
 [1] 2022-11-23 11:13:02,824 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] 
(main) Routes startup (started:1)
 [1] 2022-11-23 11:13:02,825 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] 
(main) Started java (timer://java)
 [1] 2022-11-23 11:13:02,825 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] 
(main) Apache Camel 3.18.3 (camel-1) started in 70ms (build:0ms init:61ms 
start:9ms)
-[1] 2022-11-23 11:13:02,828 INFO  [io.quarkus] (main) camel-k-integration 
1.10.3 on JVM (powered by Quarkus 2.13.4.Final) started in 2.234s. 
-[1] 2022-11-23 11:13:02,829 INFO  [io.quarkus] (main) Profile prod activated. 
+[1] 2022-11-23 11:13:02,828 INFO  [io.quarkus] (main) camel-k-integration 
1.10.3 on JVM (powered by Quarkus 2.13.4.Final) started in 2.234s.
+[1] 2022-11-23 11:13:02,829 INFO  [io.quarkus] (main) Profile prod activated.
 [1] 2022-11-23 11:13:02,829 INFO  [io.quarkus] (main) Installed features: 
[camel-bean, camel-core, camel-java-joor-dsl, camel-k-core, camel-k-runtime, 
camel-kubernetes, camel-timer, cdi, kubernetes-client, security]
 [1] 2022-11-23 11:13:03,850 INFO  [java] (Camel (camel-1) thread #1 - 
timer://java) Hello Camel from java
 ```
@@ -121,7 +121,7 @@ There is a process that is in charge to write files into a 
directory. I need to
 Now that I'm ready, I run a last round of testing locally via Camel JBang:
 
 ```
-$ jbang run -Dcamel.jbang.version=3.18.3 camel@apache/camel run 
MyJBangRoute.java 
+$ jbang run -Dcamel.jbang.version=3.18.3 camel@apache/camel run 
MyJBangRoute.java
 2022-11-23 12:19:11.516  INFO 55909 --- [   main] 
org.apache.camel.main.MainSupport: Apache Camel (JBang) 3.18.3 is 
starting
 2022-11-23 12:19:11.592  INFO 55909 --- [   main] 
org.apache.camel.main.MainSupport: Using Java 11.0.17 with PID 55909. 
Started by squake in /home/squake/workspace/jbang/camel-blog
 2022-11-23 12:19:14.020  INFO 55909 --- [   main] 
e.camel.impl.engine.AbstractCamelContext : Apache Camel 3.18.3 (CamelJBang) is 
starting
@@ -154,7 +154,7 @@ In this case we want to use certain volumes we had made 
available in our cluster
 $ kamel run MyJBangRoute.java --volume my-pv-claim-input:/tmp/input --volume 
my-pv-claim-output:/tmp/output --volume my-pv-claim-discarded:/tmp/discarded 
--dev
 ...
 [1] 2022-11-23 11:39:26,281 INFO  [route1] (Camel (camel-1) thread #1 - 
file:///tmp/input) Processing file file_1669203565971 with content: some entry
-[1] 
+[1]
 [1] 2022-11-23 11:39:26,303 INFO  [route1] (Camel (camel-1) thread #1 - 
file:///tmp/input) WARN not checked!
 [1] 2022-11-23 11:39:32,322 INFO  [route1] (Camel (camel-1) thread #1 - 
file:///tmp/input) Processing file file_1669203571981 with content: some entry 
checked
 ```
@@ -205,10 

[camel-website] branch main updated (6f1d6d88 -> d3fef5b2)

2022-11-24 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

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


from 6f1d6d88 Remove newline after the link
 new 43aa99d2 feat: camel k jbang
 new d3fef5b2 fix: kamelets dir and trailing spaces

The 2 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:
 content/blog/2022/11/camel-k-jbang/featured.png | Bin 0 -> 103773 bytes
 content/blog/2022/11/camel-k-jbang/index.md | 229 
 2 files changed, 229 insertions(+)
 create mode 100644 content/blog/2022/11/camel-k-jbang/featured.png
 create mode 100644 content/blog/2022/11/camel-k-jbang/index.md



[camel-website] 01/02: feat: camel k jbang

2022-11-24 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

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

commit 43aa99d2fed46739935047f0034463bd711cd59f
Author: Pasquale Congiusti 
AuthorDate: Wed Nov 23 15:59:10 2022 +0100

feat: camel k jbang
---
 content/blog/2022/11/camel-k-jbang/featured.png | Bin 0 -> 103773 bytes
 content/blog/2022/11/camel-k-jbang/index.md | 229 
 2 files changed, 229 insertions(+)

diff --git a/content/blog/2022/11/camel-k-jbang/featured.png 
b/content/blog/2022/11/camel-k-jbang/featured.png
new file mode 100644
index ..dd3464db
Binary files /dev/null and b/content/blog/2022/11/camel-k-jbang/featured.png 
differ
diff --git a/content/blog/2022/11/camel-k-jbang/index.md 
b/content/blog/2022/11/camel-k-jbang/index.md
new file mode 100644
index ..9ccc8767
--- /dev/null
+++ b/content/blog/2022/11/camel-k-jbang/index.md
@@ -0,0 +1,229 @@
+---
+title: "How to test an Integration for Camel K"
+date: 2022-11-24
+draft: false
+authors: [squakez]
+categories: ["Howtos", "Camel K", "Test", "JBang"]
+preview: "How to use Camel JBang to locally test a Camel K integration"
+---
+
+Testing is probably one of those operations we use to repeat most of the time 
while building any application. Applications in Camel world are no difference. 
With the advent of **Camel JBang**, we have a unified place that can be used to 
perform our testing/fine tuning locally before moving to a higher environment.
+
+During the last years of development, we have noticed that testing or fine 
tuning an integration directly connected to a **Cloud Native** environment can 
result a bit cumbersome. You need to be connected to the cluster, or 
alternatively you need a local Kubernetes cluster running on your machine 
(Minikube, Kind and the likes). Most of the time, the aspects inherent to the 
cluster fine tuning are coming very late in the development. Therefore, it 
would be nice to have a ligther way of tes [...]
+
+`kamel local` is a command we have used to test an Integration locally in the 
past. However, it overlaps the effort done by Camel community to have a single 
CLI used to test locally any Camel application, independently where this is 
going to be deployed. For this reason we may deprecate it in the near future in 
favour of `camel` CLI provided by Camel JBang.
+
+# Camel JBang installation
+
+First of all, we need to install and get familiar with `jbang` and `camel` 
CLIs. You can follow the [official documentation about Camel 
JBang](/manual/camel-jbang.html) in order to install the CLIs to your local 
environment. Once this is done, we can see how to test an Integration for Camel 
K with Camel JBang.
+
+# Simple application development
+
+The first application we develop is a simple one, but it defines the process 
you should follow when testing any Integration that will be eventually deployed 
in Kubernetes via Camel K. A good approach is to verify the target version of 
Camel in your Camel K installation. With this information we'll make sure to 
test locally against the very same version that we'll be later deploying in a 
cluster.
+
+```
+$ kamel version -a -v | grep Runtime
+Runtime Version: 1.15.2
+
+$ kubectl get camelcatalog camel-catalog-1.15.2 -o yaml | grep camel\.version
+  camel.version: 3.18.3
+```
+The commands above are useful to find out what is the Camel version used by 
the runtime in my cluster Camel K installation. Our target is Camel version 
3.18.3. Let's keep this in mind.
+
+The easiest way to initialize a Camel route is to run `camel init` command:
+
+```
+$ camel init HelloJBang.java
+```
+
+At this stage, we could edit the file with the logic we need for our 
integration, or, simply run it:
+
+```
+$ camel run HelloJBang.java 
+2022-11-23 12:11:05.407  INFO 52841 --- [   main] 
org.apache.camel.main.MainSupport: Apache Camel (JBang) 3.18.1 is 
starting
+2022-11-23 12:11:05.470  INFO 52841 --- [   main] 
org.apache.camel.main.MainSupport: Using Java 11.0.17 with PID 52841. 
Started by squake in /home/squake/workspace/jbang/camel-blog
+2022-11-23 12:11:07.537  INFO 52841 --- [   main] 
e.camel.impl.engine.AbstractCamelContext : Apache Camel 3.18.1 (CamelJBang) is 
starting
+2022-11-23 12:11:07.675  INFO 52841 --- [   main] 
e.camel.impl.engine.AbstractCamelContext : Routes startup (started:1)
+2022-11-23 12:11:07.676  INFO 52841 --- [   main] 
e.camel.impl.engine.AbstractCamelContext : Started java (timer://java)
+2022-11-23 12:11:07.676  INFO 52841 --- [   main] 
e.camel.impl.engine.AbstractCamelContext : Apache Camel 3.18.1 (CamelJBang) 
started in 397ms (build:118ms init:140ms start:139ms JVM-uptime:3s)
+2022-11-23 12:11:08.705  INFO 52841 --- [ - timer://java] HelloJBang.java:14   
: Hello Camel from java
+2022-11-23 12:11:09.676  INFO 52841 --- [ - 

[GitHub] [camel-website] squakez merged pull request #927: feat: camel k jbang

2022-11-24 Thread GitBox


squakez merged PR #927:
URL: https://github.com/apache/camel-website/pull/927


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-kamelets] christophd commented on a diff in pull request #1162: chore: Introduce Kamelet input/output data types

2022-11-24 Thread GitBox


christophd commented on code in PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#discussion_r1031674841


##
library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/format/DefaultDataTypeRegistry.java:
##
@@ -0,0 +1,154 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.camel.kamelets.utils.format;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Optional;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.CamelContextAware;
+import org.apache.camel.ExtendedCamelContext;
+import org.apache.camel.RuntimeCamelException;
+import org.apache.camel.impl.engine.DefaultInjector;
+import org.apache.camel.impl.engine.DefaultPackageScanClassResolver;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeConverter;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeLoader;
+import org.apache.camel.kamelets.utils.format.spi.DataTypeRegistry;
+import org.apache.camel.spi.PackageScanClassResolver;
+import org.apache.camel.support.service.ServiceSupport;
+
+/**
+ * Default data type registry able to resolve data types converters in the 
project. Data types may be defined at the component level
+ * via {@link org.apache.camel.kamelets.utils.format.spi.annotations.DataType} 
annotations. Also, users can add data types directly
+ * to the Camel context or manually to the registry.
+ *
+ * The registry is able to retrieve converters for a given data type based on 
the component scheme and the given data type name.
+ */
+public class DefaultDataTypeRegistry extends ServiceSupport implements 
DataTypeRegistry, CamelContextAware {

Review Comment:
   we need to enable the factory finder in camel-quarkus for this with 
`quarkus.camel.service.discovery.include-patterns` build time property. This 
needs to be done in Camel K so I will add a new issue to track this one in 
Camel K.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-kamelets] christophd commented on a diff in pull request #1162: chore: Introduce Kamelet input/output data types

2022-11-24 Thread GitBox


christophd commented on code in PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#discussion_r1031673084


##
kamelets/aws-ddb-sink.kamelet.yaml:
##
@@ -107,17 +113,24 @@ spec:
   - "camel:aws2-ddb"
   - "camel:kamelet"
   template:
+beans:
+- name: dataTypeRegistry

Review Comment:
   we can add this to the Camel registry with 
`quarkus.camel.service.registry.include-patterns` property set on the 
camel-quarkus extension. But this needs to be done in Camel L when generating 
the Maven project that builds and runs the integration. I will add a new issue 
on Camel K for that. Once we have this we can remove the local beans from the 
Kamelets.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-kamelets] oscerd commented on pull request #1162: chore: Introduce Kamelet input/output data types

2022-11-24 Thread GitBox


oscerd commented on PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#issuecomment-1326637509

   No rush. When you think the first iteration is done, I'll review and merge 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-kamelets] christophd commented on pull request #1162: chore: Introduce Kamelet input/output data types

2022-11-24 Thread GitBox


christophd commented on PR #1162:
URL: https://github.com/apache/camel-kamelets/pull/1162#issuecomment-1326636455

   @oscerd rebase is done. Tomorrow I can have a look at the YAKS tests if you 
have some more time with the release.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] squakez opened a new pull request, #3841: fix(core): move to policy/v1

2022-11-24 Thread GitBox


squakez opened a new pull request, #3841:
URL: https://github.com/apache/camel-k/pull/3841

   Closes #3840
   
   
   
   
   
   
   
   
   **Release Note**
   ```release-note
   fix(core): move to policy/v1
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] aldettinger commented on pull request #8770: camel-hbase: deprecate the component

2022-11-24 Thread GitBox


aldettinger commented on PR #8770:
URL: https://github.com/apache/camel/pull/8770#issuecomment-1326626512

   Thanks for guidance @davsclaus, indeed now catalog, doc and endpointdsl 
seems up-to-date.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-website] davsclaus commented on pull request #927: feat: camel k jbang

2022-11-24 Thread GitBox


davsclaus commented on PR #927:
URL: https://github.com/apache/camel-website/pull/927#issuecomment-1326613220

   Great blog post


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch camel-3.18.x updated: (chores) camel-kafka: improved the documentation for handling manual commits with camel-kafka (#8769)

2022-11-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.18.x by this push:
 new 9a70fea427f (chores) camel-kafka: improved the documentation for 
handling manual commits with camel-kafka (#8769)
9a70fea427f is described below

commit 9a70fea427f2d9a19034c6e1a9c7b40020cae3d9
Author: Otavio Rodolfo Piske 
AuthorDate: Thu Nov 24 16:43:17 2022 +0100

(chores) camel-kafka: improved the documentation for handling manual 
commits with camel-kafka (#8769)
---
 components/camel-kafka/src/main/docs/kafka-component.adoc | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/components/camel-kafka/src/main/docs/kafka-component.adoc 
b/components/camel-kafka/src/main/docs/kafka-component.adoc
index e6d289af58f..07f431090dd 100644
--- a/components/camel-kafka/src/main/docs/kafka-component.adoc
+++ b/components/camel-kafka/src/main/docs/kafka-component.adoc
@@ -369,13 +369,16 @@ This will force a synchronous commit which will block 
until the commit is acknow
 You can use an asynchronous commit as well by configuring the 
`KafkaManualCommitFactory` with the `DefaultKafkaManualAsyncCommitFactory` 
implementation.
 
 Then the commit will be done in the next consumer loop using the kafka 
asynchronous commit api.
-Be aware that records from a partition must be processed and committed by a 
unique thread.
-If not, this could lead with non-consistent behaviors.
-This is mostly useful with aggregation's completion timeout strategies.
 
 If you want to use a custom implementation of `KafkaManualCommit` then you can 
configure a custom `KafkaManualCommitFactory`
 on the `KafkaComponent` that creates instances of your custom implementation.
 
+*Note 1*: records from a partition must be processed and committed by the same 
thread as the consumer. This means that certain EIPs, async or concurrent 
operations
+in the DSL, may cause the commit to fail. In such circumstances, tyring to 
commit the transaction will cause the Kafka client to throw a 
`java.util.ConcurrentModificationException`
+exception with the message `KafkaConsumer is not safe for multi-threaded 
access`. To prevent this from happening, redesign your route to avoid those 
operations.
+
+*Note 2: this is mostly useful with aggregation's completion timeout 
strategies.
+
 == Pausable Consumers
 
 The Kafka component supports pausable consumers. This type of consumer can 
pause consuming data based on



[GitHub] [camel] davsclaus merged pull request #8769: (chores) camel-kafka: improved the documentation for handling manual commits with camel-kafka

2022-11-24 Thread GitBox


davsclaus merged PR #8769:
URL: https://github.com/apache/camel/pull/8769


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: (chores) camel-kafka: improved the documentation for handling manual commits with camel-kafka (#8769)

2022-11-24 Thread davsclaus
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 591355b08f5 (chores) camel-kafka: improved the documentation for 
handling manual commits with camel-kafka (#8769)
591355b08f5 is described below

commit 591355b08f557f279385af0527bf5d01ece7f72b
Author: Otavio Rodolfo Piske 
AuthorDate: Thu Nov 24 16:43:17 2022 +0100

(chores) camel-kafka: improved the documentation for handling manual 
commits with camel-kafka (#8769)
---
 components/camel-kafka/src/main/docs/kafka-component.adoc | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/components/camel-kafka/src/main/docs/kafka-component.adoc 
b/components/camel-kafka/src/main/docs/kafka-component.adoc
index e6d289af58f..07f431090dd 100644
--- a/components/camel-kafka/src/main/docs/kafka-component.adoc
+++ b/components/camel-kafka/src/main/docs/kafka-component.adoc
@@ -369,13 +369,16 @@ This will force a synchronous commit which will block 
until the commit is acknow
 You can use an asynchronous commit as well by configuring the 
`KafkaManualCommitFactory` with the `DefaultKafkaManualAsyncCommitFactory` 
implementation.
 
 Then the commit will be done in the next consumer loop using the kafka 
asynchronous commit api.
-Be aware that records from a partition must be processed and committed by a 
unique thread.
-If not, this could lead with non-consistent behaviors.
-This is mostly useful with aggregation's completion timeout strategies.
 
 If you want to use a custom implementation of `KafkaManualCommit` then you can 
configure a custom `KafkaManualCommitFactory`
 on the `KafkaComponent` that creates instances of your custom implementation.
 
+*Note 1*: records from a partition must be processed and committed by the same 
thread as the consumer. This means that certain EIPs, async or concurrent 
operations
+in the DSL, may cause the commit to fail. In such circumstances, tyring to 
commit the transaction will cause the Kafka client to throw a 
`java.util.ConcurrentModificationException`
+exception with the message `KafkaConsumer is not safe for multi-threaded 
access`. To prevent this from happening, redesign your route to avoid those 
operations.
+
+*Note 2: this is mostly useful with aggregation's completion timeout 
strategies.
+
 == Pausable Consumers
 
 The Kafka component supports pausable consumers. This type of consumer can 
pause consuming data based on



[GitHub] [camel-website] github-actions[bot] commented on pull request #927: feat: camel k jbang

2022-11-24 Thread GitBox


github-actions[bot] commented on PR #927:
URL: https://github.com/apache/camel-website/pull/927#issuecomment-1326609705

    Preview is available at https://pr-927--camel.netlify.app


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch camel-3.18.x updated: [CAMEL-18753] camel-yaml-dsl - OnCompletion is not added in the route… (#8771)

2022-11-24 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.18.x by this push:
 new 45c7b2e364e [CAMEL-18753] camel-yaml-dsl - OnCompletion is not added 
in the route… (#8771)
45c7b2e364e is described below

commit 45c7b2e364efa3412ecc8cc8937ada17781eb92f
Author: Marc Boulanger 
AuthorDate: Thu Nov 24 16:40:24 2022 +0100

[CAMEL-18753] camel-yaml-dsl - OnCompletion is not added in the route… 
(#8771)

* [CAMEL-18753] camel-yaml-dsl - OnCompletion is not added in the route 
definition.

* [CAMEL-18753] camel-yaml-dsl - OnCompletion is not added in the route 
definition.

Co-authored-by: Boulanger M 
---
 .../camel/dsl/yaml/YamlRoutesBuilderLoader.java|  9 
 .../apache/camel/dsl/yaml/OnCompletionTest.groovy  | 50 ++
 2 files changed, 59 insertions(+)

diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java
index 406a221fc03..2193d538194 100644
--- 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java
@@ -42,6 +42,7 @@ import 
org.apache.camel.dsl.yaml.common.exception.InvalidEndpointException;
 import org.apache.camel.dsl.yaml.common.exception.InvalidNodeTypeException;
 import org.apache.camel.dsl.yaml.deserializers.OutputAwareFromDefinition;
 import org.apache.camel.model.KameletDefinition;
+import org.apache.camel.model.OnCompletionDefinition;
 import org.apache.camel.model.OnExceptionDefinition;
 import org.apache.camel.model.ProcessorDefinition;
 import org.apache.camel.model.RouteConfigurationDefinition;
@@ -169,6 +170,14 @@ public class YamlRoutesBuilderLoader extends 
YamlRoutesBuilderLoaderSupport {
 } else if (item instanceof CamelContextCustomizer) {
 ((CamelContextCustomizer) 
item).configure(getCamelContext());
 return true;
+} else if (item instanceof OnCompletionDefinition) {
+if (!getRouteCollection().getRoutes().isEmpty()) {
+throw new IllegalArgumentException(
+"onCompletion must be defined before any 
routes in the RouteBuilder");
+}
+CamelContextAware.trySetCamelContext(getRouteCollection(), 
getCamelContext());
+
getRouteCollection().getOnCompletions().add((OnCompletionDefinition) item);
+return true;
 } else if (item instanceof OnExceptionDefinition) {
 if (!getRouteCollection().getRoutes().isEmpty()) {
 throw new IllegalArgumentException(
diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/OnCompletionTest.groovy
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/OnCompletionTest.groovy
new file mode 100644
index 000..2c072db4e80
--- /dev/null
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/OnCompletionTest.groovy
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.dsl.yaml
+
+import org.apache.camel.component.mock.MockEndpoint
+import org.apache.camel.dsl.yaml.support.YamlTestSupport
+
+class OnCompletionTest extends YamlTestSupport {
+def "on-completion"() {
+setup:
+loadRoutes """
+- on-completion:
+steps:
+  - transform:
+  constant: "Processed"
+  - to: "mock:on-success"  
+- from:
+uri: "direct:start"
+steps:
+  - to: "mock:end"
+"""
+
+withMock('mock:on-success') {
+expectedBodiesReceived 'Processed'
+  

[GitHub] [camel] davsclaus merged pull request #8771: [CAMEL-18753] camel-yaml-dsl - OnCompletion is not added in the route…

2022-11-24 Thread GitBox


davsclaus merged PR #8771:
URL: https://github.com/apache/camel/pull/8771


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: [CAMEL-18753] camel-yaml-dsl - OnCompletion is not added in the route… (#8771)

2022-11-24 Thread davsclaus
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 a444ac88dbb [CAMEL-18753] camel-yaml-dsl - OnCompletion is not added 
in the route… (#8771)
a444ac88dbb is described below

commit a444ac88dbbe2631f671298ef1b110b7363e2283
Author: Marc Boulanger 
AuthorDate: Thu Nov 24 16:40:24 2022 +0100

[CAMEL-18753] camel-yaml-dsl - OnCompletion is not added in the route… 
(#8771)

* [CAMEL-18753] camel-yaml-dsl - OnCompletion is not added in the route 
definition.

* [CAMEL-18753] camel-yaml-dsl - OnCompletion is not added in the route 
definition.

Co-authored-by: Boulanger M 
---
 .../camel/dsl/yaml/YamlRoutesBuilderLoader.java|  9 
 .../apache/camel/dsl/yaml/OnCompletionTest.groovy  | 50 ++
 2 files changed, 59 insertions(+)

diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java
index 406a221fc03..2193d538194 100644
--- 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java
@@ -42,6 +42,7 @@ import 
org.apache.camel.dsl.yaml.common.exception.InvalidEndpointException;
 import org.apache.camel.dsl.yaml.common.exception.InvalidNodeTypeException;
 import org.apache.camel.dsl.yaml.deserializers.OutputAwareFromDefinition;
 import org.apache.camel.model.KameletDefinition;
+import org.apache.camel.model.OnCompletionDefinition;
 import org.apache.camel.model.OnExceptionDefinition;
 import org.apache.camel.model.ProcessorDefinition;
 import org.apache.camel.model.RouteConfigurationDefinition;
@@ -169,6 +170,14 @@ public class YamlRoutesBuilderLoader extends 
YamlRoutesBuilderLoaderSupport {
 } else if (item instanceof CamelContextCustomizer) {
 ((CamelContextCustomizer) 
item).configure(getCamelContext());
 return true;
+} else if (item instanceof OnCompletionDefinition) {
+if (!getRouteCollection().getRoutes().isEmpty()) {
+throw new IllegalArgumentException(
+"onCompletion must be defined before any 
routes in the RouteBuilder");
+}
+CamelContextAware.trySetCamelContext(getRouteCollection(), 
getCamelContext());
+
getRouteCollection().getOnCompletions().add((OnCompletionDefinition) item);
+return true;
 } else if (item instanceof OnExceptionDefinition) {
 if (!getRouteCollection().getRoutes().isEmpty()) {
 throw new IllegalArgumentException(
diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/OnCompletionTest.groovy
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/OnCompletionTest.groovy
new file mode 100644
index 000..2c072db4e80
--- /dev/null
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/OnCompletionTest.groovy
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.dsl.yaml
+
+import org.apache.camel.component.mock.MockEndpoint
+import org.apache.camel.dsl.yaml.support.YamlTestSupport
+
+class OnCompletionTest extends YamlTestSupport {
+def "on-completion"() {
+setup:
+loadRoutes """
+- on-completion:
+steps:
+  - transform:
+  constant: "Processed"
+  - to: "mock:on-success"  
+- from:
+uri: "direct:start"
+steps:
+  - to: "mock:end"
+"""
+
+withMock('mock:on-success') {
+expectedBodiesReceived 'Processed'
+}
+
+ 

[GitHub] [camel-k] squakez opened a new issue, #3840: Remove deprecated Kubernetes API

2022-11-24 Thread GitBox


squakez opened a new issue, #3840:
URL: https://github.com/apache/camel-k/issues/3840

   In version 1.25 there will be [the drop of 
`policy/v1beta1`](https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25)
 that we are using. We should remove them before upgrading to the new version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (67c6cb654a2 -> e3df7ccb446)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


from 67c6cb654a2 docs - Simplify steps for building thrift compiler (#8768)
 add e3df7ccb446 CAMEL-18745: Add originalBody as function to simple 
language.

No new revisions were added by this update.

Summary of changes:
 .../modules/languages/pages/simple-language.adoc   |  2 ++
 .../simple/ast/SimpleFunctionExpression.java   |  2 ++
 .../simple/BodyOriginalMessageTest.java}   | 18 ++-
 .../camel/support/builder/ExpressionBuilder.java   | 35 ++
 4 files changed, 49 insertions(+), 8 deletions(-)
 copy 
core/camel-core/src/test/java/org/apache/camel/{impl/DefaultCamelContextAllowUseOriginalMessageFalseTest.java
 => language/simple/BodyOriginalMessageTest.java} (73%)



[GitHub] [camel] github-actions[bot] commented on pull request #8772: (chores) removed unused exceptions in core, components and DSLs

2022-11-24 Thread GitBox


github-actions[bot] commented on PR #8772:
URL: https://github.com/apache/camel/pull/8772#issuecomment-1326559848

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 4 | 4 | 1 | 4 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8769: (chores) camel-kafka: improved the documentation for handling manual commits with camel-kafka

2022-11-24 Thread GitBox


github-actions[bot] commented on PR #8769:
URL: https://github.com/apache/camel/pull/8769#issuecomment-1326546853

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 1 | 1 | 0 | 1 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (87d150f42ea -> 67c6cb654a2)

2022-11-24 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git


from 87d150f42ea Fix indent
 add 67c6cb654a2 docs - Simplify steps for building thrift compiler (#8768)

No new revisions were added by this update.

Summary of changes:
 components/camel-thrift/README.md | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)



  1   2   3   >