(camel-kamelets) branch regen_bot updated (50eef569 -> bc4d6a92)

2024-03-18 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-kamelets.git


from 50eef569 Regen for commit 401d572f7007881352dfeafdc011c6b2619b 
(#1952)
 add bc4d6a92 Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 
3.2.1 (#1953)

No new revisions were added by this update.

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



(camel-kamelets) branch dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.2.1 deleted (was 57e897cc)

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

acosentino pushed a change to branch 
dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.2.1
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


 was 57e897cc Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 
3.2.1

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-kamelets) branch main updated: Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 3.2.1 (#1953)

2024-03-18 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-kamelets.git


The following commit(s) were added to refs/heads/main by this push:
 new bc4d6a92 Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 
3.2.1 (#1953)
bc4d6a92 is described below

commit bc4d6a927a14e3e2881629db31b3842aa11ba121
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Tue Mar 19 06:21:21 2024 +0100

Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 3.2.1 (#1953)

Bumps 
[org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin)
 from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/apache/maven-gpg-plugin/releases)
- 
[Commits](https://github.com/apache/maven-gpg-plugin/compare/maven-gpg-plugin-3.2.0...maven-gpg-plugin-3.2.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-gpg-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] 
Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index da037ef2..66b8bc46 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,7 +49,7 @@
 
 false
 UTF-8
-3.2.0
+3.2.1
 3.1.1
 3.2.5
 3.2.5



Re: [PR] Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 3.2.1 [camel-kamelets]

2024-03-18 Thread via GitHub


oscerd merged PR #1953:
URL: https://github.com/apache/camel-kamelets/pull/1953


-- 
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] OpenAPI model not considering mixins in natibe build [camel-quarkus]

2024-03-18 Thread via GitHub


ivivanov-bg commented on issue #5891:
URL: https://github.com/apache/camel-quarkus/issues/5891#issuecomment-2005775981

   That's exacrly what I observed too and the reason to not privide a PR 
directly.
   
   My cussrent issue (with the jsonSchema) gets resolved if the Schema31 mixin 
and the inner type serializer are registered, but to me this looked more like a 
workaround for particular situation


-- 
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] Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 3.2.1 [camel-kamelets]

2024-03-18 Thread via GitHub


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

   Bumps 
[org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin)
 from 3.2.0 to 3.2.1.
   
   Release notes
   Sourced from https://github.com/apache/maven-gpg-plugin/releases;>org.apache.maven.plugins:maven-gpg-plugin's
 releases.
   
   3.2.1
   https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317521version=12354394;>JIRA
 link
   Release Notes - Maven GPG Plugin - Version 3.2.1
   
   
   
   What's Changed
   
   [MGPG-112] serverId def value was unintentionally dropped by https://github.com/cstamas;>@​cstamas in https://redirect.github.com/apache/maven-gpg-plugin/pull/80;>apache/maven-gpg-plugin#80
   [MGPG-111] Fix dependencies by https://github.com/cstamas;>@​cstamas in https://redirect.github.com/apache/maven-gpg-plugin/pull/81;>apache/maven-gpg-plugin#81
   
   Full Changelog: https://github.com/apache/maven-gpg-plugin/compare/maven-gpg-plugin-3.2.0...maven-gpg-plugin-3.2.1;>https://github.com/apache/maven-gpg-plugin/compare/maven-gpg-plugin-3.2.0...maven-gpg-plugin-3.2.1
   
   
   
   Commits
   
   https://github.com/apache/maven-gpg-plugin/commit/5b69086e7d2a48d985b6190cf75f1d0eb4ce2ecf;>5b69086
 [maven-release-plugin] prepare release maven-gpg-plugin-3.2.1
   https://github.com/apache/maven-gpg-plugin/commit/28d298c2a9049c3a8535f97100670638ce48b724;>28d298c
 [MGPG-111] Fix dependencies (https://redirect.github.com/apache/maven-gpg-plugin/issues/81;>#81)
   https://github.com/apache/maven-gpg-plugin/commit/75d8ed56a05e7e886a61a92f076506b8ffba2bd1;>75d8ed5
 [MGPG-112] serverId def value was unintentionally dropped (https://redirect.github.com/apache/maven-gpg-plugin/issues/80;>#80)
   https://github.com/apache/maven-gpg-plugin/commit/2a11a2d667a6dbe17b8f037a8b822a1b16326a73;>2a11a2d
 [maven-release-plugin] prepare for next development iteration
   See full diff in https://github.com/apache/maven-gpg-plugin/compare/maven-gpg-plugin-3.2.0...maven-gpg-plugin-3.2.1;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-gpg-plugin=maven=3.2.0=3.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


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

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

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



(camel-kamelets) branch dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.2.1 created (now 57e897cc)

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

github-bot pushed a change to branch 
dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.2.1
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


  at 57e897cc Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 
3.2.1

No new revisions were added by this update.



Re: [I] OpenAPI model not considering mixins in natibe build [camel-quarkus]

2024-03-18 Thread via GitHub


zhfeng commented on issue #5891:
URL: https://github.com/apache/camel-quarkus/issues/5891#issuecomment-2005770166

   @ivivanov-bg what the mixin classes should be registered for reflection? I 
tried all class from `io.swagger.v3.core.jackson.mixin` but the native runner 
is producing an empty response now.


-- 
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) 01/01: Upgrade Quarkus to 3.10.0.CR1

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

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

commit 14cbe21f6143f8610fa85dbec7382a25acf48653
Author: James Netherton 
AuthorDate: Wed Mar 13 19:00:20 2024 +

Upgrade Quarkus to 3.10.0.CR1
---
 integration-tests/quartz-clustered/pom.xml | 4 
 pom.xml| 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/integration-tests/quartz-clustered/pom.xml 
b/integration-tests/quartz-clustered/pom.xml
index 24e203f4bb..4e41a4531e 100644
--- a/integration-tests/quartz-clustered/pom.xml
+++ b/integration-tests/quartz-clustered/pom.xml
@@ -59,6 +59,10 @@
 io.quarkus
 quarkus-flyway
 
+
+org.flywaydb
+flyway-database-postgresql
+
 
 
 
diff --git a/pom.xml b/pom.xml
index 15e11733c2..2152d9c1b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,7 @@
 2.2.2
 
2.3.1
 2.0.2
-3.9.0.CR2
+999-SNAPSHOT
 
4.0.0
 2.6.1
 
@@ -113,7 +113,7 @@
 ${icu4j-version}
 2.9.3
 ${influx-java-driver-version}
-2.16.1
+2.17.0
 
${jakarta-jms-api-version}
 
${json-patch-version}
 ${jodatime2-version}



(camel-quarkus) branch quarkus-main updated (8b63fd781c -> 14cbe21f61)

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

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


 discard 8b63fd781c Upgrade Quarkus to 3.10.0.CR1
 add a0387cd0a5 Fixup adding com.squareup.okhttp3:mockwebserver to 
camel-quarkus-bom
 add 497d09e553 Remove redundant parentFirstArtifact configuration from 
js-dsl extension
 add 5a2ae8eccb Upgrade Debezium to 2.5.2.Final
 add 7e29965923 Upgrade quarkus-qpid-jms to 2.6.1
 new 14cbe21f61 Upgrade Quarkus to 3.10.0.CR1

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   (8b63fd781c)
\
 N -- N -- N   refs/heads/quarkus-main (14cbe21f61)

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


Summary of changes:
 extensions/js-dsl/runtime/pom.xml  |10 -
 pom.xml| 4 +-
 poms/bom/pom.xml   | 7 +
 poms/bom/src/main/generated/flattened-full-pom.xml | 14836 ++-
 .../src/main/generated/flattened-reduced-pom.xml   |41 +-
 .../generated/flattened-reduced-verbose-pom.xml|   155 +-
 6 files changed, 7552 insertions(+), 7501 deletions(-)



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

2024-03-18 Thread via GitHub


github-actions[bot] closed issue #2926: [CI] - Quarkus Main Branch Build Failure
URL: https://github.com/apache/camel-quarkus/issues/2926


-- 
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] - Quarkus Main Branch Build Failure [camel-quarkus]

2024-03-18 Thread via GitHub


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

   Build fixed with:
   
   * Camel Quarkus Commit: 14cbe21f6143f8610fa85dbec7382a25acf48653
   
   * Quarkus Main Commit: 7e299659231102b5a5e88336a023c8626cfd61ff
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/8336485336


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

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

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



(camel-kafka-connector) branch main updated: Updated CHANGELOG.md

2024-03-18 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-kafka-connector.git


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

commit 64bfe5af2818619eeb53a8ef8a8cf32d4d589367
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Mar 19 03:03:40 2024 +

Updated CHANGELOG.md
---
 CHANGELOG.md | 408 ---
 1 file changed, 408 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9cc84fb8b4..e584bbf3c1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,414 +8,6 @@
 
 - ERROR Exchange delivery has failed! Azure Gen2 Data Lake Sink Connector 
[\#1602](https://github.com/apache/camel-kafka-connector/issues/1602)
 
-**Merged pull requests:**
-
-- Bump peter-evans/create-pull-request from 6.0.0 to 6.0.1 
[\#1603](https://github.com/apache/camel-kafka-connector/pull/1603) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump peter-evans/create-pull-request from 5.0.2 to 6.0.0 
[\#1597](https://github.com/apache/camel-kafka-connector/pull/1597) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Removed CulpritsRecipientProvider and use DevelopersRecipientProvider… 
[\#1596](https://github.com/apache/camel-kafka-connector/pull/1596) 
([oscerd](https://github.com/oscerd))
-- Bump actions/cache from 3 to 4 
[\#1591](https://github.com/apache/camel-kafka-connector/pull/1591) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump actions/dependency-review-action from 3 to 4 
[\#1590](https://github.com/apache/camel-kafka-connector/pull/1590) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Added release automation for dist/dev svn and SBOM 
[\#1585](https://github.com/apache/camel-kafka-connector/pull/1585) 
([oscerd](https://github.com/oscerd))
-- Add SBOM generation profile and add it to release 
[\#1582](https://github.com/apache/camel-kafka-connector/pull/1582) 
([oscerd](https://github.com/oscerd))
-- Bump actions/upload-artifact from 3 to 4 
[\#1580](https://github.com/apache/camel-kafka-connector/pull/1580) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump actions/setup-java from 3 to 4 
[\#1578](https://github.com/apache/camel-kafka-connector/pull/1578) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump actions/checkout from 4.1.0 to 4.1.1 
[\#1572](https://github.com/apache/camel-kafka-connector/pull/1572) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump actions/checkout from 4.0.0 to 4.1.0 
[\#1567](https://github.com/apache/camel-kafka-connector/pull/1567) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Kamelets4 
[\#1566](https://github.com/apache/camel-kafka-connector/pull/1566) 
([valdar](https://github.com/valdar))
-- Bumped PMD version to 8.29 
[\#1564](https://github.com/apache/camel-kafka-connector/pull/1564) 
([valdar](https://github.com/valdar))
-- Camel 4 [\#1563](https://github.com/apache/camel-kafka-connector/pull/1563) 
([valdar](https://github.com/valdar))
-- Bump actions/checkout from 3.6.0 to 4.0.0 
[\#1562](https://github.com/apache/camel-kafka-connector/pull/1562) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump actions/checkout from 3.5.3 to 3.6.0 
[\#1559](https://github.com/apache/camel-kafka-connector/pull/1559) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Updated to camel 3.21.x 
[\#1556](https://github.com/apache/camel-kafka-connector/pull/1556) 
([valdar](https://github.com/valdar))
-- Bump peter-evans/create-pull-request from 5.0.1 to 5.0.2 
[\#1537](https://github.com/apache/camel-kafka-connector/pull/1537) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump actions/checkout from 3.4.0 to 3.5.3 
[\#1534](https://github.com/apache/camel-kafka-connector/pull/1534) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump peter-evans/create-pull-request from 4.2.4 to 5.0.1 
[\#1529](https://github.com/apache/camel-kafka-connector/pull/1529) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump actions/checkout from 3.3.0 to 3.4.0 
[\#1516](https://github.com/apache/camel-kafka-connector/pull/1516) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump peter-evans/create-pull-request from 4.2.3 to 4.2.4 
[\#1515](https://github.com/apache/camel-kafka-connector/pull/1515) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump actions/checkout from 3.2.0 to 3.3.0 
[\#1499](https://github.com/apache/camel-kafka-connector/pull/1499) 
([dependabot[bot]](https://github.com/apps/dependabot))
-- Bump to 3.20.0 
[\#1495](https://github.com/apache/camel-kafka-connector/pull/1495) 
([valdar](https://github.com/valdar))
-- Bump actions/checkout from 3.1.0 to 3.2.0 

(camel-k) branch release-2.2.x updated: chore: changelog automatic update

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

github-bot pushed a commit to branch release-2.2.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/release-2.2.x by this push:
 new 7ac804f95 chore: changelog automatic update
7ac804f95 is described below

commit 7ac804f95b4ed4f1a70be3a6d8182372d56626ba
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Mar 19 01:05:33 2024 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9d308eafa..7baecf907 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@
 - Builder property failure when using non xml tag characters 
[\#5195](https://github.com/apache/camel-k/issues/5195)
 - Error configuring property: camel.component.test\[1\]port\[80\]tcp.addr 
because cannot find component with name test\[1\]port\[80\]tcp. 
[\#5179](https://github.com/apache/camel-k/issues/5179)
 - Get environment variable value is empty in properties file 
[\#5178](https://github.com/apache/camel-k/issues/5178)
+- Install operator image according to the target architecture 
[\#5169](https://github.com/apache/camel-k/issues/5169)
 - Debug Integrations failing 
[\#5161](https://github.com/apache/camel-k/issues/5161)
 - Multiple crons at the same Integration do not run as expected 
[\#5158](https://github.com/apache/camel-k/issues/5158)
 - Kamel delete KameletBinding only removes integration resource 
[\#5156](https://github.com/apache/camel-k/issues/5156)



Re: [PR] chore(deps): bump github.com/onsi/gomega from 1.31.1 to 1.32.0 [camel-k]

2024-03-18 Thread via GitHub


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

   :heavy_check_mark: Unit test coverage report - coverage increased from 37.1% 
to 37.2% (**+0.1%**)


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

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

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



(camel-k) branch release-2.1.x updated: chore: changelog automatic update

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

github-bot pushed a commit to branch release-2.1.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/release-2.1.x by this push:
 new 2b317ff81 chore: changelog automatic update
2b317ff81 is described below

commit 2b317ff81e4ff63d55e5d822d0e9e85789fef901
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Mar 19 00:23:14 2024 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9d308eafa..7baecf907 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@
 - Builder property failure when using non xml tag characters 
[\#5195](https://github.com/apache/camel-k/issues/5195)
 - Error configuring property: camel.component.test\[1\]port\[80\]tcp.addr 
because cannot find component with name test\[1\]port\[80\]tcp. 
[\#5179](https://github.com/apache/camel-k/issues/5179)
 - Get environment variable value is empty in properties file 
[\#5178](https://github.com/apache/camel-k/issues/5178)
+- Install operator image according to the target architecture 
[\#5169](https://github.com/apache/camel-k/issues/5169)
 - Debug Integrations failing 
[\#5161](https://github.com/apache/camel-k/issues/5161)
 - Multiple crons at the same Integration do not run as expected 
[\#5158](https://github.com/apache/camel-k/issues/5158)
 - Kamel delete KameletBinding only removes integration resource 
[\#5156](https://github.com/apache/camel-k/issues/5156)



(camel-k) branch dependabot/go_modules/github.com/onsi/gomega-1.32.0 created (now 3d2c2a19e)

2024-03-18 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/onsi/gomega-1.32.0
in repository https://gitbox.apache.org/repos/asf/camel-k.git


  at 3d2c2a19e chore(deps): bump github.com/onsi/gomega from 1.31.1 to 
1.32.0

No new revisions were added by this update.



[PR] chore(deps): bump github.com/onsi/gomega from 1.31.1 to 1.32.0 [camel-k]

2024-03-18 Thread via GitHub


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

   Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.31.1 
to 1.32.0.
   
   Release notes
   Sourced from https://github.com/onsi/gomega/releases;>github.com/onsi/gomega's 
releases.
   
   v1.32.0
   1.32.0
   Maintenance
   
   
   Migrate github.com/golang/protobuf to google.golang.org/protobuf 
[436a197]
   This release drops the deprecated github.com/golang/protobuf and adopts 
google.golang.org/protobuf.  Care was taken to ensure the release is backwards 
compatible (thanks https://github.com/jbduncan;>@​jbduncan !).  Please open 
an issue if you run into one.
   
   
   chore: test with Go 1.22 (https://redirect.github.com/onsi/gomega/issues/733;>#733) 
[32ef35e]
   
   
   Bump golang.org/x/net from 0.19.0 to 0.20.0 (https://redirect.github.com/onsi/gomega/issues/717;>#717) 
[a0d0387]
   
   
   Bump github-pages and jekyll-feed in /docs (https://redirect.github.com/onsi/gomega/issues/732;>#732) 
[b71e477]
   
   
   docs: fix typo and broken anchor link to gstruct [f460154]
   
   
   docs: fix HaveEach matcher signature [a2862e4]
   
   
   
   
   
   Changelog
   Sourced from https://github.com/onsi/gomega/blob/master/CHANGELOG.md;>github.com/onsi/gomega's
 changelog.
   
   1.32.0
   Maintenance
   
   
   Migrate github.com/golang/protobuf to google.golang.org/protobuf 
[436a197]
   This release drops the deprecated github.com/golang/protobuf and adopts 
google.golang.org/protobuf.  Care was taken to ensure the release is backwards 
compatible (thanks https://github.com/jbduncan;>@​jbduncan !).  Please open 
an issue if you run into one.
   
   
   chore: test with Go 1.22 (https://redirect.github.com/onsi/gomega/issues/733;>#733) 
[32ef35e]
   
   
   Bump golang.org/x/net from 0.19.0 to 0.20.0 (https://redirect.github.com/onsi/gomega/issues/717;>#717) 
[a0d0387]
   
   
   Bump github-pages and jekyll-feed in /docs (https://redirect.github.com/onsi/gomega/issues/732;>#732) 
[b71e477]
   
   
   docs: fix typo and broken anchor link to gstruct [f460154]
   
   
   docs: fix HaveEach matcher signature [a2862e4]
   
   
   
   
   
   Commits
   
   https://github.com/onsi/gomega/commit/437995126acee58e6237f963913f54cb6386dd0a;>4379951
 v1.32.0
   https://github.com/onsi/gomega/commit/a350b95475d80b6139762e3ae405072a660ead1c;>a350b95
 Maintain source backwards compatibility
   https://github.com/onsi/gomega/commit/a6c8875c9101b27be67e57288b6bc95863f470ee;>a6c8875
 Fix failing test
   https://github.com/onsi/gomega/commit/436a197c11fbafe8f356f6e8bd2cc0e01bfc4324;>436a197
 Migrate github.com/golang/protobuf to google.golang.org/protobuf
   https://github.com/onsi/gomega/commit/32ef35ea6e233acc84502d9ec90c106aeec1615d;>32ef35e
 chore: test with Go 1.22 (https://redirect.github.com/onsi/gomega/issues/733;>#733)
   https://github.com/onsi/gomega/commit/a0d0387c676ecbc28ce60dd2c16dd7a6900d645e;>a0d0387
 Bump golang.org/x/net from 0.19.0 to 0.20.0 (https://redirect.github.com/onsi/gomega/issues/717;>#717)
   https://github.com/onsi/gomega/commit/b71e47766573f9c48c5b306a1afdd143b9f46e42;>b71e477
 Bump github-pages and jekyll-feed in /docs (https://redirect.github.com/onsi/gomega/issues/732;>#732)
   https://github.com/onsi/gomega/commit/f4601547eab6c872dabcd88064c50ba8eb5408cf;>f460154
 docs: fix typo and broken anchor link to gstruct
   https://github.com/onsi/gomega/commit/a2862e41f3f866e4d37c940a33e25827e504cfed;>a2862e4
 docs: fix HaveEach matcher signature
   See full diff in https://github.com/onsi/gomega/compare/v1.31.1...v1.32.0;>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/onsi/gomega=go_modules=1.31.1=1.32.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` 

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

2024-03-18 Thread via GitHub


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

   The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) 
branch build has failed:
   
   * Build ID: 8335398301-1322-017b8ccf-c248-4add-9651-2f9ee60c7c24
   * Camel Quarkus Commit: 02786cfa28a5ee8b2614c6bb99f056213ef6432d
   
   * Camel Main Commit: 7e299659231102b5a5e88336a023c8626cfd61ff
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/8335398301


-- 
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] Update simple-language.adoc [camel]

2024-03-18 Thread via GitHub


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

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


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

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

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



[PR] Update simple-language.adoc [camel]

2024-03-18 Thread via GitHub


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

   # Description
   Update simple-language.adoc, adding an example of a unary operator.
   
   
   # 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.
   
   
   
   - [ ] 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-k) branch main updated: chore: nightly automatic updates

2024-03-18 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 b61b3d7e4 chore: nightly automatic updates
b61b3d7e4 is described below

commit b61b3d7e41d70b6804c41ea2903a00d49e91bd48
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Mar 18 23:45:49 2024 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4df162b0b..315b50871 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@
 - Builder property failure when using non xml tag characters 
[\#5195](https://github.com/apache/camel-k/issues/5195)
 - Error configuring property: camel.component.test\[1\]port\[80\]tcp.addr 
because cannot find component with name test\[1\]port\[80\]tcp. 
[\#5179](https://github.com/apache/camel-k/issues/5179)
 - Get environment variable value is empty in properties file 
[\#5178](https://github.com/apache/camel-k/issues/5178)
+- Install operator image according to the target architecture 
[\#5169](https://github.com/apache/camel-k/issues/5169)
 - Debug Integrations failing 
[\#5161](https://github.com/apache/camel-k/issues/5161)
 - Multiple crons at the same Integration do not run as expected 
[\#5158](https://github.com/apache/camel-k/issues/5158)
 - Kamel delete KameletBinding only removes integration resource 
[\#5156](https://github.com/apache/camel-k/issues/5156)
@@ -64,6 +65,7 @@
 
 **Merged pull requests:**
 
+- Fix wrong Kamelet sample content 
[\#5255](https://github.com/apache/camel-k/pull/5255) 
([claudio4j](https://github.com/claudio4j))
 - Add Kamelet v1alpha1 sample 
[\#5254](https://github.com/apache/camel-k/pull/5254) 
([claudio4j](https://github.com/claudio4j))
 - chore\(ci\): Upgrade kind action to 2.0.4 
[\#5249](https://github.com/apache/camel-k/pull/5249) 
([gansheer](https://github.com/gansheer))
 - chore: propagate capabilities to Kit 
[\#5247](https://github.com/apache/camel-k/pull/5247) 
([squakez](https://github.com/squakez))



Re: [I] File name format and File Format in Azure Data Lake Sink Connector [camel-kafka-connector]

2024-03-18 Thread via GitHub


AishD3 commented on issue #1604:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1604#issuecomment-2004933354

   @oscerd I just have a small doubt, can you pls guide on this. 
   
   key.converter: io.confluent.connect.avro.AvroConverter
   value.converter: io.confluent.connect.avro.AvroConverter
   transforms: toavro
   transforms.toavro.converter.type: value
   transforms.toavro.type: 
org.apache.camel.kafkaconnector.transforms.SinkPojoToSchemaAndStructTransform
   transforms.toavro.camel.transformer.sink.pojo.class : 
   value.converter.enhanced.avro.schema.support: true
   connect.meta.data: false
   
   Above is configs with respect to converting to Avro, Here not sure what we 
need to pass as value for Pojo class. 


-- 
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/04: Fixup adding com.squareup.okhttp3:mockwebserver to camel-quarkus-bom

2024-03-18 Thread aldettinger
This is an automated email from the ASF dual-hosted git repository.

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

commit 9da812dfdc81b96903cb69f22e1c25e4d5f0bca6
Author: James Netherton 
AuthorDate: Mon Mar 18 08:04:24 2024 +

Fixup adding com.squareup.okhttp3:mockwebserver to camel-quarkus-bom

Fixes #5806
---
 poms/bom/pom.xml  |  7 +++
 poms/bom/src/main/generated/flattened-full-pom.xml|  6 ++
 poms/bom/src/main/generated/flattened-reduced-pom.xml | 11 +++
 poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 11 +++
 4 files changed, 35 insertions(+)

diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml
index 71e5d2be1c..4c4c9d93c3 100644
--- a/poms/bom/pom.xml
+++ b/poms/bom/pom.xml
@@ -6332,6 +6332,12 @@
 com.squareup.okhttp3
 mockwebserver
 ${okhttp.version}
+
+
+junit
+junit
+
+
 
 
 com.squareup.okio
@@ -7130,6 +7136,7 @@
 
xerces:xercesImpl
 
com.ibm.mq:com.ibm.mq.jakarta.client
 
com.ibm.icu:icu4j
+
com.squareup.okhttp3:mockwebserver
 
org.mapstruct:mapstruct-processor
 
 
diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml 
b/poms/bom/src/main/generated/flattened-full-pom.xml
index c90548e873..00ae7e8f30 100644
--- a/poms/bom/src/main/generated/flattened-full-pom.xml
+++ b/poms/bom/src/main/generated/flattened-full-pom.xml
@@ -6255,6 +6255,12 @@
 com.squareup.okhttp3
 mockwebserver
 4.12.0
+
+  
+junit
+junit
+  
+
   
   
 com.squareup.okio
diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml 
b/poms/bom/src/main/generated/flattened-reduced-pom.xml
index 6266b3ca5a..36e133540a 100644
--- a/poms/bom/src/main/generated/flattened-reduced-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml
@@ -6236,6 +6236,17 @@
 logging-interceptor
 4.12.0
   
+  
+com.squareup.okhttp3
+mockwebserver
+4.12.0
+
+  
+junit
+junit
+  
+
+  
   
 com.squareup.okio
 okio
diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml 
b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
index c8035dffb3..cdf8d9706c 100644
--- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
@@ -6236,6 +6236,17 @@
 logging-interceptor
 4.12.0
   
+  
+com.squareup.okhttp3
+mockwebserver
+4.12.0
+
+  
+junit
+junit
+  
+
+  
   
 com.squareup.okio
 okio



(camel-quarkus) branch 3.8.x updated (6580b175d9 -> c3a5391ca6)

2024-03-18 Thread aldettinger
This is an automated email from the ASF dual-hosted git repository.

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


from 6580b175d9 [maven-release-plugin] Set next development version 
3.8.2-SNAPSHOT
 new e3c8fece0e Update generated files after 3.8.1 release
 new 9da812dfdc Fixup adding com.squareup.okhttp3:mockwebserver to 
camel-quarkus-bom
 new 718a53003b Upgrade Debezium to 2.5.2.Final
 new c3a5391ca6 Upgrade quarkus-qpid-jms to 2.6.1

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


Summary of changes:
 docs/antora.yml| 2 +-
 .../org/apache/camel/component/qute/qute.json  | 2 +-
 pom.xml| 6 +-
 poms/bom/pom.xml   | 7 +
 poms/bom/src/main/generated/flattened-full-pom.xml | 16150 ++-
 .../src/main/generated/flattened-reduced-pom.xml   |  1355 +-
 .../generated/flattened-reduced-verbose-pom.xml|  1469 +-
 7 files changed, 9526 insertions(+), 9465 deletions(-)



(camel-quarkus) 03/04: Upgrade Debezium to 2.5.2.Final

2024-03-18 Thread aldettinger
This is an automated email from the ASF dual-hosted git repository.

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

commit 718a53003bf8a5d77f4316f138f4e29ebc63ec22
Author: James Netherton 
AuthorDate: Mon Mar 18 10:16:32 2024 +

Upgrade Debezium to 2.5.2.Final
---
 pom.xml|   2 +-
 poms/bom/src/main/generated/flattened-full-pom.xml | 427 ++---
 .../src/main/generated/flattened-reduced-pom.xml   |  26 +-
 .../generated/flattened-reduced-verbose-pom.xml| 126 +++---
 4 files changed, 283 insertions(+), 298 deletions(-)

diff --git a/pom.xml b/pom.xml
index 387fc281bf..2173b467a8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,7 +46,7 @@
 
camel-${camel.major.minor}.x
 
camel-spring-boot-${camel.major.minor}.x
 1.2.0
-2.5.0.Final 
 
2.12.1
 3.1.4
diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml 
b/poms/bom/src/main/generated/flattened-full-pom.xml
index 00ae7e8f30..732cef79d5 100644
--- a/poms/bom/src/main/generated/flattened-full-pom.xml
+++ b/poms/bom/src/main/generated/flattened-full-pom.xml
@@ -22548,9 +22548,9 @@
 25.1-jre-graal-sub-1
   
   
-org.apache.kafka
-connect-api
-3.6.1
+org.apache.kafka
+connect-api
+3.6.1
 
   
 javax.ws.rs
@@ -22559,352 +22559,337 @@
 
   
   
-org.apache.kafka
-connect-json
-3.6.1
+org.apache.kafka
+connect-json
+3.6.1
   
   
-org.apache.kafka
-connect-file
-3.6.1
+org.apache.kafka
+connect-file
+3.6.1
   
   
-org.apache.kafka
-connect-transforms
-3.6.1
+org.apache.kafka
+connect-transforms
+3.6.1
   
   
-org.apache.kafka
-kafka_2.13
-3.6.1
-test
+org.apache.kafka
+kafka_2.13
+3.6.1
+test
   
   
-io.confluent
-kafka-connect-avro-converter
-7.0.1
+io.confluent
+kafka-connect-avro-converter
+7.0.1
   
   
-io.confluent
-kafka-connect-protobuf-converter
-7.0.1
+io.confluent
+kafka-connect-protobuf-converter
+7.0.1
   
   
-io.apicurio
-apicurio-registry-utils-converter
-2.4.3.Final
+io.apicurio
+apicurio-registry-utils-converter
+2.4.3.Final
   
   
-com.zendesk
-mysql-binlog-connector-java
-0.29.0
+com.zendesk
+mysql-binlog-connector-java
+0.29.0
   
   
-mil.nga
-wkb
-1.0.2
+mil.nga
+wkb
+1.0.2
   
   
-com.oracle.instantclient
-xstreams
-21.6.0.0
+com.oracle.instantclient
+xstreams
+21.6.0.0
   
   
-com.ibm.informix
-jdbc
-4.50.10
+com.ibm.informix
+jdbc
+4.50.10
   
   
-com.ibm.informix
-ifx-changestream-client
-1.1.3
+com.ibm.informix
+ifx-changestream-client
+1.1.3
   
   
-ch.qos.logback
-logback-classic
-1.2.13
+ch.qos.logback
+logback-classic
+1.2.13
   
   
-org.codehaus.groovy
-groovy
-3.0.7
+io.vitess
+vitess-grpc-client
+17.0.0
   
   
-org.codehaus.groovy
-groovy-json
-3.0.7
+org.apache.cassandra
+cassandra-all
+3.11.12
   
   
-org.codehaus.groovy
-groovy-jsr223
-3.0.7
+com.datastax.cassandra
+cassandra-driver-core
+4.14.0
   
   
-io.vitess
-vitess-grpc-client
-17.0.0
+io.dropwizard.metrics
+metrics-core
+4.0.1
   
   
-org.apache.cassandra
-cassandra-all
-3.11.12
+io.dropwizard.metrics
+metrics-healthchecks
+4.0.1
   
   
-com.datastax.cassandra
-cassandra-driver-core
-4.14.0
+io.dropwizard.metrics
+metrics-servlets
+4.0.1
   
   
-io.dropwizard.metrics
-metrics-core
-4.0.1
+org.eclipse.jetty
+jetty-servlet
+9.4.12.v20180830
   
   
-io.dropwizard.metrics
-metrics-healthchecks
-4.0.1
+javax.xml.bind
+jaxb-api
+2.3.1
   
   
-io.dropwizard.metrics
-metrics-servlets
-4.0.1
+org.infinispan
+infinispan-core-jakarta
+14.0.20.Final
   
   
-org.eclipse.jetty
-jetty-servlet
-9.4.12.v20180830
+

Re: [PR] [3.8.x] Backports [camel-quarkus]

2024-03-18 Thread via GitHub


aldettinger merged PR #5892:
URL: https://github.com/apache/camel-quarkus/pull/5892


-- 
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 (abf1b8345c7 -> fdf997b5938)

2024-03-18 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 abf1b8345c7 CAMEL-20477: startup reliability test needs a fully clean 
runtime to run reliably
 add fdf997b5938 catalog: make catalog more type safe

No new revisions were added by this update.

Summary of changes:
 .../apache/camel/catalog/DefaultCamelCatalog.java  |  75 +++---
 .../catalog/impl/AbstractCachingCamelCatalog.java  | 110 +
 .../camel/catalog/impl/AbstractCamelCatalog.java   |   1 -
 .../catalog/impl/DefaultRuntimeCamelCatalog.java   |  50 ++
 .../org/apache/camel/tooling/model/BaseModel.java  |   2 +-
 .../apache/camel/tooling/model/ComponentModel.java |   4 +-
 .../camel/tooling/model/DataFormatModel.java   |   4 +-
 .../camel/tooling/model/DevConsoleModel.java   |   4 +-
 .../org/apache/camel/tooling/model/EipModel.java   |   4 +-
 .../java/org/apache/camel/tooling/model/Kind.java  |  28 +-
 .../apache/camel/tooling/model/LanguageModel.java  |   4 +-
 .../org/apache/camel/tooling/model/OtherModel.java |   4 +-
 .../camel/tooling/model/TransformerModel.java  |   4 +-
 13 files changed, 177 insertions(+), 117 deletions(-)
 create mode 100644 
core/camel-core-catalog/src/main/java/org/apache/camel/catalog/impl/AbstractCachingCamelCatalog.java



(camel) branch main updated: catalog: make catalog more type safe

2024-03-18 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

lburgazzoli 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 fdf997b5938 catalog: make catalog more type safe
fdf997b5938 is described below

commit fdf997b5938b76b5b4bd893f9bd76ae7d8c42773
Author: Luca Burgazzoli 
AuthorDate: Mon Mar 18 13:48:16 2024 +0100

catalog: make catalog more type safe
---
 .../apache/camel/catalog/DefaultCamelCatalog.java  |  75 +++---
 .../catalog/impl/AbstractCachingCamelCatalog.java  | 110 +
 .../camel/catalog/impl/AbstractCamelCatalog.java   |   1 -
 .../catalog/impl/DefaultRuntimeCamelCatalog.java   |  50 ++
 .../org/apache/camel/tooling/model/BaseModel.java  |   2 +-
 .../apache/camel/tooling/model/ComponentModel.java |   4 +-
 .../camel/tooling/model/DataFormatModel.java   |   4 +-
 .../camel/tooling/model/DevConsoleModel.java   |   4 +-
 .../org/apache/camel/tooling/model/EipModel.java   |   4 +-
 .../java/org/apache/camel/tooling/model/Kind.java  |  28 +-
 .../apache/camel/tooling/model/LanguageModel.java  |   4 +-
 .../org/apache/camel/tooling/model/OtherModel.java |   4 +-
 .../camel/tooling/model/TransformerModel.java  |   4 +-
 13 files changed, 177 insertions(+), 117 deletions(-)

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 0d4e0b1a4a4..58fe3b1dbde 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
@@ -33,7 +33,7 @@ import java.util.function.Supplier;
 import java.util.regex.PatternSyntaxException;
 import java.util.stream.Stream;
 
-import org.apache.camel.catalog.impl.AbstractCamelCatalog;
+import org.apache.camel.catalog.impl.AbstractCachingCamelCatalog;
 import org.apache.camel.catalog.impl.CatalogHelper;
 import org.apache.camel.tooling.model.ArtifactModel;
 import org.apache.camel.tooling.model.BaseModel;
@@ -56,7 +56,7 @@ import org.apache.camel.util.json.Jsoner;
 /**
  * Default {@link CamelCatalog}.
  */
-public class DefaultCamelCatalog extends AbstractCamelCatalog implements 
CamelCatalog {
+public class DefaultCamelCatalog extends AbstractCachingCamelCatalog 
implements CamelCatalog {
 
 private static final String MODELS_CATALOG = 
"org/apache/camel/catalog/models.properties";
 private static final String SCHEMAS_XML = 
"org/apache/camel/catalog/schemas";
@@ -99,10 +99,6 @@ public class DefaultCamelCatalog extends 
AbstractCamelCatalog implements CamelCa
 private final Map extraDataFormats = new HashMap<>();
 private final Map extraDataFormatsJSonSchema = new 
HashMap<>();
 
-// cache of operation -> result
-private final Map cache = new HashMap<>();
-
-private boolean caching;
 private VersionManager versionManager = new DefaultVersionManager(this);
 private RuntimeProvider runtimeProvider = new DefaultRuntimeProvider(this);
 
@@ -119,7 +115,8 @@ public class DefaultCamelCatalog extends 
AbstractCamelCatalog implements CamelCa
  * @param caching whether to use cache
  */
 public DefaultCamelCatalog(boolean caching) {
-this.caching = caching;
+super(caching);
+
 setJSonSchemaResolver(new CamelCatalogJSonSchemaResolver(
 this, extraComponents, extraComponentsJSonSchema, 
extraDataFormats, extraDataFormatsJSonSchema));
 }
@@ -136,17 +133,17 @@ public class DefaultCamelCatalog extends 
AbstractCamelCatalog implements CamelCa
 this.runtimeProvider.setCamelCatalog(this);
 
 // invalidate the cache
-cache.clear();
+super.clearCache();
 }
 
 @Override
 public void enableCache() {
-caching = true;
+super.setCaching(true);
 }
 
 @Override
 public boolean isCaching() {
-return caching;
+return super.isCaching();
 }
 
 @Override
@@ -163,11 +160,11 @@ public class DefaultCamelCatalog extends 
AbstractCamelCatalog implements CamelCa
 public void addComponent(String name, String className) {
 extraComponents.put(name, className);
 // invalidate the cache
-cache.remove(FIND_COMPONENT_NAMES);
-cache.remove(FIND_COMPONENT_LABELS);
-cache.remove(LIST_COMPONENTS_AS_JSON);
+getCache().remove(FIND_COMPONENT_NAMES);
+getCache().remove(FIND_COMPONENT_LABELS);
+getCache().remove(LIST_COMPONENTS_AS_JSON);
 
-cache.remove(SUMMARY_AS_JSON);
+getCache().remove(SUMMARY_AS_JSON);
 }
 
 @Override
@@ -182,11 +179,11 @@ public class DefaultCamelCatalog extends 
AbstractCamelCatalog implements CamelCa
 public void addDataFormat(String name, String className) {
 

Re: [PR] catalog: make catalog more type safe [camel]

2024-03-18 Thread via GitHub


lburgazzoli merged PR #13518:
URL: https://github.com/apache/camel/pull/13518


-- 
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 (81358a64cf9 -> abf1b8345c7)

2024-03-18 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 81358a64cf9 (chores) camel-kafka: increase fork timeout to prevent 
failures due to long-running tests
 add d4065543906 CAMEL-20477: try to fix flakiness on AsyncJmsProducerTest
 add 6a3a3d62ba7 CAMEL-20477: try to fix flakiness on 
TemporaryQueueRouteTest
 add 3d24f15edca CAMEL-20477: only use a persistent broker if needed by the 
test
 add cda13fe CAMEL-20477: rework overly fragile test
 add a376bc91483 CAMEL-20477: try to fix flakiness on 
JmsInOutRoutingSlipTest
 add 89674b561ea CAMEL-20477: rework the multiple consumer tests
 add d20172ff809 CAMEL-20477: allow using a fixed port for the Artemis VM 
service
 add abf1b8345c7 CAMEL-20477: startup reliability test needs a fully clean 
runtime to run reliably

No new revisions were added by this update.

Summary of changes:
 components/camel-jms/pom.xml   | 14 -
 .../jms/JmsDefaultTaskExecutorTypeTest.java|  2 +-
 .../camel/component/jms/JmsDeliveryDelayTest.java  | 41 ++---
 ...est.java => JmsMultipleConsumersQueueTest.java} | 69 +-
 ...est.java => JmsMultipleConsumersTopicTest.java} | 64 +---
 .../component/jms/async/AsyncJmsProducerTest.java  | 31 +++---
 .../jms/issues/JmsInOutRoutingSlipTest.java| 13 ++--
 ...tReplyTemporaryRefreshFailureOnStartupTest.java | 37 +---
 .../jms/temp/TemporaryQueueRouteTest.java  |  8 +--
 .../infra/artemis/services/ArtemisVMService.java   | 12 
 10 files changed, 177 insertions(+), 114 deletions(-)
 copy 
components/camel-jms/src/test/java/org/apache/camel/component/jms/{JmsMultipleConsumersTest.java
 => JmsMultipleConsumersQueueTest.java} (63%)
 rename 
components/camel-jms/src/test/java/org/apache/camel/component/jms/{JmsMultipleConsumersTest.java
 => JmsMultipleConsumersTopicTest.java} (68%)



Re: [PR] CAMEL-16660 - Hazelcast : tests : create camel-test-infra-Hazelcast. [camel]

2024-03-18 Thread via GitHub


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

   @VaishnaviR18 when you get a chance, can you please rebase the code so we 
can merge? Thanks!


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

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

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



(camel) 07/08: CAMEL-20477: allow using a fixed port for the Artemis VM service

2024-03-18 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 d20172ff8098fa5e9f3b65b07154ad36950de08e
Author: Otavio Rodolfo Piske 
AuthorDate: Mon Mar 18 17:41:25 2024 +0100

CAMEL-20477: allow using a fixed port for the Artemis VM service
---
 .../camel/test/infra/artemis/services/ArtemisVMService.java  | 12 
 1 file changed, 12 insertions(+)

diff --git 
a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisVMService.java
 
b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisVMService.java
index 6a916cef8a3..748a7e8b14e 100644
--- 
a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisVMService.java
+++ 
b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisVMService.java
@@ -30,11 +30,23 @@ public class ArtemisVMService extends 
AbstractArtemisEmbeddedService {
 
 private String brokerURL;
 
+public ArtemisVMService() {
+}
+
+protected ArtemisVMService(int port) {
+super(port);
+}
+
 /**
  * This class should rarely be used. It is intended for some tests that 
check for reliability operations and require
  * using the same broker ID between start/stop cycles.
  */
 public static class ReusableArtemisVMService extends ArtemisVMService {
+
+public ReusableArtemisVMService(int port) {
+super(port);
+}
+
 @Override
 protected int computeBrokerId() {
 return 0;



(camel) 03/08: CAMEL-20477: only use a persistent broker if needed by the test

2024-03-18 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 3d24f15edca306e992fae3d7af925a29ffae81c4
Author: Otavio Rodolfo Piske 
AuthorDate: Mon Mar 18 09:52:15 2024 +0100

CAMEL-20477: only use a persistent broker if needed by the test
---
 .../org/apache/camel/component/jms/JmsDefaultTaskExecutorTypeTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDefaultTaskExecutorTypeTest.java
 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDefaultTaskExecutorTypeTest.java
index f7071976ecc..b104ccd8481 100644
--- 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDefaultTaskExecutorTypeTest.java
+++ 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDefaultTaskExecutorTypeTest.java
@@ -57,7 +57,7 @@ class JmsDefaultTaskExecutorTypeTest extends CamelTestSupport 
{
 private static final Logger LOG = 
LoggerFactory.getLogger(JmsDefaultTaskExecutorTypeTest.class);
 
 @RegisterExtension
-public static ArtemisService service = 
ArtemisServiceFactory.createPersistentVMService();
+public static ArtemisService service = 
ArtemisServiceFactory.createVMService();
 
 @Test
 void testThreadPoolTaskExecutor() throws Exception {



(camel) 06/08: CAMEL-20477: rework the multiple consumer tests

2024-03-18 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 89674b561ea611d93eb7475d7e8f2a062a396e24
Author: Otavio Rodolfo Piske 
AuthorDate: Mon Mar 18 14:37:37 2024 +0100

CAMEL-20477: rework the multiple consumer tests

- ensure the tests wait for the connections to be established before trying 
to send data (which would fail)
- split topic/queue tests
- follow the current patterns for defining routes
- add logs for easier debug in the future
---
 ...est.java => JmsMultipleConsumersQueueTest.java} | 69 +-
 ...est.java => JmsMultipleConsumersTopicTest.java} | 64 +---
 2 files changed, 56 insertions(+), 77 deletions(-)

diff --git 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsMultipleConsumersTest.java
 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsMultipleConsumersQueueTest.java
similarity index 63%
copy from 
components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsMultipleConsumersTest.java
copy to 
components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsMultipleConsumersQueueTest.java
index 6aaf1441187..592aa312220 100644
--- 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsMultipleConsumersTest.java
+++ 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsMultipleConsumersQueueTest.java
@@ -23,16 +23,15 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.infra.core.CamelContextExtension;
 import org.apache.camel.test.infra.core.TransientCamelContextExtension;
+import org.awaitility.Awaitility;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Order;
 import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.TestInstance;
 import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.junit.jupiter.api.extension.RegisterExtension;
 
-@TestInstance(TestInstance.Lifecycle.PER_METHOD)
 @DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", 
disabledReason = "Flaky on Github CI")
-public class JmsMultipleConsumersTest extends AbstractJMSTest {
+public class JmsMultipleConsumersQueueTest extends AbstractJMSTest {
 
 @Order(2)
 @RegisterExtension
@@ -42,44 +41,11 @@ public class JmsMultipleConsumersTest extends 
AbstractJMSTest {
 protected ConsumerTemplate consumer;
 
 @Test
-public void testMultipleConsumersTopic() throws Exception {
-context.addRoutes(new RouteBuilder() {
-@Override
-public void configure() {
-from("jms:topic:JmsMultipleConsumersTest").to("mock:foo");
-
-from("direct:JmsMultipleConsumersTest").to("mock:result");
-
-from("jms:topic:JmsMultipleConsumersTest").to("mock:bar");
-}
-});
-
-getMockEndpoint("mock:foo").expectedMessageCount(1);
-getMockEndpoint("mock:bar").expectedMessageCount(1);
-getMockEndpoint("mock:result").expectedMessageCount(0);
-
-template.sendBody("jms:topic:JmsMultipleConsumersTest", "Hello World");
-
-MockEndpoint.assertIsSatisfied(context);
-}
-
-@Test
-public void testMultipleConsumersQueue() throws Exception {
-context.addRoutes(new RouteBuilder() {
-@Override
-public void configure() {
-from("jms:queue:JmsMultipleConsumersTest").to("mock:result");
-
-from("direct:JmsMultipleConsumersTest").to("mock:result");
-
-from("jms:queue:JmsMultipleConsumersTest").to("mock:result");
-}
-});
-
+public void testMultipleConsumers() throws Exception {
 getMockEndpoint("mock:result").expectedMessageCount(2);
 
-template.sendBody("jms:queue:JmsMultipleConsumersTest", "Hello World");
-template.sendBody("jms:queue:JmsMultipleConsumersTest", "Bye World");
+template.sendBody("jms:queue:JmsMultipleConsumersQueueTest", "Hello 
World");
+template.sendBody("jms:queue:JmsMultipleConsumersQueueTest", "Bye 
World");
 
 MockEndpoint.assertIsSatisfied(context);
 }
@@ -91,7 +57,22 @@ public class JmsMultipleConsumersTest extends 
AbstractJMSTest {
 
 @Override
 protected RouteBuilder createRouteBuilder() {
-return null;
+return new RouteBuilder() {
+@Override
+public void configure() {
+from("jms:queue:JmsMultipleConsumersQueueTest")
+.routeId("route-1")
+.to("mock:result");
+
+from("direct:JmsMultipleConsumersQueueTest")
+.routeId("route-2")
+.to("mock:result");
+
+from("jms:queue:JmsMultipleConsumersQueueTest")
+

(camel) 05/08: CAMEL-20477: try to fix flakiness on JmsInOutRoutingSlipTest

2024-03-18 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 a376bc9148331f5fc8454792502ce4e930e7546b
Author: Otavio Rodolfo Piske 
AuthorDate: Mon Mar 18 10:17:28 2024 +0100

CAMEL-20477: try to fix flakiness on JmsInOutRoutingSlipTest

- Setup mocks in advance
- Use a transient extension to allow repeating the test and ensure a clean 
test context
- Repeat the test more often
---
 .../camel/component/jms/issues/JmsInOutRoutingSlipTest.java | 13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsInOutRoutingSlipTest.java
 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsInOutRoutingSlipTest.java
index 73506578075..220c33e6415 100644
--- 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsInOutRoutingSlipTest.java
+++ 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsInOutRoutingSlipTest.java
@@ -24,27 +24,30 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.jms.AbstractJMSTest;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.infra.core.CamelContextExtension;
-import org.apache.camel.test.infra.core.DefaultCamelContextExtension;
+import org.apache.camel.test.infra.core.TransientCamelContextExtension;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Order;
-import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.RepeatedTest;
 import org.junit.jupiter.api.extension.RegisterExtension;
 
 public class JmsInOutRoutingSlipTest extends AbstractJMSTest {
 
 @Order(2)
 @RegisterExtension
-public static CamelContextExtension camelContextExtension = new 
DefaultCamelContextExtension();
+public static CamelContextExtension camelContextExtension = new 
TransientCamelContextExtension();
 protected CamelContext context;
 protected ProducerTemplate template;
 protected ConsumerTemplate consumer;
 
-@Test
-public void testJmsInOutRoutingSlip() throws Exception {
+@BeforeEach
+void setupMocks() {
 
getMockEndpoint("mock:JmsInOutRoutingSlipTest.foo").expectedBodiesReceived("World");
 
getMockEndpoint("mock:JmsInOutRoutingSlipTest.result").expectedBodiesReceived("Bye
 World");
 getMockEndpoint("mock:end").expectedBodiesReceived("Bye World");
+}
 
+@RepeatedTest(5)
+public void testJmsInOutRoutingSlip() throws Exception {
 
template.sendBodyAndHeader("activemq:queue:JmsInOutRoutingSlipTest.start", 
"World", "slip",
 
"activemq:queue:JmsInOutRoutingSlipTest.foo,activemq:queue:JmsInOutRoutingSlipTest.result");
 



(camel) 04/08: CAMEL-20477: rework overly fragile test

2024-03-18 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 cda13fef47ef8a0e8d193fb27de4dbca057a
Author: Otavio Rodolfo Piske 
AuthorDate: Mon Mar 18 09:53:52 2024 +0100

CAMEL-20477: rework overly fragile test

- ensure the tests wait for the connections to be established before trying 
to send data (which would fail)
- use separate endpoints for each test
- add logs for easier debug in the future
---
 .../camel/component/jms/JmsDeliveryDelayTest.java  | 41 +-
 1 file changed, 33 insertions(+), 8 deletions(-)

diff --git 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDeliveryDelayTest.java
 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDeliveryDelayTest.java
index fb70af7ed23..a7d4214a6a1 100644
--- 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDeliveryDelayTest.java
+++ 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDeliveryDelayTest.java
@@ -22,10 +22,16 @@ import java.util.concurrent.TimeUnit;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.util.StopWatch;
+import org.awaitility.Awaitility;
 import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.MethodOrderer;
+import org.junit.jupiter.api.Order;
 import org.junit.jupiter.api.Tag;
 import org.junit.jupiter.api.Tags;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestMethodOrder;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -39,18 +45,27 @@ import static org.junit.jupiter.api.Assertions.fail;
  * bugs which is why we keep them here.
  */
 @Tags({ @Tag("not-parallel") })
+@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
 public class JmsDeliveryDelayTest extends AbstractPersistentJMSTest {
+private static final Logger LOG = 
LoggerFactory.getLogger(JmsDeliveryDelayTest.class);
 
 private CountDownLatch routeComplete;
 private final StopWatch routeWatch = new StopWatch();
 
+@BeforeEach
+void waitForConnections() {
+Awaitility.await().until(() -> 
context.getRoute("route-1").getUptimeMillis() > 100);
+Awaitility.await().until(() -> 
context.getRoute("route-2").getUptimeMillis() > 100);
+}
+
+@Order(1)
 @Test
 void testInOnlyWithDelay() throws Exception {
 MockEndpoint mock = getMockEndpoint("mock:result");
-mock.expectedBodiesReceived("Hello World");
+mock.expectedBodiesReceived("Hello World from testInOnlyWithDelay");
 
 routeWatch.restart();
-
template.sendBody("activemq:topic:JmsDeliveryDelayTest?deliveryDelay=1000", 
"Hello World");
+
template.sendBody("activemq:topic:JmsDeliveryDelayTest1?deliveryDelay=1000", 
"Hello World from testInOnlyWithDelay");
 if (!routeComplete.await(5000, TimeUnit.MILLISECONDS)) {
 fail("Message was not received from Artemis topic for too long");
 }
@@ -60,16 +75,17 @@ public class JmsDeliveryDelayTest extends 
AbstractPersistentJMSTest {
 assertTrue(routeWatch.taken() >= 900, "Should take at least 1000 
millis");
 }
 
+@Order(2)
 @Test
 void testInOutWithDelay() throws Exception {
 MockEndpoint mock = getMockEndpoint("mock:result");
-mock.expectedBodiesReceived("Hello World");
+mock.expectedBodiesReceived("Hello World 2");
 
 routeWatch.restart();
-var response = 
template.requestBody("activemq:topic:JmsDeliveryDelayTest?deliveryDelay=1000", 
"Hello World");
+var response = 
template.requestBody("activemq:topic:JmsDeliveryDelayTest2?deliveryDelay=1000", 
"Hello World 2");
 
 MockEndpoint.assertIsSatisfied(context);
-assertEquals(response, "Hello World");
+assertEquals(response, "Hello World 2");
 // give some slack
 assertTrue(routeWatch.taken() >= 900, "Should take at least 1000 
millis");
 }
@@ -84,9 +100,18 @@ public class JmsDeliveryDelayTest extends 
AbstractPersistentJMSTest {
 return new RouteBuilder() {
 @Override
 public void configure() {
-from("activemq:topic:JmsDeliveryDelayTest")
-.to("mock:result")
-.process(exchange -> routeComplete.countDown());
+from("activemq:topic:JmsDeliveryDelayTest1")
+.routeId("route-1")
+.process(exchange -> LOG.info("Received from 
JmsDeliveryDelayTest1: {}",
+exchange.getMessage().getBody()))
+.process(exchange -> routeComplete.countDown())
+.to("mock:result");
+
+

(camel) 08/08: CAMEL-20477: startup reliability test needs a fully clean runtime to run reliably

2024-03-18 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 abf1b8345c7f4333e2562ed0a901eee7f6ced050
Author: Otavio Rodolfo Piske 
AuthorDate: Mon Mar 18 17:43:24 2024 +0100

CAMEL-20477: startup reliability test needs a fully clean runtime to run 
reliably
---
 components/camel-jms/pom.xml   | 14 +++-
 ...tReplyTemporaryRefreshFailureOnStartupTest.java | 37 --
 2 files changed, 41 insertions(+), 10 deletions(-)

diff --git a/components/camel-jms/pom.xml b/components/camel-jms/pom.xml
index 361601263f8..697e3e9669b 100644
--- a/components/camel-jms/pom.xml
+++ b/components/camel-jms/pom.xml
@@ -194,7 +194,7 @@
 test
 
 
-
not-parallel
+
not-parallel,exclusive
 
 
 
@@ -205,6 +205,18 @@
 
 4
 not-parallel
+exclusive
+
+
+
+exclusive-test
+
+test
+
+
+2
+false
+exclusive
 
 
 
diff --git 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsRequestReplyTemporaryRefreshFailureOnStartupTest.java
 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsRequestReplyTemporaryRefreshFailureOnStartupTest.java
index 6164e47b8f0..1891af2eec8 100644
--- 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsRequestReplyTemporaryRefreshFailureOnStartupTest.java
+++ 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsRequestReplyTemporaryRefreshFailureOnStartupTest.java
@@ -25,6 +25,7 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.ExchangePattern;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.test.AvailablePortFinder;
 import org.apache.camel.test.infra.artemis.services.ArtemisService;
 import org.apache.camel.test.infra.artemis.services.ArtemisVMService;
 import org.apache.camel.test.junit5.CamelTestSupport;
@@ -41,25 +42,35 @@ import org.junit.jupiter.api.TestMethodOrder;
 import static 
org.apache.camel.component.jms.JmsComponent.jmsComponentAutoAcknowledge;
 
 @TestMethodOrder(MethodOrderer.OrderAnnotation.class)
-@Tags({ @Tag("not-parallel") })
+@Tags({ @Tag("exclusive") })
 public final class JmsRequestReplyTemporaryRefreshFailureOnStartupTest extends 
CamelTestSupport {
 
-public static ArtemisService service = new 
ArtemisVMService.ReusableArtemisVMService();
+private static final int PORT = AvailablePortFinder.getNextAvailable();
+public static ArtemisService service = new 
ArtemisVMService.ReusableArtemisVMService(PORT);
 
 private final Long recoveryInterval = 1000L;
 
 @Override
 protected CamelContext createCamelContext() throws Exception {
-service.initialize();
+createBroker();
+final String address = service.serviceAddress();
+destroyBroker();
 
 CamelContext camelContext = super.createCamelContext();
-
-ConnectionFactory connectionFactory = new 
ActiveMQConnectionFactory(service.serviceAddress());
+ConnectionFactory connectionFactory = new 
ActiveMQConnectionFactory(address);
 camelContext.addComponent("jms", 
jmsComponentAutoAcknowledge(connectionFactory));
 
+return camelContext;
+}
+
+private static void destroyBroker() {
 service.shutdown();
+service = null;
+}
 
-return camelContext;
+private static void createBroker() {
+service = new ArtemisVMService.ReusableArtemisVMService(PORT);
+service.initialize();
 }
 
 @Override
@@ -68,12 +79,14 @@ public final class 
JmsRequestReplyTemporaryRefreshFailureOnStartupTest extends C
 @Override
 public void configure() {
 from("direct:start")
+.routeId("route-1")
 .to(ExchangePattern.InOut,
 
"jms:queue:JmsRequestReplyTemporaryRefreshFailureOnStartupTest?recoveryInterval="
+ recoveryInterval)
 .to("mock:result");
 
 

(camel) 01/08: CAMEL-20477: try to fix flakiness on AsyncJmsProducerTest

2024-03-18 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 d4065543906245eef1c9a9aad2f0ac2dc588f4ea
Author: Otavio Rodolfo Piske 
AuthorDate: Mon Mar 18 09:37:42 2024 +0100

CAMEL-20477: try to fix flakiness on AsyncJmsProducerTest

- Setup mocks in advance
- Use a transient extension to allow repeating the test and ensure a clean 
test context
- Repeat the test more often
---
 .../component/jms/async/AsyncJmsProducerTest.java  | 31 +++---
 1 file changed, 22 insertions(+), 9 deletions(-)

diff --git 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/async/AsyncJmsProducerTest.java
 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/async/AsyncJmsProducerTest.java
index 7ff9c58d824..50ad07105b4 100644
--- 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/async/AsyncJmsProducerTest.java
+++ 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/async/AsyncJmsProducerTest.java
@@ -23,10 +23,10 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.jms.AbstractJMSTest;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.infra.core.CamelContextExtension;
-import org.apache.camel.test.infra.core.DefaultCamelContextExtension;
+import org.apache.camel.test.infra.core.TransientCamelContextExtension;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Order;
-import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.RepeatedTest;
 import org.junit.jupiter.api.extension.RegisterExtension;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -36,23 +36,36 @@ public class AsyncJmsProducerTest extends AbstractJMSTest {
 
 @Order(2)
 @RegisterExtension
-public static CamelContextExtension camelContextExtension = new 
DefaultCamelContextExtension();
+public static CamelContextExtension camelContextExtension = new 
TransientCamelContextExtension();
 private static String beforeThreadName;
 private static String afterThreadName;
 protected CamelContext context;
 protected ProducerTemplate template;
 protected ConsumerTemplate consumer;
 
-@Test
-public void testAsyncEndpoint() throws Exception {
-getMockEndpoint("mock:before").expectedBodiesReceived("Hello Camel");
-getMockEndpoint("mock:after").expectedBodiesReceived("Bye Camel");
-getMockEndpoint("mock:result").expectedBodiesReceived("Bye Camel");
+private MockEndpoint mockBefore;
+private MockEndpoint mockAfter;
+private MockEndpoint mockResult;
+
+@BeforeEach
+void setupMocks() {
+mockBefore = getMockEndpoint("mock:before");
+mockAfter = getMockEndpoint("mock:after");
+mockResult = getMockEndpoint("mock:result");
 
+mockBefore.expectedBodiesReceived("Hello Camel");
+mockAfter.expectedBodiesReceived("Bye Camel");
+mockResult.expectedBodiesReceived("Bye Camel");
+}
+
+@RepeatedTest(5)
+public void testAsyncEndpoint() throws Exception {
 String reply = template.requestBody("direct:start", "Hello Camel", 
String.class);
 assertEquals("Bye Camel", reply);
 
-MockEndpoint.assertIsSatisfied(context);
+mockBefore.assertIsSatisfied();
+mockAfter.assertIsSatisfied();
+mockResult.assertIsSatisfied();
 
 assertFalse(beforeThreadName.equalsIgnoreCase(afterThreadName), 
"Should use different threads");
 }



(camel) 02/08: CAMEL-20477: try to fix flakiness on TemporaryQueueRouteTest

2024-03-18 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 6a3a3d62ba7649cadbf3e79dc79a6ae473836ca4
Author: Otavio Rodolfo Piske 
AuthorDate: Mon Mar 18 09:49:21 2024 +0100

CAMEL-20477: try to fix flakiness on TemporaryQueueRouteTest

- Repeat the test more often
- Use a transient extension to ensure a cleaner test context after every 
execution
---
 .../apache/camel/component/jms/temp/TemporaryQueueRouteTest.java  | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/TemporaryQueueRouteTest.java
 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/TemporaryQueueRouteTest.java
index 16a12153db2..dd8be2e3d3a 100644
--- 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/TemporaryQueueRouteTest.java
+++ 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/TemporaryQueueRouteTest.java
@@ -23,10 +23,10 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.jms.AbstractJMSTest;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.infra.core.CamelContextExtension;
-import org.apache.camel.test.infra.core.DefaultCamelContextExtension;
+import org.apache.camel.test.infra.core.TransientCamelContextExtension;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Order;
-import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.RepeatedTest;
 import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.junit.jupiter.api.extension.RegisterExtension;
 
@@ -34,13 +34,13 @@ import org.junit.jupiter.api.extension.RegisterExtension;
 public class TemporaryQueueRouteTest extends AbstractJMSTest {
 @Order(2)
 @RegisterExtension
-public static CamelContextExtension camelContextExtension = new 
DefaultCamelContextExtension();
+public static CamelContextExtension camelContextExtension = new 
TransientCamelContextExtension();
 protected final String endpointUri = 
"activemq:temp-queue:TemporaryQueueRouteTest";
 protected CamelContext context;
 protected ProducerTemplate template;
 protected ConsumerTemplate consumer;
 
-@Test
+@RepeatedTest(5)
 public void testSendMessage() throws Exception {
 MockEndpoint endpoint = getMockEndpoint("mock:result");
 endpoint.expectedBodiesReceived("Hello World");



(camel) branch main updated (81358a64cf9 -> abf1b8345c7)

2024-03-18 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 81358a64cf9 (chores) camel-kafka: increase fork timeout to prevent 
failures due to long-running tests
 new d4065543906 CAMEL-20477: try to fix flakiness on AsyncJmsProducerTest
 new 6a3a3d62ba7 CAMEL-20477: try to fix flakiness on 
TemporaryQueueRouteTest
 new 3d24f15edca CAMEL-20477: only use a persistent broker if needed by the 
test
 new cda13fe CAMEL-20477: rework overly fragile test
 new a376bc91483 CAMEL-20477: try to fix flakiness on 
JmsInOutRoutingSlipTest
 new 89674b561ea CAMEL-20477: rework the multiple consumer tests
 new d20172ff809 CAMEL-20477: allow using a fixed port for the Artemis VM 
service
 new abf1b8345c7 CAMEL-20477: startup reliability test needs a fully clean 
runtime to run reliably

The 8 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:
 components/camel-jms/pom.xml   | 14 -
 .../jms/JmsDefaultTaskExecutorTypeTest.java|  2 +-
 .../camel/component/jms/JmsDeliveryDelayTest.java  | 41 ++---
 ...est.java => JmsMultipleConsumersQueueTest.java} | 69 +-
 ...est.java => JmsMultipleConsumersTopicTest.java} | 64 +---
 .../component/jms/async/AsyncJmsProducerTest.java  | 31 +++---
 .../jms/issues/JmsInOutRoutingSlipTest.java| 13 ++--
 ...tReplyTemporaryRefreshFailureOnStartupTest.java | 37 +---
 .../jms/temp/TemporaryQueueRouteTest.java  |  8 +--
 .../infra/artemis/services/ArtemisVMService.java   | 12 
 10 files changed, 177 insertions(+), 114 deletions(-)
 copy 
components/camel-jms/src/test/java/org/apache/camel/component/jms/{JmsMultipleConsumersTest.java
 => JmsMultipleConsumersQueueTest.java} (63%)
 rename 
components/camel-jms/src/test/java/org/apache/camel/component/jms/{JmsMultipleConsumersTest.java
 => JmsMultipleConsumersTopicTest.java} (68%)



Re: [PR] CAMEL-20477: another set of JMS test fixes [camel]

2024-03-18 Thread via GitHub


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


-- 
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] Feature: helm chart [camel-karavan]

2024-03-18 Thread via GitHub


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

   @spoletum the proposed idea look good for me


-- 
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 2.2.x] Add Kamelet v1alpha1 sample to OLM manifest [camel-k]

2024-03-18 Thread via GitHub


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

   
   
   
   
   
   
   
   **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] CAMEL-20559 camel-jbang-plugin-k run command error on a multi-valued trait property [camel]

2024-03-18 Thread via GitHub


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

   https://issues.apache.org/jira/browse/CAMEL-20559
   
   # 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
   - [x] 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 regen_bot updated (5d5229966b6 -> 81358a64cf9)

2024-03-18 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 5d5229966b6 CAMEL-20579: Handle NotYetImplementedForExchangeException 
for xchange ticker service lookup
 add 81358a64cf9 (chores) camel-kafka: increase fork timeout to prevent 
failures due to long-running tests

No new revisions were added by this update.

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



(camel) branch main updated: (chores) camel-kafka: increase fork timeout to prevent failures due to long-running tests

2024-03-18 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 81358a64cf9 (chores) camel-kafka: increase fork timeout to prevent 
failures due to long-running tests
81358a64cf9 is described below

commit 81358a64cf99e4687cae270db188622b040eeec3
Author: Otavio Rodolfo Piske 
AuthorDate: Mon Mar 18 11:28:26 2024 +0100

(chores) camel-kafka: increase fork timeout to prevent failures due to 
long-running tests
---
 components/camel-kafka/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-kafka/pom.xml b/components/camel-kafka/pom.xml
index 037a468a031..bd40421691b 100644
--- a/components/camel-kafka/pom.xml
+++ b/components/camel-kafka/pom.xml
@@ -223,7 +223,7 @@
 
 false
 
health,idempotent,breakOnFirstError
-
600
+
1200
 
 
 



Re: [PR] (chores) camel-kafka: increase fork timeout to prevent failures due to long-running tests [camel]

2024-03-18 Thread via GitHub


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


-- 
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] fix #4948 part of #3397 [camel-k]

2024-03-18 Thread via GitHub


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

   :warning: Unit test coverage report - coverage decreased from 37.2% to 37.1% 
(**-0.1%**)


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

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

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



Re: [PR] CAMEL-20477: another set of JMS test fixes [camel]

2024-03-18 Thread via GitHub


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

   :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-20477: another set of JMS test fixes [camel]

2024-03-18 Thread via GitHub


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

   (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 (721b135294d -> 5d5229966b6)

2024-03-18 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 721b135294d Camel-AI: Langchain Embeddings component testing with 
Camel Milvus (#13517)
 add e924867d1a1 CAMEL-20548: include a capability section to advertise 
which artifact provides a specific feature
 add 5d5229966b6 CAMEL-20579: Handle NotYetImplementedForExchangeException 
for xchange ticker service lookup

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/catalog/CamelCatalog.java | 12 +++
 .../apache/camel/catalog/DefaultCamelCatalog.java  | 25 ++
 .../camel/catalog/DefaultRuntimeProvider.java  | 22 +++
 .../org/apache/camel/catalog/RuntimeProvider.java  |  6 ++
 .../apache/camel/catalog/capabilities.properties   |  4 +---
 .../org/apache/camel/catalog/CamelCatalogTest.java | 16 ++
 .../camel/component/xchange/XChangeEndpoint.java   | 10 -
 .../org/apache/camel/tooling/model/EntityRef.java  |  7 +++---
 .../java/org/apache/camel/tooling/model}/Kind.java |  2 +-
 9 files changed, 95 insertions(+), 9 deletions(-)
 copy 
components/camel-cxf/camel-cxf-spring-rest/src/test/resources/org/apache/camel/component/cxf/jaxrs/testbean/jaxb.index
 => 
catalog/camel-catalog/src/main/resources/org/apache/camel/catalog/capabilities.properties
 (96%)
 copy core/camel-api/src/main/java/org/apache/camel/AsyncProducer.java => 
tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model/EntityRef.java
 (87%)
 rename {catalog/camel-catalog/src/main/java/org/apache/camel/catalog => 
tooling/camel-tooling-model/src/main/java/org/apache/camel/tooling/model}/Kind.java
 (96%)



Re: [I] xchange and com.github.mmazi:rescu not ready for Jakarta 10 [camel-quarkus]

2024-03-18 Thread via GitHub


jamesnetherton commented on issue #4516:
URL: https://github.com/apache/camel-quarkus/issues/4516#issuecomment-2004411179

   We should be able to enable this again with Camel 4.5.0.


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

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

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



(camel) branch main updated: CAMEL-20579: Handle NotYetImplementedForExchangeException for xchange ticker service lookup

2024-03-18 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

jamesnetherton 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 5d5229966b6 CAMEL-20579: Handle NotYetImplementedForExchangeException 
for xchange ticker service lookup
5d5229966b6 is described below

commit 5d5229966b62376eada23fc557a0d05d2dd68586
Author: James Netherton 
AuthorDate: Mon Mar 18 14:27:18 2024 +

CAMEL-20579: Handle NotYetImplementedForExchangeException for xchange 
ticker service lookup
---
 .../org/apache/camel/component/xchange/XChangeEndpoint.java| 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git 
a/components/camel-xchange/src/main/java/org/apache/camel/component/xchange/XChangeEndpoint.java
 
b/components/camel-xchange/src/main/java/org/apache/camel/component/xchange/XChangeEndpoint.java
index a1c94ae2bb0..8aca542851c 100644
--- 
a/components/camel-xchange/src/main/java/org/apache/camel/component/xchange/XChangeEndpoint.java
+++ 
b/components/camel-xchange/src/main/java/org/apache/camel/component/xchange/XChangeEndpoint.java
@@ -43,6 +43,7 @@ import org.knowm.xchange.dto.marketdata.Ticker;
 import org.knowm.xchange.dto.meta.CurrencyMetaData;
 import org.knowm.xchange.dto.meta.ExchangeMetaData;
 import org.knowm.xchange.dto.meta.InstrumentMetaData;
+import org.knowm.xchange.exceptions.NotYetImplementedForExchangeException;
 import org.knowm.xchange.instrument.Instrument;
 import org.knowm.xchange.service.account.AccountService;
 import org.knowm.xchange.service.marketdata.MarketDataService;
@@ -178,6 +179,13 @@ public class XChangeEndpoint extends DefaultEndpoint {
 public Ticker getTicker(CurrencyPair pair) throws IOException {
 Assert.notNull(pair, "Null currency pair");
 MarketDataService marketService = xchange.getMarketDataService();
-return marketService.getTicker((Instrument) pair);
+try {
+return marketService.getTicker((Instrument) pair);
+} catch (NotYetImplementedForExchangeException e) {
+// Ignored
+}
+
+// Retry service lookup using deprecated (but still in use) 
MarketDataService.getTicker(CurrencyPair)
+return marketService.getTicker(pair);
 }
 }



Re: [PR] CAMEL-20579: Handle NotYetImplementedForExchangeException for xchange ticker service lookup [camel]

2024-03-18 Thread via GitHub


jamesnetherton merged PR #13519:
URL: https://github.com/apache/camel/pull/13519


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

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

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



(camel-kafka-connector) branch dependabot/github_actions/peter-evans/create-pull-request-6.0.2 created (now 5e0ff092f6)

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

github-bot pushed a change to branch 
dependabot/github_actions/peter-evans/create-pull-request-6.0.2
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


  at 5e0ff092f6 Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2

No new revisions were added by this update.



(camel-kafka-connector) branch dependabot/github_actions/actions/checkout-4.1.2 created (now dd53294433)

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

github-bot pushed a change to branch 
dependabot/github_actions/actions/checkout-4.1.2
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


  at dd53294433 Bump actions/checkout from 4.1.1 to 4.1.2

No new revisions were added by this update.



[PR] Bump actions/checkout from 4.1.1 to 4.1.2 [camel-kafka-connector]

2024-03-18 Thread via GitHub


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

   Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 
4.1.2.
   
   Release notes
   Sourced from https://github.com/actions/checkout/releases;>actions/checkout's 
releases.
   
   v4.1.2
   We are investigating the following issue with this release and have 
rolled-back the v4 tag to point to v4.1.1
   
   sparse-checkout is not available on git versions prior to 
2.27.0 (see https://redirect.github.com/actions/checkout/issues/1651;>actions/checkout#1651)
   
   What's Changed
   
   Fix: Disable sparse checkout whenever sparse-checkout 
option is not present https://github.com/dscho;>@​dscho in https://redirect.github.com/actions/checkout/pull/1598;>actions/checkout#1598
   Bump tough-cookie from 4.0.0 to 4.1.3 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/actions/checkout/pull/1406;>actions/checkout#1406
   Bump @​babel/traverse from 7.20.5 to 7.24.0 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/actions/checkout/pull/1642;>actions/checkout#1642
   
   New Contributors
   
   https://github.com/jww3;>@​jww3 made their 
first contribution in https://redirect.github.com/actions/checkout/pull/1616;>actions/checkout#1616
   
   Full Changelog: https://github.com/actions/checkout/compare/v4.1.1...v4.1.2;>https://github.com/actions/checkout/compare/v4.1.1...v4.1.2
   
   
   
   Changelog
   Sourced from https://github.com/actions/checkout/blob/main/CHANGELOG.md;>actions/checkout's
 changelog.
   
   v4.1.2
   
   Fix: Disable sparse checkout whenever sparse-checkout 
option is not present https://github.com/dscho;>@​dscho in https://redirect.github.com/actions/checkout/pull/1598;>actions/checkout#1598
   
   
   
   
   Commits
   
   https://github.com/actions/checkout/commit/9bb56186c3b09b4f86b1c65136769dd318469633;>9bb5618
 Prep for release of  v4.1.2  (https://redirect.github.com/actions/checkout/issues/1649;>#1649)
   https://github.com/actions/checkout/commit/8eb1f6a495037164bea451156472f35fdd6bafc0;>8eb1f6a
 Bump @​babel/traverse from 7.20.5 to 7.24.0 (https://redirect.github.com/actions/checkout/issues/1642;>#1642)
   https://github.com/actions/checkout/commit/556e4c3cb0b8b54b734286d5439adadcb0a8cb92;>556e4c3
 Bump tough-cookie from 4.0.0 to 4.1.3 (https://redirect.github.com/actions/checkout/issues/1406;>#1406)
   https://github.com/actions/checkout/commit/b32f140b0c872d58512e0a66172253c302617b90;>b32f140
 Warn on attempts to publish test-ubuntu-git from non-main branch. 
(https://redirect.github.com/actions/checkout/issues/1623;>#1623)
   https://github.com/actions/checkout/commit/2650dbd060003e3b5ae211e4358852f336b682a7;>2650dbd
 Give test-ubuntu-git its own README (https://redirect.github.com/actions/checkout/issues/1620;>#1620)
   https://github.com/actions/checkout/commit/aadec899646c8e0f34c52d9219c2faac36626b55;>aadec89
 Explicitly disable sparse checkout unless asked for (https://redirect.github.com/actions/checkout/issues/1598;>#1598)
   https://github.com/actions/checkout/commit/df0bcddf6d6823307c716b56a7ef9c3b25078874;>df0bcdd
 Refine workflow for generating test-ubuntu-git (https://redirect.github.com/actions/checkout/issues/1617;>#1617)
   https://github.com/actions/checkout/commit/473055ba18d6d2da209cd46110aadb9275e3194e;>473055b
 Create test-ubuntu-git Docker Container for Proxy Tests (https://redirect.github.com/actions/checkout/issues/1616;>#1616)
   See full diff in https://github.com/actions/checkout/compare/v4.1.1...v4.1.2;>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout=github_actions=4.1.1=4.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 

[PR] Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 [camel-kafka-connector]

2024-03-18 Thread via GitHub


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

   Bumps 
[peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request)
 from 6.0.1 to 6.0.2.
   
   Release notes
   Sourced from https://github.com/peter-evans/create-pull-request/releases;>peter-evans/create-pull-request's
 releases.
   
   Create Pull Request v6.0.2
   ⚡ Improves performance in some cases where the action rebases changes on 
to the specified base.
   What's Changed
   
   build(deps-dev): bump eslint-plugin-github from 4.10.1 to 4.10.2 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/peter-evans/create-pull-request/pull/2797;>peter-evans/create-pull-request#2797
   build(deps-dev): bump @​types/node from 18.19.18 to 
18.19.21 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/peter-evans/create-pull-request/pull/2798;>peter-evans/create-pull-request#2798
   build(deps-dev): bump @​types/node from 18.19.21 to 
18.19.23 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/peter-evans/create-pull-request/pull/2811;>peter-evans/create-pull-request#2811
   perf: shallow fetch the actual base when rebasing from working base by 
https://github.com/peter-evans;>@​peter-evans in https://redirect.github.com/peter-evans/create-pull-request/pull/2816;>peter-evans/create-pull-request#2816
   
   New Contributors
   
   https://github.com/webmonarch;>@​webmonarch 
made their first contribution in https://redirect.github.com/peter-evans/create-pull-request/pull/2816;>peter-evans/create-pull-request#2816
   
   Full Changelog: https://github.com/peter-evans/create-pull-request/compare/v6.0.1...v6.0.2;>https://github.com/peter-evans/create-pull-request/compare/v6.0.1...v6.0.2
   
   
   
   Commits
   
   https://github.com/peter-evans/create-pull-request/commit/70a41aba780001da0a30141984ae2a0c95d8704e;>70a41ab
 perf: shallow fetch the actual base when rebasing from working base (https://redirect.github.com/peter-evans/create-pull-request/issues/2816;>#2816)
   https://github.com/peter-evans/create-pull-request/commit/57a101480a00db37082a7c7d3348bf2075d3a6e8;>57a1014
 build(deps-dev): bump @​types/node from 18.19.21 to 18.19.23 (https://redirect.github.com/peter-evans/create-pull-request/issues/2811;>#2811)
   https://github.com/peter-evans/create-pull-request/commit/b3a2c5d525a1eb75e75c781e45a1bf3bfc23bdc6;>b3a2c5d
 build(deps-dev): bump @​types/node from 18.19.18 to 18.19.21 (https://redirect.github.com/peter-evans/create-pull-request/issues/2798;>#2798)
   https://github.com/peter-evans/create-pull-request/commit/02c7da59e880d01b07e68afd0370a3399f08b42a;>02c7da5
 build(deps-dev): bump eslint-plugin-github from 4.10.1 to 4.10.2 (https://redirect.github.com/peter-evans/create-pull-request/issues/2797;>#2797)
   https://github.com/peter-evans/create-pull-request/commit/bac6da8071ada152cce76cfbd24b54b7190ad799;>bac6da8
 docs: update description of delete-branch
   See full diff in https://github.com/peter-evans/create-pull-request/compare/v6.0.1...v6.0.2;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-pull-request=github_actions=6.0.1=6.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR 

(camel) branch pojo-beans updated (34c3e785152 -> 8cdd76e14f1)

2024-03-18 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


from 34c3e785152 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 8cdd76e14f1 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.

No new revisions were added by this update.

Summary of changes:
 .../apache/camel/maven/packaging/GeneratePojoBeanMojo.java  |  7 ++-
 .../java/org/apache/camel/maven/packaging/MojoHelper.java   | 13 ++---
 2 files changed, 12 insertions(+), 8 deletions(-)



(camel) branch pojo-beans updated (8a6ffd7641c -> 34c3e785152)

2024-03-18 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


from 8a6ffd7641c CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 55ebf97c40e CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 8f06311bf8a CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 34c3e785152 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/catalog/beans.properties  |  5 ++
 ...astichsearchBulkRequestAggregationStrategy.json | 15 +
 .../OpensearchBulkRequestAggregationStrategy.json  | 15 +
 .../catalog/beans/TarAggregationStrategy.json  | 16 ++
 .../catalog/beans/XsltAggregationStrategy.json | 16 ++
 .../beans/XsltSaxonAggregationStrategy.json| 16 ++
 ...chBulkRequestAggregationStrategyConfigurer.java | 35 +++
 .../services/org/apache/camel/bean.properties  |  7 +++
 ...astichsearchBulkRequestAggregationStrategy.json | 15 +
 ...on.ElastichsearchBulkRequestAggregationStrategy |  2 +
 ...stichsearchBulkRequestAggregationStrategy.java} | 10 ++--
 ...chBulkRequestAggregationStrategyConfigurer.java | 35 +++
 .../services/org/apache/camel/bean.properties  |  7 +++
 .../OpensearchBulkRequestAggregationStrategy.json  | 15 +
 ...gation.OpensearchBulkRequestAggregationStrategy |  2 +
 ... OpensearchBulkRequestAggregationStrategy.java} |  7 ++-
 .../tarfile/TarAggregationStrategyConfigurer.java  | 61 
 .../services/org/apache/camel/bean.properties  |  7 +++
 .../apache/camel/bean/TarAggregationStrategy.json  | 16 ++
 ...cessor.aggregate.tarfile.TarAggregationStrategy |  2 +
 .../aggregate/tarfile/TarAggregationStrategy.java  | 13 +
 .../XsltSaxonAggregationStrategyConfigurer.java| 67 ++
 .../services/org/apache/camel/bean.properties  |  7 +++
 .../camel/bean/XsltSaxonAggregationStrategy.json   | 16 ++
 ...mponent.xslt.saxon.XsltSaxonAggregationStrategy |  2 +
 .../xslt/saxon/XsltSaxonAggregationStrategy.java   | 25 
 .../xslt/XsltAggregationStrategyConfigurer.java| 67 ++
 .../services/org/apache/camel/bean.properties  |  7 +++
 .../apache/camel/bean/XsltAggregationStrategy.json | 16 ++
 ...he.camel.component.xslt.XsltAggregationStrategy |  2 +
 .../component/xslt/XsltAggregationStrategy.java| 32 ++-
 .../ROOT/pages/camel-4x-upgrade-guide-4_5.adoc |  5 ++
 .../maven/packaging/GeneratePojoBeanMojo.java  |  7 +++
 .../apache/camel/maven/packaging/MojoHelper.java   | 21 +++
 34 files changed, 585 insertions(+), 6 deletions(-)
 create mode 100644 
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/beans/ElastichsearchBulkRequestAggregationStrategy.json
 create mode 100644 
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/beans/OpensearchBulkRequestAggregationStrategy.json
 create mode 100644 
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/beans/TarAggregationStrategy.json
 create mode 100644 
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/beans/XsltAggregationStrategy.json
 create mode 100644 
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/beans/XsltSaxonAggregationStrategy.json
 create mode 100644 
components/camel-elasticsearch/src/generated/java/org/apache/camel/component/es/aggregation/ElastichsearchBulkRequestAggregationStrategyConfigurer.java
 create mode 100644 
components/camel-elasticsearch/src/generated/resources/META-INF/services/org/apache/camel/bean.properties
 create mode 100644 
components/camel-elasticsearch/src/generated/resources/META-INF/services/org/apache/camel/bean/ElastichsearchBulkRequestAggregationStrategy.json
 create mode 100644 
components/camel-elasticsearch/src/generated/resources/META-INF/services/org/apache/camel/configurer/org.apache.camel.component.es.aggregation.ElastichsearchBulkRequestAggregationStrategy
 rename 
components/camel-elasticsearch/src/main/java/org/apache/camel/component/es/aggregation/{BulkRequestAggregationStrategy.java
 => ElastichsearchBulkRequestAggregationStrategy.java} (86%)
 create mode 100644 

Re: [PR] CAMEL-20521: camel-amqp - AMQP publisher application is losing messages with local JMS transaction enabled [camel]

2024-03-18 Thread via GitHub


luigidemasi commented on PR #13403:
URL: https://github.com/apache/camel/pull/13403#issuecomment-2004215687

   I also opened an issue on spring that has already been fixed:
   https://github.com/spring-projects/spring-framework/issues/32473 


-- 
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] File name format and File Format in Azure Data Lake Sink Connector [camel-kafka-connector]

2024-03-18 Thread via GitHub


AishD3 commented on issue #1604:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1604#issuecomment-2004207212

   @valdar Can you pls guide on connector configs of using this transforms, I 
am always getting "Unable to Initialise the pojo class"


-- 
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-20579: Handle NotYetImplementedForExchangeException for xchange ticker service lookup [camel]

2024-03-18 Thread via GitHub


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

   (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: [PR] CAMEL-20579: Handle NotYetImplementedForExchangeException for xchange ticker service lookup [camel]

2024-03-18 Thread via GitHub


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

   :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



(camel) branch pojo-beans updated (935d535ea14 -> 8a6ffd7641c)

2024-03-18 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


omit 935d535ea14 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit aed780ac40f CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit c81b0d270a4 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit e8c8ebb5080 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit 0ea6d16ec0d Regen
omit 9929a9fe889 Regen
omit a204ca7b47a CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit ec2ed2c7f19 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit ab47dbd15b8 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit ea164269bff CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit c4376ac6706 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit 0be7693cb2f CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit ed4f153e6c6 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit 7b55a5e70ee CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit 158bff05701 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
omit fb8a1809a2e CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 721b135294d Camel-AI: Langchain Embeddings component testing with 
Camel Milvus (#13517)
 add e924867d1a1 CAMEL-20548: include a capability section to advertise 
which artifact provides a specific feature
 add 4285bb33727 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 774d19ad93c CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 90ef1f4f1d6 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 217c887ee4f CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add a7c356612b1 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 61128a17fa1 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 8f3e3a24b64 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core 

(camel-spring-boot) branch dependabot/github_actions/peter-evans/create-pull-request-6.0.2 deleted (was 98f605515b4)

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

github-bot pushed a change to branch 
dependabot/github_actions/peter-evans/create-pull-request-6.0.2
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


 was 98f605515b4 Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2

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-spring-boot) branch main updated: Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#1112)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new fd53fa716ed Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 
(#1112)
fd53fa716ed is described below

commit fd53fa716ed1377c594a847db5aa431c6d16522a
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon Mar 18 15:28:59 2024 +0100

Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#1112)

Bumps 
[peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request)
 from 6.0.1 to 6.0.2.
- [Release 
notes](https://github.com/peter-evans/create-pull-request/releases)
- 
[Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] 
Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
---
 .github/workflows/automatic-sync-camel-3.yml | 2 +-
 .github/workflows/automatic-sync-main.yml| 2 +-
 .github/workflows/generate-sbom-main.yml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/automatic-sync-camel-3.yml 
b/.github/workflows/automatic-sync-camel-3.yml
index a62985345cb..48e4c1db637 100644
--- a/.github/workflows/automatic-sync-camel-3.yml
+++ b/.github/workflows/automatic-sync-camel-3.yml
@@ -52,7 +52,7 @@ jobs:
   - name: Build Camel-spring-boot Project
 run: ./mvnw -V --no-transfer-progress clean install -DskipTests
   - name: Create Pull Request
-uses: peter-evans/create-pull-request@v6.0.1
+uses: peter-evans/create-pull-request@v6.0.2
 with:
   base: camel-spring-boot-3.x
   token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/automatic-sync-main.yml 
b/.github/workflows/automatic-sync-main.yml
index 64e5d332391..f8c96bd8610 100644
--- a/.github/workflows/automatic-sync-main.yml
+++ b/.github/workflows/automatic-sync-main.yml
@@ -52,7 +52,7 @@ jobs:
   - name: Build Camel-spring-boot Project
 run: ./mvnw -V --no-transfer-progress clean install -DskipTests
   - name: Create Pull Request
-uses: peter-evans/create-pull-request@v6.0.1
+uses: peter-evans/create-pull-request@v6.0.2
 with:
   base: main
   token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/generate-sbom-main.yml 
b/.github/workflows/generate-sbom-main.yml
index c6238e01655..e92aef2535e 100644
--- a/.github/workflows/generate-sbom-main.yml
+++ b/.github/workflows/generate-sbom-main.yml
@@ -54,7 +54,7 @@ jobs:
   - name: Build Camel-spring-boot Project for generating SBOM
 run: ./mvnw -V --no-transfer-progress clean install -DskipTests -Psbom
   - name: Create Pull Request
-uses: peter-evans/create-pull-request@v6.0.1
+uses: peter-evans/create-pull-request@v6.0.2
 with:
   base: main
   token: ${{ secrets.GITHUB_TOKEN }}



Re: [PR] Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 [camel-spring-boot]

2024-03-18 Thread via GitHub


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


-- 
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] Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 [camel-spring-boot]

2024-03-18 Thread via GitHub


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

   Bumps 
[peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request)
 from 6.0.1 to 6.0.2.
   
   Release notes
   Sourced from https://github.com/peter-evans/create-pull-request/releases;>peter-evans/create-pull-request's
 releases.
   
   Create Pull Request v6.0.2
   ⚡ Improves performance in some cases where the action rebases changes on 
to the specified base.
   What's Changed
   
   build(deps-dev): bump eslint-plugin-github from 4.10.1 to 4.10.2 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/peter-evans/create-pull-request/pull/2797;>peter-evans/create-pull-request#2797
   build(deps-dev): bump @​types/node from 18.19.18 to 
18.19.21 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/peter-evans/create-pull-request/pull/2798;>peter-evans/create-pull-request#2798
   build(deps-dev): bump @​types/node from 18.19.21 to 
18.19.23 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/peter-evans/create-pull-request/pull/2811;>peter-evans/create-pull-request#2811
   perf: shallow fetch the actual base when rebasing from working base by 
https://github.com/peter-evans;>@​peter-evans in https://redirect.github.com/peter-evans/create-pull-request/pull/2816;>peter-evans/create-pull-request#2816
   
   New Contributors
   
   https://github.com/webmonarch;>@​webmonarch 
made their first contribution in https://redirect.github.com/peter-evans/create-pull-request/pull/2816;>peter-evans/create-pull-request#2816
   
   Full Changelog: https://github.com/peter-evans/create-pull-request/compare/v6.0.1...v6.0.2;>https://github.com/peter-evans/create-pull-request/compare/v6.0.1...v6.0.2
   
   
   
   Commits
   
   https://github.com/peter-evans/create-pull-request/commit/70a41aba780001da0a30141984ae2a0c95d8704e;>70a41ab
 perf: shallow fetch the actual base when rebasing from working base (https://redirect.github.com/peter-evans/create-pull-request/issues/2816;>#2816)
   https://github.com/peter-evans/create-pull-request/commit/57a101480a00db37082a7c7d3348bf2075d3a6e8;>57a1014
 build(deps-dev): bump @​types/node from 18.19.21 to 18.19.23 (https://redirect.github.com/peter-evans/create-pull-request/issues/2811;>#2811)
   https://github.com/peter-evans/create-pull-request/commit/b3a2c5d525a1eb75e75c781e45a1bf3bfc23bdc6;>b3a2c5d
 build(deps-dev): bump @​types/node from 18.19.18 to 18.19.21 (https://redirect.github.com/peter-evans/create-pull-request/issues/2798;>#2798)
   https://github.com/peter-evans/create-pull-request/commit/02c7da59e880d01b07e68afd0370a3399f08b42a;>02c7da5
 build(deps-dev): bump eslint-plugin-github from 4.10.1 to 4.10.2 (https://redirect.github.com/peter-evans/create-pull-request/issues/2797;>#2797)
   https://github.com/peter-evans/create-pull-request/commit/bac6da8071ada152cce76cfbd24b54b7190ad799;>bac6da8
 docs: update description of delete-branch
   See full diff in https://github.com/peter-evans/create-pull-request/compare/v6.0.1...v6.0.2;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-pull-request=github_actions=6.0.1=6.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and 

(camel-spring-boot) branch dependabot/github_actions/peter-evans/create-pull-request-6.0.2 created (now 98f605515b4)

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

github-bot pushed a change to branch 
dependabot/github_actions/peter-evans/create-pull-request-6.0.2
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


  at 98f605515b4 Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2

No new revisions were added by this update.



Re: [I] File name format and File Format in Azure Data Lake Sink Connector [camel-kafka-connector]

2024-03-18 Thread via GitHub


oscerd commented on issue #1604:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1604#issuecomment-2004026888

   On this @valdar is the expert


-- 
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] File name format and File Format in Azure Data Lake Sink Connector [camel-kafka-connector]

2024-03-18 Thread via GitHub


AishD3 commented on issue #1604:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1604#issuecomment-2004024165

   @oscerd can you give sample connector configs with 
SinkPojoToSchemaAndStructTransform.java to convert file to Avro 


-- 
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 pojo-beans updated (e0dc6f2da7d -> 935d535ea14)

2024-03-18 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


 discard e0dc6f2da7d Regen
 discard 7ab02736dfc Regen
 discard f4b2a4e71b9 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 discard d1b2d3c8bc0 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 discard b36bf630a64 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 discard 63814a58509 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 discard d76dd385513 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 discard 1e57df51417 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 discard 1a7198da4a4 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 discard a2870aa5fb5 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 discard 261bbdb1a2b CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 discard d461dcdbc6d CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add e885eaea88d Regen for commit fe0b4435263a21cb8119ea22b13dc03cd895a5b2 
(#13492)
 add 2b83147b440 (chores) camel-langchain-embeddings: disable tests on 
unsupported platforms
 add 0c7bbb389ec Bump aws-java-sdk2-version from 2.25.9 to 2.25.10 (#13496)
 add e20e0003d75 Bump micrometer-version from 1.12.3 to 1.12.4 (#13495)
 add 1f5d863d5a8 Regen
 add b3a7d121d55 Upgrade assembly plugin
 add 396d7b40822 Bump org.apache.maven.plugins:maven-assembly-plugin from 
3.6.0 to 3.7.0 (#13497)
 add 62754c9dbec Bump infinispan-version from 14.0.25.Final to 
14.0.26.Final (#13498)
 add c0228d4f12c CAMEL-20568: Set error handler on route level in YAML DSL 
(#13489)
 add fe2072468e2 Regen schema
 add 9706c2a2aa8 Regen
 add 7cdbf9b72e2 CAMEL-20485 - Create a Camel-Milvus component  (#13505)
 add e68c563ba85 Regen for commit 9706c2a2aa8511a90abdc94376d00db2e8db3218 
(#13506)
 add e968db75767 Regen for commit 7cdbf9b72e2ac10fbdd5c45c328c89553ea6a8c9 
(#13508)
 add d3518de4851 tiny typo
 add b822b3426ca tiny typo
 add 7cbcf4f9ab3 Regen SBOM from commit 
b822b3426ca21a420136ed2c6cf5bdb5ebee9a65 (#13512)
 add 43c18f611c0 Bump com.google.guava:guava from 33.0.0-jre to 33.1.0-jre 
(#13499)
 add 9f6338b1ee4 [CAMEL-20512] Add full path for camel jbang process if 
using Windows (#13494)
 add 40ec1263dc1 Remove cruft file
 add 3c8fc46886e Regne
 add 81ff438d659 Camel-Milvus: Fix some metadata (#13513)
 add 3bf85225564 Sync
 add ead1a9491cf CAMEL-20563: shutdown existing consumer instance to 
release resources… (#13510)
 add 4f8c1641cdd Use junit assertEquals
 add 2e59dce4127 CAMEL-20555: adding check for status code when creating a 
new saga (#13515)
 add b6f65ecacdb Camel 20567 make it possible to define restconfiguration 
in xml-io-dsl and xml-jaxb-dsl (#13488)
 add fb8a1809a2e CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 158bff05701 CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling assistance.
 add 7b55a5e70ee CAMEL-17641: Generate json metadata for pojo beans in 
camel-core that end users can use such as AggregationStrategy implementations. 
And have that information in camel-catalog for tooling 

[PR] [3.8.x] Backports [camel-quarkus]

2024-03-18 Thread via GitHub


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

   (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: [PR] Align Debezium & QPid JMS versions with the Quarkus Platform [camel-quarkus]

2024-03-18 Thread via GitHub


jamesnetherton merged PR #5890:
URL: https://github.com/apache/camel-quarkus/pull/5890


-- 
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 main updated (497d09e553 -> 7e29965923)

2024-03-18 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

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


from 497d09e553 Remove redundant parentFirstArtifact configuration from 
js-dsl extension
 new 5a2ae8eccb Upgrade Debezium to 2.5.2.Final
 new 7e29965923 Upgrade quarkus-qpid-jms to 2.6.1

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:
 pom.xml| 4 +-
 poms/bom/src/main/generated/flattened-full-pom.xml | 14830 ++-
 .../src/main/generated/flattened-reduced-pom.xml   |30 +-
 .../generated/flattened-reduced-verbose-pom.xml|   144 +-
 4 files changed, 7517 insertions(+), 7491 deletions(-)



(camel-quarkus) 01/02: Upgrade Debezium to 2.5.2.Final

2024-03-18 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

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

commit 5a2ae8eccb84b3eee9735d3421aef87abe3b0914
Author: James Netherton 
AuthorDate: Mon Mar 18 10:16:32 2024 +

Upgrade Debezium to 2.5.2.Final
---
 pom.xml|   2 +-
 poms/bom/src/main/generated/flattened-full-pom.xml | 427 ++---
 .../src/main/generated/flattened-reduced-pom.xml   |  26 +-
 .../generated/flattened-reduced-verbose-pom.xml| 126 +++---
 4 files changed, 283 insertions(+), 298 deletions(-)

diff --git a/pom.xml b/pom.xml
index de4dbef83f..03f15cdb02 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,7 +46,7 @@
 
camel-${camel.major.minor}.x
 
camel-spring-boot-${camel.major.minor}.x
 1.2.0
-2.5.0.Final 
 
2.12.1
 3.2.1
diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml 
b/poms/bom/src/main/generated/flattened-full-pom.xml
index 3285eeb08b..5100e4fea4 100644
--- a/poms/bom/src/main/generated/flattened-full-pom.xml
+++ b/poms/bom/src/main/generated/flattened-full-pom.xml
@@ -22545,9 +22545,9 @@
 25.1-jre-graal-sub-1
   
   
-org.apache.kafka
-connect-api
-3.6.1
+org.apache.kafka
+connect-api
+3.6.1
 
   
 javax.ws.rs
@@ -22556,352 +22556,337 @@
 
   
   
-org.apache.kafka
-connect-json
-3.6.1
+org.apache.kafka
+connect-json
+3.6.1
   
   
-org.apache.kafka
-connect-file
-3.6.1
+org.apache.kafka
+connect-file
+3.6.1
   
   
-org.apache.kafka
-connect-transforms
-3.6.1
+org.apache.kafka
+connect-transforms
+3.6.1
   
   
-org.apache.kafka
-kafka_2.13
-3.6.1
-test
+org.apache.kafka
+kafka_2.13
+3.6.1
+test
   
   
-io.confluent
-kafka-connect-avro-converter
-7.0.1
+io.confluent
+kafka-connect-avro-converter
+7.0.1
   
   
-io.confluent
-kafka-connect-protobuf-converter
-7.0.1
+io.confluent
+kafka-connect-protobuf-converter
+7.0.1
   
   
-io.apicurio
-apicurio-registry-utils-converter
-2.4.3.Final
+io.apicurio
+apicurio-registry-utils-converter
+2.4.3.Final
   
   
-com.zendesk
-mysql-binlog-connector-java
-0.29.0
+com.zendesk
+mysql-binlog-connector-java
+0.29.0
   
   
-mil.nga
-wkb
-1.0.2
+mil.nga
+wkb
+1.0.2
   
   
-com.oracle.instantclient
-xstreams
-21.6.0.0
+com.oracle.instantclient
+xstreams
+21.6.0.0
   
   
-com.ibm.informix
-jdbc
-4.50.10
+com.ibm.informix
+jdbc
+4.50.10
   
   
-com.ibm.informix
-ifx-changestream-client
-1.1.3
+com.ibm.informix
+ifx-changestream-client
+1.1.3
   
   
-ch.qos.logback
-logback-classic
-1.2.13
+ch.qos.logback
+logback-classic
+1.2.13
   
   
-org.codehaus.groovy
-groovy
-3.0.7
+io.vitess
+vitess-grpc-client
+17.0.0
   
   
-org.codehaus.groovy
-groovy-json
-3.0.7
+org.apache.cassandra
+cassandra-all
+3.11.12
   
   
-org.codehaus.groovy
-groovy-jsr223
-3.0.7
+com.datastax.cassandra
+cassandra-driver-core
+4.14.0
   
   
-io.vitess
-vitess-grpc-client
-17.0.0
+io.dropwizard.metrics
+metrics-core
+4.0.1
   
   
-org.apache.cassandra
-cassandra-all
-3.11.12
+io.dropwizard.metrics
+metrics-healthchecks
+4.0.1
   
   
-com.datastax.cassandra
-cassandra-driver-core
-4.14.0
+io.dropwizard.metrics
+metrics-servlets
+4.0.1
   
   
-io.dropwizard.metrics
-metrics-core
-4.0.1
+org.eclipse.jetty
+jetty-servlet
+9.4.12.v20180830
   
   
-io.dropwizard.metrics
-metrics-healthchecks
-4.0.1
+javax.xml.bind
+jaxb-api
+2.3.1
   
   
-io.dropwizard.metrics
-metrics-servlets
-4.0.1
+org.infinispan
+infinispan-core-jakarta
+14.0.20.Final
   
   
-org.eclipse.jetty
-jetty-servlet
-9.4.12.v20180830
+

Re: [PR] catalog: make catalog more type safe [camel]

2024-03-18 Thread via GitHub


lburgazzoli commented on PR #13518:
URL: https://github.com/apache/camel/pull/13518#issuecomment-2003826008

   @davsclaus this is a follow up for 
https://github.com/apache/camel/pull/13481#issuecomment-2003460659


-- 
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] catalog: make catalog more type safe [camel]

2024-03-18 Thread via GitHub


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

   :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] catalog: make catalog more type safe [camel]

2024-03-18 Thread via GitHub


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

   # Description
   
   
   
   # Target
   
   - [ ] 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
   
   - [ ] I checked that each commit in the pull request has a meaningful 
subject line and body.
   
   
   
   - [ ] 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 main updated: CAMEL-20548: include a capability section to advertise which artifact provides a specific feature

2024-03-18 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

lburgazzoli 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 e924867d1a1 CAMEL-20548: include a capability section to advertise 
which artifact provides a specific feature
e924867d1a1 is described below

commit e924867d1a153e3d1bf6af7b01cf1f950cf91ff3
Author: Luca Burgazzoli 
AuthorDate: Thu Mar 14 10:37:25 2024 +0100

CAMEL-20548: include a capability section to advertise which artifact 
provides a specific feature
---
 .../org/apache/camel/catalog/CamelCatalog.java | 12 +++
 .../apache/camel/catalog/DefaultCamelCatalog.java  | 25 ++
 .../camel/catalog/DefaultRuntimeProvider.java  | 22 +++
 .../org/apache/camel/catalog/RuntimeProvider.java  |  6 ++
 .../apache/camel/catalog/capabilities.properties   | 17 +++
 .../org/apache/camel/catalog/CamelCatalogTest.java | 16 ++
 .../org/apache/camel/tooling/model/EntityRef.java  | 13 +++
 .../java/org/apache/camel/tooling/model}/Kind.java |  2 +-
 8 files changed, 102 insertions(+), 11 deletions(-)

diff --git 
a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
 
b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
index 4d2744e171b..1932fb506a5 100644
--- 
a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
+++ 
b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
@@ -20,6 +20,7 @@ import java.io.InputStream;
 import java.net.URISyntaxException;
 import java.util.List;
 import java.util.Map;
+import java.util.Optional;
 import java.util.Set;
 
 import org.apache.camel.tooling.model.ArtifactModel;
@@ -28,6 +29,8 @@ import org.apache.camel.tooling.model.ComponentModel;
 import org.apache.camel.tooling.model.DataFormatModel;
 import org.apache.camel.tooling.model.DevConsoleModel;
 import org.apache.camel.tooling.model.EipModel;
+import org.apache.camel.tooling.model.EntityRef;
+import org.apache.camel.tooling.model.Kind;
 import org.apache.camel.tooling.model.LanguageModel;
 import org.apache.camel.tooling.model.MainModel;
 import org.apache.camel.tooling.model.OtherModel;
@@ -214,6 +217,11 @@ public interface CamelCatalog {
  */
 List findOtherNames();
 
+/**
+ * Find all the capability names from the Camel catalog
+ */
+List findCapabilityNames();
+
 /**
  * @param  kind the kind to look for
  * @return  the list of part names of the given {@link Kind} available 
in this {@link CamelCatalog}
@@ -640,4 +648,8 @@ public interface CamelCatalog {
  */
 List camelQuarkusReleases();
 
+/**
+ * Find the entity the given capability maps to.
+ */
+Optional findCapabilityRef(String capability);
 }
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 aca19fb66e7..0d4e0b1a4a4 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
@@ -24,6 +24,7 @@ import java.util.Collections;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.Optional;
 import java.util.Set;
 import java.util.SortedSet;
 import java.util.TreeSet;
@@ -40,7 +41,9 @@ import org.apache.camel.tooling.model.ComponentModel;
 import org.apache.camel.tooling.model.DataFormatModel;
 import org.apache.camel.tooling.model.DevConsoleModel;
 import org.apache.camel.tooling.model.EipModel;
+import org.apache.camel.tooling.model.EntityRef;
 import org.apache.camel.tooling.model.JsonMapper;
+import org.apache.camel.tooling.model.Kind;
 import org.apache.camel.tooling.model.LanguageModel;
 import org.apache.camel.tooling.model.MainModel;
 import org.apache.camel.tooling.model.OtherModel;
@@ -303,6 +306,11 @@ public class DefaultCamelCatalog extends 
AbstractCamelCatalog implements CamelCa
 return findNames(filter, this::findOtherNames, this::otherModel);
 }
 
+@Override
+public List findCapabilityNames() {
+return List.copyOf(runtimeProvider.findCapabilities().keySet());
+}
+
 private List findNames(
 String filter, Supplier> findNames, Function> modelLoader) {
 List answer = new ArrayList<>();
@@ -589,6 +597,23 @@ public class DefaultCamelCatalog extends 
AbstractCamelCatalog implements CamelCa
 return camelReleases("camel-quarkus-releases.json");
 }
 
+@Override
+public Optional findCapabilityRef(String capability) {
+Map capabilities = cache("capabilities", 
runtimeProvider::findCapabilities);
+
+String ref = capabilities.get(capability);
+if (ref == null) {

Re: [PR] CAMEL-20548: include a capability section to advertise which artifact provides a specific feature [camel]

2024-03-18 Thread via GitHub


lburgazzoli merged PR #13481:
URL: https://github.com/apache/camel/pull/13481


-- 
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-20548: include a capability section to advertise which artifact provides a specific feature [camel]

2024-03-18 Thread via GitHub


lburgazzoli commented on code in PR #13481:
URL: https://github.com/apache/camel/pull/13481#discussion_r1528458617


##
catalog/camel-catalog/src/main/resources/org/apache/camel/catalog/capabilities.properties:
##
@@ -0,0 +1,17 @@
+## ---
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements.  See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License.  You may obtain a copy of the License at
+##
+##  http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---
+platform-http=other/platform-http-main

Review Comment:
   yeah, it is a little bit different from how things are done since it is the 
catalog that "dictates" what is the artifact that provides such feature. 
Eventually we may find a way to annotate a component to the provider for a 
capability and then the catalog plugin can auto generate this file but if was a 
little bit too intrusive so I opted for this simpler way.
   
   Maybe there should be a camel main catalog and this file should be in the 
related catalog module.



-- 
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 (b6f65ecacdb -> 721b135294d)

2024-03-18 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 b6f65ecacdb Camel 20567 make it possible to define restconfiguration 
in xml-io-dsl and xml-jaxb-dsl (#13488)
 add 721b135294d Camel-AI: Langchain Embeddings component testing with 
Camel Milvus (#13517)

No new revisions were added by this update.

Summary of changes:
 .../camel-ai/camel-langchain-embeddings/pom.xml|  12 ++
 ...LangchainEmbeddingsComponentMilvusTargetIT.java | 191 +
 .../embeddings/LangchainEmbeddingsTestSupport.java |  23 +++
 3 files changed, 226 insertions(+)
 create mode 100644 
components/camel-ai/camel-langchain-embeddings/src/test/java/org/apache/camel/component/langchain/embeddings/LangchainEmbeddingsComponentMilvusTargetIT.java



(camel) branch milvus-supp-langchain deleted (was 930ff7f9e87)

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

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


 was 930ff7f9e87 Camel-AI: Langchain Embeddings component testing with 
Camel Milvus

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: Camel-AI: Langchain Embeddings component testing with Camel Milvus (#13517)

2024-03-18 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 721b135294d Camel-AI: Langchain Embeddings component testing with 
Camel Milvus (#13517)
721b135294d is described below

commit 721b135294da296d65fe17b0b20d0a22347ebea5
Author: Andrea Cosentino 
AuthorDate: Mon Mar 18 13:28:42 2024 +0100

Camel-AI: Langchain Embeddings component testing with Camel Milvus (#13517)

Signed-off-by: Andrea Cosentino 
---
 .../camel-ai/camel-langchain-embeddings/pom.xml|  12 ++
 ...LangchainEmbeddingsComponentMilvusTargetIT.java | 191 +
 .../embeddings/LangchainEmbeddingsTestSupport.java |  23 +++
 3 files changed, 226 insertions(+)

diff --git a/components/camel-ai/camel-langchain-embeddings/pom.xml 
b/components/camel-ai/camel-langchain-embeddings/pom.xml
index d4a68ff9704..09ae4d316fe 100644
--- a/components/camel-ai/camel-langchain-embeddings/pom.xml
+++ b/components/camel-ai/camel-langchain-embeddings/pom.xml
@@ -57,6 +57,11 @@
   camel-qdrant
   test
 
+
+  org.apache.camel
+  camel-milvus
+  test
+
 
 
   org.apache.camel
@@ -98,6 +103,13 @@
   test-jar
   test
 
+
+  org.apache.camel
+  camel-test-infra-milvus
+  ${project.version}
+  test-jar
+  test
+
 
   
 
diff --git 
a/components/camel-ai/camel-langchain-embeddings/src/test/java/org/apache/camel/component/langchain/embeddings/LangchainEmbeddingsComponentMilvusTargetIT.java
 
b/components/camel-ai/camel-langchain-embeddings/src/test/java/org/apache/camel/component/langchain/embeddings/LangchainEmbeddingsComponentMilvusTargetIT.java
new file mode 100644
index 000..728914d789e
--- /dev/null
+++ 
b/components/camel-ai/camel-langchain-embeddings/src/test/java/org/apache/camel/component/langchain/embeddings/LangchainEmbeddingsComponentMilvusTargetIT.java
@@ -0,0 +1,191 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.langchain.embeddings;
+
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Random;
+
+import dev.langchain4j.model.embedding.AllMiniLmL6V2EmbeddingModel;
+import io.milvus.common.clientenum.ConsistencyLevelEnum;
+import io.milvus.grpc.DataType;
+import io.milvus.param.IndexType;
+import io.milvus.param.MetricType;
+import io.milvus.param.collection.CreateCollectionParam;
+import io.milvus.param.collection.FieldType;
+import io.milvus.param.highlevel.dml.SearchSimpleParam;
+import io.milvus.param.highlevel.dml.response.SearchResponse;
+import io.milvus.param.index.CreateIndexParam;
+import org.apache.camel.CamelContext;
+import org.apache.camel.Exchange;
+import org.apache.camel.RoutesBuilder;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.milvus.Milvus;
+import org.apache.camel.component.milvus.MilvusAction;
+import org.apache.camel.component.milvus.MilvusComponent;
+import org.apache.camel.test.infra.milvus.services.MilvusService;
+import org.apache.camel.test.infra.milvus.services.MilvusServiceFactory;
+import org.apache.camel.test.junit5.CamelTestSupport;
+import org.assertj.core.util.Lists;
+import org.junit.jupiter.api.MethodOrderer;
+import org.junit.jupiter.api.Order;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestInstance;
+import org.junit.jupiter.api.TestMethodOrder;
+import org.junit.jupiter.api.extension.RegisterExtension;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+@TestInstance(TestInstance.Lifecycle.PER_CLASS)
+@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
+public class LangchainEmbeddingsComponentMilvusTargetIT extends 
CamelTestSupport {
+public static final String MILVUS_URI = "milvus:embeddings";
+
+@RegisterExtension
+static MilvusService MILVUS = 
MilvusServiceFactory.createSingletonService();
+
+@Override
+
+protected CamelContext createCamelContext() throws Exception {
+CamelContext context = super.createCamelContext();
+
+var milvus = 

Re: [PR] Camel-AI: Langchain Embeddings component testing with Camel Milvus [camel]

2024-03-18 Thread via GitHub


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


-- 
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-AI: Langchain Embeddings component testing with Camel Milvus [camel]

2024-03-18 Thread via GitHub


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

   :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] Camel-AI: Langchain Embeddings component testing with Camel Milvus [camel]

2024-03-18 Thread via GitHub


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

   /component-test ai


-- 
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-AI: Langchain Embeddings component testing with Camel Milvus [camel]

2024-03-18 Thread via GitHub


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

   :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-AI: Langchain Embeddings component testing with Camel Milvus [camel]

2024-03-18 Thread via GitHub


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

   # 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) 01/01: Camel-AI: Langchain Embeddings component testing with Camel Milvus

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

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

commit 930ff7f9e870d1d76b8357643f390628cadd
Author: Andrea Cosentino 
AuthorDate: Mon Mar 18 13:10:19 2024 +0100

Camel-AI: Langchain Embeddings component testing with Camel Milvus

Signed-off-by: Andrea Cosentino 
---
 .../camel-ai/camel-langchain-embeddings/pom.xml|  12 ++
 ...LangchainEmbeddingsComponentMilvusTargetIT.java | 191 +
 .../embeddings/LangchainEmbeddingsTestSupport.java |  23 +++
 3 files changed, 226 insertions(+)

diff --git a/components/camel-ai/camel-langchain-embeddings/pom.xml 
b/components/camel-ai/camel-langchain-embeddings/pom.xml
index d4a68ff9704..09ae4d316fe 100644
--- a/components/camel-ai/camel-langchain-embeddings/pom.xml
+++ b/components/camel-ai/camel-langchain-embeddings/pom.xml
@@ -57,6 +57,11 @@
   camel-qdrant
   test
 
+
+  org.apache.camel
+  camel-milvus
+  test
+
 
 
   org.apache.camel
@@ -98,6 +103,13 @@
   test-jar
   test
 
+
+  org.apache.camel
+  camel-test-infra-milvus
+  ${project.version}
+  test-jar
+  test
+
 
   
 
diff --git 
a/components/camel-ai/camel-langchain-embeddings/src/test/java/org/apache/camel/component/langchain/embeddings/LangchainEmbeddingsComponentMilvusTargetIT.java
 
b/components/camel-ai/camel-langchain-embeddings/src/test/java/org/apache/camel/component/langchain/embeddings/LangchainEmbeddingsComponentMilvusTargetIT.java
new file mode 100644
index 000..728914d789e
--- /dev/null
+++ 
b/components/camel-ai/camel-langchain-embeddings/src/test/java/org/apache/camel/component/langchain/embeddings/LangchainEmbeddingsComponentMilvusTargetIT.java
@@ -0,0 +1,191 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.langchain.embeddings;
+
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Random;
+
+import dev.langchain4j.model.embedding.AllMiniLmL6V2EmbeddingModel;
+import io.milvus.common.clientenum.ConsistencyLevelEnum;
+import io.milvus.grpc.DataType;
+import io.milvus.param.IndexType;
+import io.milvus.param.MetricType;
+import io.milvus.param.collection.CreateCollectionParam;
+import io.milvus.param.collection.FieldType;
+import io.milvus.param.highlevel.dml.SearchSimpleParam;
+import io.milvus.param.highlevel.dml.response.SearchResponse;
+import io.milvus.param.index.CreateIndexParam;
+import org.apache.camel.CamelContext;
+import org.apache.camel.Exchange;
+import org.apache.camel.RoutesBuilder;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.milvus.Milvus;
+import org.apache.camel.component.milvus.MilvusAction;
+import org.apache.camel.component.milvus.MilvusComponent;
+import org.apache.camel.test.infra.milvus.services.MilvusService;
+import org.apache.camel.test.infra.milvus.services.MilvusServiceFactory;
+import org.apache.camel.test.junit5.CamelTestSupport;
+import org.assertj.core.util.Lists;
+import org.junit.jupiter.api.MethodOrderer;
+import org.junit.jupiter.api.Order;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestInstance;
+import org.junit.jupiter.api.TestMethodOrder;
+import org.junit.jupiter.api.extension.RegisterExtension;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+@TestInstance(TestInstance.Lifecycle.PER_CLASS)
+@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
+public class LangchainEmbeddingsComponentMilvusTargetIT extends 
CamelTestSupport {
+public static final String MILVUS_URI = "milvus:embeddings";
+
+@RegisterExtension
+static MilvusService MILVUS = 
MilvusServiceFactory.createSingletonService();
+
+@Override
+
+protected CamelContext createCamelContext() throws Exception {
+CamelContext context = super.createCamelContext();
+
+var milvus = context.getComponent(Milvus.SCHEME, 
MilvusComponent.class);
+URL url = new URL(MILVUS.getMilvusEndpointUrl());
+milvus.getConfiguration().setHost(url.getHost());
+

(camel) branch milvus-supp-langchain created (now 930ff7f9e87)

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

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


  at 930ff7f9e87 Camel-AI: Langchain Embeddings component testing with 
Camel Milvus

This branch includes the following new commits:

 new 930ff7f9e87 Camel-AI: Langchain Embeddings component testing with 
Camel Milvus

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: [PR] CAMEL-20548: include a capability section to advertise which artifact provides a specific feature [camel]

2024-03-18 Thread via GitHub


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


##
catalog/camel-catalog/src/main/resources/org/apache/camel/catalog/capabilities.properties:
##
@@ -0,0 +1,17 @@
+## ---
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements.  See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License.  You may obtain a copy of the License at
+##
+##  http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---
+platform-http=other/platform-http-main

Review Comment:
   Ah okay so its a bit upside down thinking. The catalog is usually a 
collection of each individual component information. So 
`platform-http=other/platform-http-main` would then be in 
`camel-platform-http-main`, etc. But I can see from your pov, that you want 
camel-catalog to be vanilla Camel and that it has a set of capabilities. And 
then in SB catalog, you adjust this for SB runtime. And ditto for Q.
   
   



-- 
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_40x updated (5089bbf295a -> b6f65ecacdb)

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

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


from 5089bbf295a CAMEL-20558: Ability to use the old Micrometer meter names 
does not work on MicrometerExchangeEventNotifier. Thanks to Sébastien 
Perpignane for the patch.
 add 6e0dbbbdb8b Bump aws-java-sdk2-version from 2.25.7 to 2.25.8 (#13460)
 add 9a2e0424342 Bump reactor-netty-version from 1.1.15 to 1.1.17 (#13461)
 add 4e1ed0133ff Bump cxf-version from 4.0.3 to 4.0.4 (#13459)
 add 1a171ac0e6b CAMEL-20560 - Camel-AWS-Bedrock: Support Anthropic models 
(#13462)
 add ca816a636d9 Camel-AWS-Secrets-Manager: Added Metadata annotations to 
show support for vault in catalog
 add c813bd0b256 Camel-Azure-Key-Vault: Added Metadata annotations to show 
support for vault in catalog
 add 98171f7fec5 Camel-Google-Secret-Manager: Added Metadata annotations to 
show support for vault in catalog
 add 0036ea59726 Camel-Hashicorp-Vault: Added Metadata annotations to show 
support for vault in catalog
 add 69930cbaac6 CAMEL-20504 - Google Pubsub CloudEvent Transformer (#13465)
 add feff3159315 Main profile (#13466)
 add 2bdfab1548a CAMEL-18090: camel-main - Make it possible to know the 
configured profile.
 add 409a8c6c2fd CAMEL-20341: refactored ContextTestSupport to work like 
CamelTestSupport
 add 7f0c3971cde CAMEL-20654: camel-xslt: Make variables available as 
xsl:param (#13467)
 add dcfbe871423 CAMEL-20447: fix SjmsComponentRestartTest test due to 
lifecycle requirements
 add b412468 CAMEL-20477: rework a shared topic test to allow tests to 
run concurrently
 add 32035640538 CAMEL-20477: make the shared topic test an integration 
test for consistency
 add 9a87a3d467d CAMEL-20477: adjust Artemis service to reduce broker 
recycling
 add 04ca9696e0a CAMEL-20095 : add langchain component (#13341)
 add 3d351350912 camel-core - Avoid clutter JMX with anonymous internal 
EventNotifiers
 add fb6a1ed4151 Bump com.sun.xml.bind:jaxb-core from 4.0.4 to 4.0.5 
(#13468)
 add 8b633be0a41 Bump com.sun.xml.bind:jaxb-jxc from 4.0.4 to 4.0.5 (#13477)
 add b923acd9d5b Bump org.jolokia:jolokia-agent-jvm from 2.0.1 to 2.0.2 
(#13470)
 add f13fd78f56a Bump aws-java-sdk2-version from 2.25.8 to 2.25.9 (#13473)
 add 407d862d91d Bump micrometer-tracing-version from 1.2.3 to 1.2.4 
(#13474)
 add 372eb91007a Bump org.openapitools:openapi-generator from 7.3.0 to 
7.4.0 (#13469)
 add 640f4130aa6 Upgrade to jolokia 2.0.2
 add 96a8bfe9cf9 Bump com.cloudbees.thirdparty:zendesk-java-client from 
0.24.2 to 0.25.0 (#13475)
 add 9db2c9d6ecf Regen
 add 0f7a57f1bd8 Bump com.google.api-client:google-api-client from 2.3.0 to 
2.4.0 (#13472)
 add 6fe4706f1ff Bump mongo-java-driver-version from 4.11.1 to 5.0.0 
(#13476)
 add 93e4a0c4253 Add camel-ai to the catalog
 add c3746543d2b Regen for commit 93e4a0c4253a4f3f97bf306b2f81e39c790f9c04 
(#13480)
 add bacb2ca8f8e CAMEL-18090: camel-main - Loading properties with profiles 
for prod/dev/test
 add 0506c5a798a CAMEL-20522: Polished
 add baecbcd86a6 CAMEL-20522: Fix tests to ensure they stop camel
 add 5ffd496ea90 Regen (#13483)
 add 6fd7a44720b Camel-AWS-Bedrock: Add documentation for Embeddings Titan 
G1
 add dc2630e85fe Camel-AWS-Bedrock: Add documentation for Jurassic2-Ultra 
model
 add 32fc9f09664 Camel-AWS-Bedrock: Add documentation for Jurassic2-Mid 
model
 add 9f8ab951367 Camel-AWS-Bedrock: Add documentation for Anthropic Claude 
1.2
 add cf34bb6c38e Camel-AWS-Bedrock: Add documentation for Anthropic Claude 2
 add b71eca6e0d4 Camel-AWS-Bedrock: Add documentation for Anthropic Claude 
2.1
 add e752fa6956a Camel-AWS-Bedrock: Add documentation for Anthropic Claude 
Sonnet 3
 add 825e9858ef1 Remove not needed import
 add 9c29395901e (chores) camel-qdrant: disable tests on PPC64LE and s390x
 add 8aab61a7a28 CAMEL-20545: Using replaceFromWith with camel-test and 
having route templates can lead to duplicate consumer on starutp error. (#13485)
 add b5c9c5725da Upgrade GraalJS to 23.1.2
 add f7d79c74f43 Jaxb properties should be present in parent/pom.xml 
CAMEL-20566 (#13486)
 add 2386188e068 Update year in NOTICE.txt (#13490)
 add 516bda55430 Regen
 add fe0b4435263 Update known releases
 add e885eaea88d Regen for commit fe0b4435263a21cb8119ea22b13dc03cd895a5b2 
(#13492)
 add 2b83147b440 (chores) camel-langchain-embeddings: disable tests on 
unsupported platforms
 add 0c7bbb389ec Bump aws-java-sdk2-version from 2.25.9 to 2.25.10 (#13496)
 add e20e0003d75 Bump micrometer-version from 1.12.3 to 1.12.4 (#13495)
 add 1f5d863d5a8 Regen
 add b3a7d121d55 Upgrade assembly plugin
 add 396d7b40822 Bump org.apache.maven.plugins:maven-assembly-plugin from 
3.6.0 to 3.7.0 (#13497)
 add 62754c9dbec Bump 

Re: [PR] CAMEL-20548: include a capability section to advertise which artifact provides a specific feature [camel]

2024-03-18 Thread via GitHub


lburgazzoli commented on code in PR #13481:
URL: https://github.com/apache/camel/pull/13481#discussion_r1528362568


##
catalog/camel-catalog/src/main/resources/org/apache/camel/catalog/capabilities.properties:
##
@@ -0,0 +1,17 @@
+## ---
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements.  See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License.  You may obtain a copy of the License at
+##
+##  http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---
+platform-http=other/platform-http-main

Review Comment:
   it is meant to provide the default capabilities for vanilla camel. 
   
   I only listed `platform-http` as I do not know the others at this stage but 
I will add things like metrics,,tracing,  health, etc once I get to know what 
they are. 
   
   Do you think it should be moved somewhere else ?



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

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

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



(camel) branch camel-4.0.x updated: CAMEL-20563: shutdown existing consumer instance to release resources… (#13510)

2024-03-18 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/camel-4.0.x by this push:
 new e2d93f146b8 CAMEL-20563: shutdown existing consumer instance to 
release resources… (#13510)
e2d93f146b8 is described below

commit e2d93f146b881fb22a65326475acc78ec1bf9a8c
Author: Claus Ibsen 
AuthorDate: Mon Mar 18 12:20:07 2024 +0100

CAMEL-20563: shutdown existing consumer instance to release resources… 
(#13510)
---
 .../kafka/integration/KafkaBreakOnFirstErrorReleaseResourcesIT.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorReleaseResourcesIT.java
 
b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorReleaseResourcesIT.java
index 81d8f603044..cae054b82d1 100644
--- 
a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorReleaseResourcesIT.java
+++ 
b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorReleaseResourcesIT.java
@@ -49,7 +49,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 @EnabledOnOs(value = { OS.LINUX, OS.MAC, OS.FREEBSD, OS.OPENBSD, OS.WINDOWS },
  architectures = { "amd64", "aarch64", "s390x" },
  disabledReason = "This test does not run reliably on ppc64le")
-class KafkaBreakOnFirstErrorReleaseResourcesIT extends BaseKafkaTestSupport {
+class KafkaBreakOnFirstErrorReleaseResourcesIT extends 
BaseEmbeddedKafkaTestSupport {
 
 public static final String ROUTE_ID = "breakOnFirstError-20563";
 public static final String TOPIC = "breakOnFirstError-20563";



Re: [PR] CAMEL-20548: include a capability section to advertise which artifact provides a specific feature [camel]

2024-03-18 Thread via GitHub


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

   Yes see prev comments further up


-- 
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-20548: include a capability section to advertise which artifact provides a specific feature [camel]

2024-03-18 Thread via GitHub


lburgazzoli commented on PR #13481:
URL: https://github.com/apache/camel/pull/13481#issuecomment-2003613111

   @davsclaus is there anything missing or to improve in this pr ? 


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

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

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



  1   2   >