svn commit: r69361 [1/5] - /dev/camel/camel-quarkus/3.11.0/

2024-05-23 Thread ppalaga
Author: ppalaga
Date: Fri May 24 05:45:43 2024
New Revision: 69361

Log:
Import camel-quarkus release

Added:
dev/camel/camel-quarkus/3.11.0/
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.json
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.json.asc   
(with props)
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.json.sha512
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.xml
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.xml.asc   
(with props)
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.xml.sha512
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-src.zip   (with 
props)
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-src.zip.asc   
(with props)
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-src.zip.sha512



svn commit: r69361 [4/5] - /dev/camel/camel-quarkus/3.11.0/

2024-05-23 Thread ppalaga
Added: dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.xml
==
--- dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.xml (added)
+++ dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.xml Fri May 
24 05:45:43 2024
@@ -0,0 +1,93725 @@
+
+http://cyclonedx.org/schema/bom/1.5;>
+  
+
+  
+build
+  
+
+
+  
+OWASP Foundation
+CycloneDX Maven plugin
+2.8.0
+
+  76ffec6a7ddd46b2b24517411874eb99
+  5b0d5b41975b53be4799b9621b4af0cfc41d44b6
+  6852aa0f4e42a2db745bab80e384951a6a65b9215d041081d675780999027e81
+  417de20fcdcb11c9713bacbd57290d8e68037fdb4553fd31b8cb08bd760ad52dc65ea88ad4be15844ad3fd5a4d3e440d2f70326f2fe1e63ec78e059c9a883f8d
+  5eb755c6492e7a7385fa9a1e1f4517875bcb834b2df437808a37a2d6f5285df428741762305980315a63fcef1406597d
+  0fe16a47cf7aab0b22251dafcc39939b68e8f1778093309d8d2060b51a08df445a8b8ed5a9561669faf2e55f907c76d8
+  3e5a1eb5ab7d0797498862794709ff8eaaa071fe4cc9ec77f52db7e2f97ef487
+  59281a3e29e76270d7f44b40b5b9f05e55f1ae3ec716d80add806f360940809e3813998ac7c5758043b8e248aed73b86e37dc506cdb4cde03c16bb617d8e5a3a
+
+  
+
+
+  The Apache Software Foundation
+  org.apache.camel.quarkus
+  camel-quarkus
+  3.11.0
+  Apache Camel extensions for Quarkus
+  
+
+  Apache-2.0
+  https://www.apache.org/licenses/LICENSE-2.0
+
+  
+  
pkg:maven/org.apache.camel.quarkus/camel-quarkus@3.11.0?type=pom
+  http://camel.apache.orghttps://repository.apache.org/service/local/staging/deploy/maven2https://github.com/apache/camel-quarkus/issuesdev-subscr...@camel.apache.orghttps://github.com/apache/camel-quarkus
+
+
+  makeAggregateBom
+  compile,provided,runtime,system
+  enabled
+
+  
+  
+
+  The Apache Software Foundation
+  org.apache.camel.quarkus
+  camel-quarkus-poms
+  3.11.0
+  Apache Camel extensions for Quarkus
+  
+
+  Apache-2.0
+  https://www.apache.org/licenses/LICENSE-2.0
+
+  
+  
pkg:maven/org.apache.camel.quarkus/camel-quarkus-poms@3.11.0?type=pom
+  http://camel.apache.org/camel-quarkus-pomshttps://repository.apache.org/service/local/staging/deploy/maven2https://github.com/apache/camel-quarkus/issuesdev-subscr...@camel.apache.orghttps://github.com/apache/camel-quarkus/camel-quarkus-poms
+
+
+  The Apache Software Foundation
+  org.apache.camel.quarkus
+  camel-quarkus-bom
+  3.11.0
+  Apache Camel extensions for Quarkus
+  
+
+  Apache-2.0
+  https://www.apache.org/licenses/LICENSE-2.0
+
+  
+  
pkg:maven/org.apache.camel.quarkus/camel-quarkus-bom@3.11.0?type=pom
+  http://camel.apache.org/camel-quarkus-poms/camel-quarkus-bomhttps://repository.apache.org/service/local/staging/deploy/maven2https://github.com/apache/camel-quarkus/issuesdev-subscr...@camel.apache.orghttps://github.com/apache/camel-quarkus/camel-quarkus-poms/camel-quarkus-bom
+
+
+  The Apache Software Foundation
+  org.apache.camel.quarkus
+  camel-quarkus-bom-test
+  3.11.0
+  Apache Camel extensions for Quarkus
+  
+
+  Apache-2.0
+  https://www.apache.org/licenses/LICENSE-2.0
+
+  
+  
pkg:maven/org.apache.camel.quarkus/camel-quarkus-bom-test@3.11.0?type=pom
+  http://camel.apache.org/camel-quarkus-poms/camel-quarkus-bom-testhttps://repository.apache.org/service/local/staging/deploy/maven2https://github.com/apache/camel-quarkus/issuesdev-subscr...@camel.apache.orghttps://github.com/apache/camel-quarkus/camel-quarkus-poms/camel-quarkus-bom-test
+
+
+  The Apache Software Foundation
+  org.apache.camel.quarkus
+  camel-quarkus-build-parent
+  3.11.0
+  Maven plugins configuration
+  
+
+  Apache-2.0
+  https://www.apache.org/licenses/LICENSE-2.0
+
+  
+  
pkg:maven/org.apache.camel.quarkus/camel-quarkus-build-parent@3.11.0?type=pom
+  http://camel.apache.org/camel-quarkus-poms/camel-quarkus-build-parenthttps://repository.apache.org/service/local/staging/deploy/maven2https://github.com/apache/camel-quarkus/issuesdev-subscr...@camel.apache.orghttps://github.com/apache/camel-quarkus/camel-quarkus-poms/camel-quarkus-build-parent
+
+
+  The Apache Software Foundation
+  org.apache.camel.quarkus
+  camel-quarkus-build-parent-it
+  3.11.0
+  Maven plugins configuration for Integration 
Tests
+  
+
+  Apache-2.0
+  https://www.apache.org/licenses/LICENSE-2.0
+
+  
+  
pkg:maven/org.apache.camel.quarkus/camel-quarkus-build-parent-it@3.11.0?type=pom
+  

svn commit: r69361 [3/5] - /dev/camel/camel-quarkus/3.11.0/

2024-05-23 Thread ppalaga
Added: dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.json.asc
==
Binary file - no diff available.

Propchange: 
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.json.asc
--
svn:mime-type = application/pgp-signature

Added: 
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.json.sha512
==
--- dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.json.sha512 
(added)
+++ dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.json.sha512 
Fri May 24 05:45:43 2024
@@ -0,0 +1 @@
+5be69a35ed2645b1d9f6dda417176953b3f300c6df1fd3334c22f2b1215f431002e01a14b00c36888f76eb5f762b10717c5cee492e3af11d11767973909f21ff
 *apache-camel-quarkus-3.11.0-sbom.json




svn commit: r69361 [2/5] - /dev/camel/camel-quarkus/3.11.0/

2024-05-23 Thread ppalaga


Added: dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.json
==
--- dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.json (added)
+++ dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.json Fri 
May 24 05:45:43 2024
@@ -0,0 +1,232646 @@
+{
+  "bomFormat" : "CycloneDX",
+  "specVersion" : "1.5",
+  "serialNumber" : "urn:uuid:7934f5ca-a594-3274-9004-3e2253b730e0",
+  "version" : 1,
+  "metadata" : {
+"lifecycles" : [
+  {
+"phase" : "build"
+  }
+],
+"tools" : [
+  {
+"vendor" : "OWASP Foundation",
+"name" : "CycloneDX Maven plugin",
+"version" : "2.8.0",
+"hashes" : [
+  {
+"alg" : "MD5",
+"content" : "76ffec6a7ddd46b2b24517411874eb99"
+  },
+  {
+"alg" : "SHA-1",
+"content" : "5b0d5b41975b53be4799b9621b4af0cfc41d44b6"
+  },
+  {
+"alg" : "SHA-256",
+"content" : 
"6852aa0f4e42a2db745bab80e384951a6a65b9215d041081d675780999027e81"
+  },
+  {
+"alg" : "SHA-512",
+"content" : 
"417de20fcdcb11c9713bacbd57290d8e68037fdb4553fd31b8cb08bd760ad52dc65ea88ad4be15844ad3fd5a4d3e440d2f70326f2fe1e63ec78e059c9a883f8d"
+  },
+  {
+"alg" : "SHA-384",
+"content" : 
"5eb755c6492e7a7385fa9a1e1f4517875bcb834b2df437808a37a2d6f5285df428741762305980315a63fcef1406597d"
+  },
+  {
+"alg" : "SHA3-384",
+"content" : 
"0fe16a47cf7aab0b22251dafcc39939b68e8f1778093309d8d2060b51a08df445a8b8ed5a9561669faf2e55f907c76d8"
+  },
+  {
+"alg" : "SHA3-256",
+"content" : 
"3e5a1eb5ab7d0797498862794709ff8eaaa071fe4cc9ec77f52db7e2f97ef487"
+  },
+  {
+"alg" : "SHA3-512",
+"content" : 
"59281a3e29e76270d7f44b40b5b9f05e55f1ae3ec716d80add806f360940809e3813998ac7c5758043b8e248aed73b86e37dc506cdb4cde03c16bb617d8e5a3a"
+  }
+]
+  }
+],
+"component" : {
+  "publisher" : "The Apache Software Foundation",
+  "group" : "org.apache.camel.quarkus",
+  "name" : "camel-quarkus",
+  "version" : "3.11.0",
+  "description" : "Apache Camel extensions for Quarkus",
+  "licenses" : [
+{
+  "license" : {
+"id" : "Apache-2.0",
+"url" : "https://www.apache.org/licenses/LICENSE-2.0;
+  }
+}
+  ],
+  "purl" : 
"pkg:maven/org.apache.camel.quarkus/camel-quarkus@3.11.0?type=pom",
+  "externalReferences" : [
+{
+  "type" : "website",
+  "url" : "http://camel.apache.org;
+},
+{
+  "type" : "distribution-intake",
+  "url" : 
"https://repository.apache.org/service/local/staging/deploy/maven2;
+},
+{
+  "type" : "issue-tracker",
+  "url" : "https://github.com/apache/camel-quarkus/issues;
+},
+{
+  "type" : "mailing-list",
+  "url" : "dev-subscr...@camel.apache.org"
+},
+{
+  "type" : "vcs",
+  "url" : "https://github.com/apache/camel-quarkus;
+}
+  ],
+  "type" : "library",
+  "bom-ref" : 
"pkg:maven/org.apache.camel.quarkus/camel-quarkus@3.11.0?type=pom"
+},
+"properties" : [
+  {
+"name" : "maven.goal",
+"value" : "makeAggregateBom"
+  },
+  {
+"name" : "maven.scopes",
+"value" : "compile,provided,runtime,system"
+  },
+  {
+"name" : "cdx:reproducible",
+"value" : "enabled"
+  }
+]
+  },
+  "components" : [
+{
+  "publisher" : "The Apache Software Foundation",
+  "group" : "org.apache.camel.quarkus",
+  "name" : "camel-quarkus-poms",
+  "version" : "3.11.0",
+  "description" : "Apache Camel extensions for Quarkus",
+  "licenses" : [
+{
+  "license" : {
+"id" : "Apache-2.0",
+"url" : "https://www.apache.org/licenses/LICENSE-2.0;
+  }
+}
+  ],
+  "purl" : 
"pkg:maven/org.apache.camel.quarkus/camel-quarkus-poms@3.11.0?type=pom",
+  "externalReferences" : [
+{
+  "type" : "website",
+  "url" : "http://camel.apache.org/camel-quarkus-poms;
+},
+{
+  "type" : "distribution-intake",
+  "url" : 
"https://repository.apache.org/service/local/staging/deploy/maven2;
+},
+{
+  "type" : "issue-tracker",
+  "url" : "https://github.com/apache/camel-quarkus/issues;
+},
+{
+  "type" : "mailing-list",
+  "url" : "dev-subscr...@camel.apache.org"
+},
+{
+  "type" : "vcs",
+  "url" : "https://github.com/apache/camel-quarkus/camel-quarkus-poms;
+}
+  ],
+  "type" : "library",
+  

svn commit: r69361 [5/5] - /dev/camel/camel-quarkus/3.11.0/

2024-05-23 Thread ppalaga
Added: dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.xml.asc
==
Binary file - no diff available.

Propchange: 
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.xml.asc
--
svn:mime-type = application/pgp-signature

Added: 
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.xml.sha512
==
--- dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.xml.sha512 
(added)
+++ dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-sbom.xml.sha512 
Fri May 24 05:45:43 2024
@@ -0,0 +1 @@
+ec0c0b5f87d8d3266cb0f5315662c482b5926c9879baa2d44a99026a807925a2cd98e3cf0725ec08141545068e8dd1f40b3d596b3baee474e72a06c83141ef34
 *apache-camel-quarkus-3.11.0-sbom.xml

Added: dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-src.zip
==
Binary file - no diff available.

Propchange: dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-src.zip
--
svn:mime-type = application/zip

Added: dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-src.zip.asc
==
Binary file - no diff available.

Propchange: 
dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-src.zip.asc
--
svn:mime-type = application/pgp-signature

Added: dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-src.zip.sha512
==
--- dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-src.zip.sha512 
(added)
+++ dev/camel/camel-quarkus/3.11.0/apache-camel-quarkus-3.11.0-src.zip.sha512 
Fri May 24 05:45:43 2024
@@ -0,0 +1 @@
+c7ef33912b55e79126b62fc4dd101fe806900ff83f37c8d3a187de4eb6726ae4204c571305709ece703834d36642fddabd190b87dc02aa61240e38ead4a86e60
 *apache-camel-quarkus-3.11.0-src.zip




Re: [PR] [Github Actions] Periodic Sync Camel Spring Boot (Camel 4) [camel-spring-boot]

2024-05-23 Thread via GitHub


davsclaus closed pull request #1151: [Github Actions] Periodic Sync Camel 
Spring Boot (Camel 4)
URL: https://github.com/apache/camel-spring-boot/pull/1151


-- 
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-quarkus) annotated tag 3.11.0 created (now 279a9509a6)

2024-05-23 Thread ppalaga
This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a change to annotated tag 3.11.0
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


  at 279a9509a6 (tag)
 tagging 47b79c6297811121bacc503ce5fa6a3989b4ddda (commit)
 replaces 1.0.0-CR3
  by Peter Palaga
  on Fri May 24 06:07:19 2024 +0200

- Log -
[maven-release-plugin] copy for tag 3.11.0
---

No new revisions were added by this update.



(camel-quarkus) branch 3.11.x created (now 47b79c6297)

2024-05-23 Thread ppalaga
This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a change to branch 3.11.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


  at 47b79c6297 [maven-release-plugin] Prepare release 3.11.0

This branch includes the following new commits:

 new 47b79c6297 [maven-release-plugin] Prepare release 3.11.0

The 1 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.




Re: [I] Camel 4.6 - Add openapi-contract-first example [camel-quarkus]

2024-05-23 Thread via GitHub


zhfeng closed issue #5964: Camel 4.6 - Add openapi-contract-first example
URL: https://github.com/apache/camel-quarkus/issues/5964


-- 
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-quarkus) branch dependabot/maven/me.escoffier.certs-certificate-generator-junit5-0.6.0 deleted (was 99f52caa4f)

2024-05-23 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/maven/me.escoffier.certs-certificate-generator-junit5-0.6.0
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


 was 99f52caa4f --- updated-dependencies: - dependency-name: 
me.escoffier.certs:certificate-generator-junit5   dependency-type: 
direct:production   update-type: version-update:semver-minor ...

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(camel-quarkus) branch main updated: --- updated-dependencies: - dependency-name: me.escoffier.certs:certificate-generator-junit5 dependency-type: direct:production update-type: version-update:sem

2024-05-23 Thread zhfeng
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new a8f4527157 --- updated-dependencies: - dependency-name: 
me.escoffier.certs:certificate-generator-junit5   dependency-type: 
direct:production   update-type: version-update:semver-minor ...
a8f4527157 is described below

commit a8f4527157769cc01e7f03282d97328b712e31a2
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Wed May 22 14:53:02 2024 +

---
updated-dependencies:
- dependency-name: me.escoffier.certs:certificate-generator-junit5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index d2f530c7dc..add620920f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -169,7 +169,7 @@
 ${zookeeper-version}
 
 
-0.5.0
+0.6.0
 ${consul-client-version}
 ${ftpserver-version}
 2.2



Re: [PR] Bump me.escoffier.certs:certificate-generator-junit5 from 0.5.0 to 0.6.0 [camel-quarkus]

2024-05-23 Thread via GitHub


zhfeng merged PR #6118:
URL: https://github.com/apache/camel-quarkus/pull/6118


-- 
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



Re: [I] [CI] - Camel Main Branch Build Failure [camel-quarkus]

2024-05-23 Thread via GitHub


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

   The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) 
branch build has failed:
   
   * Build ID: 9216551891-1388-82a62aac-f9d0-4e86-b87e-b9e45d285177
   * Camel Quarkus Commit: 8193d907bc6558e5ee7d0f2dea7124a4ed415f20
   
   * Camel Main Commit: 96a758b66640ede0a469e512b0e276cfcb05
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/9216551891


-- 
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-quarkus) 02/02: Upgrade to Quarkus CXF 3.11.0

2024-05-23 Thread zhfeng
This is an automated email from the ASF dual-hosted git repository.

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

commit bce51ca301ae17cbc8c9615539c2915b6dafb919
Author: Peter Palaga 
AuthorDate: Thu May 23 13:23:58 2024 +0200

Upgrade to Quarkus CXF 3.11.0
---
 .../cxf/way/TrustHelloServiceCxfWayImpl.java   |   2 +-
 pom.xml|   2 +-
 poms/bom/src/main/generated/flattened-full-pom.xml | 550 +++--
 .../src/main/generated/flattened-reduced-pom.xml   |  58 ++-
 .../generated/flattened-reduced-verbose-pom.xml| 550 +++--
 5 files changed, 590 insertions(+), 572 deletions(-)

diff --git 
a/integration-test-groups/cxf-soap/cxf-soap-ws-trust/src/main/java/org/apache/camel/quarkus/component/cxf/soap/it/ws/trust/server/cxf/way/TrustHelloServiceCxfWayImpl.java
 
b/integration-test-groups/cxf-soap/cxf-soap-ws-trust/src/main/java/org/apache/camel/quarkus/component/cxf/soap/it/ws/trust/server/cxf/way/TrustHelloServiceCxfWayImpl.java
index 8f72368013..73ee31fb3c 100644
--- 
a/integration-test-groups/cxf-soap/cxf-soap-ws-trust/src/main/java/org/apache/camel/quarkus/component/cxf/soap/it/ws/trust/server/cxf/way/TrustHelloServiceCxfWayImpl.java
+++ 
b/integration-test-groups/cxf-soap/cxf-soap-ws-trust/src/main/java/org/apache/camel/quarkus/component/cxf/soap/it/ws/trust/server/cxf/way/TrustHelloServiceCxfWayImpl.java
@@ -23,7 +23,7 @@ import org.apache.camel.ProducerTemplate;
 import org.apache.cxf.annotations.EndpointProperties;
 import org.apache.cxf.annotations.EndpointProperty;
 
-@WebService(portName = "TrustHelloServicePort", serviceName = 
"TrustHelloServiceCxfWay", wsdlLocation = "TrustHelloService.wsdl", 
targetNamespace = 
"https://quarkiverse.github.io/quarkiverse-docs/quarkus-cxf/test/ws-trust;, 
endpointInterface = 
"org.apache.camel.quarkus.component.cxf.soap.it.ws.trust.server.cxf.way.TrustHelloServiceCxfWay")
+@WebService(portName = "TrustHelloServicePort", serviceName = 
"TrustHelloServiceCxfWay", targetNamespace = 
"https://quarkiverse.github.io/quarkiverse-docs/quarkus-cxf/test/ws-trust;, 
endpointInterface = 
"org.apache.camel.quarkus.component.cxf.soap.it.ws.trust.server.cxf.way.TrustHelloServiceCxfWay")
 @EndpointProperties(value = {
 @EndpointProperty(key = "ws-security.signature.username", value = 
"myservicekey"),
 @EndpointProperty(key = "ws-security.signature.properties", value = 
"serviceKeystore.properties"),
diff --git a/pom.xml b/pom.xml
index 98a3f74c26..d2f530c7dc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,7 +50,7 @@
 9.37.0.Final
 
2.15.0
 3.3.0
-3.10.0
+3.11.0
 
1.0.0
 3.10.0
 
2.0.2
diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml 
b/poms/bom/src/main/generated/flattened-full-pom.xml
index 6f36fe0950..af6d053eff 100644
--- a/poms/bom/src/main/generated/flattened-full-pom.xml
+++ b/poms/bom/src/main/generated/flattened-full-pom.xml
@@ -7269,482 +7269,488 @@
 3.9.0
   
   
-org.apache.cxf
-cxf-core
-4.0.4
+org.apache.cxf
+cxf-core
+4.0.4
   
   
-org.apache.cxf
-cxf-rt-features-logging
-4.0.4
+org.apache.cxf
+cxf-rt-features-logging
+4.0.4
   
   
-org.apache.cxf
-cxf-rt-features-metrics
-4.0.4
+org.apache.cxf
+cxf-rt-features-metrics
+4.0.4
   
   
-org.apache.cxf
-cxf-rt-frontend-jaxws
-4.0.4
+org.apache.cxf
+cxf-rt-frontend-jaxws
+4.0.4
 
   
-org.ow2.asm
-asm
+org.ow2.asm
+asm
   
 
   
   
-org.apache.cxf
-cxf-rt-transports-http
-4.0.4
+org.apache.cxf
+cxf-rt-transports-http
+4.0.4
   
   
-org.apache.cxf
-cxf-rt-transports-http-hc5
-4.0.4
+org.apache.cxf
+cxf-rt-transports-http-hc5
+4.0.4
 
   
-org.slf4j
-jcl-over-slf4j
+org.slf4j
+jcl-over-slf4j
   
 
   
   
-org.apache.cxf
-cxf-rt-ws-mex
-4.0.4
+org.apache.cxf
+cxf-rt-ws-mex
+4.0.4
   
   
-org.apache.cxf
-cxf-rt-ws-security
-4.0.4
+org.apache.cxf
+cxf-rt-ws-security
+4.0.4
   
   
-org.apache.cxf
-cxf-rt-ws-rm
-4.0.4
+org.apache.cxf
+cxf-rt-ws-rm
+4.0.4
   
   
-org.apache.cxf
-cxf-rt-wsdl
-4.0.4
+org.apache.cxf
+cxf-rt-wsdl
+4.0.4
 
   
-org.ow2.asm
-asm
+org.ow2.asm
+asm
   
 
   
   
-  

(camel-quarkus) branch main updated (96a758b666 -> bce51ca301)

2024-05-23 Thread zhfeng
This is an automated email from the ASF dual-hosted git repository.

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


from 96a758b666 Remove broken link that causes website to fail
 new 228ea1fec9 Fixup 3ddfa549f3 Add contract first development section in 
rest-openapi doc (#6115)
 new bce51ca301 Upgrade to Quarkus CXF 3.11.0

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:
 .../pages/reference/extensions/rest-openapi.adoc   |   2 +-
 .../cxf/way/TrustHelloServiceCxfWayImpl.java   |   2 +-
 pom.xml|   2 +-
 poms/bom/src/main/generated/flattened-full-pom.xml | 550 +++--
 .../src/main/generated/flattened-reduced-pom.xml   |  58 ++-
 .../generated/flattened-reduced-verbose-pom.xml| 550 +++--
 6 files changed, 591 insertions(+), 573 deletions(-)



(camel-quarkus) 01/02: Fixup 3ddfa549f3 Add contract first development section in rest-openapi doc (#6115)

2024-05-23 Thread zhfeng
This is an automated email from the ASF dual-hosted git repository.

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

commit 228ea1fec93d75e1a820bad2198763ea6e8aad18
Author: Peter Palaga 
AuthorDate: Thu May 23 13:22:15 2024 +0200

Fixup 3ddfa549f3 Add contract first development section in rest-openapi
doc (#6115)
---
 docs/modules/ROOT/pages/reference/extensions/rest-openapi.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/modules/ROOT/pages/reference/extensions/rest-openapi.adoc 
b/docs/modules/ROOT/pages/reference/extensions/rest-openapi.adoc
index 3dd3bbc731..cc02809c46 100644
--- a/docs/modules/ROOT/pages/reference/extensions/rest-openapi.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/rest-openapi.adoc
@@ -126,7 +126,7 @@ When running in the native mode, the contract files must be 
specified the `quark
 quarkus.native.resources.includes=contract.json
 
 
-Please refer to Camel Rest DSL Contract First documentation for more details.
+Please refer to 
https://camel.apache.org/manual/rest-dsl-openapi.html#_contract_first[Camel 
Rest DSL Contract First] for more details.
 
 
 [id="extensions-rest-openapi-additional-camel-quarkus-configuration"]



Re: [PR] Upgrade to Quarkus CXF 3.11.0 [camel-quarkus]

2024-05-23 Thread via GitHub


zhfeng merged PR #6119:
URL: https://github.com/apache/camel-quarkus/pull/6119


-- 
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



[PR] [Github Actions] Periodic Sync Camel Spring Boot (Camel 4) [camel-spring-boot]

2024-05-23 Thread via GitHub


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

   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



[PR] chore(deps): bump github.com/operator-framework/api from 0.20.0 to 0.25.0 [camel-k]

2024-05-23 Thread via GitHub


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

   Bumps 
[github.com/operator-framework/api](https://github.com/operator-framework/api) 
from 0.20.0 to 0.25.0.
   
   Release notes
   Sourced from https://github.com/operator-framework/api/releases;>github.com/operator-framework/api's
 releases.
   
   v0.25.0
   What's Changed
   
   :seedling: Adds dependabot config to repo by https://github.com/perdasilva;>@​perdasilva in https://redirect.github.com/operator-framework/api/pull/326;>operator-framework/api#326
   :bug: fix ClusterServiceVersion CRD Generation by https://github.com/perdasilva;>@​perdasilva in https://redirect.github.com/operator-framework/api/pull/324;>operator-framework/api#324
   :seedling: Add GHA to test CRDs against kind by https://github.com/perdasilva;>@​perdasilva in https://redirect.github.com/operator-framework/api/pull/325;>operator-framework/api#325
   build(deps): bump actions/checkout from 3 to 4 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/operator-framework/api/pull/327;>operator-framework/api#327
   build(deps): bump actions/cache from 2 to 4 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/operator-framework/api/pull/328;>operator-framework/api#328
   build(deps): bump sigs.k8s.io/controller-runtime from 0.18.0 to 0.18.2 
by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/operator-framework/api/pull/332;>operator-framework/api#332
   build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/operator-framework/api/pull/330;>operator-framework/api#330
   build(deps): bump actions/setup-go from 4 to 5 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/operator-framework/api/pull/329;>operator-framework/api#329
   build(deps): bump k8s.io/apimachinery from 0.30.0 to 0.30.1 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/operator-framework/api/pull/333;>operator-framework/api#333
   update kube libraries to v0.30.1 by https://github.com/perdasilva;>@​perdasilva in https://redirect.github.com/operator-framework/api/pull/335;>operator-framework/api#335
   
   Full Changelog: https://github.com/operator-framework/api/compare/v0.24.0...v0.25.0;>https://github.com/operator-framework/api/compare/v0.24.0...v0.25.0
   v0.24.0
   What's Changed
   
   build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/operator-framework/api/pull/321;>operator-framework/api#321
   K8s 1.30 version update and go 1.22 by https://github.com/Neo2308;>@​Neo2308 in https://redirect.github.com/operator-framework/api/pull/322;>operator-framework/api#322
   
   Full Changelog: https://github.com/operator-framework/api/compare/v0.23.0...v0.24.0;>https://github.com/operator-framework/api/compare/v0.23.0...v0.24.0
   v0.23.0
   What's Changed
   
   :seedling: bump codecov to v4 by https://github.com/grokspawn;>@​grokspawn in https://redirect.github.com/operator-framework/api/pull/315;>operator-framework/api#315
   add missing comments for status fields by https://github.com/grokspawn;>@​grokspawn in https://redirect.github.com/operator-framework/api/pull/316;>operator-framework/api#316
   enabling merge queues by adjusting dco policy, workflows by https://github.com/grokspawn;>@​grokspawn in https://redirect.github.com/operator-framework/api/pull/314;>operator-framework/api#314
   build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/operator-framework/api/pull/318;>operator-framework/api#318
   Add tidy to the verify target by https://github.com/tmshort;>@​tmshort in https://redirect.github.com/operator-framework/api/pull/320;>operator-framework/api#320
   Update modules to support k8s v0.29.2 by https://github.com/Neo2308;>@​Neo2308 in https://redirect.github.com/operator-framework/api/pull/319;>operator-framework/api#319
   
   New Contributors
   
   https://github.com/Neo2308;>@​Neo2308 made 
their first contribution in https://redirect.github.com/operator-framework/api/pull/319;>operator-framework/api#319
   
   Full Changelog: https://github.com/operator-framework/api/compare/v0.22.0...v0.23.0;>https://github.com/operator-framework/api/compare/v0.22.0...v0.23.0
   v0.22.0
   What's Changed
   
   OCPBUGS-25989: go.mod: bump to golang 1.21 by https://github.com/stevekuznetsov;>@​stevekuznetsov in 
https://redirect.github.com/operator-framework/api/pull/311;>operator-framework/api#311
   Add field Subscription.Spec.Config.Annotations by https://github.com/cognifloyd;>@​cognifloyd in https://redirect.github.com/operator-framework/api/pull/312;>operator-framework/api#312
   
   New Contributors
   
   https://github.com/cognifloyd;>@​cognifloyd 
made their 

(camel-k) branch dependabot/go_modules/github.com/operator-framework/api-0.25.0 created (now 7582d69ea)

2024-05-23 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/operator-framework/api-0.25.0
in repository https://gitbox.apache.org/repos/asf/camel-k.git


  at 7582d69ea chore(deps): bump github.com/operator-framework/api

No new revisions were added by this update.



(camel-k) branch main updated: chore: nightly automatic updates

2024-05-23 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-k.git


The following commit(s) were added to refs/heads/main by this push:
 new 3bb296ebf chore: nightly automatic updates
3bb296ebf is described below

commit 3bb296ebf518bd1c14b75fe75b68e634d89d8589
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu May 23 23:46:13 2024 +

chore: nightly automatic updates
---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index d126eb2f0..9b95db0ac 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@
 
 **Merged pull requests:**
 
+- Fix offline script to use maven settings and option to skip ssl verification 
[\#5538](https://github.com/apache/camel-k/pull/5538) 
([claudio4j](https://github.com/claudio4j))
 - chore: Remove useless print 
[\#5536](https://github.com/apache/camel-k/pull/5536) 
([gansheer](https://github.com/gansheer))
 - chore\(deps\): bump github.com/go-logr/logr from 1.4.1 to 1.4.2 
[\#5532](https://github.com/apache/camel-k/pull/5532) 
([dependabot[bot]](https://github.com/apps/dependabot))
 - fix\(e2e\): Deprecated SSL quarkus configuration 
[\#5530](https://github.com/apache/camel-k/pull/5530) 
([gansheer](https://github.com/gansheer))



Re: [PR] CAMEL-20754: Support for MQTT 5 Publish Properties [camel]

2024-05-23 Thread via GitHub


hsudbrock commented on PR #14175:
URL: https://github.com/apache/camel/pull/14175#issuecomment-2128042115

   Thanks for the fast review!


-- 
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



[PR] backport - fix(pipeline) fix s2i image in publish task [camel-k]

2024-05-23 Thread via GitHub


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

   
   
   
   
   
   
   
   **Release Note**
   ```release-note
   NONE
   ```
   


-- 
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



[PR] fix(pipeline) fix s2i image in publish task [camel-k]

2024-05-23 Thread via GitHub


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

   
   
   
   
   
   
   
   **Release Note**
   ```release-note
   NONE
   ```
   


-- 
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



Re: [I] Make Http Uri property optional in the HTTP component [camel-karavan]

2024-05-23 Thread via GitHub


samar-elsayed commented on issue #1293:
URL: https://github.com/apache/camel-karavan/issues/1293#issuecomment-2127667292

   I was trying to set Exchange.HTTP_URI header from my process to override the 
HTTP_URI as shown here
   
   
![image](https://github.com/apache/camel-karavan/assets/22873802/782c64e4-b215-4f19-abcb-2dccd9539774)
   
   but it turned out that I needed to set **CamelHttpUri** header instead to do 
the trick 
   


-- 
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



Re: [I] Make Http Uri property optional in the HTTP component [camel-karavan]

2024-05-23 Thread via GitHub


samar-elsayed closed issue #1293: Make Http Uri property optional in the HTTP 
component
URL: https://github.com/apache/camel-karavan/issues/1293


-- 
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-examples) 02/02: (#56) Update generic - basic usage examples

2024-05-23 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-k-examples.git

commit dc5382d984468dc11e501507f40bb0144b1e4b73
Author: Thomas Diesler 
AuthorDate: Wed May 22 17:37:33 2024 +0200

(#56) Update generic - basic usage examples
---
 generic-examples/README.md |  72 ++--
 generic-examples/cron/README.md|  40 ++-
 generic-examples/cron/cron.groovy  |  22 
 generic-examples/cron/cron.yaml|  25 
 generic-examples/env/README.md |   2 +-
 generic-examples/jitpack/README.md |   6 +-
 generic-examples/modeline/README.md|  20 +++-
 generic-examples/modeline/SampleModeline.java  |   4 +-
 .../modeline-build-property-file-route.groovy  |  31 -
 .../modeline-build-property-file-route.yaml|  27 +
 .../modeline/modeline-build-property-route.groovy  |  31 -
 .../modeline/modeline-build-property-route.yaml|  27 +
 .../modeline/modeline-config-file-route.groovy |  30 -
 .../modeline/modeline-config-file-route.yaml   |  29 +
 .../modeline/modeline-config-secret-route.groovy   |  32 --
 .../modeline/modeline-config-secret-route.yaml |  30 +
 .../modeline/modeline-property-file-route.groovy   |  29 -
 .../modeline/modeline-property-file-route.yaml |  27 +
 .../modeline/modeline-property-route.groovy|  29 -
 .../modeline/modeline-property-route.yaml  |  27 +
 .../modeline/modeline-resource-file-route.groovy   |  27 -
 .../modeline/modeline-resource-file-route.yaml |  27 +
 generic-examples/modeline/my.properties|   2 +
 generic-examples/openapi/README.md |  20 +++-
 generic-examples/openapi/greetings.groovy  |  27 -
 generic-examples/openapi/greetings.yaml|  25 
 generic-examples/openapi/petstore-api.yaml | 128 -
 generic-examples/openapi/petstore.groovy   |  31 -
 generic-examples/processor/README.md   |  10 +-
 generic-examples/processor/kotlin-routes.kts   |   6 -
 generic-examples/processor/routes.groovy   |  22 +---
 generic-examples/processor/routes.js   |  14 +--
 generic-examples/rest/README.md|  35 +-
 generic-examples/rest/RestDSL.java |   5 -
 .../rest/{routes-rest.js => rest-dsl.js}   |  13 +--
 generic-examples/user-config/README.md |  73 
 .../user-config/build-property-file-route.groovy   |  29 -
 .../user-config/build-property-file-route.yaml |  25 
 .../user-config/build-property-route.groovy|  29 -
 .../user-config/build-property-route.yaml  |  25 
 .../user-config/config-configmap-route.groovy  |  30 -
 .../user-config/config-configmap-route.yaml|  27 +
 .../user-config/config-file-route.groovy   |  28 -
 .../user-config/config-file-route.yaml |  27 +
 .../user-config/config-secret-key-route.groovy |  30 -
 .../user-config/config-secret-key-route.yaml   |  27 +
 .../config-secret-property-route.groovy|  28 -
 .../user-config/config-secret-property-route.yaml  |  25 
 .../user-config/config-secret-route.groovy |  30 -
 .../user-config/config-secret-route.yaml   |  28 +
 .../user-config/property-file-route.groovy |  27 -
 .../user-config/property-file-route.yaml   |  25 
 generic-examples/user-config/property-route.groovy |  27 -
 generic-examples/user-config/property-route.yaml   |  25 
 .../resource-configmap-key-location-route.groovy   |  27 -
 .../resource-configmap-key-location-route.yaml |  25 
 .../resource-configmap-location-route.groovy   |  27 -
 .../resource-configmap-location-route.yaml |  25 
 .../user-config/resource-configmap-route.groovy|  27 -
 .../user-config/resource-configmap-route.yaml  |  25 
 .../resource-file-base64-encoded-route.groovy  |  28 -
 .../user-config/resource-file-binary-route.groovy  |  27 -
 .../user-config/resource-file-binary-route.yaml|  27 +
 .../resource-file-location-route.groovy|  25 
 .../user-config/resource-file-location-route.yaml  |  25 
 .../user-config/resource-file-route.groovy |  25 
 .../user-config/resource-file-route.yaml   |  25 
 .../resource-secret-location-route.groovy  |  27 -
 .../resource-secret-location-route.yaml|  25 
 .../user-config/resource-secret-route.groovy   |  27 -
 .../user-config/resource-secret-route.yaml |  25 
 generic-examples/volumes/README.md |   8 ++
 generic-examples/volumes/pvc-consumer.groovy   |  

(camel-k-examples) branch main updated (ae24c48 -> dc5382d)

2024-05-23 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-k-examples.git


from ae24c48  fix: Deprecated SSL quarkus configuration
 new b781572  (#56) Remove usage of deprecated VS Code Didact
 new dc5382d  (#56) Update generic - basic usage examples

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:
 .vscode/extensions.json|   1 -
 01-basic/Basic.java|  34 ---
 01-basic/Routing.java  |  63 -
 01-basic/readme.didact.md  | 301 -
 01-basic/readme.md |   1 -
 02-serverless-api/API.java |  43 ---
 02-serverless-api/openapi.yaml |  53 
 02-serverless-api/readme.didact.md | 294 
 02-serverless-api/readme.md|   1 -
 02-serverless-api/s3.properties|  17 --
 02-serverless-api/test/crud.feature|  65 -
 02-serverless-api/test/minio.properties|  17 --
 02-serverless-api/test/minio.yaml  |  71 -
 02-serverless-api/test/yaks-config.yaml|  14 -
 03-knative-source-basic/readme.didact.md   | 173 
 03-knative-source-basic/readme.md  |   1 -
 03-knative-source-basic/telegram-channel.yaml  |   7 -
 03-knative-source-basic/telegram-consumer.groovy   |   9 -
 03-knative-source-basic/telegram-source.yaml   |  31 ---
 03-knative-source-basic/telegram.properties|   4 -
 .../aws-kinesis-channel.yaml   |   7 -
 .../aws-kinesis-consumer.groovy|  13 -
 .../aws-kinesis-producer.groovy|  13 -
 .../aws-kinesis-source.yaml|  37 ---
 04-aws-kinesis-source-basic/aws-kinesis.properties |   3 -
 04-aws-kinesis-source-basic/readme.didact.md   | 185 -
 04-aws-kinesis-source-basic/readme.md  |   1 -
 05-knative-source-jira/README.md   | 180 
 05-knative-source-jira/jira-channel.yaml   |   5 -
 05-knative-source-jira/jira-consumer.groovy|   7 -
 05-knative-source-jira/jira-new-issues.yaml|  40 ---
 05-knative-source-jira/jira.properties |   4 -
 05-knative-source-jira/readme.didact.md| 180 
 .../aws-kinesis-firehose-producer.groovy   |   9 -
 06-aws-kinesis-firehose-basic/aws-s3-channel.yaml  |   7 -
 .../aws-s3-consumer.groovy |   8 -
 06-aws-kinesis-firehose-basic/aws-s3-source.yaml   |  36 ---
 .../aws-services.properties|   6 -
 06-aws-kinesis-firehose-basic/readme.didact.md | 185 -
 06-aws-kinesis-firehose-basic/readme.md|   1 -
 07-aws-sqs-source-basic/aws-sqs-channel.yaml   |   7 -
 07-aws-sqs-source-basic/aws-sqs-consumer.groovy|   6 -
 07-aws-sqs-source-basic/aws-sqs-producer.groovy|   9 -
 07-aws-sqs-source-basic/aws-sqs-source.yaml|  37 ---
 07-aws-sqs-source-basic/aws-sqs.properties |   3 -
 07-aws-sqs-source-basic/readme.didact.md   | 183 -
 07-aws-sqs-source-basic/readme.md  |   1 -
 .../azure-storage-blob-channel.yaml|   7 -
 .../azure-storage-blob-consumer.groovy |  21 --
 .../azure-storage-blob-producer.groovy |  69 -
 .../azure-storage-blob-source.yaml |  32 ---
 .../azure-storage-blob.properties  |   5 -
 08-azure-storage-blob-basic/readme.didact.md   | 181 -
 08-azure-storage-blob-basic/readme.md  | 181 -
 .../azure-storage-queue-channel.yaml   |   7 -
 .../azure-storage-queue-consumer.groovy|   9 -
 .../azure-storage-queue-producer.groovy|  11 -
 .../azure-storage-queue-source.yaml|  31 ---
 .../azure-storage-queue.properties |   3 -
 09-azure-storage-queue-basic/readme.didact.md  | 181 -
 09-azure-storage-queue-basic/readme.md | 181 -
 .../SalesforceConsumer.java|  13 -
 10-knative-source-salesforce/readme.didact.md  | 216 ---
 10-knative-source-salesforce/readme.md |   1 -
 .../salesforce-channel.yaml|   7 -
 .../salesforce-source.yaml |  32 ---
 10-knative-source-salesforce/salesforce.properties |   5 -
 11-knative-source-slack/readme.didact.md   | 177 
 11-knative-source-slack/readme.md  |   1 -
 

Re: [PR] Remove usage of deprecated VS Code Didact [camel-k-examples]

2024-05-23 Thread via GitHub


squakez merged PR #97:
URL: https://github.com/apache/camel-k-examples/pull/97


-- 
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 276/integration-test-framework updated (2bad511e -> 9edd4911)

2024-05-23 Thread nfilotto
This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a change to branch 276/integration-test-framework
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git


from 2bad511e Add the CamelRouteSupplier
 add 9edd4911 Move camel-seda and camel-file into same module

No new revisions were added by this update.

Summary of changes:
 .../camel/itests/AbstractCamelRouteITest.java  |  8 +++
 ...tCamelSingleComponentResultFileBasedRoute.java} | 34 +---
 ...elSingleComponentResultFileBasedRouteITest.java | 55 +++
 ...tCamelSingleComponentResultMockBasedRoute.java} | 46 +---
 ...elSingleComponentResultMockBasedRouteITest.java | 23 +++-
 .../AbstractCamelSingleComponentRouteITest.java| 54 +++
 .../CamelSingleComponentResultFileBasedRoute.java  | 56 +++
 .../CamelSingleComponentResultMockBasedRoute.java  | 28 ++
 .../camel/itests/CamelSingleComponentRoute.java| 62 ++
 .../components/{camel-file => camel-core}/pom.xml  |  6 +--
 .../apache/karaf/camel/test/CamelFileITest.java}   | 17 +++---
 .../karaf/camel/test/CamelFileRouteSupplier.java   |  0
 .../apache/karaf/camel/test/CamelSedaITest.java}   | 21 
 .../karaf/camel/test/CamelSedaRouteSupplier.java   |  0
 .../apache/karaf/camel/itests/CamelCoreITest.java} | 28 ++
 .../camel/itests/CamelElasticsearchITest.java  |  2 +-
 .../apache/karaf/camel/itests/CamelFileITest.java  | 38 -
 .../apache/karaf/camel/itests/CamelJettyITest.java |  3 +-
 tests/components/camel-seda/pom.xml| 34 
 tests/components/pom.xml   |  3 +-
 20 files changed, 271 insertions(+), 247 deletions(-)
 copy 
tests/camel-integration-test/src/main/java/org/apache/karaf/camel/itests/{AbstractCamelSingleComponentResultFileBasedRouteSupplier.java
 => AbstractCamelSingleComponentResultFileBasedRoute.java} (53%)
 copy 
tests/camel-integration-test/src/main/java/org/apache/karaf/camel/itests/{AbstractCamelSingleComponentResultMockBasedRouteITest.java
 => AbstractCamelSingleComponentResultMockBasedRoute.java} (52%)
 create mode 100644 
tests/camel-integration-test/src/main/java/org/apache/karaf/camel/itests/CamelSingleComponentResultFileBasedRoute.java
 create mode 100644 
tests/camel-integration-test/src/main/java/org/apache/karaf/camel/itests/CamelSingleComponentResultMockBasedRoute.java
 create mode 100644 
tests/camel-integration-test/src/main/java/org/apache/karaf/camel/itests/CamelSingleComponentRoute.java
 rename tests/components/{camel-file => camel-core}/pom.xml (91%)
 copy 
tests/{camel-integration-test/src/main/java/org/apache/karaf/camel/itests/AbstractCamelSingleComponentResultMockBasedRouteSupplier.java
 => 
components/camel-core/src/main/java/org/apache/karaf/camel/test/CamelFileITest.java}
 (61%)
 rename tests/components/{camel-file => 
camel-core}/src/main/java/org/apache/karaf/camel/test/CamelFileRouteSupplier.java
 (100%)
 copy 
tests/{camel-integration-test/src/main/java/org/apache/karaf/camel/itests/AbstractCamelSingleComponentResultFileBasedRouteSupplier.java
 => 
components/camel-core/src/main/java/org/apache/karaf/camel/test/CamelSedaITest.java}
 (60%)
 rename tests/components/{camel-seda => 
camel-core}/src/main/java/org/apache/karaf/camel/test/CamelSedaRouteSupplier.java
 (100%)
 rename 
tests/components/{camel-seda/src/test/java/org/apache/karaf/camel/itests/CamelSedaITest.java
 => camel-core/src/test/java/org/apache/karaf/camel/itests/CamelCoreITest.java} 
(61%)
 delete mode 100644 
tests/components/camel-file/src/test/java/org/apache/karaf/camel/itests/CamelFileITest.java
 delete mode 100644 tests/components/camel-seda/pom.xml



[I] Promote Integration operator warning [camel-k]

2024-05-23 Thread via GitHub


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

   ### What happened?
   
   ```
   camel-k-operator-9b9f56d75-c827n camel-k-operator 
{"level":"info","ts":"2024-05-23T14:23:59Z","logger":"camel-k","msg":"Cannot 
get information about the creator Integration 
{Kind:Integration,Namespace:default,Name:test,UID:,APIVersion:camel.apache.org/v1,ResourceVersion:,FieldPath:,}:
 unable to get: default/test because of unknown namespace for the cache"}
   ```
   It does not seem harmful, but it requires to be fixed.
   
   ### Steps to reproduce
   
   _No response_
   
   ### Relevant log output
   
   _No response_
   
   ### Camel K version
   
   _No response_


-- 
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



Re: [I] NettySecureServer example cannot access keystore [camel-k-examples]

2024-05-23 Thread via GitHub


squakez commented on issue #98:
URL: 
https://github.com/apache/camel-k-examples/issues/98#issuecomment-2127243679

   I wonder if this is because the `/etc/ssl` path is forbidden by the OS. Can 
you try the same changing to some other directory (ie, `/tmp/ssl`, just for the 
sake of testing)?


-- 
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



Re: [PR] Remove usage of deprecated VS Code Didact [camel-k-examples]

2024-05-23 Thread via GitHub


tdiesler commented on PR #97:
URL: https://github.com/apache/camel-k-examples/pull/97#issuecomment-2127239146

   This is ready 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



[I] NettySecureServer example cannot access keystore [camel-k-examples]

2024-05-23 Thread via GitHub


tdiesler opened a new issue, #98:
URL: https://github.com/apache/camel-k-examples/issues/98

   
   ```
   kubectl create secret generic http-keystore --from-file keystore.jks
   kubectl create secret generic http-truststore --from-file truststore.jks
   
   kamel run --dev \
 -t mount.resources=secret:http-keystore/keystore.jks@/etc/ssl/keystore.jks 
\
 -t 
mount.resources=secret:http-truststore/truststore.jks@/etc/ssl/truststore.jks \
 -t container.port=8443 -t service.type=NodePort \
 NettySecureServer.java
   
   [1] Caused by: org.apache.camel.RuntimeCamelException: java.io.IOException: 
Could not open /etc/ssl/keystore.jks as a file, class path resource, or URL.
   [1]  at 
org.apache.camel.RuntimeCamelException.wrapRuntimeCamelException(RuntimeCamelException.java:51)
   [1]  at 
org.apache.camel.component.netty.http.HttpServerInitializerFactory.(HttpServerInitializerFactory.java:67)
   [1]  at 
org.apache.camel.component.netty.http.NettyHttpComponent.newHttpServerBootstrapFactory(NettyHttpComponent.java:352)
   [1]  at 
org.apache.camel.component.netty.http.NettyHttpComponent.lambda$getOrCreateHttpNettyServerBootstrapFactory$1(NettyHttpComponent.java:344)
   [1]  at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1220)
   [1]  at 
org.apache.camel.component.netty.http.NettyHttpComponent.getOrCreateHttpNettyServerBootstrapFactory(NettyHttpComponent.java:344)
   [1]  at 
org.apache.camel.component.netty.http.NettyHttpEndpoint.createConsumer(NettyHttpEndpoint.java:98)
   [1]  at 
org.apache.camel.impl.engine.DefaultRoute.gatherRootServices(DefaultRoute.java:640)
   [1]  at 
org.apache.camel.impl.engine.DefaultRoute.gatherServices(DefaultRoute.java:624)
   [1]  at 
org.apache.camel.impl.engine.DefaultRoute.initializeServices(DefaultRoute.java:209)
   [1]  at 
org.apache.camel.impl.engine.RouteService.doSetup(RouteService.java:150)
   [1]  at 
org.apache.camel.impl.engine.RouteService.setUp(RouteService.java:129)
   [1]  ... 28 more
   [1] Caused by: java.io.IOException: Could not open /etc/ssl/keystore.jks as 
a file, class path resource, or URL.
   [1]  at 
org.apache.camel.support.jsse.JsseParameters.resolveResource(JsseParameters.java:120)
   [1]  at 
org.apache.camel.support.jsse.KeyStoreParameters.createKeyStore(KeyStoreParameters.java:192)
   [1]  at 
org.apache.camel.support.jsse.KeyManagersParameters.createKeyManagers(KeyManagersParameters.java:102)
   [1]  at 
org.apache.camel.support.jsse.SSLContextParameters.createSSLContext(SSLContextParameters.java:269)
   [1]  at 
org.apache.camel.component.netty.http.HttpServerInitializerFactory.createSSLContext(HttpServerInitializerFactory.java:150)
   [1]  at 
org.apache.camel.component.netty.http.HttpServerInitializerFactory.(HttpServerInitializerFactory.java:65)
   [1]  ... 38 more
   ```
   
   From within the container, I can access those files
   
   ```
   root@netty-server-75cfcb58d-wlnb8:/deployments# keytool -list -keystore 
/etc/ssl/keystore.jks
   Enter keystore password:  
   Keystore type: PKCS12
   Keystore provider: SUN
   
   Your keystore contains 1 entry
   
   entryname, May 23, 2024, PrivateKeyEntry, 
   Certificate fingerprint (SHA-256): 
06:69:0B:F0:8C:DA:42:19:19:36:08:F8:96:30:D8:C1:1E:22:BB:FC:BF:24:8E:F5:2A:1F:2F:65:F6:B3:B7:B9
   root@netty-server-75cfcb58d-wlnb8:/deployments# keytool -list -keystore 
/etc/ssl/truststore.jks
   Enter keystore password:  
   Keystore type: JKS
   Keystore provider: SUN
   
   Your keystore contains 1 entry
   
   entryname, May 23, 2024, trustedCertEntry, 
   Certificate fingerprint (SHA-256): 
06:69:0B:F0:8C:DA:42:19:19:36:08:F8:96:30:D8:C1:1E:22:BB:FC:BF:24:8E:F5:2A:1F:2F:65:F6:B3:B7:B9
   ```
   


-- 
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-k) branch main updated: Fix offline script to use maven settings and option to skip ssl verification (#5538)

2024-05-23 Thread claudio4j
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new dff8e9eb1 Fix offline script to use maven settings and option to skip 
ssl verification (#5538)
dff8e9eb1 is described below

commit dff8e9eb1a088c5c28a8b3dead936380614c0a91
Author: Claudio Miranda 
AuthorDate: Thu May 23 09:35:21 2024 -0300

Fix offline script to use maven settings and option to skip ssl 
verification (#5538)
---
 script/offline_dependencies.sh | 81 ++
 1 file changed, 59 insertions(+), 22 deletions(-)

diff --git a/script/offline_dependencies.sh b/script/offline_dependencies.sh
index 832240b0e..ec0388caf 100755
--- a/script/offline_dependencies.sh
+++ b/script/offline_dependencies.sh
@@ -17,11 +17,17 @@
 
 set -e
 
+if [[ "$OSTYPE" != "linux"* ]]; then
+echo "ERROR: This script is intended to run in linux. You may try to edit 
and tweak it to run in other OS."
+exit 1
+fi
+
 mvnCmd=$(which mvn)
+central_repo=https://repo1.maven.org/maven2
 remote_repo=https://repo1.maven.org/maven2
 start_time=$(date -u +"%s")
 
-while getopts ":v:m:r:d:" opt; do
+while getopts ":v:m:r:d:s" opt; do
   case "${opt}" in
 m)
   mvnCmd="${OPTARG}"
@@ -33,7 +39,10 @@ while getopts ":v:m:r:d:" opt; do
   runtime_version="${OPTARG}"
   ;;
 d)
-  offline_dir="${OPTARG}"
+  offline_new_dir="${OPTARG}"
+  ;;
+s)
+  skip_https="-k"
   ;;
 *)
   ;;
@@ -43,26 +52,27 @@ shift $((OPTIND-1))
 
 if [ -z ${runtime_version} ]; then
 echo "usage: $0 -v  [optional parameters]"
-echo "  -m path to mvn command"
-echo "  -r URL address of the maven repository manager"
-echo "  -d local directory to add the offline dependencies"
+echo "  -m- Path to mvn command"
+echo "  -r    - URL address of the maven repository 
manager"
+echo "  -d  - Local directory to add the offline 
dependencies"
+echo "  -s- Skip Certificate validation"
 exit 1
 fi
 
-offline=./_offline-${runtime_version}
-if [ ! -z ${offline_dir} ]; then
-offline=${offline_dir}
+offline_dir=./_offline-${runtime_version}
+if [ ! -z ${offline_new_dir} ]; then
+offline_dir=${offline_new_dir}
 fi
 
-offline_repo=${offline}/repo
+offline_repo=${offline_dir}/repo
 
 # the pom.xml is the one containing all the dependencies from the 
camel-catalog file
 # it is used when running the go-offline and quarkus:go-offline goals to 
resolve all dependencies
-pom=${offline}/pom.xml
+pom=${offline_dir}/pom.xml
 # the pom-min.xml is used to actually build the project
 # it was noted that some transitive dependencies are not correctly resolve 
when using the go-offlilne plugin goals
 # then this was required to resolve some transitive dependencies.
-pom_min=${offline}/pom-min.xml
+pom_min=${offline_dir}/pom-min.xml
 
 # SETUP MAVEN
 # get the maven version used by camel-k-operator
@@ -86,23 +96,41 @@ mkdir -p ${offline_repo}
 rm -f ${pom} 2> /dev/null
 
 $mvnCmd --version | grep "Apache Maven"
+
+# setup the maven settings in case there is a custom maven repository url
+if [[ "${central_repo}" != "${remote_repo}" ]]; then
+curl -sfSL 
https://raw.githubusercontent.com/apache/camel-k/release-2.3.x/script/maven-settings-offline-template.xml
 -o ${offline_dir}/maven-settings-offline-template.xml
+sed "s,_local-maven-proxy_,${remote_repo},g;//,/<\/mirrors>/d" 
${offline_dir}/maven-settings-offline-template.xml > 
${offline_dir}/custom-maven-settings.xml
+
+fi
+
 ## END SETUP MAVEN
 
 # SETUP CAMEL CATALOG
+echo "INFO: downloading catalog for Camel K Runtime ${runtime_version}"
 
url=${remote_repo}/org/apache/camel/k/camel-k-catalog/${runtime_version}/camel-k-catalog-${runtime_version}-catalog.yaml
-response_code=$(curl -o /dev/null --silent -Iw '%{http_code}' ${url})
 
+if [ -z "${skip_https}" ]; then
+  # validate if there are certificate issues connecting with curl
+  cert_problem=$(curl --no-progress-meter -o /dev/null -LI -w '%{http_code}' 
${url} 2>&1|grep -i 'SSL certificate problem'|head -1)
+  if [ ! -z "${cert_problem}" ]; then
+  echo "ERROR: There is a problem to connect to the maven repository: 
${cert_problem}"
+  echo "You can set the parameter -s to skip certificate validation."
+  exit 1
+  fi
+fi
+
+response_code=$(curl --no-progress-meter -o /dev/null --silent -LI 
${skip_https} -w '%{http_code}' ${url} 2>&1)
 if [ 200 != ${response_code} ]; then
 echo "ERROR: Camel K Runtime version ${runtime_version} catalog doesn't 
exist at ${url}"
 exit 1
 fi
-catalog="${offline}/camel-catalog-${runtime_version}.yaml"
-echo "INFO: downloading catalog for Camel K Runtime ${runtime_version}"
-curl -sfSL ${url} -o ${catalog}
+catalog="${offline_dir}/camel-catalog-${runtime_version}.yaml"
+curl 

Re: [PR] Fix offline script to use maven settings and option to skip ssl verification [camel-k]

2024-05-23 Thread via GitHub


claudio4j merged PR #5538:
URL: https://github.com/apache/camel-k/pull/5538


-- 
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



Re: [PR] CAMEL-20800: Revert Gson upgrade [camel]

2024-05-23 Thread via GitHub


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

   Also, additional details about the failure are provided in the ticket. 


-- 
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-20800: Revert GSon upgrade

2024-05-23 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


The following commit(s) were added to refs/heads/main by this push:
 new a2a3b03e932 CAMEL-20800: Revert GSon upgrade
a2a3b03e932 is described below

commit a2a3b03e932a2133766bc93e303a5c3654312427
Author: Otavio Rodolfo Piske 
AuthorDate: Thu May 23 10:57:48 2024 +

CAMEL-20800: Revert GSon upgrade

This reverts commit 60ad51f7d69c3d7f6ccf7443e436500da61ba658.
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 9c139b71cb3..e66b27bb452 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -203,7 +203,7 @@
 
1.23.0
 4.4.0
 
2.0.59.Final
-2.11.0
+2.10.1
 33.2.0-jre
 3.0
 3.4.0



Re: [PR] CAMEL-20800: Revert Gson upgrade [camel]

2024-05-23 Thread via GitHub


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


-- 
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



Re: [PR] Remove usage of deprecated VS Code Didact [camel-k-examples]

2024-05-23 Thread via GitHub


tdiesler commented on PR #97:
URL: https://github.com/apache/camel-k-examples/pull/97#issuecomment-2126956717

   I now migrated and restored all `config/resource-file-xyz` examples


-- 
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



Re: [I] Jolokia trait link missing [camel-k]

2024-05-23 Thread via GitHub


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

   The url should be https://jolokia.org/reference/html/manual/agents.html


-- 
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



[I] Jolokia trait link missing [camel-k]

2024-05-23 Thread via GitHub


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

   ### What happened?
   
   https://jolokia.org/reference/html/agents.html in doc page 
https://camel.apache.org/camel-k/2.3.x/traits/jolokia.html is 404 not found.
   
   ### Steps to reproduce
   
   _No response_
   
   ### Relevant log output
   
   _No response_
   
   ### Camel K version
   
   _No response_


-- 
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



[PR] Upgrade to Quarkus CXF 3.11.0 [camel-quarkus]

2024-05-23 Thread via GitHub


ppalaga opened a new pull request, #6119:
URL: https://github.com/apache/camel-quarkus/pull/6119

   (no comment)


-- 
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



Re: [I] Add the possibility to change the maven repository used to build the images [camel-karavan]

2024-05-23 Thread via GitHub


remiborredon commented on issue #1292:
URL: https://github.com/apache/camel-karavan/issues/1292#issuecomment-2126853381

   Thank you for this link! I created a new docker image integrating my 
settings.xml file but it looks that the karavan.devmode.image field is not 
taken into account when set in the application.properties file of my project. 
Is it the correct place ? I was not able to find any reference to this field in 
the documentation.
   
   
   Remi
   
   BORREDON
   
   Software Development Engineer MPU
   
   
   
   From: Marat Gubaidullin ***@***.***>
   Sent: Wednesday, May 22, 2024 9:50 PM
   To: apache/camel-karavan ***@***.***>
   Cc: BORREDON Remi ***@***.***>; Author ***@***.***>
   Subject: Re: [apache/camel-karavan] Add the possibility to change the maven 
repository used to build the images (Issue #1292)
   
   SECURITY WARNING: This email originated outside of Alstom. DO NOT open any 
links /attachments unless you've verified the sender.
   
   
   #1226
   
   -
   Reply to this email directly, view it on 
GitHub,
 or 
unsubscribe.
   You are receiving this because you authored the thread.Message ID: 
***@***.**@***.***>>
   
   
   CONFIDENTIALITY : This e-mail and any attachments are confidential and may 
be privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.
   


-- 
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



Re: [PR] CAMEL-20800: Revert Gson upgrade [camel]

2024-05-23 Thread via GitHub


oscerd commented on PR #14233:
URL: https://github.com/apache/camel/pull/14233#issuecomment-2126838235

   Couchdb component has been broken by this commit. Tests are failing.


-- 
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



Re: [PR] CAMEL-20800: Revert Gson upgrade [camel]

2024-05-23 Thread via GitHub


apupier commented on PR #14233:
URL: https://github.com/apache/camel/pull/14233#issuecomment-2126834376

   Can you precise why it is reverted?


-- 
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 dependabot/maven/io.grpc-grpc-bom-1.64.0 deleted (was c69c21ec035)

2024-05-23 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch dependabot/maven/io.grpc-grpc-bom-1.64.0
in repository https://gitbox.apache.org/repos/asf/camel.git


 was c69c21ec035 Bump io.grpc:grpc-bom from 1.63.0 to 1.64.0

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(camel) branch main updated: Bump io.grpc:grpc-bom from 1.63.0 to 1.64.0

2024-05-23 Thread apupier
This is an automated email from the ASF dual-hosted git repository.

apupier 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 21e51b4c8bc Bump io.grpc:grpc-bom from 1.63.0 to 1.64.0
21e51b4c8bc is described below

commit 21e51b4c8bca15742789cfed6d3cc67d26f3acf7
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Thu May 23 07:10:25 2024 +

Bump io.grpc:grpc-bom from 1.63.0 to 1.64.0

Bumps [io.grpc:grpc-bom](https://github.com/grpc/grpc-java) from 1.63.0 to 
1.64.0.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.63.0...v1.64.0)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index e4e40b6a80f..9c139b71cb3 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -198,7 +198,7 @@
 2.0.1
 2.4.4
 4.0.21
-1.63.0
+1.64.0
 
 
1.23.0
 4.4.0



Re: [PR] Bump io.grpc:grpc-bom from 1.63.0 to 1.64.0 [camel]

2024-05-23 Thread via GitHub


apupier merged PR #14227:
URL: https://github.com/apache/camel/pull/14227


-- 
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



Re: [PR] CAMEL-20800: Revert "--- (#14219)" [camel]

2024-05-23 Thread via GitHub


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

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :robot: CI automation will test this PR automatically.
   
   :camel: Apache Camel Committers, please review the following items:
   
   * First-time contributors **require MANUAL approval** for the GitHub Actions 
to run
   
   * You can use the command `/component-test (camel-)component-name1 
(camel-)component-name2..` to request a test from the test bot.
   
   * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and 
`test-dependents` to fine-tune the checks executed by this PR.
   
   * Build and test logs are available in the Summary page. **Only** [Apache 
Camel committers](https://camel.apache.org/community/team/#committers) have 
access to the summary. 
   
   * :warning: Be careful when sharing logs. Review their contents before 
sharing them publicly.


-- 
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



[PR] CAMEL-20800: Revert "--- (#14219)" [camel]

2024-05-23 Thread via GitHub


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

   This reverts commit 60ad51f7d69c3d7f6ccf7443e436500da61ba658.


-- 
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-examples) branch main updated: How to run via docker

2024-05-23 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-kamelets-examples.git


The following commit(s) were added to refs/heads/main by this push:
 new fac0ed9  How to run via docker
fac0ed9 is described below

commit fac0ed9a87daebcf5d350987dcd28143cfb7eaa1
Author: Claus Ibsen 
AuthorDate: Thu May 23 12:54:18 2024 +0200

How to run via docker
---
 jbang/artemis/README.adoc| 10 ++
 jbang/artemis/application.properties |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/jbang/artemis/README.adoc b/jbang/artemis/README.adoc
index d2e5e6b..6824ff9 100644
--- a/jbang/artemis/README.adoc
+++ b/jbang/artemis/README.adoc
@@ -8,6 +8,16 @@ messaging broker.
 You first need to have an ActiveMQ Artemis broker up and running.
 See more at: https://activemq.apache.org/components/artemis/
 
+You can run Artemis using Docker via
+
+[source,sh]
+
+$ docker run --detach --name mycontainer -p 61616:61616 -p 8161:8161 --rm 
apache/activemq-artemis:latest-alpine
+
+
+This will run the broker locally. To login you need to use `artemis` as 
username and password,
+in the `application.properties` file.
+
 
 === Install JBang
 
diff --git a/jbang/artemis/application.properties 
b/jbang/artemis/application.properties
index 3d9bb74..73cdd56 100644
--- a/jbang/artemis/application.properties
+++ b/jbang/artemis/application.properties
@@ -4,8 +4,8 @@ camel.beans.artemisCF = 
#class:org.apache.activemq.artemis.jms.client.ActiveMQCo
 camel.beans.artemisCF.brokerURL = tcp://localhost:61616
 
 # if broker requires specific login
-#camel.beans.artemisCF.user = admin
-#camel.beans.artemisCF.password = admin
+camel.beans.artemisCF.user = artemis
+camel.beans.artemisCF.password = artemis
 
 # pooled connection factory
 camel.beans.poolCF = 
#class:org.messaginghub.pooled.jms.JmsPoolConnectionFactory



(camel-quarkus-examples) 01/02: Add openapi-contract-first example

2024-05-23 Thread zhfeng
This is an automated email from the ASF dual-hosted git repository.

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

commit 3a926e7e7deb7208aa78b47c559527a94f1da517
Author: Zheng Feng 
AuthorDate: Thu May 23 16:58:47 2024 +0800

Add openapi-contract-first example
---
 docs/modules/ROOT/attachments/examples.json|5 +
 openapi-contract-first/README.adoc |   87 ++
 .../eclipse-formatter-config.xml   |  276 +
 openapi-contract-first/pom.xml |  288 +
 .../openapi/contract/first/PetStoreRoute.java  |   59 +
 .../src/main/openapi/petstore.json | 1240 
 .../src/main/resources/application.properties  |   23 +
 .../first/ExamplesOpenapiContractFirstIT.java  |   24 +
 .../first/ExamplesOpenapiContractFirstTest.java|   38 +
 9 files changed, 2040 insertions(+)

diff --git a/docs/modules/ROOT/attachments/examples.json 
b/docs/modules/ROOT/attachments/examples.json
index 436a87d..1db0eb9 100644
--- a/docs/modules/ROOT/attachments/examples.json
+++ b/docs/modules/ROOT/attachments/examples.json
@@ -79,6 +79,11 @@
 "description": "Demonstrates how to add support for metrics, health checks 
and distributed tracing",
 "link": 
"https://github.com/apache/camel-quarkus-examples/tree/main/observability;
   },
+  {
+"title": "OpenAPI Contract First",
+"description": "Shows how to run with Contract First OpenAPI.",
+"link": 
"https://github.com/apache/camel-quarkus-examples/tree/main/openapi-contract-first;
+  },
   {
 "title": "Platform HTTP security with Keycloak",
 "description": "Shows how to secure platform HTTP with Keycloak",
diff --git a/openapi-contract-first/README.adoc 
b/openapi-contract-first/README.adoc
new file mode 100644
index 000..fb3b950
--- /dev/null
+++ b/openapi-contract-first/README.adoc
@@ -0,0 +1,87 @@
+= OpenAPI Contract First: A Camel Quarkus example
+:cq-example-description: An example that shows how to run with Contract First 
OpenAPI.
+
+{cq-description}
+
+This example uses Camel to expose REST APIs from an existing OpenAPI 
specification (contract first).
+
+From the contract we generate Java POJO classes (using quarkus-maven-plugin, 
see `pom.xml`).
+
+In the Camel route `PetStoreRoute.java` we use Rest DSL using OpenAPI in 
contract-first mode.
+This makes it possible to expose all the APIs very easily, and map this to 
corresponding Camel
+routes via `direct:operationId` naming convention.
+
+The example uses the Petstore OpenAPI example which comes with 18 APIs. This 
example has only
+implemented 2 of these APIs, and to ignore the remaining APIs. This is handy 
during development,
+so you can implement the APIs one by one.
+
+TIP: Check the 
https://camel.apache.org/camel-quarkus/latest/first-steps.html[Camel Quarkus 
User guide] for prerequisites
+and other general information.
+
+== Start in the Development mode
+
+[source,shell]
+
+$ mvn clean compile quarkus:dev
+
+
+The above command compiles the project, starts the application and lets the 
Quarkus tooling watch for changes in your
+workspace. Any modifications in your project will automatically take effect in 
the running application.
+
+TIP: Please refer to the Development mode section of
+https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel
 Quarkus User guide] for more details.
+
+// TODO: Describe how the user should interact with the example here
+
+=== Package and run the application
+
+Once you are done with developing you may want to package and run the 
application.
+
+TIP: Find more details about the JVM mode and Native mode in the Package and 
run section of
+https://camel.apache.org/camel-quarkus/latest/first-steps.html#_package_and_run_the_application[Camel
 Quarkus User guide]
+
+ JVM mode
+
+[source,shell]
+
+$ mvn clean package
+$ java -jar target/quarkus-app/quarkus-run.jar
+...
+[io.quarkus] (main) camel-quarkus-examples-... started in 1.163s.
+
+
+ Native mode
+
+IMPORTANT: Native mode requires having GraalVM and other tools installed. 
Please check the Prerequisites section
+of 
https://camel.apache.org/camel-quarkus/latest/first-steps.html#_prerequisites[Camel
 Quarkus User guide].
+
+To prepare a native executable using GraalVM, run the following command:
+
+[source,shell]
+
+$ mvn clean package -Pnative
+$ ./target/*-runner
+...
+[io.quarkus] (main) camel-quarkus-examples-... started in 0.013s.
+...
+
+
+ How to run
+
+Test the service endpoint from another terminal:
+
+[source,shell]
+
+curl http://localhost:8080/api/v3/pet/123
+
+
+You should get some results like:
+[source]
+
+{"id":123,"name":"Tony the tiger","photoUrls":[],"status":"available"}
+
+
+
+== Feedback
+
+Please report bugs and propose improvements via 
https://github.com/apache/camel-quarkus/issues[GitHub issues of Camel 

(camel-quarkus-examples) 02/02: Set quarkus.platform.version to 3.11.0

2024-05-23 Thread zhfeng
This is an automated email from the ASF dual-hosted git repository.

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

commit 63b832bc3e6386d84a21e977d932b77ee9623e0b
Author: Zheng Feng 
AuthorDate: Thu May 23 17:20:08 2024 +0800

Set quarkus.platform.version to 3.11.0
---
 aws-lambda/pom.xml  | 2 +-
 cluster-leader-election/pom.xml | 2 +-
 cxf-soap/pom.xml| 2 +-
 file-bindy-ftp/pom.xml  | 2 +-
 file-split-log-xml/pom.xml  | 2 +-
 health/pom.xml  | 2 +-
 http-log/pom.xml| 2 +-
 jdbc-datasource/pom.xml | 2 +-
 jms-jpa/pom.xml | 2 +-
 jpa-idempotent-repository/pom.xml   | 2 +-
 jta-jpa/pom.xml | 2 +-
 kafka/pom.xml   | 2 +-
 kamelet-chucknorris/pom.xml | 2 +-
 message-bridge/pom.xml  | 2 +-
 observability/pom.xml   | 2 +-
 openapi-contract-first/pom.xml  | 2 +-
 platform-http-security-keycloak/pom.xml | 2 +-
 rest-json/pom.xml   | 2 +-
 timer-log-kotlin/pom.xml| 2 +-
 timer-log-main/pom.xml  | 2 +-
 timer-log/pom.xml   | 2 +-
 vertx-websocket-chat/pom.xml| 2 +-
 22 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/aws-lambda/pom.xml b/aws-lambda/pom.xml
index 1764cbb..eddb1c5 100644
--- a/aws-lambda/pom.xml
+++ b/aws-lambda/pom.xml
@@ -27,7 +27,7 @@
 Camel Quarkus Example :: Deploying a Camel Route in AWS 
Lambda
 
 
-3.10.0
+3.11.0
 
3.11.0-SNAPSHOT
 
 io.quarkus
diff --git a/cluster-leader-election/pom.xml b/cluster-leader-election/pom.xml
index 16447c7..f6b833f 100644
--- a/cluster-leader-election/pom.xml
+++ b/cluster-leader-election/pom.xml
@@ -29,7 +29,7 @@
 Camel Quarkus Example :: Cluster leader election
 
 
-3.10.0
+3.11.0
 
3.11.0-SNAPSHOT
 
 io.quarkus
diff --git a/cxf-soap/pom.xml b/cxf-soap/pom.xml
index 1813b42..2a32005 100644
--- a/cxf-soap/pom.xml
+++ b/cxf-soap/pom.xml
@@ -29,7 +29,7 @@
 Camel Quarkus Example :: CXF SOAP
 
 
-3.10.0
+3.11.0
 
3.11.0-SNAPSHOT
 
 io.quarkus
diff --git a/file-bindy-ftp/pom.xml b/file-bindy-ftp/pom.xml
index 880d25a..71452f8 100644
--- a/file-bindy-ftp/pom.xml
+++ b/file-bindy-ftp/pom.xml
@@ -28,7 +28,7 @@
 Camel Quarkus Example :: File Bindy FTP
 
 
-3.10.0
+3.11.0
 
3.11.0-SNAPSHOT
 
 io.quarkus
diff --git a/file-split-log-xml/pom.xml b/file-split-log-xml/pom.xml
index c41cd2a..8253afb 100644
--- a/file-split-log-xml/pom.xml
+++ b/file-split-log-xml/pom.xml
@@ -28,7 +28,7 @@
 Camel Quarkus Example :: File To Log XML DSL
 
 
-3.10.0
+3.11.0
 
3.11.0-SNAPSHOT
 
 io.quarkus
diff --git a/health/pom.xml b/health/pom.xml
index d0ebe53..9e7befa 100644
--- a/health/pom.xml
+++ b/health/pom.xml
@@ -28,7 +28,7 @@
 Camel Quarkus Example :: Health Check
 
 
-3.10.0
+3.11.0
 
3.11.0-SNAPSHOT
 
 io.quarkus
diff --git a/http-log/pom.xml b/http-log/pom.xml
index 57d14bd..4afcfcf 100644
--- a/http-log/pom.xml
+++ b/http-log/pom.xml
@@ -28,7 +28,7 @@
 Camel Quarkus Example :: HTTP to Log
 
 
-3.10.0
+3.11.0
 
3.11.0-SNAPSHOT
 
 io.quarkus
diff --git a/jdbc-datasource/pom.xml b/jdbc-datasource/pom.xml
index 857da08..39bdf50 100644
--- a/jdbc-datasource/pom.xml
+++ b/jdbc-datasource/pom.xml
@@ -25,7 +25,7 @@
 Camel Quarkus :: Examples :: Jdbc - DatataSource - Log
 Camel Quarkus Example :: Connect to Database using 
Datasource
 
-3.10.0
+3.11.0
 
3.11.0-SNAPSHOT
 
 io.quarkus
diff --git a/jms-jpa/pom.xml b/jms-jpa/pom.xml
index fb32c6b..34b88a8 100644
--- a/jms-jpa/pom.xml
+++ b/jms-jpa/pom.xml
@@ -25,7 +25,7 @@
 Camel Quarkus :: Examples :: JMS JPA
 Camel Quarkus Example :: JMS JPA
 
-3.10.0
+3.11.0
 
3.11.0-SNAPSHOT
 3.3.0
 
diff --git a/jpa-idempotent-repository/pom.xml 
b/jpa-idempotent-repository/pom.xml
index a83ca13..7067147 100644
--- a/jpa-idempotent-repository/pom.xml
+++ b/jpa-idempotent-repository/pom.xml
@@ -30,7 +30,7 @@
 Camel Quarkus Example :: JPA Idempotent 
Repository
 
 
-3.10.0
+3.11.0
 
3.11.0-SNAPSHOT
 
 io.quarkus
diff --git a/jta-jpa/pom.xml b/jta-jpa/pom.xml
index c4995e2..8768d4b 100644
--- a/jta-jpa/pom.xml
+++ b/jta-jpa/pom.xml
@@ -25,7 +25,7 @@
 Camel Quarkus :: Examples :: JTA JPA
 Camel Quarkus Example :: JTA JPA
 
-3.10.0
+3.11.0
 
3.11.0-SNAPSHOT
 
 io.quarkus
diff --git a/kafka/pom.xml b/kafka/pom.xml
index 0257185..9492d97 100644
--- a/kafka/pom.xml
+++ 

(camel-quarkus-examples) branch camel-quarkus-main updated (150c990 -> 63b832b)

2024-05-23 Thread zhfeng
This is an automated email from the ASF dual-hosted git repository.

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


from 150c990  Update maven plugins and third party dependencies
 new 3a926e7  Add openapi-contract-first example
 new 63b832b  Set quarkus.platform.version to 3.11.0

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:
 aws-lambda/pom.xml |2 +-
 cluster-leader-election/pom.xml|2 +-
 cxf-soap/pom.xml   |2 +-
 docs/modules/ROOT/attachments/examples.json|5 +
 file-bindy-ftp/pom.xml |2 +-
 file-split-log-xml/pom.xml |2 +-
 health/pom.xml |2 +-
 http-log/pom.xml   |2 +-
 jdbc-datasource/pom.xml|2 +-
 jms-jpa/pom.xml|2 +-
 jpa-idempotent-repository/pom.xml  |2 +-
 jta-jpa/pom.xml|2 +-
 kafka/pom.xml  |2 +-
 kamelet-chucknorris/pom.xml|2 +-
 message-bridge/pom.xml |2 +-
 observability/pom.xml  |2 +-
 {timer-log => openapi-contract-first}/README.adoc  |   42 +-
 .../eclipse-formatter-config.xml   |0
 {http-log => openapi-contract-first}/pom.xml   |   37 +-
 .../openapi/contract/first/PetStoreRoute.java  |   59 +
 .../src/main/openapi/petstore.json | 1240 
 .../src/main/resources/application.properties  |   20 +-
 .../first/ExamplesOpenapiContractFirstIT.java  |4 +-
 .../first/ExamplesOpenapiContractFirstTest.java|   16 +-
 platform-http-security-keycloak/pom.xml|2 +-
 rest-json/pom.xml  |2 +-
 timer-log-kotlin/pom.xml   |2 +-
 timer-log-main/pom.xml |2 +-
 timer-log/pom.xml  |2 +-
 vertx-websocket-chat/pom.xml   |2 +-
 30 files changed, 1387 insertions(+), 78 deletions(-)
 copy {timer-log => openapi-contract-first}/README.adoc (61%)
 copy {aws-lambda => openapi-contract-first}/eclipse-formatter-config.xml (100%)
 copy {http-log => openapi-contract-first}/pom.xml (92%)
 create mode 100644 
openapi-contract-first/src/main/java/org/acme/examples/openapi/contract/first/PetStoreRoute.java
 create mode 100644 openapi-contract-first/src/main/openapi/petstore.json
 copy {timer-log => 
openapi-contract-first}/src/main/resources/application.properties (76%)
 copy file-split-log-xml/src/test/java/org/acme/file/xml/FileSplitLogXmlIT.java 
=> 
openapi-contract-first/src/test/java/org/acme/examples/openapi/contract/first/ExamplesOpenapiContractFirstIT.java
 (87%)
 copy aws-lambda/src/test/java/org/acme/aws/lambda/AWSLambdaHandlerTest.java => 
openapi-contract-first/src/test/java/org/acme/examples/openapi/contract/first/ExamplesOpenapiContractFirstTest.java
 (75%)



Re: [PR] Add openapi-contract-first example [camel-quarkus-examples]

2024-05-23 Thread via GitHub


zhfeng merged PR #219:
URL: https://github.com/apache/camel-quarkus-examples/pull/219


-- 
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



[I] Make Http Uri property optional in the HTTP component [camel-karavan]

2024-05-23 Thread via GitHub


samar-elsayed opened a new issue, #1293:
URL: https://github.com/apache/camel-karavan/issues/1293

   ### Describe the solution you'd like
   
   Related to my last comment in this 
[discussion](https://github.com/apache/camel-karavan/discussions/1285#discussioncomment-9474202)
   
   I have a use case now where I need to set a dynamic URL in my HTTP component 
something like ( https://test/${in.headers.var} ) **but** at the same time set 
**x509HostnameVerifier**
   so I used **toD** component to do so but I am not able to set  
**x509HostnameVerifier** which is making me face the SSL error again that I 
tried to solve in the first place 
   
   so is it possible to do any of the following :
   
   
   - set a dynamic URL inside HTTP component ?
   
   - set a global x509HostnameVerifier setting?
   
   - at least make the **Http Uri property** optional in the **HTTP component** 
inside Karavan so I can set it dynamically as a header from a process so it 
will be something like :
   
   
  process (set [HTTP_URI header 
dynamically](https://javadoc.io/doc/org.apache.camel/camel-http/latest/org/apache/camel/component/http/HttpConstants.html#HTTP_URI)
 ) > HTTP component (including other SSL + method properties settings )
   
   ### Variant
   
   Vs Code Extension
   
   ### Container Management (if applicable)
   
   Kubernetes


-- 
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



Re: [PR] feat(trait): jvm refactoring [camel-k]

2024-05-23 Thread via GitHub


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

   :heavy_check_mark: Unit test coverage report - coverage increased from 38.4% 
to 38.6% (**+0.2%**)


-- 
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



Re: [I] Evaluate how we can fully support fa(s)t-jar execution [camel-k]

2024-05-23 Thread via GitHub


squakez commented on issue #5539:
URL: https://github.com/apache/camel-k/issues/5539#issuecomment-2126740019

   The redesign of this part would probably gives us the possibility to move to 
a jre (and distroless) base image, reducing the CVE surface area and the size 
of each image (see also #3743)


-- 
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



Re: [PR] feat(trait): jvm refactoring [camel-k]

2024-05-23 Thread via GitHub


squakez commented on PR #5488:
URL: https://github.com/apache/camel-k/pull/5488#issuecomment-2126733690

   Given the problems found so far, I'm moving the code developed into 
https://github.com/squakez/camel-k/tree/feat/5476_executable_jar for future 
references. I've created a follow up issue that we need to tackle in the future 
#5539 - for this PR I'm reducing the scope in order to be able to let the user 
fine tune the trait, have the possibility to run with a synthetic 
IntegrationKit and add some more coverage.


-- 
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 (5f72cef67cb -> 6950b960043)

2024-05-23 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 5f72cef67cb Fix unneeded code in ServicePool
 add 6950b960043 Bump org.jgroups:jgroups from 5.3.4.Final to 5.3.7.Final

No new revisions were added by this update.

Summary of changes:
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



Re: [PR] Bump io.grpc:grpc-bom from 1.63.0 to 1.64.0 [camel]

2024-05-23 Thread via GitHub


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

   :robot: The Apache Camel test robot will run the tests for you :+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



Re: [PR] Bump io.grpc:grpc-bom from 1.63.0 to 1.64.0 [camel]

2024-05-23 Thread via GitHub


apupier commented on PR #14227:
URL: https://github.com/apache/camel/pull/14227#issuecomment-2126699765

   /component-test grpc google  opentelemetry qdrant salesforce


-- 
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 dependabot/maven/org.jgroups-jgroups-5.3.7.Final deleted (was 0df6c590b3f)

2024-05-23 Thread apupier
This is an automated email from the ASF dual-hosted git repository.

apupier pushed a change to branch 
dependabot/maven/org.jgroups-jgroups-5.3.7.Final
in repository https://gitbox.apache.org/repos/asf/camel.git


 was 0df6c590b3f Bump org.jgroups:jgroups from 5.3.4.Final to 5.3.7.Final

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(camel) branch main updated: Bump org.jgroups:jgroups from 5.3.4.Final to 5.3.7.Final

2024-05-23 Thread apupier
This is an automated email from the ASF dual-hosted git repository.

apupier 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 6950b960043 Bump org.jgroups:jgroups from 5.3.4.Final to 5.3.7.Final
6950b960043 is described below

commit 6950b9600433acba5559fe99423882f749734ed1
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Thu May 23 07:22:37 2024 +

Bump org.jgroups:jgroups from 5.3.4.Final to 5.3.7.Final

Bumps [org.jgroups:jgroups](https://github.com/belaban/JGroups) from 
5.3.4.Final to 5.3.7.Final.
- 
[Changelog](https://github.com/belaban/JGroups/blob/master/doc/history.txt)
- 
[Commits](https://github.com/belaban/JGroups/compare/jgroups-5.3.4.Final...jgroups-5.3.7.Final)

---
updated-dependencies:
- dependency-name: org.jgroups:jgroups
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] 
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index e3f059dfad4..e4e40b6a80f 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -278,7 +278,7 @@
 org.eclipse.jetty
 1.5.4
 6.9.0.202403050737-r
-5.3.4.Final
+5.3.7.Final
 1.0.13.Final
 1.8
 1.0.8



Re: [PR] Bump org.jgroups:jgroups from 5.3.4.Final to 5.3.7.Final [camel]

2024-05-23 Thread via GitHub


apupier merged PR #14230:
URL: https://github.com/apache/camel/pull/14230


-- 
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



Re: [PR] CAMEL-20785: more ground work on CamelTestSupport and affected tests [camel]

2024-05-23 Thread via GitHub


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

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :robot: CI automation will test this PR automatically.
   
   :camel: Apache Camel Committers, please review the following items:
   
   * First-time contributors **require MANUAL approval** for the GitHub Actions 
to run
   
   * You can use the command `/component-test (camel-)component-name1 
(camel-)component-name2..` to request a test from the test bot.
   
   * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and 
`test-dependents` to fine-tune the checks executed by this PR.
   
   * Build and test logs are available in the Summary page. **Only** [Apache 
Camel committers](https://camel.apache.org/community/team/#committers) have 
access to the summary. 
   
   * :warning: Be careful when sharing logs. Review their contents before 
sharing them publicly.


-- 
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



[PR] CAMEL-20785: more ground work on CamelTestSupport and affected tests [camel]

2024-05-23 Thread via GitHub


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

   (no comment)


-- 
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 (5b2bdf0efbc -> 5f72cef67cb)

2024-05-23 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 5b2bdf0efbc Openstack 3.12 (#14231)
 add 5eb89c8c05b Fix visibility problems
 add 12e7338a5c1 Fix busy-wait loops
 add e0a7a34a9fa Avoid busy-loop in aggregator processor
 add 6939b4ed787 Disable busy-warning warning on shutdown strategy
 add 5f72cef67cb Fix unneeded code in ServicePool

No new revisions were added by this update.

Summary of changes:
 .../camel/impl/engine/DefaultShutdownStrategy.java |  3 ++
 .../camel/impl/engine/DurationRoutePolicy.java |  2 +-
 .../camel/impl/converter/CachingInjector.java  |  2 +-
 .../camel/model/dataformat/FhirDataformat.java |  2 +-
 .../dataformat/UniVocityAbstractDataFormat.java|  2 +-
 .../camel/model/language/ExpressionDefinition.java |  2 +-
 .../model/language/NamespaceAwareExpression.java   |  2 +-
 .../processor/ConcurrentRequestsThrottler.java |  2 +-
 .../apache/camel/processor/StreamResequencer.java  | 18 
 .../camel/processor/TotalRequestsThrottler.java|  2 +-
 .../processor/aggregate/AggregateProcessor.java| 52 --
 .../errorhandler/RedeliveryErrorHandler.java   |  1 +
 .../processor/resequencer/ResequencerEngine.java   | 49 +++-
 .../org/apache/camel/main/PropertyOptionKey.java   |  4 +-
 .../apache/camel/support/cache/ServicePool.java| 41 +
 .../java/org/apache/camel/xml/in/BaseParser.java   |  6 +--
 16 files changed, 124 insertions(+), 66 deletions(-)



(camel) 05/05: Fix unneeded code in ServicePool

2024-05-23 Thread gnodet
This is an automated email from the ASF dual-hosted git repository.

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

commit 5f72cef67cba815824c56c7e4160346d6aa5ca56
Author: Guillaume Nodet 
AuthorDate: Wed May 22 13:53:14 2024 +0200

Fix unneeded code in ServicePool

The service is always in a started state.  The problem was caused by the 
field being set (while holding the lock) to the newly created service before it 
was actually started, so that another thread could see the non started service.
---
 .../apache/camel/support/cache/ServicePool.java| 41 ++
 1 file changed, 2 insertions(+), 39 deletions(-)

diff --git 
a/core/camel-support/src/main/java/org/apache/camel/support/cache/ServicePool.java
 
b/core/camel-support/src/main/java/org/apache/camel/support/cache/ServicePool.java
index 3596bd4d8ec..de7b5b513e1 100644
--- 
a/core/camel-support/src/main/java/org/apache/camel/support/cache/ServicePool.java
+++ 
b/core/camel-support/src/main/java/org/apache/camel/support/cache/ServicePool.java
@@ -16,7 +16,6 @@
  */
 package org.apache.camel.support.cache;
 
-import java.time.Duration;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
@@ -29,14 +28,9 @@ import java.util.function.Function;
 import org.apache.camel.Endpoint;
 import org.apache.camel.NonManagedService;
 import org.apache.camel.Service;
-import org.apache.camel.StatefulService;
 import org.apache.camel.support.LRUCache;
 import org.apache.camel.support.LRUCacheFactory;
 import org.apache.camel.support.service.ServiceSupport;
-import org.apache.camel.support.task.BlockingTask;
-import org.apache.camel.support.task.Tasks;
-import org.apache.camel.support.task.budget.Budgets;
-import org.apache.camel.support.task.budget.IterationBoundedBudget;
 import org.apache.camel.util.function.ThrowingFunction;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -136,24 +130,6 @@ abstract class ServicePool extends 
ServiceSupport implements
 return s;
 }
 
-private void waitForService(StatefulService service) {
-BlockingTask task = 
Tasks.foregroundTask().withBudget(Budgets.iterationTimeBudget()
-.withMaxIterations(IterationBoundedBudget.UNLIMITED_ITERATIONS)
-.withMaxDuration(Duration.ofMillis(3))
-.withInterval(Duration.ofMillis(5))
-.build())
-.build();
-
-if (!task.run(service::isStarting)) {
-LOG.warn("The producer: {} did not finish starting in {} ms", 
service, 3);
-}
-
-if (LOG.isDebugEnabled()) {
-LOG.debug("Waited {} ms for producer to finish starting: {} state: 
{}", task.elapsed().toMillis(), service,
-service.getStatus());
-}
-}
-
 /**
  * Releases the producer/consumer back to the pool
  *
@@ -249,13 +225,6 @@ abstract class ServicePool extends 
ServiceSupport implements
 S tempS = creator.apply(endpoint);
 endpoint.getCamelContext().addService(tempS, true, 
true);
 s = tempS;
-
-if (s instanceof StatefulService ss) {
-if (ss.isStarting()) {
-LOG.trace("Waiting for producer to finish 
starting: {}", s);
-waitForService(ss);
-}
-}
 }
 }
 }
@@ -342,8 +311,9 @@ abstract class ServicePool extends 
ServiceSupport implements
 synchronized (lock) {
 if (!evicts.isEmpty()) {
 for (S evict : evicts) {
-doStop(evict);
 queue.remove(evict);
+// stop the service after having removed it from 
queue
+doStop(evict);
 }
 evicts.clear();
 }
@@ -361,13 +331,6 @@ abstract class ServicePool extends 
ServiceSupport implements
 if (s == null) {
 s = creator.apply(endpoint);
 s.start();
-
-if (s instanceof StatefulService ss) {
-if (ss.isStarting()) {
-LOG.trace("Waiting for producer to finish 
starting: {}", s);
-waitForService(ss);
-}
-}
 }
 }
 return s;



(camel) 01/05: Fix visibility problems

2024-05-23 Thread gnodet
This is an automated email from the ASF dual-hosted git repository.

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

commit 5eb89c8c05ba97d6fd66b7052af21559629e4410
Author: Guillaume Nodet 
AuthorDate: Tue May 21 10:32:54 2024 +0200

Fix visibility problems
---
 .../main/java/org/apache/camel/impl/engine/DurationRoutePolicy.java | 2 +-
 .../main/java/org/apache/camel/impl/converter/CachingInjector.java  | 2 +-
 .../main/java/org/apache/camel/model/dataformat/FhirDataformat.java | 2 +-
 .../apache/camel/model/dataformat/UniVocityAbstractDataFormat.java  | 2 +-
 .../java/org/apache/camel/model/language/ExpressionDefinition.java  | 2 +-
 .../org/apache/camel/model/language/NamespaceAwareExpression.java   | 2 +-
 .../org/apache/camel/processor/ConcurrentRequestsThrottler.java | 2 +-
 .../java/org/apache/camel/processor/TotalRequestsThrottler.java | 2 +-
 .../src/main/java/org/apache/camel/main/PropertyOptionKey.java  | 4 ++--
 .../src/main/java/org/apache/camel/xml/in/BaseParser.java   | 6 +++---
 10 files changed, 13 insertions(+), 13 deletions(-)

diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DurationRoutePolicy.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DurationRoutePolicy.java
index 0cfce32eaee..fe627dc23f8 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DurationRoutePolicy.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DurationRoutePolicy.java
@@ -46,7 +46,7 @@ public class DurationRoutePolicy extends 
org.apache.camel.support.RoutePolicySup
 
 private static final Logger LOG = 
LoggerFactory.getLogger(DurationRoutePolicy.class);
 
-enum Action {
+public enum Action {
 STOP_CAMEL_CONTEXT,
 STOP_ROUTE,
 SUSPEND_ROUTE,
diff --git 
a/core/camel-base/src/main/java/org/apache/camel/impl/converter/CachingInjector.java
 
b/core/camel-base/src/main/java/org/apache/camel/impl/converter/CachingInjector.java
index 03058bf3c8a..fa2de813848 100644
--- 
a/core/camel-base/src/main/java/org/apache/camel/impl/converter/CachingInjector.java
+++ 
b/core/camel-base/src/main/java/org/apache/camel/impl/converter/CachingInjector.java
@@ -21,7 +21,7 @@ import org.apache.camel.spi.TypeConverterRegistry;
 /**
  * A caching proxy
  */
-class CachingInjector {
+public class CachingInjector {
 private final TypeConverterRegistry repository;
 private final Class type;
 private T instance;
diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java
 
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java
index d3c371b0c8c..9e301d104fd 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java
@@ -477,7 +477,7 @@ public abstract class FhirDataformat extends 
DataFormatDefinition implements Con
  */
 @XmlTransient
 @SuppressWarnings("unchecked")
-abstract static class AbstractBuilder, F 
extends FhirDataformat>
+protected abstract static class AbstractBuilder, F extends FhirDataformat>
 implements DataFormatBuilder {
 
 private String fhirContext;
diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/UniVocityAbstractDataFormat.java
 
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/UniVocityAbstractDataFormat.java
index 217f927336b..6fc5657164c 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/UniVocityAbstractDataFormat.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/UniVocityAbstractDataFormat.java
@@ -287,7 +287,7 @@ public abstract class UniVocityAbstractDataFormat extends 
DataFormatDefinition {
  */
 @XmlTransient
 @SuppressWarnings("unchecked")
-abstract static class AbstractBuilder, F 
extends UniVocityAbstractDataFormat>
+protected abstract static class AbstractBuilder, F extends UniVocityAbstractDataFormat>
 implements DataFormatBuilder {
 
 private String nullValue;
diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/model/language/ExpressionDefinition.java
 
b/core/camel-core-model/src/main/java/org/apache/camel/model/language/ExpressionDefinition.java
index bc9d5da4af5..9ac98e65c51 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/model/language/ExpressionDefinition.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/model/language/ExpressionDefinition.java
@@ -274,7 +274,7 @@ public class ExpressionDefinition
  */
 @XmlTransient
 @SuppressWarnings("unchecked")
-abstract static class AbstractBuilder, E 
extends ExpressionDefinition>
+protected abstract static class AbstractBuilder, E extends 

(camel) 03/05: Avoid busy-loop in aggregator processor

2024-05-23 Thread gnodet
This is an automated email from the ASF dual-hosted git repository.

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

commit e0a7a34a9fac477db51946486ea0505e4df07369
Author: Guillaume Nodet 
AuthorDate: Tue May 21 21:21:41 2024 +0200

Avoid busy-loop in aggregator processor
---
 .../processor/aggregate/AggregateProcessor.java| 52 --
 1 file changed, 49 insertions(+), 3 deletions(-)

diff --git 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/AggregateProcessor.java
 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/AggregateProcessor.java
index fae1fa6a712..2c75f512b54 100644
--- 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/AggregateProcessor.java
+++ 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/AggregateProcessor.java
@@ -28,6 +28,7 @@ import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.concurrent.atomic.AtomicInteger;
 import java.util.concurrent.atomic.AtomicLong;
+import java.util.concurrent.locks.AbstractQueuedSynchronizer;
 import java.util.concurrent.locks.Lock;
 import java.util.concurrent.locks.ReentrantLock;
 
@@ -124,6 +125,7 @@ public class AggregateProcessor extends 
AsyncProcessorSupport
 private Map closedCorrelationKeys;
 private final Set batchConsumerCorrelationKeys = new 
ConcurrentSkipListSet<>();
 private final Set inProgressCompleteExchanges = 
ConcurrentHashMap.newKeySet();
+private final WaitableInteger inProgressCount = new WaitableInteger();
 private final Set unconfirmedCompleteExchanges = 
ConcurrentHashMap.newKeySet();
 private final Set inProgressCompleteExchangesForRecoveryTask = 
ConcurrentHashMap.newKeySet();
 private final Map redeliveryState = new 
ConcurrentHashMap<>();
@@ -836,6 +838,7 @@ public class AggregateProcessor extends 
AsyncProcessorSupport
 LOG.debug("Aggregation complete for correlation key {} sending 
aggregated exchange: {}", key, exchange);
 
 // add this as in progress before we submit the task
+inProgressCount.increment();
 inProgressCompleteExchanges.add(exchange.getExchangeId());
 if (recoveryInProgress.get()) {
 
inProgressCompleteExchangesForRecoveryTask.add(exchange.getExchangeId());
@@ -1219,6 +1222,7 @@ public class AggregateProcessor extends 
AsyncProcessorSupport
 
 // must remember to remove in progress when we failed
 inProgressCompleteExchanges.remove(exchangeId);
+inProgressCount.decrement();
 // do not remove redelivery state as we need it when we redeliver 
again later
 }
 
@@ -1244,6 +1248,7 @@ public class AggregateProcessor extends 
AsyncProcessorSupport
 } finally {
 // must remember to remove in progress when we are complete
 inProgressCompleteExchanges.remove(exchangeId);
+inProgressCount.decrement();
 }
 }
 
@@ -1698,15 +1703,14 @@ public class AggregateProcessor extends 
AsyncProcessorSupport
 int expected = forceCompletionOfAllGroups();
 
 StopWatch watch = new StopWatch();
-while (!inProgressCompleteExchanges.isEmpty()) {
+if (!inProgressCompleteExchanges.isEmpty()) {
 LOG.trace("Waiting for {} inflight exchanges to complete", 
getInProgressCompleteExchanges());
 try {
-Thread.sleep(100);
+inProgressCount.await();
 } catch (InterruptedException e) {
 Thread.currentThread().interrupt();
 // break out as we got interrupted such as the JVM terminating
 LOG.warn("Interrupted while waiting for {} inflight exchanges 
to complete.", getInProgressCompleteExchanges());
-break;
 }
 }
 
@@ -1723,6 +1727,7 @@ public class AggregateProcessor extends 
AsyncProcessorSupport
 
 // cleanup when shutting down
 inProgressCompleteExchanges.clear();
+inProgressCount.reset();
 
 if (shutdownExecutorService) {
 
camelContext.getExecutorServiceManager().shutdownNow(executorService);
@@ -1877,4 +1882,45 @@ public class AggregateProcessor extends 
AsyncProcessorSupport
 return total;
 }
 
+/**
+ * Synchronization class to avoid busy-loop when waiting for exchanges to 
be processed during shutdown.
+ */
+protected static final class WaitableInteger extends 
AbstractQueuedSynchronizer {
+
+// await for this integer to be equal to zero
+public void await() throws InterruptedException {
+acquireSharedInterruptibly(0); // the arg is not used, see below
+}
+
+// decrement the integer
+public void decrement() {
+releaseShared(-1);
+}
+
+// increment the 

(camel) 04/05: Disable busy-warning warning on shutdown strategy

2024-05-23 Thread gnodet
This is an automated email from the ASF dual-hosted git repository.

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

commit 6939b4ed78736d4ae24867ec59edc83993c633e8
Author: Guillaume Nodet 
AuthorDate: Wed May 22 09:58:02 2024 +0200

Disable busy-warning warning on shutdown strategy
---
 .../java/org/apache/camel/impl/engine/DefaultShutdownStrategy.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultShutdownStrategy.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultShutdownStrategy.java
index d99a0bc1344..c22432843c0 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultShutdownStrategy.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultShutdownStrategy.java
@@ -566,6 +566,9 @@ public class DefaultShutdownStrategy extends ServiceSupport 
implements ShutdownS
 this.logInflightExchangesOnTimeout = logInflightExchangesOnTimeout;
 }
 
+// Disable BusyWait as we're only waiting on seconds increment, so any 
other
+// strategy would not be much more efficient
+@SuppressWarnings("BusyWait")
 @Override
 public void run() {
 // the strategy in this run method is to



(camel) branch main updated (5b2bdf0efbc -> 5f72cef67cb)

2024-05-23 Thread gnodet
This is an automated email from the ASF dual-hosted git repository.

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


from 5b2bdf0efbc Openstack 3.12 (#14231)
 new 5eb89c8c05b Fix visibility problems
 new 12e7338a5c1 Fix busy-wait loops
 new e0a7a34a9fa Avoid busy-loop in aggregator processor
 new 6939b4ed787 Disable busy-warning warning on shutdown strategy
 new 5f72cef67cb Fix unneeded code in ServicePool

The 5 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:
 .../camel/impl/engine/DefaultShutdownStrategy.java |  3 ++
 .../camel/impl/engine/DurationRoutePolicy.java |  2 +-
 .../camel/impl/converter/CachingInjector.java  |  2 +-
 .../camel/model/dataformat/FhirDataformat.java |  2 +-
 .../dataformat/UniVocityAbstractDataFormat.java|  2 +-
 .../camel/model/language/ExpressionDefinition.java |  2 +-
 .../model/language/NamespaceAwareExpression.java   |  2 +-
 .../processor/ConcurrentRequestsThrottler.java |  2 +-
 .../apache/camel/processor/StreamResequencer.java  | 18 
 .../camel/processor/TotalRequestsThrottler.java|  2 +-
 .../processor/aggregate/AggregateProcessor.java| 52 --
 .../errorhandler/RedeliveryErrorHandler.java   |  1 +
 .../processor/resequencer/ResequencerEngine.java   | 49 +++-
 .../org/apache/camel/main/PropertyOptionKey.java   |  4 +-
 .../apache/camel/support/cache/ServicePool.java| 41 +
 .../java/org/apache/camel/xml/in/BaseParser.java   |  6 +--
 16 files changed, 124 insertions(+), 66 deletions(-)



(camel) 02/05: Fix busy-wait loops

2024-05-23 Thread gnodet
This is an automated email from the ASF dual-hosted git repository.

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

commit 12e7338a5c1cafbb3ea3bca7d5d67332f9ce462f
Author: Guillaume Nodet 
AuthorDate: Thu May 16 18:10:20 2024 +0200

Fix busy-wait loops
---
 .../apache/camel/processor/StreamResequencer.java  | 18 
 .../errorhandler/RedeliveryErrorHandler.java   |  1 +
 .../processor/resequencer/ResequencerEngine.java   | 49 +-
 3 files changed, 57 insertions(+), 11 deletions(-)

diff --git 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/StreamResequencer.java
 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/StreamResequencer.java
index 2771df6c9fb..efc951df726 100644
--- 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/StreamResequencer.java
+++ 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/StreamResequencer.java
@@ -239,16 +239,14 @@ public class StreamResequencer extends 
AsyncProcessorSupport
 
 @Override
 public boolean process(Exchange exchange, AsyncCallback callback) {
-while (engine.size() >= capacity) {
-try {
-Thread.sleep(getTimeout());
-} catch (InterruptedException e) {
-Thread.currentThread().interrupt();
-// we were interrupted so break out
-exchange.setException(e);
-callback.done(true);
-return true;
-}
+try {
+engine.waitUntil(s -> s.size() < capacity);
+} catch (InterruptedException e) {
+Thread.currentThread().interrupt();
+// we were interrupted so break out
+exchange.setException(e);
+callback.done(true);
+return true;
 }
 
 try {
diff --git 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryErrorHandler.java
 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryErrorHandler.java
index 462980cdb45..164958fb736 100644
--- 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryErrorHandler.java
+++ 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/errorhandler/RedeliveryErrorHandler.java
@@ -1530,6 +1530,7 @@ public abstract class RedeliveryErrorHandler extends 
ErrorHandlerSupport
  * This task is for the synchronous blocking. If using async delayed 
then a scheduled thread pool is used for
  * sleeping and trigger redeliveries.
  */
+@SuppressWarnings("BusyWait")
 public boolean sleep() throws InterruptedException {
 // for small delays then just sleep
 if (redeliveryDelay < 1000) {
diff --git 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/resequencer/ResequencerEngine.java
 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/resequencer/ResequencerEngine.java
index dc7bed62ec9..ff66e58a3b7 100644
--- 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/resequencer/ResequencerEngine.java
+++ 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/resequencer/ResequencerEngine.java
@@ -16,7 +16,11 @@
  */
 package org.apache.camel.processor.resequencer;
 
+import java.util.HashMap;
+import java.util.Map;
 import java.util.Timer;
+import java.util.concurrent.CountDownLatch;
+import java.util.function.Predicate;
 
 import org.apache.camel.util.concurrent.ThreadHelper;
 
@@ -78,6 +82,12 @@ public class ResequencerEngine {
  */
 private Boolean rejectOld;
 
+/**
+ * List containing wait conditions to be evaluated whenever the sequence 
is modified. Access to this field should be
+ * done inside a {@code synchronized(this)} block.
+ */
+private Map>> waitConditions = new 
HashMap<>();
+
 /**
  * Creates a new resequencer instance with a default timeout of 2000 
milliseconds.
  *
@@ -110,6 +120,37 @@ public class ResequencerEngine {
 return sequence.size();
 }
 
+/**
+ * Wait for the following condition to happen. Do not call this method 
while holding a lock on the resequencer
+ * engine, as it will deadlock. The predicate will be evaluated while 
holding a lock on the resequencer engine.
+ *
+ * @param  pred the condition to wait for
+ * @throws InterruptedException if the thread is interrupted
+ */
+public void waitUntil(Predicate> pred) throws 
InterruptedException {
+CountDownLatch latch;
+synchronized (this) {
+if (pred.test(sequence)) {
+return;
+}
+latch = new CountDownLatch(1);
+waitConditions.put(latch, pred);
+}
+latch.await();
+}
+
+private void evaluateConditions() {
+

Re: [PR] Another set of code related warnings fixes [camel]

2024-05-23 Thread via GitHub


gnodet merged PR #14222:
URL: https://github.com/apache/camel/pull/14222


-- 
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



[I] Evaluate how we can fully support fa(s)t-jar execution [camel-k]

2024-05-23 Thread via GitHub


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

   ### Requirement
   
   While working on #5488 I realized we have certain limitations/assumptions in 
the way we require to execute the jvm from the Camel application container Pod. 
It turns out that, due to the usage of Joor and its limitations (see [1] we 
cannot make a reliable usage of the fast-jar (and eventually fat-jar if/when we 
move to managed Springboot).
   
   I think the root cause is coming from the fact that we're loading the routes 
dynamically, ie, we create a generic project, and at runtime we inject the 
route into the Camel context and start it (please, @lburgazzoli correct me if 
this is wrong). This was a cornerstone of the reusability of an IntegrationKit 
which spared some time to build a new project. However, I wonder if this is a 
design we still want to maintain as it gives us certain limitations, and, 
remove the parity between a normal Camel (Quarkus) development and Camel K.
   
   If we instead let the build to consider the route at runtime, we should be 
able to use the fa(s)t-jar and leverage the default Camel mechanism to load a 
route. Of course, the trade off is that we would be losing the possibility to 
reuse the same IntegrationKit for different Integrations as, each of them would 
be including the route into the build. We should understand if this design can 
still be compatible with incremental image [2] (I think it does, since the 
route would be contained in the built dependency which is going to be replaced 
in the new Kit created).
   
   This is something to address in a major release, as it would break existing 
Integrations compatibility, but I think that it is a good opportunity to 
collect feedback to be ready when this is coming.
   
   [1] https://github.com/jOOQ/jOOR/issues/69) 
   [2] https://camel.apache.org/camel-k/next/architecture/incremental-image.html
   
   ### Problem
   
   a
   
   ### Proposal
   
   _No response_
   
   ### Open questions
   
   _No response_


-- 
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 (35af34ead49 -> 5b2bdf0efbc)

2024-05-23 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 35af34ead49 camel-catalog - Summary as json should use the loader 
version. Also include more details added recently to the catalog.
 add 2af4c768118 (chores) ci: disable ArangoDB tests on s390x and ppc64le
 add 5b2bdf0efbc Openstack 3.12 (#14231)

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/catalog/components/openstack-neutron.json| 2 +-
 components/camel-arangodb/pom.xml | 4 
 .../apache/camel/component/openstack/neutron/openstack-neutron.json   | 2 +-
 parent/pom.xml| 2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)



(camel) branch openstack-3.12 deleted (was b5b54a380d6)

2024-05-23 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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


 was b5b54a380d6 Upgrade Openstack4j to version 3.12

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(camel) branch main updated: Openstack 3.12 (#14231)

2024-05-23 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.git


The following commit(s) were added to refs/heads/main by this push:
 new 5b2bdf0efbc Openstack 3.12 (#14231)
5b2bdf0efbc is described below

commit 5b2bdf0efbc7fa317010de61914de24fde816423
Author: Andrea Cosentino 
AuthorDate: Thu May 23 10:21:54 2024 +0200

Openstack 3.12 (#14231)

* Upgrade Openstack4j to version 3.12

Signed-off-by: Andrea Cosentino 

* Upgrade Openstack4j to version 3.12

Signed-off-by: Andrea Cosentino 

-

Signed-off-by: Andrea Cosentino 
---
 .../org/apache/camel/catalog/components/openstack-neutron.json  | 2 +-
 .../org/apache/camel/component/openstack/neutron/openstack-neutron.json | 2 +-
 parent/pom.xml  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/openstack-neutron.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/openstack-neutron.json
index 3d25d868d74..71fd745b79d 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/openstack-neutron.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/openstack-neutron.json
@@ -30,7 +30,7 @@
 "tenantId": { "index": 0, "kind": "header", "displayName": "", "group": 
"network port router", "label": "network port router", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Tenant ID.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#TENANT_ID" },
 "networkId": { "index": 1, "kind": "header", "displayName": "", "group": 
"subnet port", "label": "subnet port", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Network ID.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#NETWORK_ID" },
 "adminStateUp": { "index": 2, "kind": "header", "displayName": "", 
"group": "network", "label": "network", "required": false, "javaType": 
"Boolean", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "AdminStateUp header.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#ADMIN_STATE_UP" 
},
-"networkType": { "index": 3, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": 
"org.openstack4j.model.network.NetworkType", "enum": [ "LOCAL", "FLAT", "VLAN", 
"VXLAN", "GRE" ], "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Network type.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#NETWORK_TYPE" },
+"networkType": { "index": 3, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": 
"org.openstack4j.model.network.NetworkType", "enum": [ "LOCAL", "FLAT", "VLAN", 
"VXLAN", "GRE", "GENEVE" ], "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "Network type.", 
"constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#NETWORK_TYPE" },
 "physicalNetwork": { "index": 4, "kind": "header", "displayName": "", 
"group": "network", "label": "network", "required": false, "javaType": 
"String", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "Physical network.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#PHYSICAL_NETWORK"
 },
 "segmentId": { "index": 5, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Segment ID.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#SEGMENT_ID" },
 "isShared": { "index": 6, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": "Boolean", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Is shared.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#IS_SHARED" },
diff --git 
a/components/camel-openstack/src/generated/resources/META-INF/org/apache/camel/component/openstack/neutron/openstack-neutron.json
 
b/components/camel-openstack/src/generated/resources/META-INF/org/apache/camel/component/openstack/neutron/openstack-neutron.json
index 3d25d868d74..71fd745b79d 100644
--- 

Re: [PR] Openstack 3.12 [camel]

2024-05-23 Thread via GitHub


oscerd merged PR #14231:
URL: https://github.com/apache/camel/pull/14231


-- 
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



Re: [PR] Openstack 3.12 [camel]

2024-05-23 Thread via GitHub


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

   :robot: The Apache Camel test robot will run the tests for you :+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



Re: [PR] feat(trait): jvm refactoring [camel-k]

2024-05-23 Thread via GitHub


squakez commented on PR #5488:
URL: https://github.com/apache/camel-k/pull/5488#issuecomment-2126489443

   Configmap tests are failing because when we use the fast-jar, the resources 
provided in the classpath are not "visible" to the route directly. The 
following one is failing (`java -cp ... -jar dependencies/quarkus-run.jar`):
   ```
   ...
 - setBody:
 simple: "resource:classpath:my-configmap-key"
   ...
   ```
   with:
   ```
   [2] Caused by: java.io.FileNotFoundException: Cannot find resource: 
classpath:greetings-api.json for URI: classpath:greetings-api.json
   [2]  at 
org.apache.camel.support.ResourceHelper.resolveMandatoryResourceAsInputStream(ResourceHelper.java:114)
   [2]  at 
org.apache.camel.support.LanguageSupport.loadResource(LanguageSupport.java:74)
   ```
   The same is working correctly with explicit execution (ie, `java -cp ... 
io.quarkus.bootstrap.runner.QuarkusEntryPoint`)


-- 
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



Re: [PR] Openstack 3.12 [camel]

2024-05-23 Thread via GitHub


oscerd commented on PR #14231:
URL: https://github.com/apache/camel/pull/14231#issuecomment-2126488379

   /component-test openstack


-- 
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



Re: [PR] Bump org.jgroups:jgroups from 5.3.4.Final to 5.3.7.Final [camel]

2024-05-23 Thread via GitHub


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

   :robot: The Apache Camel test robot will run the tests for you :+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



Re: [PR] Openstack 3.12 [camel]

2024-05-23 Thread via GitHub


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

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :robot: CI automation will test this PR automatically.
   
   :camel: Apache Camel Committers, please review the following items:
   
   * First-time contributors **require MANUAL approval** for the GitHub Actions 
to run
   
   * You can use the command `/component-test (camel-)component-name1 
(camel-)component-name2..` to request a test from the test bot.
   
   * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and 
`test-dependents` to fine-tune the checks executed by this PR.
   
   * Build and test logs are available in the Summary page. **Only** [Apache 
Camel committers](https://camel.apache.org/community/team/#committers) have 
access to the summary. 
   
   * :warning: Be careful when sharing logs. Review their contents before 
sharing them publicly.


-- 
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



[PR] Openstack 3.12 [camel]

2024-05-23 Thread via GitHub


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

   # Description
   
   
   
   # Target
   
   - [x] I checked that the commit is targeting the correct branch (note that 
Camel 3 uses `camel-3.x`, whereas Camel 4 uses the `main` branch)
   
   # Tracking
   - [ ] If this is a large change, bug fix, or code improvement, I checked 
there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for 
the change (usually before you start working on it).
   
   
   
   # Apache Camel coding standards and style
   
   - [x] I checked that each commit in the pull request has a meaningful 
subject line and body.
   
   
   
   - [x] I have run `mvn clean install -DskipTests` locally and I have 
committed all auto-generated changes
   
   
   
   


-- 
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 openstack-3.12 created (now b5b54a380d6)

2024-05-23 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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


  at b5b54a380d6 Upgrade Openstack4j to version 3.12

This branch includes the following new commits:

 new 23fa375b8de Upgrade Openstack4j to version 3.12
 new b5b54a380d6 Upgrade Openstack4j to version 3.12

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.




(camel) 02/02: Upgrade Openstack4j to version 3.12

2024-05-23 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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

commit b5b54a380d6d8724181b5a62dfbb6c648c28dd27
Author: Andrea Cosentino 
AuthorDate: Thu May 23 10:05:14 2024 +0200

Upgrade Openstack4j to version 3.12

Signed-off-by: Andrea Cosentino 
---
 .../org/apache/camel/catalog/components/openstack-neutron.json  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/openstack-neutron.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/openstack-neutron.json
index 3d25d868d74..71fd745b79d 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/openstack-neutron.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/openstack-neutron.json
@@ -30,7 +30,7 @@
 "tenantId": { "index": 0, "kind": "header", "displayName": "", "group": 
"network port router", "label": "network port router", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Tenant ID.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#TENANT_ID" },
 "networkId": { "index": 1, "kind": "header", "displayName": "", "group": 
"subnet port", "label": "subnet port", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Network ID.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#NETWORK_ID" },
 "adminStateUp": { "index": 2, "kind": "header", "displayName": "", 
"group": "network", "label": "network", "required": false, "javaType": 
"Boolean", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "AdminStateUp header.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#ADMIN_STATE_UP" 
},
-"networkType": { "index": 3, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": 
"org.openstack4j.model.network.NetworkType", "enum": [ "LOCAL", "FLAT", "VLAN", 
"VXLAN", "GRE" ], "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Network type.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#NETWORK_TYPE" },
+"networkType": { "index": 3, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": 
"org.openstack4j.model.network.NetworkType", "enum": [ "LOCAL", "FLAT", "VLAN", 
"VXLAN", "GRE", "GENEVE" ], "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "Network type.", 
"constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#NETWORK_TYPE" },
 "physicalNetwork": { "index": 4, "kind": "header", "displayName": "", 
"group": "network", "label": "network", "required": false, "javaType": 
"String", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "Physical network.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#PHYSICAL_NETWORK"
 },
 "segmentId": { "index": 5, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Segment ID.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#SEGMENT_ID" },
 "isShared": { "index": 6, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": "Boolean", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Is shared.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#IS_SHARED" },



(camel) 01/02: Upgrade Openstack4j to version 3.12

2024-05-23 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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

commit 23fa375b8de3d004d0fa564ab3768f27d4cc8d09
Author: Andrea Cosentino 
AuthorDate: Thu May 23 09:34:30 2024 +0200

Upgrade Openstack4j to version 3.12

Signed-off-by: Andrea Cosentino 
---
 .../org/apache/camel/component/openstack/neutron/openstack-neutron.json | 2 +-
 parent/pom.xml  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-openstack/src/generated/resources/META-INF/org/apache/camel/component/openstack/neutron/openstack-neutron.json
 
b/components/camel-openstack/src/generated/resources/META-INF/org/apache/camel/component/openstack/neutron/openstack-neutron.json
index 3d25d868d74..71fd745b79d 100644
--- 
a/components/camel-openstack/src/generated/resources/META-INF/org/apache/camel/component/openstack/neutron/openstack-neutron.json
+++ 
b/components/camel-openstack/src/generated/resources/META-INF/org/apache/camel/component/openstack/neutron/openstack-neutron.json
@@ -30,7 +30,7 @@
 "tenantId": { "index": 0, "kind": "header", "displayName": "", "group": 
"network port router", "label": "network port router", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Tenant ID.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#TENANT_ID" },
 "networkId": { "index": 1, "kind": "header", "displayName": "", "group": 
"subnet port", "label": "subnet port", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Network ID.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#NETWORK_ID" },
 "adminStateUp": { "index": 2, "kind": "header", "displayName": "", 
"group": "network", "label": "network", "required": false, "javaType": 
"Boolean", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "AdminStateUp header.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#ADMIN_STATE_UP" 
},
-"networkType": { "index": 3, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": 
"org.openstack4j.model.network.NetworkType", "enum": [ "LOCAL", "FLAT", "VLAN", 
"VXLAN", "GRE" ], "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Network type.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#NETWORK_TYPE" },
+"networkType": { "index": 3, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": 
"org.openstack4j.model.network.NetworkType", "enum": [ "LOCAL", "FLAT", "VLAN", 
"VXLAN", "GRE", "GENEVE" ], "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "Network type.", 
"constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#NETWORK_TYPE" },
 "physicalNetwork": { "index": 4, "kind": "header", "displayName": "", 
"group": "network", "label": "network", "required": false, "javaType": 
"String", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "Physical network.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#PHYSICAL_NETWORK"
 },
 "segmentId": { "index": 5, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Segment ID.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#SEGMENT_ID" },
 "isShared": { "index": 6, "kind": "header", "displayName": "", "group": 
"network", "label": "network", "required": false, "javaType": "Boolean", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Is shared.", "constantName": 
"org.apache.camel.component.openstack.neutron.NeutronConstants#IS_SHARED" },
diff --git a/parent/pom.xml b/parent/pom.xml
index b23084f9fbb..e3f059dfad4 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -386,7 +386,7 @@
 2.10.3
 2.11.0
 
2.0.1
-3.11
+3.12
 1.38.0
 1.23.1-alpha
 9.44.0.Final



(camel) branch main updated: (chores) ci: disable ArangoDB tests on s390x and ppc64le

2024-05-23 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


The following commit(s) were added to refs/heads/main by this push:
 new 2af4c768118 (chores) ci: disable ArangoDB tests on s390x and ppc64le
2af4c768118 is described below

commit 2af4c7681182199366ff32b210e6821b082ed001
Author: Otavio Rodolfo Piske 
AuthorDate: Mon May 20 18:57:09 2024 +0200

(chores) ci: disable ArangoDB tests on s390x and ppc64le

The container is not available for these platforms
---
 components/camel-arangodb/pom.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/components/camel-arangodb/pom.xml 
b/components/camel-arangodb/pom.xml
index 4c4850103e9..1ecbf66c4f7 100644
--- a/components/camel-arangodb/pom.xml
+++ b/components/camel-arangodb/pom.xml
@@ -36,6 +36,10 @@
 
 UTF-8
 
UTF-8
+
+
+true
+true
 
 
 



(camel) branch regen_bot updated (03c3f9987eb -> 35af34ead49)

2024-05-23 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 03c3f9987eb CAMEL-20785: move replaceFromEndpoints and make reusable
 add 35af34ead49 camel-catalog - Summary as json should use the loader 
version. Also include more details added recently to the catalog.

No new revisions were added by this update.

Summary of changes:
 .../src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java  | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)



(camel) branch regen_bot updated (c85b7f6f306 -> 03c3f9987eb)

2024-05-23 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 c85b7f6f306 Bump com.google.apis:google-api-services-sheets (#14226)
 add dcb27ae6ba7 Use latest Infinispan container image for test-infra 
module, 15.0.4.Final (#14228)
 add 374b817bfa2 CAMEL-20785: decouple setting up routes
 add 956bf5c51c7 CAMEL-20785: decouple looking up mock endpoints
 add 317fc854905 CAMEL-20785: lock-down class-level utility methods
 add 5165784baf7 CAMEL-20785: remove unused variable
 add 1044e6781b9 CAMEL-20785: avoid using JUnit's assertions in setup code
 add 066b0ed9843 CAMEL-20785: avoid reusing variables
 add dddb0bf49e3 CAMEL-20785: move enableAutoMocking and make reusable
 add 9ccd95d5547 CAMEL-20785: cleanup configurePropertiesComponent and make 
reusable
 add 45e8b19f6cc CAMEL-20785: cleanup configureIncludeExcludePatterns and 
make reusable
 add 11e1c4f941d CAMEL-20785: cleanup startCamelContext and make reusable
 add 03c3f9987eb CAMEL-20785: move replaceFromEndpoints and make reusable

No new revisions were added by this update.

Summary of changes:
 .../camel/component/cxf/CXFWsdlOnlyTest.java   |   7 -
 .../camel/component/cxf/CxfNonWrapperTest.java |   7 -
 .../infinispan/InfinispanConsumerTestSupport.java  |   3 -
 .../InfinispanIdempotentRepositoryTestSupport.java |   6 +-
 .../embedded/InfinispanEmbeddedConsumerTest.java   |   5 -
 .../InfinispanEmbeddedCustomListenerTest.java  |   5 -
 ...InfinispanEmbeddedIdempotentRepositoryTest.java |  13 +-
 .../remote/InfinispanRemoteConsumerIT.java |   5 -
 .../remote/InfinispanRemoteCustomListenerIT.java   |   5 -
 .../InfinispanRemoteIdempotentRepositoryIT.java|  13 +-
 .../camel/component/mail/MailComponentTest.java|  37 +++--
 .../camel/component/mail/MailMessageTest.java  |   5 +-
 .../quartz/QuartzEndpointConfigureTest.java|  21 ++-
 .../apache/camel/test/junit5/CamelTestSupport.java | 154 --
 .../test/junit5/util/CamelContextTestHelper.java   | 174 +
 .../camel/test/junit5/util/ExtensionHelper.java|  13 ++
 .../infra/infinispan/services/container.properties |   2 +-
 17 files changed, 268 insertions(+), 207 deletions(-)



Re: [PR] Add camel-google-storage wrapper [camel-karaf]

2024-05-23 Thread via GitHub


ozgurkisir-qlik commented on PR #290:
URL: https://github.com/apache/camel-karaf/pull/290#issuecomment-2126459071

   camel-google-storage is validated according to test steps


-- 
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-catalog - Summary as json should use the loader version. Also include more details added recently to the catalog.

2024-05-23 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 35af34ead49 camel-catalog - Summary as json should use the loader 
version. Also include more details added recently to the catalog.
35af34ead49 is described below

commit 35af34ead49e58a1a7f22f288456a274a6da4290
Author: Claus Ibsen 
AuthorDate: Thu May 23 09:49:33 2024 +0200

camel-catalog - Summary as json should use the loader version. Also include 
more details added recently to the catalog.
---
 .../src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java  | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
 
b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
index e41ed30c2ce..f9bb8954296 100644
--- 
a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
+++ 
b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
@@ -542,12 +542,15 @@ public class DefaultCamelCatalog extends 
AbstractCachingCamelCatalog implements
 public String summaryAsJson() {
 return cache(SUMMARY_AS_JSON, () -> {
 Map obj = new JsonObject();
-obj.put("version", getCatalogVersion());
+obj.put("version", getLoadedVersion());
 obj.put("models", findModelNames().size());
 obj.put("components", findComponentNames().size());
 obj.put("dataformats", findDataFormatNames().size());
 obj.put("languages", findLanguageNames().size());
 obj.put("others", findOtherNames().size());
+obj.put("beans", findBeansNames().size());
+obj.put("dev-consoles", findDevConsoleNames().size());
+obj.put("transformers", findTransformerNames().size());
 return JsonMapper.serialize(obj);
 });
 }



Error while running github feature from .asf.yaml in camel-website-pub!

2024-05-23 Thread Apache Infrastructure


An error occurred while running github feature in .asf.yaml!:
422 {"message": "Validation Failed", "errors": [{"message": "Sorry, you need to 
allow at least one merge strategy. (no_merge_method)", "resource": 
"Repository", "field": "merge_commit_allowed", "code": "invalid"}], 
"documentation_url": 
"https://docs.github.com/rest/repos/repos#update-a-repository"}



(camel-website-pub) branch asf-site updated (0329e8646 -> 9d6eee810)

2024-05-23 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

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


 discard 0329e8646 Website updated to 647d494bfaf93a13ca1363485a5270e53ada3773
 discard 47cb77126 Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new fd6c87218 Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new 9d6eee810 Website updated to bb7e6e245dafd485c4891621bc94ce8506aed05f

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (0329e8646)
\
 N -- N -- N   refs/heads/asf-site (9d6eee810)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

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:
 .htaccess  |   84 +-
 .well-known/security.txt   |2 +-
 camel-core/contributing/expectations.html  |1 +
 camel-core/contributing/index.html |2 +-
 camel-k/2.3.x/apis/camel-k.html|2 +-
 camel-k/2.3.x/traits/health.html   |2 +-
 camel-k/2.3.x/traits/route.html|2 +-
 camel-k/next/apis/camel-k.html |2 +-
 camel-k/next/installation/upgrade.html |2 +-
 camel-k/next/traits/health.html|2 +-
 camel-k/next/traits/route.html |2 +-
 camel-quarkus/3.2.x/index.html |2 +-
 camel-quarkus/3.8.x/index.html |2 +-
 camel-quarkus/next/index.html  |2 +-
 .../next/reference/extensions/rest-openapi.html|   21 +-
 .../next/user-guide/dependency-management.html |4 +-
 camel-quarkus/next/user-guide/first-steps.html |2 +-
 camel-spring-boot/next/list.html   |2 +-
 camel-spring-boot/next/spring-boot.html|2 +-
 components/next/activemq-component.html|6 +-
 components/next/activemq6-component.html   |   14 +
 components/next/amqp-component.html|2 +-
 components/next/arangodb-component.html|2 +-
 components/next/as2-component.html |2 +-
 components/next/asterisk-component.html|2 +-
 .../next/atmosphere-websocket-component.html   |2 +-
 components/next/atom-component.html|2 +-
 components/next/avro-component.html|2 +-
 components/next/aws-bedrock-agent-component.html   |2 +-
 .../next/aws-bedrock-agent-runtime-component.html  |2 +-
 components/next/aws-bedrock-component.html |2 +-
 components/next/aws-cloudtrail-component.html  |2 +-
 components/next/aws-config-component.html  |2 +-
 components/next/aws-secrets-manager-component.html |2 +-
 components/next/aws-summary.html   |2 +-
 components/next/aws2-athena-component.html |2 +-
 components/next/aws2-cw-component.html |2 +-
 components/next/aws2-ddb-component.html|2 +-
 components/next/aws2-ddbstream-component.html  |2 +-
 components/next/aws2-ec2-component.html|2 +-
 components/next/aws2-ecs-component.html|2 +-
 components/next/aws2-eks-component.html|2 +-
 components/next/aws2-eventbridge-component.html|2 +-
 components/next/aws2-iam-component.html|2 +-
 components/next/aws2-kinesis-component.html|2 +-
 .../next/aws2-kinesis-firehose-component.html  |2 +-
 components/next/aws2-kms-component.html|2 +-
 components/next/aws2-lambda-component.html |2 +-
 components/next/aws2-mq-component.html |2 +-
 components/next/aws2-msk-component.html|2 +-
 components/next/aws2-redshift-data-component.html  |2 +-
 components/next/aws2-s3-component.html |2 +-
 components/next/aws2-ses-component.html|2 +-
 components/next/aws2-sns-component.html|2 +-
 components/next/aws2-sqs-component.html|2 +-
 components/next/aws2-step-functions-component.html |2 +-
 components/next/aws2-sts-component.html|2 +-
 

(camel) 10/11: CAMEL-20785: cleanup startCamelContext and make reusable

2024-05-23 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 11e1c4f941d1e585acb9c4c17761615900243298
Author: Otavio Rodolfo Piske 
AuthorDate: Wed May 22 13:39:27 2024 +0200

CAMEL-20785: cleanup startCamelContext and make reusable
---
 .../apache/camel/test/junit5/CamelTestSupport.java | 13 +
 .../test/junit5/util/CamelContextTestHelper.java   | 32 ++
 2 files changed, 33 insertions(+), 12 deletions(-)

diff --git 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
index f9471bfd455..e4ac89e944a 100644
--- 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
+++ 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
@@ -698,18 +698,7 @@ public abstract class CamelTestSupport
 }
 
 protected void startCamelContext() throws Exception {
-if (camelContextService != null) {
-camelContextService.start();
-} else {
-if (context instanceof DefaultCamelContext) {
-DefaultCamelContext defaultCamelContext = 
(DefaultCamelContext) context;
-if (!defaultCamelContext.isStarted()) {
-defaultCamelContext.start();
-}
-} else {
-context.start();
-}
-}
+CamelContextTestHelper.startCamelContextOrService(context, 
camelContextService);
 }
 
 protected CamelContext createCamelContext() throws Exception {
diff --git 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/util/CamelContextTestHelper.java
 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/util/CamelContextTestHelper.java
index d4e2008c60a..16a88ff0778 100644
--- 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/util/CamelContextTestHelper.java
+++ 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/util/CamelContextTestHelper.java
@@ -23,6 +23,7 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.NoSuchEndpointException;
 import org.apache.camel.RouteConfigurationsBuilder;
 import org.apache.camel.RoutesBuilder;
+import org.apache.camel.Service;
 import org.apache.camel.ServiceStatus;
 import org.apache.camel.component.mock.InterceptSendToMockEndpointStrategy;
 import org.apache.camel.component.mock.MockEndpoint;
@@ -176,4 +177,35 @@ public final class CamelContextTestHelper {
 
context.getCamelContextExtension().getContextPlugin(Model.class).setRouteFilterPattern(include,
 exclude);
 }
 }
+
+/**
+ * Start the given context
+ *
+ * @param  context   the context to start
+ * @throws Exception
+ */
+public static void startCamelContext(CamelContext context) throws 
Exception {
+if (context instanceof DefaultCamelContext defaultCamelContext) {
+if (!defaultCamelContext.isStarted()) {
+defaultCamelContext.start();
+}
+} else {
+context.start();
+}
+}
+
+/**
+ * Starts a CamelContext or a service managing the CamelContext. The 
service takes priority if provided.
+ *
+ * @param  context the context to start
+ * @param  camelContextService the service managing the CamelContext
+ * @throws Exception
+ */
+public static void startCamelContextOrService(CamelContext context, 
Service camelContextService) throws Exception {
+if (camelContextService != null) {
+camelContextService.start();
+} else {
+CamelContextTestHelper.startCamelContext(context);
+}
+}
 }



(camel) branch main updated (dcb27ae6ba7 -> 03c3f9987eb)

2024-05-23 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 dcb27ae6ba7 Use latest Infinispan container image for test-infra 
module, 15.0.4.Final (#14228)
 new 374b817bfa2 CAMEL-20785: decouple setting up routes
 new 956bf5c51c7 CAMEL-20785: decouple looking up mock endpoints
 new 317fc854905 CAMEL-20785: lock-down class-level utility methods
 new 5165784baf7 CAMEL-20785: remove unused variable
 new 1044e6781b9 CAMEL-20785: avoid using JUnit's assertions in setup code
 new 066b0ed9843 CAMEL-20785: avoid reusing variables
 new dddb0bf49e3 CAMEL-20785: move enableAutoMocking and make reusable
 new 9ccd95d5547 CAMEL-20785: cleanup configurePropertiesComponent and make 
reusable
 new 45e8b19f6cc CAMEL-20785: cleanup configureIncludeExcludePatterns and 
make reusable
 new 11e1c4f941d CAMEL-20785: cleanup startCamelContext and make reusable
 new 03c3f9987eb CAMEL-20785: move replaceFromEndpoints and make reusable

The 11 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:
 .../camel/component/cxf/CXFWsdlOnlyTest.java   |   7 -
 .../camel/component/cxf/CxfNonWrapperTest.java |   7 -
 .../infinispan/InfinispanConsumerTestSupport.java  |   3 -
 .../InfinispanIdempotentRepositoryTestSupport.java |   6 +-
 .../embedded/InfinispanEmbeddedConsumerTest.java   |   5 -
 .../InfinispanEmbeddedCustomListenerTest.java  |   5 -
 ...InfinispanEmbeddedIdempotentRepositoryTest.java |  13 +-
 .../remote/InfinispanRemoteConsumerIT.java |   5 -
 .../remote/InfinispanRemoteCustomListenerIT.java   |   5 -
 .../InfinispanRemoteIdempotentRepositoryIT.java|  13 +-
 .../camel/component/mail/MailComponentTest.java|  37 +++--
 .../camel/component/mail/MailMessageTest.java  |   5 +-
 .../quartz/QuartzEndpointConfigureTest.java|  21 ++-
 .../apache/camel/test/junit5/CamelTestSupport.java | 154 --
 .../test/junit5/util/CamelContextTestHelper.java   | 174 +
 .../camel/test/junit5/util/ExtensionHelper.java|  13 ++
 16 files changed, 267 insertions(+), 206 deletions(-)



(camel) 11/11: CAMEL-20785: move replaceFromEndpoints and make reusable

2024-05-23 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 03c3f9987eb0890867a9032467e3de41902040fc
Author: Otavio Rodolfo Piske 
AuthorDate: Wed May 22 13:48:25 2024 +0200

CAMEL-20785: move replaceFromEndpoints and make reusable
---
 .../apache/camel/test/junit5/CamelTestSupport.java | 17 ++---
 .../test/junit5/util/CamelContextTestHelper.java   | 22 ++
 2 files changed, 24 insertions(+), 15 deletions(-)

diff --git 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
index e4ac89e944a..cda6d716887 100644
--- 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
+++ 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
@@ -34,8 +34,6 @@ import org.apache.camel.Processor;
 import org.apache.camel.ProducerTemplate;
 import org.apache.camel.RoutesBuilder;
 import org.apache.camel.Service;
-import org.apache.camel.builder.AdviceWith;
-import org.apache.camel.builder.AdviceWithRouteBuilder;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.impl.DefaultCamelContext;
@@ -459,7 +457,7 @@ public abstract class CamelTestSupport
 
 tryStartCamelContext();
 } else {
-replaceFromEndpoints();
+CamelContextTestHelper.replaceFromEndpoints(context, 
fromEndpoints);
 LOG.debug("Using route builder from the created context: {}", 
context);
 }
 LOG.debug("Routing Rules are: {}", context.getRoutes());
@@ -483,7 +481,7 @@ public abstract class CamelTestSupport
 
 CamelContextTestHelper.setupRoutes(context, builders);
 
-replaceFromEndpoints();
+CamelContextTestHelper.replaceFromEndpoints(context, fromEndpoints);
 }
 
 private void tryStartCamelContext() throws Exception {
@@ -513,17 +511,6 @@ public abstract class CamelTestSupport
 CamelContextTestHelper.configurePropertiesComponent(context, extra, 
new JunitPropertiesSource(globalStore), ignore);
 }
 
-private void replaceFromEndpoints() throws Exception {
-for (final Map.Entry entry : fromEndpoints.entrySet()) 
{
-AdviceWith.adviceWith(context.getRouteDefinition(entry.getKey()), 
context, new AdviceWithRouteBuilder() {
-@Override
-public void configure() {
-replaceFromWith(entry.getValue());
-}
-});
-}
-}
-
 private boolean isRouteCoverageEnabled() {
 return Boolean.parseBoolean(System.getProperty(ROUTE_COVERAGE_ENABLED, 
"false")) || isDumpRouteCoverage();
 }
diff --git 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/util/CamelContextTestHelper.java
 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/util/CamelContextTestHelper.java
index 16a88ff0778..584860090f0 100644
--- 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/util/CamelContextTestHelper.java
+++ 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/util/CamelContextTestHelper.java
@@ -17,6 +17,7 @@
 
 package org.apache.camel.test.junit5.util;
 
+import java.util.Map;
 import java.util.Properties;
 
 import org.apache.camel.CamelContext;
@@ -25,11 +26,14 @@ import org.apache.camel.RouteConfigurationsBuilder;
 import org.apache.camel.RoutesBuilder;
 import org.apache.camel.Service;
 import org.apache.camel.ServiceStatus;
+import org.apache.camel.builder.AdviceWith;
+import org.apache.camel.builder.AdviceWithRouteBuilder;
 import org.apache.camel.component.mock.InterceptSendToMockEndpointStrategy;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.impl.debugger.DefaultDebugger;
 import org.apache.camel.model.Model;
+import org.apache.camel.model.ModelCamelContext;
 import org.apache.camel.spi.Breakpoint;
 import org.apache.camel.spi.PropertiesComponent;
 import org.apache.camel.spi.PropertiesSource;
@@ -208,4 +212,22 @@ public final class CamelContextTestHelper {
 CamelContextTestHelper.startCamelContext(context);
 }
 }
+
+/**
+ * Replaces the 'from' endpoints of the given context with the ones from 
the provided map
+ *
+ * @param  context   the context to have the 'from' endpoints replaced
+ * @param  fromEndpoints the map with the new endpoint Uris
+ * @throws Exception
+ */
+public static void replaceFromEndpoints(ModelCamelContext context, 
Map fromEndpoints) throws Exception {
+for 

  1   2   >