(camel-spring-boot) branch main updated: Regen

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 0a0e373575d Regen
0a0e373575d is described below

commit 0a0e373575d80861e2d4af476c2f794a6fae0ed3
Author: Claus Ibsen 
AuthorDate: Tue May 14 06:21:35 2024 +0200

Regen
---
 .../org/apache/camel/springboot/catalog/components/dataset-test.json  | 4 ++--
 .../org/apache/camel/springboot/catalog/components/dataset.json   | 4 ++--
 .../org/apache/camel/springboot/catalog/components/mock.json  | 4 ++--
 components-starter/camel-dataset-starter/src/main/docs/dataset.json   | 4 ++--
 .../component/dataset/springboot/DataSetComponentConfiguration.java   | 2 +-
 .../dataset/springboot/DataSetTestComponentConfiguration.java | 2 +-
 components-starter/camel-mock-starter/src/main/docs/mock.json | 2 +-
 .../camel/component/mock/springboot/MockComponentConfiguration.java   | 2 +-
 8 files changed, 12 insertions(+), 12 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/dataset-test.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/dataset-test.json
index a666a8e8a95..627f43a7fd7 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/dataset-test.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/dataset-test.json
@@ -24,14 +24,14 @@
   },
   "componentProperties": {
 "lazyStartProducer": { "index": 0, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
-"log": { "index": 1, "kind": "property", "displayName": "Log", "group": 
"producer", "label": "producer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "To turn on logging when the mock 
receives an incoming message. This will log only one time at INFO level for the 
incoming message. For more detailed logging then set the logger to DEBUG level 
for the org.apache.camel.componen [...]
+"log": { "index": 1, "kind": "property", "displayName": "Log", "group": 
"producer", "label": "producer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "To turn on logging when the mock 
receives an incoming message. This will log only one time at INFO level for the 
incoming message. For more detailed logging, then set the logger to DEBUG level 
for the org.apache.camel.compone [...]
 "autowiredEnabled": { "index": 2, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
 "exchangeFormatter": { "index": 3, "kind": "property", "displayName": 
"Exchange Formatter", "group": "advanced", "label": "advanced", "required": 
false, "type": "object", "javaType": "org.apache.camel.spi.ExchangeFormatter", 
"deprecated": false, "autowired": true, "secret": false, "description": "Sets a 
custom ExchangeFormatter to convert the Exchange to a String suitable for 
logging. If not specified, we default to DefaultExchangeFormatter." }
   },
   "properties": {
 "name": { "index": 0, "kind": "path", "displayName": "Name", "group": 
"producer", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "Name of endpoint to lookup in the 
registry to use for polling messages used for testing" },
 "anyOrder": { "index": 1, "kind": "parameter", "displayName": "Any Order", 
"group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "Whether the expected messages 
should arrive in the same order or can be in any order." },
-

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

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

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


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

commit c1d82fc93bf38942fdd73e04b11001095e50756a
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue May 14 03:07:40 2024 +

Updated CHANGELOG.md
---
 CHANGELOG.md | 52 ++--
 1 file changed, 50 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 92453baf..94c39525 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,14 +1,62 @@
 # Changelog
 
-## [Unreleased](https://github.com/apache/camel-kamelets/tree/HEAD)
+## [v4.6.0](https://github.com/apache/camel-kamelets/tree/v4.6.0) (2024-05-13)
 
-[Full 
Changelog](https://github.com/apache/camel-kamelets/compare/v4.4.2...HEAD)
+[Full 
Changelog](https://github.com/apache/camel-kamelets/compare/v4.4.2...v4.6.0)
 
 **Closed issues:**
 
+- Add Maven jandex on camel-kamelets-utils module 
[\#2032](https://github.com/apache/camel-kamelets/issues/2032)
 - Upgrade to Camel 4.6.0 
[\#2028](https://github.com/apache/camel-kamelets/issues/2028)
 - Use properties for kamelets 
[\#2024](https://github.com/apache/camel-kamelets/issues/2024)
 - Release 4.4.2 [\#2017](https://github.com/apache/camel-kamelets/issues/2017)
+- Google Sheets Source: Expose Kamelet data type information 
[\#2005](https://github.com/apache/camel-kamelets/issues/2005)
+- Google Calendar Source: Expose Kamelet data type information 
[\#2003](https://github.com/apache/camel-kamelets/issues/2003)
+- Google Mail Source: Expose Kamelet data type information 
[\#1991](https://github.com/apache/camel-kamelets/issues/1991)
+
+**Merged pull requests:**
+
+- Google Mail Source: Expose Kamelet data type information 
[\#2037](https://github.com/apache/camel-kamelets/pull/2037) 
([oscerd](https://github.com/oscerd))
+- Google Calendar Source: Expose Kamelet data type information 
[\#2036](https://github.com/apache/camel-kamelets/pull/2036) 
([oscerd](https://github.com/oscerd))
+- Google Sheets Source: Expose Kamelet data type information 
[\#2035](https://github.com/apache/camel-kamelets/pull/2035) 
([oscerd](https://github.com/oscerd))
+- Generated sources regen for SBOM 
[\#2034](https://github.com/apache/camel-kamelets/pull/2034) 
([github-actions[bot]](https://github.com/apps/github-actions))
+- fix\(\#2032\): Add Maven jandex on camel-kamelets-utils module 
[\#2033](https://github.com/apache/camel-kamelets/pull/2033) 
([christophd](https://github.com/christophd))
+- \#2024: Use properties in kamelet beans to set values. 
[\#2031](https://github.com/apache/camel-kamelets/pull/2031) 
([davsclaus](https://github.com/davsclaus))
+- Upgrade to Camel 4.6.0 
[\#2030](https://github.com/apache/camel-kamelets/pull/2030) 
([oscerd](https://github.com/oscerd))
+- Generated sources regen 
[\#2027](https://github.com/apache/camel-kamelets/pull/2027) 
([github-actions[bot]](https://github.com/apps/github-actions))
+- chore\(e2e\): Add AWS SQS Kamelet tests 
[\#2026](https://github.com/apache/camel-kamelets/pull/2026) 
([christophd](https://github.com/christophd))
+- Bump com.amazon.redshift:redshift-jdbc42 from 2.1.0.26 to 2.1.0.27 
[\#2025](https://github.com/apache/camel-kamelets/pull/2025) 
([dependabot[bot]](https://github.com/apps/dependabot))
+- Bump org.apache.camel.k:camel-k-crds from 2.3.0 to 2.3.1 
[\#2023](https://github.com/apache/camel-kamelets/pull/2023) 
([dependabot[bot]](https://github.com/apps/dependabot))
+- Bump org.apache.maven.plugins:maven-plugin-plugin from 3.12.0 to 3.13.0 
[\#2022](https://github.com/apache/camel-kamelets/pull/2022) 
([dependabot[bot]](https://github.com/apps/dependabot))
+- Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.12.0 to 
3.13.0 [\#2021](https://github.com/apache/camel-kamelets/pull/2021) 
([dependabot[bot]](https://github.com/apps/dependabot))
+- Generated sources regen for SBOM 
[\#2020](https://github.com/apache/camel-kamelets/pull/2020) 
([github-actions[bot]](https://github.com/apps/github-actions))
+- Improve Protobuf serialization/deserialization Kamelets 
[\#2019](https://github.com/apache/camel-kamelets/pull/2019) 
([christophd](https://github.com/christophd))
+- Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.1 to 3.1.2 
[\#2015](https://github.com/apache/camel-kamelets/pull/2015) 
([dependabot[bot]](https://github.com/apps/dependabot))
+- Bump org.apache.maven.resolver:maven-resolver-api from 1.9.19 to 1.9.20 
[\#2014](https://github.com/apache/camel-kamelets/pull/2014) 
([dependabot[bot]](https://github.com/apps/dependabot))
+- chore: Add AWS Kinesis Kamelet tests 
[\#2011](https://github.com/apache/camel-kamelets/pull/2011) 
([christophd](https://github.com/christophd))
+- Fix AWS DDB 

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

2024-05-13 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 975aff7d60 Updated CHANGELOG.md
975aff7d60 is described below

commit 975aff7d6019566870793a6316b331ed9eb4b15f
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue May 14 03:03:37 2024 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b01a3e1f4c..61eb637c06 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,6 +19,7 @@
 
 **Merged pull requests:**
 
+- Bump actions/checkout from 4.1.4 to 4.1.5 
[\#1634](https://github.com/apache/camel-kafka-connector/pull/1634) 
([dependabot[bot]](https://github.com/apps/dependabot))
 - Jira [\#1631](https://github.com/apache/camel-kafka-connector/pull/1631) 
([davsclaus](https://github.com/davsclaus))
 - chore\(CI\): updated jdk install actions. 
[\#1629](https://github.com/apache/camel-kafka-connector/pull/1629) 
([valdar](https://github.com/valdar))
 - Upgrade maven plugins 
[\#1627](https://github.com/apache/camel-kafka-connector/pull/1627) 
([davsclaus](https://github.com/davsclaus))



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

2024-05-13 Thread via GitHub


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

   The 
[quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) 
branch build has failed:
   
   * Build ID: 9072698876-1482-28baf03c-5630-4558-86fb-7f0add59e05b
   * Camel Quarkus Commit: 3095a23a762e7ddcc605c2407f5c224ecde50342
   
   * Quarkus Main Commit: 12076b1f125faabde28be7d77983794128c2f28a
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/9072698876


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

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

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



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

2024-05-13 Thread via GitHub


jamesnetherton opened a new issue, #2926:
URL: https://github.com/apache/camel-quarkus/issues/2926

   This is a placeholder issue used by the [nightly sync 
workflow](https://github.com/apache/camel-quarkus/actions/workflows/quarkus-master-cron.yaml)
 for the 
[`quarkus-main`](https://github.com/apache/camel-quarkus/tree/quarkus-main) 
branch.


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

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

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



(camel-kafka-connector) branch automatic-periodic-sync updated (39c4d5b5c6 -> 0c7990d6ae)

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

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


from 39c4d5b5c6 Updated CHANGELOG.md
 add 0c7990d6ae Bump actions/checkout from 4.1.4 to 4.1.5 (#1634)

No new revisions were added by this update.

Summary of changes:
 .github/workflows/asf-snapshots-deploy.yml   | 4 ++--
 .github/workflows/automatic-changelog-update.yml | 2 +-
 .github/workflows/automatic-sync-camel-main.yml  | 4 ++--
 .github/workflows/backport.yml   | 2 +-
 .github/workflows/ci-build.yml   | 2 +-
 .github/workflows/daily-java-next.yml| 2 +-
 .github/workflows/depsreview.yaml| 2 +-
 .github/workflows/maven-it.yaml  | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)



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

2024-05-13 Thread via GitHub


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

   Build fixed with:
   
   * Camel Quarkus Commit: 337f09e6eeff92f00f7b801fabdd28c42031ecde
   
   * Camel Main Commit: 12076b1f125faabde28be7d77983794128c2f28a
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/9071587583


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

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

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



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

2024-05-13 Thread via GitHub


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


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

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

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



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

2024-05-13 Thread via GitHub


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

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


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

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

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



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

2024-05-13 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 a95fd2b26 chore: nightly automatic updates
a95fd2b26 is described below

commit a95fd2b26abf95729b41b50be44e9246bd167d48
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon May 13 23:48:01 2024 +

chore: nightly automatic updates
---
 CHANGELOG.md |   1 +
 coverage.out | 426 +--
 2 files changed, 214 insertions(+), 213 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b8d20aca5..2d3426132 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,6 +19,7 @@
 
 **Merged pull requests:**
 
+- feat\(lint\): enabe goconst linter 
[\#5499](https://github.com/apache/camel-k/pull/5499) 
([lburgazzoli](https://github.com/lburgazzoli))
 - feat\(lint\): enabe magic number detector \(mld\) 
[\#5496](https://github.com/apache/camel-k/pull/5496) 
([lburgazzoli](https://github.com/lburgazzoli))
 - chore\(tools\): update golangci-lint to v1.58.1 
[\#5495](https://github.com/apache/camel-k/pull/5495) 
([lburgazzoli](https://github.com/lburgazzoli))
 - fix\(tests\): Minor fix to incremental\_build\_test.go after fixing of 
copykits. [\#5494](https://github.com/apache/camel-k/pull/5494) 
([valdar](https://github.com/valdar))
diff --git a/coverage.out b/coverage.out
index 2c256ac61..fac44769e 100644
--- a/coverage.out
+++ b/coverage.out
@@ -42,11 +42,11 @@ github.com/apache/camel-k/v2/addons/strimzi/strimzi.go:208: 
ID  
0.0%
 github.com/apache/camel-k/v2/addons/strimzi/strimzi.go:214:
Translate   
0.0%
 github.com/apache/camel-k/v2/addons/strimzi/strimzi.go:276:
getBootstrapServers 
0.0%
 github.com/apache/camel-k/v2/addons/strimzi/strimzi.go:297:
Order   
0.0%
-github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:86: 
NewTelemetryTrait   
100.0%
-github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:92: 
Configure   
47.6%
-github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:134:
Apply   
80.0%
-github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:146:
setCatalogConfiguration 
93.3%
-github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:175:
setProperties   
0.0%
+github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:88: 
NewTelemetryTrait   
100.0%
+github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:94: 
Configure   
47.6%
+github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:136:
Apply   
80.0%
+github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:148:
setCatalogConfiguration 
93.3%
+github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:177:
setProperties   
0.0%
 github.com/apache/camel-k/v2/addons/threescale/3scale.go:84:   
NewThreeScaleTrait  
100.0%
 github.com/apache/camel-k/v2/addons/threescale/3scale.go:90:   
Configure   
93.3%
 github.com/apache/camel-k/v2/addons/threescale/3scale.go:117:  
Apply   
100.0%
@@ -714,17 +714,17 @@ github.com/apache/camel-k/v2/pkg/builder/project.go:163:  
getServerTagIndex
 github.com/apache/camel-k/v2/pkg/builder/project.go:193:   
injectDependencies  
100.0%
 github.com/apache/camel-k/v2/pkg/builder/project.go:198:   
sanitizeDependencies

(camel-quarkus) branch dependabot/maven/com.mycila-license-maven-plugin-4.5 created (now 6b48cd14c9)

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

github-bot pushed a change to branch 
dependabot/maven/com.mycila-license-maven-plugin-4.5
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


  at 6b48cd14c9 Bump com.mycila:license-maven-plugin from 4.3 to 4.5

No new revisions were added by this update.



[PR] Bump com.mycila:license-maven-plugin from 4.3 to 4.5 [camel-quarkus]

2024-05-13 Thread via GitHub


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

   Bumps 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin)
 from 4.3 to 4.5.
   
   Commits
   
   https://github.com/mathieucarbou/license-maven-plugin/commit/aa05f0e810a4d8bf57001e73782549f6c6a04873;>aa05f0e
 [maven-release-plugin] prepare release license-maven-plugin-4.5
   https://github.com/mathieucarbou/license-maven-plugin/commit/125914ebc8a138f2ead93b476d1cfc79439b45d1;>125914e
 Try fix this Maven error while releasing:
   https://github.com/mathieucarbou/license-maven-plugin/commit/4c85b0d52d1ef03cb85ceaf5f82bea5bfa2ccc08;>4c85b0d
 Try fix this Maven error while releasing:
   https://github.com/mathieucarbou/license-maven-plugin/commit/282f3137ad1b3111e0a47d56ed6e230337353fca;>282f313
 Try fix this Maven error while releasing:
   https://github.com/mathieucarbou/license-maven-plugin/commit/86bb5175e9b8ce6845300ca6bde34c5df83275c2;>86bb517
 [maven-release-plugin] rollback the release of license-maven-plugin-4.5
   https://github.com/mathieucarbou/license-maven-plugin/commit/eeab7a4867d3a19adbdf08e95a3723ed0dd40bd1;>eeab7a4
 [maven-release-plugin] prepare for next development iteration
   https://github.com/mathieucarbou/license-maven-plugin/commit/bb169367ae05e4ddbc0ed56860e90eefa7b1dbc7;>bb16936
 [maven-release-plugin] prepare release license-maven-plugin-4.5
   https://github.com/mathieucarbou/license-maven-plugin/commit/9caf0a49c622c2ad549dcd2d8329a28b76fda6b5;>9caf0a4
 Doc update
   https://github.com/mathieucarbou/license-maven-plugin/commit/0156e9a127e0c74a505e6bdcc6087aeef584638b;>0156e9a
 Set gpg useAgent to false
   https://github.com/mathieucarbou/license-maven-plugin/commit/536b43277a506c0f0fb4d7b17a185e10c1ea9de5;>536b432
 Fix missing activation from release profile
   Additional commits viewable in https://github.com/mathieucarbou/license-maven-plugin/compare/license-maven-plugin-4.3...license-maven-plugin-4.5;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.mycila:license-maven-plugin=maven=4.3=4.5)](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-quarkus-examples) branch dependabot/maven/aws-lambda/camel-quarkus-main/maven-36235f1b87 created (now 6fbca04)

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

github-bot pushed a change to branch 
dependabot/maven/aws-lambda/camel-quarkus-main/maven-36235f1b87
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git


  at 6fbca04  Bump the maven group across 21 directories with 1 update

No new revisions were added by this update.



[PR] Bump the maven group across 21 directories with 1 update [camel-quarkus-examples]

2024-05-13 Thread via GitHub


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

   Bumps the maven group with 1 update in the /aws-lambda directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /cluster-leader-election 
directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /cxf-soap directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /file-bindy-ftp directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /file-split-log-xml directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /health directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /http-log directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /jdbc-datasource directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /jms-jpa directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /jpa-idempotent-repository 
directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /jta-jpa directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /kafka directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /kamelet-chucknorris directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /message-bridge directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /observability directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /platform-http-security-keycloak 
directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /rest-json directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /timer-log directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /timer-log-kotlin directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /timer-log-main directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   Bumps the maven group with 1 update in the /vertx-websocket-chat directory: 
[com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin).
   
   Updates `com.mycila:license-maven-plugin` from 4.4 to 4.5
   
   Commits
   
   https://github.com/mathieucarbou/license-maven-plugin/commit/aa05f0e810a4d8bf57001e73782549f6c6a04873;>aa05f0e
 [maven-release-plugin] prepare release license-maven-plugin-4.5
   https://github.com/mathieucarbou/license-maven-plugin/commit/125914ebc8a138f2ead93b476d1cfc79439b45d1;>125914e
 Try fix this Maven error while releasing:
   https://github.com/mathieucarbou/license-maven-plugin/commit/4c85b0d52d1ef03cb85ceaf5f82bea5bfa2ccc08;>4c85b0d
 Try fix this Maven error while releasing:
   https://github.com/mathieucarbou/license-maven-plugin/commit/282f3137ad1b3111e0a47d56ed6e230337353fca;>282f313
 Try fix this Maven error while releasing:
   https://github.com/mathieucarbou/license-maven-plugin/commit/86bb5175e9b8ce6845300ca6bde34c5df83275c2;>86bb517
 [maven-release-plugin] rollback the release of license-maven-plugin-4.5
   https://github.com/mathieucarbou/license-maven-plugin/commit/eeab7a4867d3a19adbdf08e95a3723ed0dd40bd1;>eeab7a4
 [maven-release-plugin] prepare for next development iteration
   https://github.com/mathieucarbou/license-maven-plugin/commit/bb169367ae05e4ddbc0ed56860e90eefa7b1dbc7;>bb16936
 [maven-release-plugin] prepare release license-maven-plugin-4.5
   https://github.com/mathieucarbou/license-maven-plugin/commit/9caf0a49c622c2ad549dcd2d8329a28b76fda6b5;>9caf0a4
 Doc update
   

(camel-kamelets) branch regen_bot updated (959c2083 -> 97219422)

2024-05-13 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 959c2083 chore(e2e): Fix E2E tests for Camel 4.5 (#2041)
 add 97219422 chore: Improve AWS DDB E2E tests

No new revisions were added by this update.

Summary of changes:
 .../aws/ddb/aws-ddb-sink-deleteItem.feature|  61 ---
 .../resources/aws/ddb/aws-ddb-sink-putItem.feature |  60 ---
 .../aws/ddb/aws-ddb-sink-updateItem.feature|  64 
 .../test/resources/aws/ddb/aws-ddb-sink.feature| 111 +
 ...urce-getItem.feature => aws-ddb-source.feature} |   2 +-
 .../aws/ddb/{verifyItems.groovy => getItem.groovy} |   3 +-
 .../src/test/resources/aws/ddb/yaks-config.yaml|   1 +
 7 files changed, 115 insertions(+), 187 deletions(-)
 delete mode 100644 
tests/camel-kamelets-itest/src/test/resources/aws/ddb/aws-ddb-sink-deleteItem.feature
 delete mode 100644 
tests/camel-kamelets-itest/src/test/resources/aws/ddb/aws-ddb-sink-putItem.feature
 delete mode 100644 
tests/camel-kamelets-itest/src/test/resources/aws/ddb/aws-ddb-sink-updateItem.feature
 create mode 100644 
tests/camel-kamelets-itest/src/test/resources/aws/ddb/aws-ddb-sink.feature
 rename 
tests/camel-kamelets-itest/src/test/resources/aws/ddb/{aws-ddb-source-getItem.feature
 => aws-ddb-source.feature} (98%)
 copy tests/camel-kamelets-itest/src/test/resources/aws/ddb/{verifyItems.groovy 
=> getItem.groovy} (77%)



(camel-kamelets) branch main updated: chore: Improve AWS DDB E2E tests

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

cdeppisch 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 97219422 chore: Improve AWS DDB E2E tests
97219422 is described below

commit 97219422a16428e0b59e55ae5a639ac8d71f98d6
Author: Christoph Deppisch 
AuthorDate: Mon May 13 16:50:26 2024 +0200

chore: Improve AWS DDB E2E tests

- Test PutItem, UpdateItem, DeleteItem AWS DDB sink in one feature file
- Avoids too many restarts of LocalStack Testcontainers instance
- Use getItem operation to verify entries in DDB
---
 .../aws/ddb/aws-ddb-sink-deleteItem.feature|  61 ---
 .../resources/aws/ddb/aws-ddb-sink-putItem.feature |  60 ---
 .../aws/ddb/aws-ddb-sink-updateItem.feature|  64 
 .../test/resources/aws/ddb/aws-ddb-sink.feature| 111 +
 ...urce-getItem.feature => aws-ddb-source.feature} |   2 +-
 .../src/test/resources/aws/ddb/getItem.groovy  |  33 ++
 .../src/test/resources/aws/ddb/yaks-config.yaml|   1 +
 7 files changed, 146 insertions(+), 186 deletions(-)

diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/ddb/aws-ddb-sink-deleteItem.feature
 
b/tests/camel-kamelets-itest/src/test/resources/aws/ddb/aws-ddb-sink-deleteItem.feature
deleted file mode 100644
index e1a731b7..
--- 
a/tests/camel-kamelets-itest/src/test/resources/aws/ddb/aws-ddb-sink-deleteItem.feature
+++ /dev/null
@@ -1,61 +0,0 @@
-# ---
-# 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.
-# ---
-
-Feature: AWS DDB Sink - DeleteItem
-
-  Background:
-Given variables
-  | timer.source.period  | 1 |
-  | aws.ddb.streams  | false |
-  | aws.ddb.operation| DeleteItem |
-  | aws.ddb.tableName| movies |
-  | aws.ddb.item.id  | 1 |
-  | aws.ddb.item.year| 1985 |
-  | aws.ddb.item.title   | Back to the future |
-  | aws.ddb.json.data| {"id": ${aws.ddb.item.id}} |
-
-  Scenario: Create infrastructure
-# Start LocalStack container
-Given Enable service DYNAMODB
-Given start LocalStack container
-
-  Scenario: Verify AWS-DDB Kamelet sink binding
-# Create AWS-DDB client
-Given load to Camel registry amazonDDBClient.groovy
-Given run script putItem.groovy
-Given variables
-  | maxRetryAttempts  | 20 |
-  | aws.ddb.items | [[year:AttributeValue(N=${aws.ddb.item.year}), 
id:AttributeValue(N=${aws.ddb.item.id}), 
title:AttributeValue(S=${aws.ddb.item.title})]] |
-# Create item on AWS-DDB
-Then apply actions verifyItems.groovy
-
-# Create binding
-When load Pipe aws-ddb-sink-pipe.yaml
-And Pipe aws-ddb-sink-pipe is available
-And Camel K integration aws-ddb-sink-pipe is running
-And Camel K integration aws-ddb-sink-pipe should print Started 
aws-ddb-sink-pipe
-# Verify Kamelet sink
-Given variables
-  | maxRetryAttempts  | 20 |
-  | aws.ddb.items | [] |
-Then apply actions verifyItems.groovy
-
-  Scenario: Remove resources
-# Remove Camel K resources
-Given delete Pipe aws-ddb-sink-pipe
-# Stop LocalStack container
-Given stop LocalStack container
diff --git 
a/tests/camel-kamelets-itest/src/test/resources/aws/ddb/aws-ddb-sink-putItem.feature
 
b/tests/camel-kamelets-itest/src/test/resources/aws/ddb/aws-ddb-sink-putItem.feature
deleted file mode 100644
index a3261236..
--- 
a/tests/camel-kamelets-itest/src/test/resources/aws/ddb/aws-ddb-sink-putItem.feature
+++ /dev/null
@@ -1,60 +0,0 @@
-# ---
-# 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 

Re: [PR] chore: Improve AWS DDB E2E tests [camel-kamelets]

2024-05-13 Thread via GitHub


christophd merged PR #2040:
URL: https://github.com/apache/camel-kamelets/pull/2040


-- 
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 regen_bot updated (126bc39b -> 959c2083)

2024-05-13 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 126bc39b Restore Kamelets for development
 add 959c2083 chore(e2e): Fix E2E tests for Camel 4.5 (#2041)

No new revisions were added by this update.

Summary of changes:
 .../camel-kamelets-itest/src/test/resources/kafka/kafka-source.feature  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



(camel-kamelets) branch main updated: chore(e2e): Fix E2E tests for Camel 4.5 (#2041)

2024-05-13 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 959c2083 chore(e2e): Fix E2E tests for Camel 4.5 (#2041)
959c2083 is described below

commit 959c208367da52731a53560df057740ec1d25a25
Author: Christoph Deppisch 
AuthorDate: Mon May 13 20:13:22 2024 +0200

chore(e2e): Fix E2E tests for Camel 4.5 (#2041)
---
 .../camel-kamelets-itest/src/test/resources/kafka/kafka-source.feature  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-source.feature 
b/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-source.feature
index aa40beed..d725dcd3 100644
--- a/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-source.feature
+++ b/tests/camel-kamelets-itest/src/test/resources/kafka/kafka-source.feature
@@ -39,7 +39,7 @@ Feature: Kafka Kamelet source
   Scenario: Create Kamelet binding
 When load Pipe kafka-source-pipe.yaml
 Then Camel K integration kafka-source-pipe should be running
-And Camel K integration kafka-source-pipe should print Subscribing 
${topic}-Thread 0 to topic ${topic}
+And Camel K integration kafka-source-pipe should print Subscribed to 
topic(s): ${topic}
 And sleep 10sec
 
   Scenario: Send message to Kafka topic and verify sink output



Re: [PR] chore(e2e): Fix E2E tests for Camel 4.5 [camel-kamelets]

2024-05-13 Thread via GitHub


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


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

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

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



[PR] chore(e2e): Fix E2E tests for Camel 4.5 [camel-kamelets]

2024-05-13 Thread via GitHub


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

   (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] Re evaluate golanci-lint exclusions (execinquery,whitespace,wastedassign,tagliatelle,nolintlint,lll)" [camel-k]

2024-05-13 Thread via GitHub


lburgazzoli commented on code in PR #5502:
URL: https://github.com/apache/camel-k/pull/5502#discussion_r1598782268


##
.golangci.yml:
##
@@ -80,23 +87,16 @@ linters:
 - gofumpt
 - gomnd
 - ireturn
-- lll

Review Comment:
   ok, reverted it and `lll` is now disabled



-- 
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/actions/checkout-4.1.5 deleted (was 41396fa624)

2024-05-13 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.5
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


 was 41396fa624 Bump actions/checkout from 4.1.4 to 4.1.5

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-kafka-connector) branch main updated: Bump actions/checkout from 4.1.4 to 4.1.5 (#1634)

2024-05-13 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-kafka-connector.git


The following commit(s) were added to refs/heads/main by this push:
 new 0c7990d6ae Bump actions/checkout from 4.1.4 to 4.1.5 (#1634)
0c7990d6ae is described below

commit 0c7990d6aee86624a355e13148cf7735ddd6b577
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon May 13 18:12:28 2024 +0200

Bump actions/checkout from 4.1.4 to 4.1.5 (#1634)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 
4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.4...v4.1.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  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/asf-snapshots-deploy.yml   | 4 ++--
 .github/workflows/automatic-changelog-update.yml | 2 +-
 .github/workflows/automatic-sync-camel-main.yml  | 4 ++--
 .github/workflows/backport.yml   | 2 +-
 .github/workflows/ci-build.yml   | 2 +-
 .github/workflows/daily-java-next.yml| 2 +-
 .github/workflows/depsreview.yaml| 2 +-
 .github/workflows/maven-it.yaml  | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/asf-snapshots-deploy.yml 
b/.github/workflows/asf-snapshots-deploy.yml
index 24d2a75aad..d57aacbafe 100644
--- a/.github/workflows/asf-snapshots-deploy.yml
+++ b/.github/workflows/asf-snapshots-deploy.yml
@@ -32,7 +32,7 @@ jobs:
   matrix:
 java: [ '17' ]
 steps:
-  - uses: actions/checkout@v4.1.4
+  - uses: actions/checkout@v4.1.5
   - name: Set up JDK ${{ matrix.java }}
 uses: actions/setup-java@v4.2.1
 with:
@@ -56,7 +56,7 @@ jobs:
   NEXUS_DEPLOY_USERNAME: ${{ secrets.NEXUS_USER }}
   NEXUS_DEPLOY_PASSWORD: ${{ secrets.NEXUS_PW }}
 steps:
-- uses: actions/checkout@v4.1.4
+- uses: actions/checkout@v4.1.5
 - name: Set up JDK ${{ matrix.java }}
   uses: actions/setup-java@v4.2.1
   with:
diff --git a/.github/workflows/automatic-changelog-update.yml 
b/.github/workflows/automatic-changelog-update.yml
index 7178b85162..b757c67432 100644
--- a/.github/workflows/automatic-changelog-update.yml
+++ b/.github/workflows/automatic-changelog-update.yml
@@ -30,7 +30,7 @@ jobs:
 if: github.ref == 'refs/heads/main' && github.repository == 
'apache/camel-kafka-connector'
 steps:
   - name: "Checkout camel-kafka-connector"
-uses: actions/checkout@v4.1.4
+uses: actions/checkout@v4.1.5
 with:
   persist-credentials: false
   submodules: recursive
diff --git a/.github/workflows/automatic-sync-camel-main.yml 
b/.github/workflows/automatic-sync-camel-main.yml
index 6cce6358c3..7fa752bf25 100644
--- a/.github/workflows/automatic-sync-camel-main.yml
+++ b/.github/workflows/automatic-sync-camel-main.yml
@@ -34,7 +34,7 @@ jobs:
 java: [ '17' ]
 steps:
   - name: Checkout Camel project
-uses: actions/checkout@v4.1.4
+uses: actions/checkout@v4.1.5
 with:
   repository: apache/camel
   ref: main
@@ -58,7 +58,7 @@ jobs:
 clean install
 working-directory: ${{ github.workspace }}/camel
   - name: Checkout camel-kafka-connector project
-uses: actions/checkout@v4.1.4
+uses: actions/checkout@v4.1.5
 with:
   ref: main
   fetch-depth: 0
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index 2b82a83509..e220471e17 100644
--- a/.github/workflows/backport.yml
+++ b/.github/workflows/backport.yml
@@ -28,7 +28,7 @@ jobs:
 name: Backport
 steps:
   - name: "Checkout camel-kafka-connector"
-uses: actions/checkout@v4.1.4
+uses: actions/checkout@v4.1.5
 with:
   persist-credentials: false
   submodules: recursive
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index faf6a16565..efcd9ebe6a 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -41,7 +41,7 @@ jobs:
   matrix:
 java: [ '17' ]
 steps:
-  - uses: actions/checkout@v4.1.4
+  - uses: actions/checkout@v4.1.5
   - name: Set up JDK ${{ matrix.java }}
 uses: actions/setup-java@v4.2.1
 with:
diff --git a/.github/workflows/daily-java-next.yml 
b/.github/workflows/daily-java-next.yml
index b88adcfecb..52bbe136f9 100644
--- 

Re: [PR] Bump actions/checkout from 4.1.4 to 4.1.5 [camel-kafka-connector]

2024-05-13 Thread via GitHub


oscerd merged PR #1634:
URL: https://github.com/apache/camel-kafka-connector/pull/1634


-- 
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/actions/checkout-4.1.5 created (now 41396fa624)

2024-05-13 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.5
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


  at 41396fa624 Bump actions/checkout from 4.1.4 to 4.1.5

No new revisions were added by this update.



[PR] Bump actions/checkout from 4.1.4 to 4.1.5 [camel-kafka-connector]

2024-05-13 Thread via GitHub


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

   Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 
4.1.5.
   
   Release notes
   Sourced from https://github.com/actions/checkout/releases;>actions/checkout's 
releases.
   
   v4.1.5
   What's Changed
   
   Update NPM dependencies by https://github.com/cory-miller;>@​cory-miller in https://redirect.github.com/actions/checkout/pull/1703;>actions/checkout#1703
   Bump github/codeql-action from 2 to 3 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/actions/checkout/pull/1694;>actions/checkout#1694
   Bump actions/setup-node from 1 to 4 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/actions/checkout/pull/1696;>actions/checkout#1696
   Bump actions/upload-artifact from 2 to 4 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/actions/checkout/pull/1695;>actions/checkout#1695
   README: Suggest user.email to be 
41898282+github-actions[bot]@users.noreply.github.com by https://github.com/cory-miller;>@​cory-miller in https://redirect.github.com/actions/checkout/pull/1707;>actions/checkout#1707
   
   Full Changelog: https://github.com/actions/checkout/compare/v4.1.4...v4.1.5;>https://github.com/actions/checkout/compare/v4.1.4...v4.1.5
   
   
   
   Changelog
   Sourced from https://github.com/actions/checkout/blob/main/CHANGELOG.md;>actions/checkout's
 changelog.
   
   Changelog
   
   
   
   Commits
   
   https://github.com/actions/checkout/commit/44c2b7a8a4ea60a981eaca3cf939b5f4305c123b;>44c2b7a
 README: Suggest user.email to be `41898282+github-actions[bot]https://github.com/users;>@​users.norepl...
   https://github.com/actions/checkout/commit/8459bc0c7e3759cdf591f513d9f141a95fef0a8f;>8459bc0
 Bump actions/upload-artifact from 2 to 4 (https://redirect.github.com/actions/checkout/issues/1695;>#1695)
   https://github.com/actions/checkout/commit/3f603f6d5e9f40714f97b2f017aa0df2a443192a;>3f603f6
 Bump actions/setup-node from 1 to 4 (https://redirect.github.com/actions/checkout/issues/1696;>#1696)
   https://github.com/actions/checkout/commit/fd084cde189b7b76ec305d52e27be545a0172823;>fd084cd
 Bump github/codeql-action from 2 to 3 (https://redirect.github.com/actions/checkout/issues/1694;>#1694)
   https://github.com/actions/checkout/commit/9c1e94e0ad997d618b6113a2171b055037589028;>9c1e94e
 Update NPM dependencies (https://redirect.github.com/actions/checkout/issues/1703;>#1703)
   See full diff in https://github.com/actions/checkout/compare/v4.1.4...v4.1.5;>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout=github_actions=4.1.4=4.1.5)](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



Re: [PR] Re evaluate golanci-lint exclusions (execinquery,whitespace,wastedassign,tagliatelle,nolintlint,lll)" [camel-k]

2024-05-13 Thread via GitHub


lburgazzoli commented on code in PR #5502:
URL: https://github.com/apache/camel-k/pull/5502#discussion_r1598692542


##
.golangci.yml:
##
@@ -80,23 +87,16 @@ linters:
 - gofumpt
 - gomnd
 - ireturn
-- lll

Review Comment:
   No problem to revert it, however a 170 limit is already not easy to deal 
with when doing i.e. a review and in a number lot findings, the real and hidden 
issue was about very complex functions call/definitions one should probably 
rethink.
   
   Let me know what is your preference and I'll amend the 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



Re: [PR] Re evaluate golanci-lint exclusions (execinquery,whitespace,wastedassign,tagliatelle,nolintlint,lll)" [camel-k]

2024-05-13 Thread via GitHub


squakez commented on code in PR #5502:
URL: https://github.com/apache/camel-k/pull/5502#discussion_r1598660372


##
.golangci.yml:
##
@@ -80,23 +87,16 @@ linters:
 - gofumpt
 - gomnd
 - ireturn
-- lll

Review Comment:
   We had discussed the opportunity to keep this disabled in the past unless 
the gofmt would automatically takes care to format and reduce the lenght ootb. 
If not, I'd prefer to keep it disabled as it would probably generate a lot of 
back and fort and everybody choosing its own format for splitting long lines.



-- 
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 (87686381b97 -> 9b24ccdae92)

2024-05-13 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 87686381b97 Bump opentelemetry-version from 1.37.0 to 1.38.0 (#14118)
 add d1398a134ad (chores) camel-mock: code cleanup
 add 4116edbe084 (chores) camel-mock: code cleanup
 add 0143203fa33 (chores) camel-mock: use final fields when possible
 add 9b24ccdae92 (chores) camel-mock: documentation fixes

No new revisions were added by this update.

Summary of changes:
 .../camel/catalog/components/dataset-test.json |   4 +-
 .../apache/camel/catalog/components/dataset.json   |   4 +-
 .../org/apache/camel/catalog/components/mock.json  |   4 +-
 .../camel/component/dataset/dataset-test.json  |   4 +-
 .../apache/camel/component/dataset/dataset.json|   4 +-
 .../org/apache/camel/component/mock/mock.json  |   4 +-
 .../camel/component/mock/AssertionClause.java  |   4 +-
 .../mock/InterceptSendToMockEndpointStrategy.java  |   6 +-
 .../apache/camel/component/mock/MockComponent.java |   4 +-
 .../apache/camel/component/mock/MockEndpoint.java  | 361 -
 .../camel/component/mock/MockExpressionClause.java |   6 +-
 .../mock/MockExpressionClauseSupport.java  |   8 +-
 .../camel/component/mock/MockValueBuilder.java |   8 +-
 .../apache/camel/component/mock/TimeClause.java|  55 ++--
 .../dsl/DatasetComponentBuilderFactory.java|   2 +-
 .../dsl/DatasetTestComponentBuilderFactory.java|   2 +-
 .../component/dsl/MockComponentBuilderFactory.java |   2 +-
 .../dsl/DataSetEndpointBuilderFactory.java |  24 +-
 .../dsl/DataSetTestEndpointBuilderFactory.java |  24 +-
 .../endpoint/dsl/MockEndpointBuilderFactory.java   |  24 +-
 .../camel/kotlin/components/DatasetTestUriDsl.kt   |   8 +-
 .../camel/kotlin/components/DatasetUriDsl.kt   |   8 +-
 .../apache/camel/kotlin/components/MockUriDsl.kt   |   8 +-
 23 files changed, 315 insertions(+), 263 deletions(-)



Re: [PR] (chores) camel-test: documentation fixes [camel]

2024-05-13 Thread via GitHub


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

   :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] (chores) camel-test: documentation fixes [camel]

2024-05-13 Thread via GitHub


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

   - fixed typos
   - minor documentation cleanups


-- 
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) 03/04: (chores) camel-mock: use final fields when possible

2024-05-13 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 0143203fa334c67ea96571a92df479cd1cdd3d68
Author: Otavio Rodolfo Piske 
AuthorDate: Fri May 10 14:26:20 2024 +0200

(chores) camel-mock: use final fields when possible
---
 .../camel/component/mock/InterceptSendToMockEndpointStrategy.java | 2 +-
 .../java/org/apache/camel/component/mock/MockExpressionClause.java| 2 +-
 .../org/apache/camel/component/mock/MockExpressionClauseSupport.java  | 2 +-
 .../main/java/org/apache/camel/component/mock/MockValueBuilder.java   | 2 +-
 .../src/main/java/org/apache/camel/component/mock/TimeClause.java | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/InterceptSendToMockEndpointStrategy.java
 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/InterceptSendToMockEndpointStrategy.java
index c9fa98ca282..96f3e2754ae 100644
--- 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/InterceptSendToMockEndpointStrategy.java
+++ 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/InterceptSendToMockEndpointStrategy.java
@@ -38,7 +38,7 @@ public class InterceptSendToMockEndpointStrategy implements 
EndpointStrategy {
 
 private static final Logger LOG = 
LoggerFactory.getLogger(InterceptSendToMockEndpointStrategy.class);
 private final String pattern;
-private boolean skip;
+private final boolean skip;
 
 /**
  * Mock all endpoints.
diff --git 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockExpressionClause.java
 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockExpressionClause.java
index 422dfcb7289..4ee316409f7 100644
--- 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockExpressionClause.java
+++ 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockExpressionClause.java
@@ -38,7 +38,7 @@ import org.apache.camel.support.ExpressionToPredicateAdapter;
  * are specialized for being used with the mock component and separated from 
camel-core.
  */
 public class MockExpressionClause implements Expression, Predicate {
-private MockExpressionClauseSupport delegate;
+private final MockExpressionClauseSupport delegate;
 
 private volatile Expression expr;
 
diff --git 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockExpressionClauseSupport.java
 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockExpressionClauseSupport.java
index b21a8958e20..5110dfb2ad0 100644
--- 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockExpressionClauseSupport.java
+++ 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockExpressionClauseSupport.java
@@ -29,7 +29,7 @@ import org.apache.camel.support.builder.ExpressionBuilder;
  */
 public class MockExpressionClauseSupport {
 
-private T result;
+private final T result;
 private Expression expressionValue;
 private ExpressionFactory expressionType;
 private volatile boolean initDone;
diff --git 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockValueBuilder.java
 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockValueBuilder.java
index dd384f87150..3d7fbc87d11 100644
--- 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockValueBuilder.java
+++ 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockValueBuilder.java
@@ -37,7 +37,7 @@ import org.apache.camel.support.builder.PredicateBuilder;
  * specialized for being used with the mock component and separated from 
camel-core.
  */
 public class MockValueBuilder implements Expression, Predicate {
-private Expression expression;
+private final Expression expression;
 private boolean not;
 
 public MockValueBuilder(Expression expression) {
diff --git 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/TimeClause.java
 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/TimeClause.java
index 4350990d1a1..f2ac4f3e8f5 100644
--- 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/TimeClause.java
+++ 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/TimeClause.java
@@ -53,8 +53,8 @@ public class TimeClause implements BinaryPredicate {
 public class TimeClassUnit {
 
 private final TimeClause clause;
-private int from;
-private int to;
+private final int from;
+private final int to;
 
 public TimeClassUnit(TimeClause clause, int to) {
 this(clause, -1, to);



(camel) 02/04: (chores) camel-mock: code cleanup

2024-05-13 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 4116edbe084709898cdee3f1d9b147631f3ad86f
Author: Otavio Rodolfo Piske 
AuthorDate: Fri May 10 14:25:01 2024 +0200

(chores) camel-mock: code cleanup

- break large and complex methods
---
 .../apache/camel/component/mock/TimeClause.java| 43 --
 1 file changed, 24 insertions(+), 19 deletions(-)

diff --git 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/TimeClause.java
 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/TimeClause.java
index 2328e39cdc4..4350990d1a1 100644
--- 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/TimeClause.java
+++ 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/TimeClause.java
@@ -153,25 +153,7 @@ public class TimeClause implements BinaryPredicate {
 
 Date currentDate = exchange.getProperty(Exchange.RECEIVED_TIMESTAMP, 
Date.class);
 
-// the other date is either the previous or the next
-Date otherDate;
-if (beforeNext) {
-// grab the previous value (left)
-if (leftValue != null) {
-otherDate = (Date) leftValue;
-} else {
-// we hit a boundary so grab the other
-otherDate = (Date) rightValue;
-}
-} else {
-// grab the next value (right)
-if (rightValue != null) {
-otherDate = (Date) rightValue;
-} else {
-// we hit a boundary so grab the other
-otherDate = (Date) leftValue;
-}
-}
+final Date otherDate = getOtherDate(leftValue, rightValue);
 
 // if we could not grab the value, we hit a boundary (ie. either 0 
message or last message)
 if (otherDate == null) {
@@ -202,6 +184,29 @@ public class TimeClause implements BinaryPredicate {
 return answer;
 }
 
+private Date getOtherDate(Object leftValue, Object rightValue) {
+// the other date is either the previous or the next
+Date otherDate;
+if (beforeNext) {
+// grab the previous value (left)
+if (leftValue != null) {
+otherDate = (Date) leftValue;
+} else {
+// we hit a boundary so grab the other
+otherDate = (Date) rightValue;
+}
+} else {
+// grab the next value (right)
+if (rightValue != null) {
+otherDate = (Date) rightValue;
+} else {
+// we hit a boundary so grab the other
+otherDate = (Date) leftValue;
+}
+}
+return otherDate;
+}
+
 @Override
 public String getOperator() {
 return getOperationText();



(camel) 01/04: (chores) camel-mock: code cleanup

2024-05-13 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 d1398a134adc467798c57e7fb3170223af55bc15
Author: Otavio Rodolfo Piske 
AuthorDate: Fri May 10 13:21:07 2024 +0200

(chores) camel-mock: code cleanup

- break large and complex methods
---
 .../apache/camel/component/mock/MockEndpoint.java  | 273 -
 1 file changed, 160 insertions(+), 113 deletions(-)

diff --git 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockEndpoint.java
 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockEndpoint.java
index a3f3dd6d515..0483553aa23 100644
--- 
a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockEndpoint.java
+++ 
b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockEndpoint.java
@@ -462,14 +462,12 @@ public class MockEndpoint extends DefaultEndpoint 
implements BrowsableEndpoint,
 expectedMinimumCount <= receivedCounter);
 }
 
-for (Runnable test : tests) {
-// skip tasks which we have already been running in fail fast mode
-boolean skip = failFast && test instanceof AssertionTask;
-if (!skip) {
-test.run();
-}
-}
+runTests();
 
+evalFailures();
+}
+
+private void evalFailures() {
 for (Throwable failure : failures) {
 if (failure != null) {
 LOG.error("Caught exception on {} due to: {}", 
getEndpointUri(), failure.getMessage(), failure);
@@ -478,6 +476,16 @@ public class MockEndpoint extends DefaultEndpoint 
implements BrowsableEndpoint,
 }
 }
 
+private void runTests() {
+for (Runnable test : tests) {
+// skip tasks which we have already been running in fail fast mode
+boolean skip = failFast && test instanceof AssertionTask;
+if (!skip) {
+test.run();
+}
+}
+}
+
 /**
  * Validates that the assertions fail on this endpoint
  */
@@ -587,36 +595,8 @@ public class MockEndpoint extends DefaultEndpoint 
implements BrowsableEndpoint,
 // should not really happen but some tests don't start camel 
context
 expectedHeaderValues = new HashMap<>();
 }
-// we just wants to expect to be called once
-expects(new AssertionTask() {
-@Override
-public void assertOnIndex(int i) {
-final Exchange exchange = getReceivedExchange(i);
-
-for (Map.Entry entry : 
expectedHeaderValues.entrySet()) {
-String key = entry.getKey();
-Object expectedValue = entry.getValue();
-
-// we accept that an expectedValue of null also means 
that the header may be absent
-if (expectedValue != null) {
-assertTrue("Exchange " + i + " has no headers", 
exchange.getIn().hasHeaders());
-boolean hasKey = 
exchange.getIn().getHeaders().containsKey(key);
-assertTrue("No header with name " + key + " found 
for message: " + i, hasKey);
-}
-
-Object actualValue = exchange.getIn().getHeader(key);
-actualValue = extractActualValue(exchange, 
actualValue, expectedValue);
-
-assertEquals("Header with name " + key + " for 
message: " + i, expectedValue, actualValue);
-}
-}
-
-public void run() {
-for (int i = 0; i < getReceivedExchanges().size(); i++) {
-assertOnIndex(i);
-}
-}
-});
+// we just want to expect to be called once
+expects(new MockAssertionTask());
 }
 expectedHeaderValues.put(name, value);
 }
@@ -1696,27 +1676,7 @@ public class MockEndpoint extends DefaultEndpoint 
implements BrowsableEndpoint,
 performAssertions(exchange, copy);
 
 if (failFast) {
-// fail fast mode so check nth expectations as soon as possible
-int index = getReceivedCounter() - 1;
-for (Runnable test : tests) {
-// only assertion tasks can support fail fast mode
-if (test instanceof AssertionTask) {
-AssertionTask task = (AssertionTask) test;
-try {
-LOG.debug("Running assertOnIndex({}) on task: {}", 
index, task);
-task.assertOnIndex(index);
-} catch (AssertionError e) {
-failFastAssertionError = e;
-   

(camel) branch main updated (87686381b97 -> 9b24ccdae92)

2024-05-13 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 87686381b97 Bump opentelemetry-version from 1.37.0 to 1.38.0 (#14118)
 new d1398a134ad (chores) camel-mock: code cleanup
 new 4116edbe084 (chores) camel-mock: code cleanup
 new 0143203fa33 (chores) camel-mock: use final fields when possible
 new 9b24ccdae92 (chores) camel-mock: documentation fixes

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:
 .../camel/catalog/components/dataset-test.json |   4 +-
 .../apache/camel/catalog/components/dataset.json   |   4 +-
 .../org/apache/camel/catalog/components/mock.json  |   4 +-
 .../camel/component/dataset/dataset-test.json  |   4 +-
 .../apache/camel/component/dataset/dataset.json|   4 +-
 .../org/apache/camel/component/mock/mock.json  |   4 +-
 .../camel/component/mock/AssertionClause.java  |   4 +-
 .../mock/InterceptSendToMockEndpointStrategy.java  |   6 +-
 .../apache/camel/component/mock/MockComponent.java |   4 +-
 .../apache/camel/component/mock/MockEndpoint.java  | 361 -
 .../camel/component/mock/MockExpressionClause.java |   6 +-
 .../mock/MockExpressionClauseSupport.java  |   8 +-
 .../camel/component/mock/MockValueBuilder.java |   8 +-
 .../apache/camel/component/mock/TimeClause.java|  55 ++--
 .../dsl/DatasetComponentBuilderFactory.java|   2 +-
 .../dsl/DatasetTestComponentBuilderFactory.java|   2 +-
 .../component/dsl/MockComponentBuilderFactory.java |   2 +-
 .../dsl/DataSetEndpointBuilderFactory.java |  24 +-
 .../dsl/DataSetTestEndpointBuilderFactory.java |  24 +-
 .../endpoint/dsl/MockEndpointBuilderFactory.java   |  24 +-
 .../camel/kotlin/components/DatasetTestUriDsl.kt   |   8 +-
 .../camel/kotlin/components/DatasetUriDsl.kt   |   8 +-
 .../apache/camel/kotlin/components/MockUriDsl.kt   |   8 +-
 23 files changed, 315 insertions(+), 263 deletions(-)



(camel) 04/04: (chores) camel-mock: documentation fixes

2024-05-13 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 9b24ccdae924d9be7345cd0237c686e956a22e79
Author: Otavio Rodolfo Piske 
AuthorDate: Fri May 10 14:18:55 2024 +0200

(chores) camel-mock: documentation fixes
---
 .../camel/catalog/components/dataset-test.json |  4 +-
 .../apache/camel/catalog/components/dataset.json   |  4 +-
 .../org/apache/camel/catalog/components/mock.json  |  4 +-
 .../camel/component/dataset/dataset-test.json  |  4 +-
 .../apache/camel/component/dataset/dataset.json|  4 +-
 .../org/apache/camel/component/mock/mock.json  |  4 +-
 .../camel/component/mock/AssertionClause.java  |  4 +-
 .../mock/InterceptSendToMockEndpointStrategy.java  |  4 +-
 .../apache/camel/component/mock/MockComponent.java |  4 +-
 .../apache/camel/component/mock/MockEndpoint.java  | 88 +++---
 .../camel/component/mock/MockExpressionClause.java |  4 +-
 .../mock/MockExpressionClauseSupport.java  |  6 +-
 .../camel/component/mock/MockValueBuilder.java |  6 +-
 .../apache/camel/component/mock/TimeClause.java|  8 +-
 .../dsl/DatasetComponentBuilderFactory.java|  2 +-
 .../dsl/DatasetTestComponentBuilderFactory.java|  2 +-
 .../component/dsl/MockComponentBuilderFactory.java |  2 +-
 .../dsl/DataSetEndpointBuilderFactory.java | 24 +++---
 .../dsl/DataSetTestEndpointBuilderFactory.java | 24 +++---
 .../endpoint/dsl/MockEndpointBuilderFactory.java   | 24 +++---
 .../camel/kotlin/components/DatasetTestUriDsl.kt   |  8 +-
 .../camel/kotlin/components/DatasetUriDsl.kt   |  8 +-
 .../apache/camel/kotlin/components/MockUriDsl.kt   |  8 +-
 23 files changed, 125 insertions(+), 125 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/dataset-test.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/dataset-test.json
index d9133b797d6..b684b1e07d0 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/dataset-test.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/dataset-test.json
@@ -24,14 +24,14 @@
   },
   "componentProperties": {
 "lazyStartProducer": { "index": 0, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
-"log": { "index": 1, "kind": "property", "displayName": "Log", "group": 
"producer", "label": "producer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "To turn on logging when the mock 
receives an incoming message. This will log only one time at INFO level for the 
incoming message. For more detailed logging then set the logger to DEBUG level 
for the org.apache.camel.componen [...]
+"log": { "index": 1, "kind": "property", "displayName": "Log", "group": 
"producer", "label": "producer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "To turn on logging when the mock 
receives an incoming message. This will log only one time at INFO level for the 
incoming message. For more detailed logging, then set the logger to DEBUG level 
for the org.apache.camel.compone [...]
 "autowiredEnabled": { "index": 2, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
 "exchangeFormatter": { "index": 3, "kind": "property", "displayName": 
"Exchange Formatter", "group": "advanced", "label": "advanced", "required": 
false, "type": "object", "javaType": "org.apache.camel.spi.ExchangeFormatter", 
"deprecated": false, "autowired": true, "secret": false, "description": "Sets a 
custom ExchangeFormatter to convert the Exchange to a String suitable for 
logging. If not specified, we default to DefaultExchangeFormatter." }
   },
   "properties": {
 "name": { "index": 0, "kind": "path", "displayName": "Name", "group": 
"producer", "label": "", "required": true, "type": "string", "javaType": 

Re: [PR] (chores) camel-mock: multiple code cleanups [camel]

2024-05-13 Thread via GitHub


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


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

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

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



[PR] chore: Improve AWS DDB E2E tests [camel-kamelets]

2024-05-13 Thread via GitHub


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

   - Test PutItem, UpdateItem, DeleteItem AWS DDB sink in one feature file
   - Avoids too many restarts of LocalStack Testcontainers instance
   - Use getItem operation to verify entries in DDB


-- 
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 (dfcce6f6f60 -> 87686381b97)

2024-05-13 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 dfcce6f6f60 Fix typo in LoadBalancer description (#14123)
 add 87686381b97 Bump opentelemetry-version from 1.37.0 to 1.38.0 (#14118)

No new revisions were added by this update.

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



Re: [PR] chore: Add Slack Kamelets E2E tests [camel-kamelets]

2024-05-13 Thread via GitHub


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


##
library/camel-kamelets/src/main/resources/kamelets/slack-source.kamelet.yaml:
##
@@ -37,6 +37,12 @@ spec:
   - token
 type: object
 properties:
+  serverUrl:

Review Comment:
   in most cases this will connect to the production Slack API servers (which 
is also the default in the Camel component). Only tests and maybe a company 
proxy may use this setting to use a different server URL endpoint



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

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

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



(camel) branch dependabot/maven/opentelemetry-version-1.38.0 deleted (was 1acde4cc237)

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

github-bot pushed a change to branch 
dependabot/maven/opentelemetry-version-1.38.0
in repository https://gitbox.apache.org/repos/asf/camel.git


 was 1acde4cc237 Bump opentelemetry-version from 1.37.0 to 1.38.0

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



Re: [PR] Bump opentelemetry-version from 1.37.0 to 1.38.0 [camel]

2024-05-13 Thread via GitHub


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

   tested manually


-- 
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: Bump opentelemetry-version from 1.37.0 to 1.38.0 (#14118)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 87686381b97 Bump opentelemetry-version from 1.37.0 to 1.38.0 (#14118)
87686381b97 is described below

commit 87686381b97ced27eb11cac66b1792f6927016ce
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon May 13 16:37:21 2024 +0200

Bump opentelemetry-version from 1.37.0 to 1.38.0 (#14118)

Bumps `opentelemetry-version` from 1.37.0 to 1.38.0.

Updates `io.opentelemetry:opentelemetry-sdk-testing` from 1.37.0 to 1.38.0
- [Release 
notes](https://github.com/open-telemetry/opentelemetry-java/releases)
- 
[Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
- 
[Commits](https://github.com/open-telemetry/opentelemetry-java/compare/v1.37.0...v1.38.0)

Updates `io.opentelemetry:opentelemetry-sdk` from 1.37.0 to 1.38.0
- [Release 
notes](https://github.com/open-telemetry/opentelemetry-java/releases)
- 
[Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
- 
[Commits](https://github.com/open-telemetry/opentelemetry-java/compare/v1.37.0...v1.38.0)

Updates `io.opentelemetry:opentelemetry-api` from 1.37.0 to 1.38.0
- [Release 
notes](https://github.com/open-telemetry/opentelemetry-java/releases)
- 
[Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
- 
[Commits](https://github.com/open-telemetry/opentelemetry-java/compare/v1.37.0...v1.38.0)

---
updated-dependencies:
- dependency-name: io.opentelemetry:opentelemetry-sdk-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.opentelemetry:opentelemetry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.opentelemetry:opentelemetry-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

diff --git a/parent/pom.xml b/parent/pom.xml
index 60a6a99cc21..4eb788cf944 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -386,7 +386,7 @@
 2.11.0
 
2.0.1
 3.11
-1.37.0
+1.38.0
 1.23.1-alpha
 9.44.0.Final
 1.2.5



Re: [PR] Bump opentelemetry-version from 1.37.0 to 1.38.0 [camel]

2024-05-13 Thread via GitHub


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


-- 
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] chore: Add Slack Kamelets E2E tests [camel-kamelets]

2024-05-13 Thread via GitHub


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


##
library/camel-kamelets/src/main/resources/kamelets/slack-source.kamelet.yaml:
##
@@ -37,6 +37,12 @@ spec:
   - token
 type: object
 properties:
+  serverUrl:

Review Comment:
   no it should be optional



-- 
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] chore: Add Slack Kamelets E2E tests [camel-kamelets]

2024-05-13 Thread via GitHub


oscerd commented on code in PR #2039:
URL: https://github.com/apache/camel-kamelets/pull/2039#discussion_r1598585148


##
library/camel-kamelets/src/main/resources/kamelets/slack-source.kamelet.yaml:
##
@@ -37,6 +37,12 @@ spec:
   - token
 type: object
 properties:
+  serverUrl:

Review Comment:
   Do we need to set it as required?



-- 
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 (0ae100d3e4a -> dfcce6f6f60)

2024-05-13 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 0ae100d3e4a CAMEL-20761: camel-jbang debug need to deal with message 
history from camel 4.7 onwards include current node.
 add dfcce6f6f60 Fix typo in LoadBalancer description (#14123)

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/catalog/models/failoverLoadBalancer.json | 2 +-
 .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd   | 4 ++--
 .../org/apache/camel/model/loadbalancer/failoverLoadBalancer.json | 2 +-
 .../camel/model/loadbalancer/FailoverLoadBalancerDefinition.java  | 2 +-
 .../org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java   | 2 +-
 .../camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json   | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)



(camel) branch regen_bot updated (d9062d5b5d0 -> 0ae100d3e4a)

2024-05-13 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 d9062d5b5d0 Regen for commit 725cf43bf28a2e787d26a7875c871aa6522d5d60 
(#14125)
 add 8568fca7120 CAMEL-20761: camel-debug - Message history must be enabled 
when debugging. Also history must come before debugger advice.
 add a77b526e4f3 CAMEL-20758: camel-debug-starter - Should be created 
sooner so the debugger is configured before routes is created. Also turn on 
debug by default if you have camel-debug-starter on the classpath.
 add d6f7988ec26 CAMEL-20762: camel-main - Detect camel-debug JAR on 
classpath eager to turn on source location which is needed for khaving Java DSL 
working.
 add 0ae100d3e4a CAMEL-20761: camel-jbang debug need to deal with message 
history from camel 4.7 onwards include current node.

No new revisions were added by this update.

Summary of changes:
 .../component/debug/CamelDebuggerFactory.java  |  8 +++
 .../camel/impl/engine/CamelInternalProcessor.java  |  5 
 .../apache/camel/impl/engine/DefaultChannel.java   | 17 -
 .../apache/camel/impl/console/DebugDevConsole.java |  1 +
 .../org/apache/camel/main/BaseMainSupport.java | 17 -
 .../camel/management/BacklogDebuggerTest.java  |  2 +-
 .../ROOT/pages/camel-4x-upgrade-guide-4_7.adoc | 28 +-
 .../camel/dsl/jbang/core/commands/Debug.java   | 26 
 8 files changed, 81 insertions(+), 23 deletions(-)



(camel) branch main updated: Fix typo in LoadBalancer description (#14123)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new dfcce6f6f60 Fix typo in LoadBalancer description (#14123)
dfcce6f6f60 is described below

commit dfcce6f6f60fe7bf392539c525ffc5e2c6de3b4d
Author: Aurélien Pupier 
AuthorDate: Mon May 13 16:25:24 2024 +0200

Fix typo in LoadBalancer description (#14123)

Signed-off-by: Aurélien Pupier 
---
 .../org/apache/camel/catalog/models/failoverLoadBalancer.json | 2 +-
 .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd   | 4 ++--
 .../org/apache/camel/model/loadbalancer/failoverLoadBalancer.json | 2 +-
 .../camel/model/loadbalancer/FailoverLoadBalancerDefinition.java  | 2 +-
 .../org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java   | 2 +-
 .../camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json   | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/failoverLoadBalancer.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/failoverLoadBalancer.json
index ac052a46177..7121ecf7dfd 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/failoverLoadBalancer.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/failoverLoadBalancer.json
@@ -16,6 +16,6 @@
 "exception": { "index": 1, "kind": "element", "displayName": "Exception", 
"group": "common", "required": false, "type": "array", "javaType": 
"java.util.List", "deprecated": false, "autowired": false, 
"secret": false, "description": "A list of class names for specific exceptions 
to monitor. If no exceptions are configured then all exceptions are monitored" 
},
 "roundRobin": { "index": 2, "kind": "attribute", "displayName": "Round 
Robin", "group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Whether or not the failover load balancer should operate in 
round robin mode or not. If not, then it will always start from the first 
endpoint when a new message is to be processed. In other words it restart from 
the top for every message. If roun [...]
 "sticky": { "index": 3, "kind": "attribute", "displayName": "Sticky", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Whether or not the failover load balancer should operate in 
sticky mode or not. If not, then it will always start from the first endpoint 
when a new message is to be processed. In other words it restart from the top 
for every message. If sticky is enabled, [...]
-"maximumFailoverAttempts": { "index": 4, "kind": "attribute", 
"displayName": "Maximum Failover Attempts", "group": "common", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "-1", "description": "A 
value to indicate after X failover attempts we should exhaust (give up). Use -1 
to indicate never give up and continuously try to failover. Use 0 to never 
failover. And use e.g. 3 to failover at m [...]
+"maximumFailoverAttempts": { "index": 4, "kind": "attribute", 
"displayName": "Maximum Failover Attempts", "group": "common", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "-1", "description": "A 
value to indicate after X failover attempts we should exhaust (give up). Use -1 
to indicate never give up and continuously try to failover. Use 0 to never 
failover. And use e.g. 3 to failover at m [...]
   }
 }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 31c2ec35868..61209fbf610 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -6995,8 +6995,8 @@ balancing (instead of using the next when starting).
 
 
 
   
diff --git 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/loadbalancer/failoverLoadBalancer.json
 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/loadbalancer/failoverLoadBalancer.json
index ac052a46177..7121ecf7dfd 100644
--- 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/loadbalancer/failoverLoadBalancer.json
+++ 

Re: [PR] Fix typo in LoadBalancer description [camel]

2024-05-13 Thread via GitHub


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


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

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

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



(camel-spring-boot) branch main updated: CAMEL-20758: camel-debug-starter - Should be created sooner so the debugger is configured before routes is created. Also turn on debug by default if you have c

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 818c7cb6018 CAMEL-20758: camel-debug-starter - Should be created 
sooner so the debugger is configured before routes is created. Also turn on 
debug by default if you have camel-debug-starter on the classpath.
818c7cb6018 is described below

commit 818c7cb60184dabaa3dc8ba7c1d38e2d1a6e868e
Author: Claus Ibsen 
AuthorDate: Mon May 13 16:05:11 2024 +0200

CAMEL-20758: camel-debug-starter - Should be created sooner so the debugger 
is configured before routes is created. Also turn on debug by default if you 
have camel-debug-starter on the classpath.
---
 .../camel-debug-starter/src/main/docs/debug.json   |  2 +-
 .../boot/debug/CamelDebugAutoConfiguration.java| 27 ++
 .../debug/CamelDebugConfigurationProperties.java   |  2 +-
 3 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/components-starter/camel-debug-starter/src/main/docs/debug.json 
b/components-starter/camel-debug-starter/src/main/docs/debug.json
index 8a6dfa969ed..fb29c30ae23 100644
--- a/components-starter/camel-debug-starter/src/main/docs/debug.json
+++ b/components-starter/camel-debug-starter/src/main/docs/debug.json
@@ -39,7 +39,7 @@
   "type": "java.lang.Boolean",
   "description": "Enables Debugger in your Camel application.",
   "sourceType": 
"org.apache.camel.spring.boot.debug.CamelDebugConfigurationProperties",
-  "defaultValue": false
+  "defaultValue": true
 },
 {
   "name": "camel.debug.fallback-timeout",
diff --git 
a/components-starter/camel-debug-starter/src/main/java/org/apache/camel/spring/boot/debug/CamelDebugAutoConfiguration.java
 
b/components-starter/camel-debug-starter/src/main/java/org/apache/camel/spring/boot/debug/CamelDebugAutoConfiguration.java
index 87d001aae49..8a0c8033430 100644
--- 
a/components-starter/camel-debug-starter/src/main/java/org/apache/camel/spring/boot/debug/CamelDebugAutoConfiguration.java
+++ 
b/components-starter/camel-debug-starter/src/main/java/org/apache/camel/spring/boot/debug/CamelDebugAutoConfiguration.java
@@ -21,8 +21,10 @@ import org.apache.camel.component.debug.JmxConnectorService;
 import org.apache.camel.impl.debugger.DefaultBacklogDebugger;
 import org.apache.camel.spi.BacklogDebugger;
 import org.apache.camel.spring.boot.CamelAutoConfiguration;
+import org.apache.camel.spring.boot.CamelSpringBootApplicationListener;
 import org.apache.camel.support.LifecycleStrategySupport;
 import org.springframework.boot.autoconfigure.AutoConfigureAfter;
+import org.springframework.boot.autoconfigure.AutoConfigureBefore;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
 import 
org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
@@ -32,23 +34,24 @@ import org.springframework.context.annotation.Configuration;
 @ConditionalOnBean(CamelAutoConfiguration.class)
 @EnableConfigurationProperties(CamelDebugConfigurationProperties.class)
 @AutoConfigureAfter(CamelAutoConfiguration.class)
+@AutoConfigureBefore(CamelSpringBootApplicationListener.class)
 public class CamelDebugAutoConfiguration {
 
 @Bean
 public BacklogDebugger backlogDebugger(CamelContext camelContext, 
CamelDebugConfigurationProperties config)
 throws Exception {
 
-if (!config.isEnabled() && !config.isStandby()) {
-return null;
-}
-
-// must enable source location so debugger tooling knows to map 
breakpoints to source code
-camelContext.setSourceLocationEnabled(true);
-
 // enable debugger on camel
 camelContext.setDebugging(config.isEnabled());
 camelContext.setDebugStandby(config.isStandby());
 
+if (config.isEnabled() || config.isStandby()) {
+// must enable source location and history
+// so debugger tooling knows to map breakpoints to source code
+camelContext.setSourceLocationEnabled(true);
+camelContext.setMessageHistory(true);
+}
+
 BacklogDebugger debugger = 
DefaultBacklogDebugger.createDebugger(camelContext);
 debugger.setStandby(config.isStandby());
 debugger.setInitialBreakpoints(config.getBreakpoints());
@@ -68,19 +71,23 @@ public class CamelDebugAutoConfiguration {
 @Override
 public void onContextStarted(CamelContext context) {
 // only enable debugger if not in standby mode
-if (!debugger.isStandby()) {
+if (config.isEnabled() && !debugger.isStandby()) {
 debugger.enableDebugger();
 }
 }
 
 @Override
 public void onContextStopping(CamelContext context) {
-

(camel) 04/04: CAMEL-20761: camel-jbang debug need to deal with message history from camel 4.7 onwards include current node.

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

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

commit 0ae100d3e4a5009325b97b72a3c4552b3ef83e56
Author: Claus Ibsen 
AuthorDate: Mon May 13 16:21:29 2024 +0200

CAMEL-20761: camel-jbang debug need to deal with message history from camel 
4.7 onwards include current node.
---
 .../camel/impl/engine/CamelInternalProcessor.java  |  5 -
 .../apache/camel/impl/console/DebugDevConsole.java |  1 +
 .../ROOT/pages/camel-4x-upgrade-guide-4_7.adoc |  8 +++
 .../camel/dsl/jbang/core/commands/Debug.java   | 26 ++
 4 files changed, 31 insertions(+), 9 deletions(-)

diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
index 29514649b3c..ea0bc711009 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
@@ -743,11 +743,6 @@ public class CamelInternalProcessor extends 
DelegateAsyncProcessor implements In
 }
 }
 
-@Override
-public boolean hasState() {
-return true;
-}
-
 }
 
 /**
diff --git 
a/core/camel-console/src/main/java/org/apache/camel/impl/console/DebugDevConsole.java
 
b/core/camel-console/src/main/java/org/apache/camel/impl/console/DebugDevConsole.java
index 4146bdd1b47..4e3dcfb774e 100644
--- 
a/core/camel-console/src/main/java/org/apache/camel/impl/console/DebugDevConsole.java
+++ 
b/core/camel-console/src/main/java/org/apache/camel/impl/console/DebugDevConsole.java
@@ -151,6 +151,7 @@ public class DebugDevConsole extends AbstractDevConsole {
 
 BacklogDebugger backlog = 
getCamelContext().hasService(BacklogDebugger.class);
 if (backlog != null) {
+root.put("version", getCamelContext().getVersion());
 root.put("enabled", backlog.isEnabled());
 root.put("standby", backlog.isStandby());
 root.put("suspendedMode", backlog.isSuspendMode());
diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_7.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_7.adoc
index 59fecdd7a5d..19e9dd64d9a 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_7.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_7.adoc
@@ -59,6 +59,14 @@ To:
 
 
 
+=== camel-debug
+
+The debugger (using `org.apache.camel.spi.BacklogDebugger`) used for tooling 
such as IDEA and Visual Studio, is fixed
+to work better out-of-the-box by just having `camel-debug` JAR or 
`camel-debug-starter` (for Spring Boot) on the classpath.
+
+An internal change is that the MBean operation 
`messageHistoryOnBreakpointAsXml` on `ManagedBacklogDebugger` now includes
+the current node as last message history, which was expected by IDEA tooling, 
to make it function again.
+
 === camel-spring-security
 
 The `camel-spring-security` component has been updated to improve readiness 
for Spring Security 7.x. Since Spring Security 5.8 the `AccessDecisionManager` 
interface and the related cooperating classes have been deprecated in favor of 
`AuthorizationManager` based patterns.
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
index 702489f69e5..49367ed2fd2 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
@@ -34,6 +34,7 @@ import java.util.concurrent.atomic.AtomicLong;
 import org.apache.camel.dsl.jbang.core.commands.action.MessageTableHelper;
 import org.apache.camel.dsl.jbang.core.common.CamelCommandHelper;
 import org.apache.camel.dsl.jbang.core.common.CommandLineHelper;
+import org.apache.camel.dsl.jbang.core.common.VersionHelper;
 import org.apache.camel.main.KameletMain;
 import org.apache.camel.util.FileUtil;
 import org.apache.camel.util.IOHelper;
@@ -338,6 +339,7 @@ public class Debug extends Run {
 
 // only read if expecting new data
 long cnt = jo.getLongOrDefault("debugCounter", 0);
+String version = jo.getString("version");
 if (cnt > debugCounter.get()) {
 JsonArray arr = jo.getCollection("suspended");
 if (arr != null) {
@@ -351,7 +353,7 @@ public class Debug extends Run {
 for (Object o : arr) {
 SuspendedRow row = new SuspendedRow();
 row.pid = String.valueOf(pid);
-row.name = 

(camel) branch main updated (d9062d5b5d0 -> 0ae100d3e4a)

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

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


from d9062d5b5d0 Regen for commit 725cf43bf28a2e787d26a7875c871aa6522d5d60 
(#14125)
 new 8568fca7120 CAMEL-20761: camel-debug - Message history must be enabled 
when debugging. Also history must come before debugger advice.
 new a77b526e4f3 CAMEL-20758: camel-debug-starter - Should be created 
sooner so the debugger is configured before routes is created. Also turn on 
debug by default if you have camel-debug-starter on the classpath.
 new d6f7988ec26 CAMEL-20762: camel-main - Detect camel-debug JAR on 
classpath eager to turn on source location which is needed for khaving Java DSL 
working.
 new 0ae100d3e4a CAMEL-20761: camel-jbang debug need to deal with message 
history from camel 4.7 onwards include current node.

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:
 .../component/debug/CamelDebuggerFactory.java  |  8 +++
 .../camel/impl/engine/CamelInternalProcessor.java  |  5 
 .../apache/camel/impl/engine/DefaultChannel.java   | 17 -
 .../apache/camel/impl/console/DebugDevConsole.java |  1 +
 .../org/apache/camel/main/BaseMainSupport.java | 17 -
 .../camel/management/BacklogDebuggerTest.java  |  2 +-
 .../ROOT/pages/camel-4x-upgrade-guide-4_7.adoc | 28 +-
 .../camel/dsl/jbang/core/commands/Debug.java   | 26 
 8 files changed, 81 insertions(+), 23 deletions(-)



(camel) 02/04: CAMEL-20758: camel-debug-starter - Should be created sooner so the debugger is configured before routes is created. Also turn on debug by default if you have camel-debug-starter on the

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

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

commit a77b526e4f36b90b250a30302b499899d69b640c
Author: Claus Ibsen 
AuthorDate: Mon May 13 13:10:04 2024 +0200

CAMEL-20758: camel-debug-starter - Should be created sooner so the debugger 
is configured before routes is created. Also turn on debug by default if you 
have camel-debug-starter on the classpath.
---
 .../ROOT/pages/camel-4x-upgrade-guide-4_7.adoc | 22 +++---
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_7.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_7.adoc
index 0ff669f76da..59fecdd7a5d 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_7.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_7.adoc
@@ -59,25 +59,30 @@ To:
 
 
 
-
 === camel-spring-security
 
 The `camel-spring-security` component has been updated to improve readiness 
for Spring Security 7.x. Since Spring Security 5.8 the `AccessDecisionManager` 
interface and the related cooperating classes have been deprecated in favor of 
`AuthorizationManager` based patterns.
 If you are creating Spring Security route policies in your code, you must now 
refactor them to be based on an `AuthorizationManager`.
 
 For example, you might have a route policy defined as follows:
-```java
+
+[source,java]
+
 SpringSecurityAuthorizationPolicy authorizationPolicy = new 
SpringSecurityAuthorizationPolicy();
 authorizationPolicy.setAuthenticationManager(authenticationManager);
 authorizationPolicy.setSpringSecurityAccessPolicy(new 
SpringSecurityAccessPolicy("ROLE_ADMIN"));
 authorizationPolicy.setAccessDecisionManager(new 
AffirmativeBased(Collections.singletonList(new RoleVoter(;
-```
+
+
 With the changes implemented in this release, that must be refactored to:
-```java
+
+[source,java]
+
 SpringSecurityAuthorizationPolicy authorizationPolicy = new 
SpringSecurityAuthorizationPolicy();
 authorizationPolicy.setAuthenticationManager(authenticationManager);
 
authorizationPolicy.setAuthorizationManager(AuthorityAuthorizationManager.hasRole("ADMIN"));
-```
+
+
 This new pattern supports a more expressive language to define your own 
authorization rules, exposing the full power of the Spring Security framework 
to Camel route policies.
 See the 
https://docs.spring.io/spring-security/reference/5.8/migration/servlet/authorization.html#servlet-replace-permissionevaluator-bean-with-methodsecurityexpression-handler[spring
 documentation] for further details on how to migrate your custom code from 
`AccessDecisionManager` to `AuthorizationManager`.
 
@@ -87,10 +92,13 @@ The `camel-as2` component has been updated so that the 
client can compress a MIM
 sections https://datatracker.ietf.org/doc/html/rfc5402/#section-3.2[3.2] and 
https://datatracker.ietf.org/doc/html/rfc5402/#section-3.5[3.5] of 
https://datatracker.ietf.org/doc/html/rfc5402/[rfc 5402].
 
 
-== Camel Spring Boot
+=== Camel Spring Boot
 
-=== camel-debug-starter
+ camel-debug-starter
 
 Using camel debugger with Spring Boot is now moved from `camel-spring-boot` 
into `camel-debug-starter` where you can configure the debugger
 via `camel.debug.` options in `application.properties`.
 
+The `camel-debug-starter` now has `camel.debug.enabled=true` by default to let 
the debugger be installed out of the box,
+by having the JAR on the classpath (as intended). You can turn this off via 
`camel.debug.enabled=false`.
+



(camel) 01/04: CAMEL-20761: camel-debug - Message history must be enabled when debugging. Also history must come before debugger advice.

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

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

commit 8568fca71200d78a170b3f80553f97d9dbcbfa54
Author: Claus Ibsen 
AuthorDate: Mon May 13 12:38:17 2024 +0200

CAMEL-20761: camel-debug - Message history must be enabled when debugging. 
Also history must come before debugger advice.
---
 .../camel/component/debug/CamelDebuggerFactory.java |  8 
 .../org/apache/camel/impl/engine/DefaultChannel.java| 17 +++--
 .../java/org/apache/camel/main/BaseMainSupport.java |  4 +++-
 .../apache/camel/management/BacklogDebuggerTest.java|  2 +-
 4 files changed, 23 insertions(+), 8 deletions(-)

diff --git 
a/components/camel-debug/src/main/java/org/apache/camel/component/debug/CamelDebuggerFactory.java
 
b/components/camel-debug/src/main/java/org/apache/camel/component/debug/CamelDebuggerFactory.java
index 204947c447b..aaf032cc051 100644
--- 
a/components/camel-debug/src/main/java/org/apache/camel/component/debug/CamelDebuggerFactory.java
+++ 
b/components/camel-debug/src/main/java/org/apache/camel/component/debug/CamelDebuggerFactory.java
@@ -35,6 +35,14 @@ public class CamelDebuggerFactory implements DebuggerFactory 
{
 BacklogDebugger backlog = 
DefaultBacklogDebugger.createDebugger(camelContext);
 backlog.setStandby(camelContext.isDebugStandby());
 
+// must enable source location and history
+// so debugger tooling knows to map breakpoints to source code
+camelContext.setSourceLocationEnabled(true);
+camelContext.setMessageHistory(true);
+
+// enable debugger on camel
+camelContext.setDebugging(true);
+
 // we need to enable debugger after context is started
 camelContext.addLifecycleStrategy(new LifecycleStrategySupport() {
 @Override
diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultChannel.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultChannel.java
index 07539ebedc0..d6be2911808 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultChannel.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultChannel.java
@@ -176,8 +176,10 @@ public class DefaultChannel extends CamelInternalProcessor 
implements Channel {
 // as we do not want regular tracer to trace the debugger)
 if (camelContext.isDebugStandby() || route.isDebugging()) {
 final Debugger customDebugger = camelContext.getDebugger();
+final MessageHistoryFactory messageHistoryFactory = 
camelContext.getMessageHistoryFactory();
 if (customDebugger != null) {
 // use custom debugger
+addAdvice(new MessageHistoryAdvice(messageHistoryFactory, 
targetOutputDef));
 addAdvice(new DebuggerAdvice(customDebugger, nextProcessor, 
targetOutputDef));
 }
 BacklogDebugger debugger = getBacklogDebugger(camelContext, 
customDebugger == null);
@@ -192,12 +194,13 @@ public class DefaultChannel extends 
CamelInternalProcessor implements Channel {
 if (!skip && routeDefinition != null) {
 backlogDebuggerSetupInitialBreakpoints(definition, 
routeDefinition, first, debugger, targetOutputDef);
 if (first && debugger.isSingleStepIncludeStartEnd()) {
-// add breakpoint on route input instead of first node
-addAdvice(new BacklogDebuggerAdvice(debugger, 
nextProcessor, routeDefinition.getInput()));
 // debugger captures message history, and we need to 
capture history of incoming
 addAdvice(
 new 
MessageHistoryAdvice(camelContext.getMessageHistoryFactory(), 
routeDefinition.getInput()));
+// add breakpoint on route input instead of first node
+addAdvice(new BacklogDebuggerAdvice(debugger, 
nextProcessor, routeDefinition.getInput()));
 }
+addAdvice(new MessageHistoryAdvice(messageHistoryFactory, 
targetOutputDef));
 addAdvice(new BacklogDebuggerAdvice(debugger, 
nextProcessor, targetOutputDef));
 }
 }
@@ -214,10 +217,12 @@ public class DefaultChannel extends 
CamelInternalProcessor implements Channel {
 addAdvice(new TracingAdvice(tracer, targetOutputDef, 
routeDefinition, first));
 }
 
-if (route.isMessageHistory()) {
-// add message history advice
-MessageHistoryFactory factory = 
camelContext.getMessageHistoryFactory();
-addAdvice(new MessageHistoryAdvice(factory, targetOutputDef));
+// debugger will automatically include message history
+boolean 

(camel) 03/04: CAMEL-20762: camel-main - Detect camel-debug JAR on classpath eager to turn on source location which is needed for khaving Java DSL working.

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

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

commit d6f7988ec262822fa9831e16e4d68011b2152805
Author: Claus Ibsen 
AuthorDate: Mon May 13 14:09:04 2024 +0200

CAMEL-20762: camel-main - Detect camel-debug JAR on classpath eager to turn 
on source location which is needed for khaving Java DSL working.
---
 .../main/java/org/apache/camel/main/BaseMainSupport.java| 13 +
 1 file changed, 13 insertions(+)

diff --git 
a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java 
b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
index 4bfddc7212a..52f5bb07217 100644
--- a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
+++ b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
@@ -65,6 +65,8 @@ import org.apache.camel.spi.CamelTracingService;
 import org.apache.camel.spi.CompileStrategy;
 import org.apache.camel.spi.ContextReloadStrategy;
 import org.apache.camel.spi.DataFormat;
+import org.apache.camel.spi.Debugger;
+import org.apache.camel.spi.DebuggerFactory;
 import org.apache.camel.spi.Language;
 import org.apache.camel.spi.LifecycleStrategy;
 import org.apache.camel.spi.PackageScanClassResolver;
@@ -689,6 +691,8 @@ public abstract class BaseMainSupport extends BaseService {
 configureLifecycle(camelContext);
 
 if (standalone) {
+// detect if camel-debug JAR is on classpath as we need to know 
this before configuring routes
+detectCamelDebugJar(camelContext);
 step = recorder.beginStep(BaseMainSupport.class, 
"configureRoutes", "Collect Routes");
 configureRoutes(camelContext);
 recorder.endStep(step);
@@ -711,6 +715,15 @@ public abstract class BaseMainSupport extends BaseService {
 }
 }
 
+protected void detectCamelDebugJar(CamelContext camelContext) {
+DebuggerFactory df = 
camelContext.getCamelContextExtension().getBootstrapFactoryFinder()
+.newInstance(Debugger.FACTORY, 
DebuggerFactory.class).orElse(null);
+if (df != null) {
+// if camel-debug is on classpath then we need to eager to turn on 
source location which is needed for Java DSL
+camelContext.setSourceLocationEnabled(true);
+}
+}
+
 protected void autoConfigurationFailFast(CamelContext camelContext, 
OrderedLocationProperties autoConfiguredProperties)
 throws Exception {
 // load properties



[PR] chore: Add Slack Kamelets E2E tests [camel-kamelets]

2024-05-13 Thread via GitHub


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

   - Add serverUrl property to slack-source.kamelet for better testability 
reasons
   - Use local Slack Http server in tests to verify Slack API calls


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

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

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



(camel-karaf) branch dependabot/maven/camel.version-4.6.0 deleted (was d315bcfb)

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

github-bot pushed a change to branch dependabot/maven/camel.version-4.6.0
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git


 was d315bcfb Bump camel.version from 4.5.0 to 4.6.0

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



Re: [PR] Bump camel.version from 4.5.0 to 4.6.0 [camel-karaf]

2024-05-13 Thread via GitHub


dependabot[bot] commented on PR #280:
URL: https://github.com/apache/camel-karaf/pull/280#issuecomment-2107669035

   OK, I won't notify you again about this release, but will get in touch when 
a new version is available. You can also ignore all major, minor, or patch 
releases for a dependency by adding an [`ignore` 
condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore)
 with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts 
on it.


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

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

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



Re: [PR] Bump camel.version from 4.5.0 to 4.6.0 [camel-karaf]

2024-05-13 Thread via GitHub


jbonofre closed pull request #280: Bump camel.version from 4.5.0 to 4.6.0
URL: https://github.com/apache/camel-karaf/pull/280


-- 
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] GH-264: Add camel:* shell commands [camel-karaf]

2024-05-13 Thread via GitHub


jbonofre opened a new pull request, #282:
URL: https://github.com/apache/camel-karaf/pull/282

   This closes #264 


-- 
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 influxdb integration test fix [camel-karaf]

2024-05-13 Thread via GitHub


f2par0 commented on PR #281:
URL: https://github.com/apache/camel-karaf/pull/281#issuecomment-2107657808

   Hi @ozgurkisir-qlik , please rebase your PR to have only your last commit


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

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

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



[PR] fix(e2e): strengthen upgrade test scenario [camel-k]

2024-05-13 Thread via GitHub


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

   An IntegrationPod should not be rolled over during the operator upgrade
   
   
   
   
   
   
   
   
   **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 influxdb integration test fix [camel-karaf]

2024-05-13 Thread via GitHub


ozgurkisir-qlik opened a new pull request, #281:
URL: https://github.com/apache/camel-karaf/pull/281

   Added necessary dependencies for camel-influxdb wrapper


-- 
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] Release Camel Kamelets 4.6.0 [camel-kamelets]

2024-05-13 Thread via GitHub


christophd commented on issue #2029:
URL: 
https://github.com/apache/camel-kamelets/issues/2029#issuecomment-2107332042

   > It's part of the 4.6.0 release and it's on vote
   Awesome many 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) branch regen_bot updated (4a34a3bac7a -> d9062d5b5d0)

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


omit 4a34a3bac7a Regen for commit 725cf43bf28a2e787d26a7875c871aa6522d5d60
 add d9062d5b5d0 Regen for commit 725cf43bf28a2e787d26a7875c871aa6522d5d60 
(#14125)

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   (4a34a3bac7a)
\
 N -- N -- N   refs/heads/regen_bot (d9062d5b5d0)

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.

No new revisions were added by this update.

Summary of changes:



(camel) branch main updated: Regen for commit 725cf43bf28a2e787d26a7875c871aa6522d5d60 (#14125)

2024-05-13 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 d9062d5b5d0 Regen for commit 725cf43bf28a2e787d26a7875c871aa6522d5d60 
(#14125)
d9062d5b5d0 is described below

commit d9062d5b5d0aefd42667b84aaf388a7ab75ad9a1
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon May 13 13:01:53 2024 +0200

Regen for commit 725cf43bf28a2e787d26a7875c871aa6522d5d60 (#14125)

Signed-off-by: GitHub 
Co-authored-by: oscerd 
---
 .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index a78a141b832..31c2ec35868 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -1199,7 +1199,7 @@ Properties to use with properties placeholder
 
   
 
   
 



Re: [PR] Generated sources regen [camel]

2024-05-13 Thread via GitHub


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


-- 
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 (fd8e7672a22 -> 4a34a3bac7a)

2024-05-13 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 fd8e7672a22 Regen for commit 4c628c93e073e84b4ebb064ddc792cedcf5f8dfe 
(#14124)
 add 725cf43bf28 Regen
 add 4a34a3bac7a Regen for commit 725cf43bf28a2e787d26a7875c871aa6522d5d60

No new revisions were added by this update.

Summary of changes:



[PR] Generated sources regen [camel]

2024-05-13 Thread via GitHub


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

   Regen bot :robot: found some uncommitted changes after running build on 
:camel: `main` branch.
   Please do not delete `regen_bot` branch after merge/rebase.


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

2024-05-13 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 725cf43bf28 Regen
725cf43bf28 is described below

commit 725cf43bf28a2e787d26a7875c871aa6522d5d60
Author: Andrea Cosentino 
AuthorDate: Mon May 13 12:54:33 2024 +0200

Regen

Signed-off-by: Andrea Cosentino 
---
 .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 31c2ec35868..a78a141b832 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -1199,7 +1199,7 @@ Properties to use with properties placeholder
 
   
 
   
 



(camel) branch regen_bot updated (664a4f18ff0 -> fd8e7672a22)

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


omit 664a4f18ff0 Regen for commit 4c628c93e073e84b4ebb064ddc792cedcf5f8dfe
 add fd8e7672a22 Regen for commit 4c628c93e073e84b4ebb064ddc792cedcf5f8dfe 
(#14124)

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   (664a4f18ff0)
\
 N -- N -- N   refs/heads/regen_bot (fd8e7672a22)

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.

No new revisions were added by this update.

Summary of changes:



(camel-k) branch main updated (0e97aeee2 -> dab74ed08)

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

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


from 0e97aeee2 chore: nightly automatic updates
 add dab74ed08 feat(lint): enabe goconst linter

No new revisions were added by this update.

Summary of changes:
 .golangci.yml  |  2 +-
 addons/telemetry/telemetry.go  |  8 +---
 addons/telemetry/telemetry_test.go |  3 ++-
 addons/vault/aws/aws_secrets_manager_test.go   |  9 +
 addons/vault/gcp/gcp_secret_manager_test.go|  5 +++--
 e2e/advanced/main_test.go  |  5 +++--
 e2e/common/cli/main_test.go|  3 ++-
 e2e/common/main_test.go|  7 ---
 e2e/common/traits/health_test.go   |  2 +-
 e2e/support/test_support.go|  9 +
 pkg/builder/project_test.go|  6 --
 pkg/builder/quarkus.go |  6 --
 pkg/builder/quarkus_test.go|  8 +---
 pkg/cmd/bind.go|  1 +
 pkg/controller/integrationplatform/catalog_test.go |  6 --
 pkg/install/common.go  |  1 +
 pkg/install/operator.go|  3 ++-
 pkg/trait/builder.go   |  4 +++-
 pkg/trait/camel_test.go|  7 ---
 pkg/trait/istio.go |  4 +++-
 pkg/trait/istio_test.go|  9 +
 pkg/trait/jolokia_test.go  |  3 ++-
 pkg/trait/jvm.go   |  4 +++-
 pkg/trait/kamelets.go  |  3 ++-
 pkg/trait/kamelets_support.go  |  3 ++-
 pkg/trait/knative.go   |  8 +---
 pkg/trait/knative_service.go   |  3 ++-
 pkg/trait/knative_service_test.go  |  7 ---
 pkg/trait/knative_test.go  |  5 +++--
 pkg/trait/logging.go   | 17 +
 pkg/trait/logging_test.go  |  9 +
 pkg/trait/mount.go |  3 ++-
 pkg/trait/openapi.go   |  5 +++--
 pkg/trait/platform.go  |  3 ++-
 pkg/trait/platform_test.go |  3 ++-
 pkg/trait/quarkus.go   |  5 +++--
 pkg/trait/quarkus_test.go  | 20 +++-
 pkg/trait/route_test.go|  5 +++--
 pkg/trait/service_binding.go   |  7 ---
 pkg/trait/service_binding_test.go  |  3 ++-
 pkg/trait/trait_configure_test.go  |  5 +++--
 pkg/trait/trait_test.go|  5 +++--
 pkg/trait/trait_types.go   |  6 ++
 pkg/util/{config/config.go => boolean/boolean.go}  |  7 ++-
 pkg/util/camel/camel_runtime_test.go   |  4 +++-
 pkg/util/source/inspector_xml.go   |  2 ++
 46 files changed, 155 insertions(+), 98 deletions(-)
 copy pkg/util/{config/config.go => boolean/boolean.go} (91%)



Re: [PR] feat(lint): enabe goconst linter [camel-k]

2024-05-13 Thread via GitHub


lburgazzoli merged PR #5499:
URL: https://github.com/apache/camel-k/pull/5499


-- 
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: Regen for commit 4c628c93e073e84b4ebb064ddc792cedcf5f8dfe (#14124)

2024-05-13 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 fd8e7672a22 Regen for commit 4c628c93e073e84b4ebb064ddc792cedcf5f8dfe 
(#14124)
fd8e7672a22 is described below

commit fd8e7672a22a0ce6d3e6c54380f8e525a82d9f7b
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon May 13 12:18:24 2024 +0200

Regen for commit 4c628c93e073e84b4ebb064ddc792cedcf5f8dfe (#14124)

Signed-off-by: GitHub 
Co-authored-by: oscerd 
---
 .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index a78a141b832..31c2ec35868 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -1199,7 +1199,7 @@ Properties to use with properties placeholder
 
   
 
   
 



Re: [PR] Generated sources regen [camel]

2024-05-13 Thread via GitHub


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


-- 
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 (293bb82ca6a -> 664a4f18ff0)

2024-05-13 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 293bb82ca6a (chores) camel-file: avoid using a restricted directory
 add 4c628c93e07 Camel-Pinecone: Fixed import and type of the Pinecone 
client (#14122)
 add 664a4f18ff0 Regen for commit 4c628c93e073e84b4ebb064ddc792cedcf5f8dfe

No new revisions were added by this update.

Summary of changes:
 .../apache/camel/component/pinecone/PineconeVectorDbConfiguration.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[PR] Generated sources regen [camel]

2024-05-13 Thread via GitHub


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

   Regen bot :robot: found some uncommitted changes after running build on 
:camel: `main` branch.
   Please do not delete `regen_bot` branch after merge/rebase.


-- 
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 typo in LoadBalancer description [camel]

2024-05-13 Thread via GitHub


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

   :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



Re: [PR] feat(3974) YAML DSL route configuration support [camel-k]

2024-05-13 Thread via GitHub


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

   :heavy_check_mark: Unit test coverage report - coverage increased from 38.1% 
to 38.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



[PR] Fix typo in LoadBalancer description [camel]

2024-05-13 Thread via GitHub


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

   # 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 pinecone-fix deleted (was 4795af9c371)

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

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


 was 4795af9c371 Camel-Pinecone: Fixed import and type of the Pinecone 
client

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-Pinecone: Fixed import and type of the Pinecone client (#14122)

2024-05-13 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 4c628c93e07 Camel-Pinecone: Fixed import and type of the Pinecone 
client (#14122)
4c628c93e07 is described below

commit 4c628c93e073e84b4ebb064ddc792cedcf5f8dfe
Author: Andrea Cosentino 
AuthorDate: Mon May 13 12:11:20 2024 +0200

Camel-Pinecone: Fixed import and type of the Pinecone client (#14122)

Signed-off-by: Andrea Cosentino 
---
 .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 2 +-
 .../apache/camel/component/pinecone/PineconeVectorDbConfiguration.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 31c2ec35868..a78a141b832 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -1199,7 +1199,7 @@ Properties to use with properties placeholder
 
   
 
   
 
diff --git 
a/components/camel-pinecone/src/main/java/org/apache/camel/component/pinecone/PineconeVectorDbConfiguration.java
 
b/components/camel-pinecone/src/main/java/org/apache/camel/component/pinecone/PineconeVectorDbConfiguration.java
index 0e960ee214a..b95e6fd9604 100644
--- 
a/components/camel-pinecone/src/main/java/org/apache/camel/component/pinecone/PineconeVectorDbConfiguration.java
+++ 
b/components/camel-pinecone/src/main/java/org/apache/camel/component/pinecone/PineconeVectorDbConfiguration.java
@@ -32,7 +32,7 @@ public class PineconeVectorDbConfiguration implements 
Cloneable {
 private String token;
 
 @Metadata(autowired = true)
-private io.pinecone.clients.Pinecone client;
+private Pinecone client;
 
 public String getToken() {
 return token;



Re: [PR] Camel-Pinecone: Fixed import and type of the Pinecone client [camel]

2024-05-13 Thread via GitHub


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


-- 
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-Pinecone: Fixed import and type of the Pinecone client [camel]

2024-05-13 Thread via GitHub


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

   :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-Pinecone: Fixed import and type of the Pinecone client [camel]

2024-05-13 Thread via GitHub


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

   # 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-Pinecone: Fixed import and type of the Pinecone client

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

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

commit 4795af9c3718d1d63a209184e6221b8c15027c7b
Author: Andrea Cosentino 
AuthorDate: Mon May 13 11:59:55 2024 +0200

Camel-Pinecone: Fixed import and type of the Pinecone client

Signed-off-by: Andrea Cosentino 
---
 .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 2 +-
 .../apache/camel/component/pinecone/PineconeVectorDbConfiguration.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 31c2ec35868..a78a141b832 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -1199,7 +1199,7 @@ Properties to use with properties placeholder
 
   
 
   
 
diff --git 
a/components/camel-pinecone/src/main/java/org/apache/camel/component/pinecone/PineconeVectorDbConfiguration.java
 
b/components/camel-pinecone/src/main/java/org/apache/camel/component/pinecone/PineconeVectorDbConfiguration.java
index 0e960ee214a..b95e6fd9604 100644
--- 
a/components/camel-pinecone/src/main/java/org/apache/camel/component/pinecone/PineconeVectorDbConfiguration.java
+++ 
b/components/camel-pinecone/src/main/java/org/apache/camel/component/pinecone/PineconeVectorDbConfiguration.java
@@ -32,7 +32,7 @@ public class PineconeVectorDbConfiguration implements 
Cloneable {
 private String token;
 
 @Metadata(autowired = true)
-private io.pinecone.clients.Pinecone client;
+private Pinecone client;
 
 public String getToken() {
 return token;



(camel) branch pinecone-fix created (now 4795af9c371)

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

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


  at 4795af9c371 Camel-Pinecone: Fixed import and type of the Pinecone 
client

This branch includes the following new commits:

 new 4795af9c371 Camel-Pinecone: Fixed import and type of the Pinecone 
client

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.




(camel) branch regen_bot updated (c8f33bdbb6b -> 293bb82ca6a)

2024-05-13 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 c8f33bdbb6b Upgrade Localstack container image version to 3.4.0 
(#14121)
 add 293bb82ca6a (chores) camel-file: avoid using a restricted directory

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/component/file/FileProducerExpressionTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



Re: [I] Release Camel Kamelets 4.6.0 [camel-kamelets]

2024-05-13 Thread via GitHub


oscerd commented on issue #2029:
URL: 
https://github.com/apache/camel-kamelets/issues/2029#issuecomment-2107123411

   
https://github.com/apache/camel-kamelets/commit/c8fc4eea90a56c5ba8128b1363db323a9c8ceeb2


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

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

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



(camel) branch main updated: (chores) camel-file: avoid using a restricted directory

2024-05-13 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 293bb82ca6a (chores) camel-file: avoid using a restricted directory
293bb82ca6a is described below

commit 293bb82ca6a96448de69cc71b8d36fcd0e7a0e3c
Author: Otavio Rodolfo Piske 
AuthorDate: Mon May 13 09:58:35 2024 +0200

(chores) camel-file: avoid using a restricted directory

Try to avoid using a path that may have different permissions, which tends 
to lead to failures in CI environments
---
 .../org/apache/camel/component/file/FileProducerExpressionTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerExpressionTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerExpressionTest.java
index 1f680ef1fec..3d453358436 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerExpressionTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerExpressionTest.java
@@ -73,11 +73,11 @@ public class FileProducerExpressionTest extends 
ContextTestSupport {
 
 @Test
 public void testProducerComplexByExpression() {
-String expression = 
"../filelanguageinbox/myfile-${bean:myguidgenerator.guid}-${date:now:MMdd}.txt";
+String expression = 
"target/filelanguageinbox/myfile-${bean:myguidgenerator.guid}-${date:now:MMdd}.txt";
 template.sendBody(fileUri("?jailStartingDirectory=false=" + 
expression), "Hello World");
 
 String date = new SimpleDateFormat("MMdd").format(new Date());
-assertFileExists(testFile("../filelanguageinbox/myfile-123-" + date + 
".txt"));
+assertFileExists(testFile("target/filelanguageinbox/myfile-123-" + 
date + ".txt"));
 }
 
 @Test



Re: [PR] (chores) camel-file: avoid using a restricted directory [camel]

2024-05-13 Thread via GitHub


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


-- 
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 (d1b8e72d9ce -> c8f33bdbb6b)

2024-05-13 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 d1b8e72d9ce Bump gg.jte:jte from 3.1.9 to 3.1.10 (#14117)
 add c8f33bdbb6b Upgrade Localstack container image version to 3.4.0 
(#14121)

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/test/infra/aws2/services/container.properties  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



Re: [I] Release Camel Kamelets 4.6.0 [camel-kamelets]

2024-05-13 Thread via GitHub


christophd commented on issue #2029:
URL: 
https://github.com/apache/camel-kamelets/issues/2029#issuecomment-2107113642

   @oscerd do I need to backport to some branch or did you cut the 4.6.0 
release branch after the change made in #2033 


-- 
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 localstack-3.4.0 deleted (was eba3919f176)

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

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


 was eba3919f176 Upgrade Localstack container image version to 3.4.0

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



(camel) branch main updated: Upgrade Localstack container image version to 3.4.0 (#14121)

2024-05-13 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 c8f33bdbb6b Upgrade Localstack container image version to 3.4.0 
(#14121)
c8f33bdbb6b is described below

commit c8f33bdbb6b59cc8fe913280f9796aa48b8024bb
Author: Andrea Cosentino 
AuthorDate: Mon May 13 11:36:30 2024 +0200

Upgrade Localstack container image version to 3.4.0 (#14121)

Signed-off-by: Andrea Cosentino 
---
 .../org/apache/camel/test/infra/aws2/services/container.properties  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties
 
b/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties
index efbf0bff504..2f619927cc0 100644
--- 
a/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties
+++ 
b/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---
 
-aws.container=localstack/localstack:3.3.0
+aws.container=localstack/localstack:3.4.0



Re: [PR] Upgrade Localstack container image version to 3.4.0 [camel]

2024-05-13 Thread via GitHub


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


-- 
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] Upgrade Localstack container image version to 3.4.0 [camel]

2024-05-13 Thread via GitHub


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

   :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



(camel) 01/01: Upgrade Localstack container image version to 3.4.0

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

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

commit eba3919f176bc6df33dc367640f993e7629e47ed
Author: Andrea Cosentino 
AuthorDate: Mon May 13 11:23:06 2024 +0200

Upgrade Localstack container image version to 3.4.0

Signed-off-by: Andrea Cosentino 
---
 .../org/apache/camel/test/infra/aws2/services/container.properties  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties
 
b/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties
index efbf0bff504..2f619927cc0 100644
--- 
a/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties
+++ 
b/test-infra/camel-test-infra-aws-v2/src/test/resources/org/apache/camel/test/infra/aws2/services/container.properties
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---
 
-aws.container=localstack/localstack:3.3.0
+aws.container=localstack/localstack:3.4.0



  1   2   >