(camel-kamelets) branch regen_bot updated (5bea94ca -> 17e53a00)

2023-11-14 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 5bea94ca SSLAwareMongoClient: Use the TLSv1.2 as default for SSL 
Context
 add 17e53a00 fix(#1716): Remove obsolete data type transformer 
implementations (#1732)

No new revisions were added by this update.

Summary of changes:
 kamelets/avro-deserialize-action.kamelet.yaml  |   3 +-
 kamelets/avro-serialize-action.kamelet.yaml|   3 +-
 kamelets/data-type-action.kamelet.yaml |   1 -
 kamelets/protobuf-deserialize-action.kamelet.yaml  |   2 +-
 kamelets/protobuf-serialize-action.kamelet.yaml|   2 +-
 .../kamelets/catalog/KameletsCatalogTest.java  |   4 +-
 library/camel-kamelets-utils/pom.xml   |  27 +-
 .../kamelets/utils/format/converter/avro/Avro.java |  29 --
 .../format/converter/avro/AvroBinaryDataType.java  |  83 
 .../format/converter/avro/AvroSchemaResolver.java  | 160 
 .../format/converter/avro/AvroStructDataType.java  |  72 
 .../converter/aws2/ddb/Ddb2JsonInputType.java  | 241 
 .../aws2/s3/AWS2S3CloudEventOutputType.java|  46 ---
 .../aws2/sqs/AWS2SQSCloudEventOutputType.java  |  47 ---
 .../blob/AzureStorageBlobCloudEventOutputType.java |  47 ---
 .../converter/google/sheets/CellCoordinate.java| 195 --
 .../sheets/GoogleSheetsJsonStructDataType.java | 337 
 .../converter/google/sheets/RangeCoordinate.java   | 149 ---
 .../storage/GoogleStorageCloudEventOutputType.java |  47 ---
 .../converter/http/HttpCloudEventOutputType.java   |  54 ---
 .../kamelets/utils/format/converter/json/Json.java | 107 -
 .../utils/format/converter/json/JsonDataType.java  |  51 ---
 .../format/converter/json/JsonFormatSchema.java|  22 --
 .../format/converter/json/JsonSchemaResolver.java  | 155 
 .../format/converter/json/JsonStructDataType.java  |  66 
 .../format/converter/pojo/JavaObjectDataType.java  | 108 --
 .../utils/format/converter/utils/CloudEvents.java  |  45 ---
 .../utils/format/converter/utils/PojoHelper.java   |  89 -
 .../utils/format/converter/utils/SchemaHelper.java |  34 --
 .../format/schema/DelegatingSchemaResolver.java|   6 +-
 .../{converter => schema}/protobuf/Protobuf.java   |   2 +-
 .../protobuf/ProtobufSchemaResolver.java   |   4 +-
 .../services/org/apache/camel/DataTypeConverter|  25 --
 .../camel/datatype/transformer/application-json|  18 -
 .../datatype/transformer/application-x-java-object |  18 -
 .../datatype/transformer/application-x-struct  |  18 -
 .../apache/camel/datatype/transformer/avro-binary  |  18 -
 .../camel/datatype/transformer/avro-x-struct   |  18 -
 .../datatype/transformer/aws2-ddb-application-json |  18 -
 .../transformer/aws2-s3-application-cloudevents|  18 -
 .../transformer/aws2-sqs-application-cloudevents   |  18 -
 .../azure-storage-blob-application-cloudevents |  18 -
 .../transformer/google-sheets-application-x-struct |  18 -
 .../google-storage-application-cloudevents |  18 -
 .../transformer/http-application-cloudevents   |  18 -
 .../converter/aws2/ddb/Ddb2JsonInputTypeTest.java  | 217 ---
 .../sheets/GoogleSheetsJsonStructDataTypeTest.java | 429 -
 .../http/HttpCloudEventOutputTypeTest.java |  70 
 .../kamelets/avro-deserialize-action.kamelet.yaml  |   3 +-
 .../kamelets/avro-serialize-action.kamelet.yaml|   3 +-
 .../kamelets/data-type-action.kamelet.yaml |   1 -
 .../protobuf-deserialize-action.kamelet.yaml   |   2 +-
 .../protobuf-serialize-action.kamelet.yaml |   2 +-
 pom.xml|   4 +-
 test/Makefile  |   2 +-
 test/avro-data-type/avro-to-log-pipe.yaml  |   9 +
 test/avro-data-type/json-to-avro-pipe.yaml |   3 +
 test/aws-s3/aws-s3-knative-broker.feature  |   2 +-
 test/data-type-action/data-type-action-pipe.yaml   |   3 +
 59 files changed, 36 insertions(+), 3193 deletions(-)
 delete mode 100644 
library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/format/converter/avro/Avro.java
 delete mode 100644 
library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/format/converter/avro/AvroBinaryDataType.java
 delete mode 100644 
library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/format/converter/avro/AvroSchemaResolver.java
 delete mode 100644 
library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/format/converter/avro/AvroStructDataType.java
 delete mode 100644 
library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/format/converter/aws2/ddb/Ddb2JsonInputType.java
 delete mode 100644 

Re: [PR] fix(#1716): Remove obsolete data type transformer implementations [camel-kamelets]

2023-11-14 Thread via GitHub


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


-- 
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(#4916): Improve component resolver [camel-k]

2023-11-14 Thread via GitHub


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

   :camel: **Thank you for contributing!**
   
   Code Coverage Report :heavy_check_mark: - Coverage changed: 33.5% --> 33.6% 
(Coverage difference: **+.1%**)


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

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

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



Re: [PR] fix(#1716): Remove obsolete data type transformer implementations [camel-kamelets]

2023-11-14 Thread via GitHub


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

   @oscerd Camel 4.2.0 is available and the CI looks good. Feel free to merge 
whenever you update to Camel 4.2.0


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

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

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



[PR] fix(#4916): Improve component resolver [camel-k]

2023-11-14 Thread via GitHub


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

   - Support URL query parameters when resolving components by given scheme
   - Do not resolve URLs that use parameter placeholder as a scheme
   - Properly extract scheme from URL that has query parameters
   
   Fixes #4916 
   
   **Release Note**
   ```release-note
   fix: Improve component resolver
   ```
   


-- 
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 (b6f3cbf7ec2 -> 50fa57dd8cb)

2023-11-14 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 b6f3cbf7ec2 Regen
 add 50fa57dd8cb (chores) camel-core: use log markers in test producer 
cache test

No new revisions were added by this update.

Summary of changes:
 .../src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



Re: [PR] Backport checkstyle fixes to 4.0.x [camel]

2023-11-14 Thread via GitHub


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

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :camel: Maintainers, please note that first-time contributors *require 
manual approval* for the GitHub Actions to run.
   
   :warning: Please note that the changes on this PR may be **tested 
automatically** if they change components.
   
   :robot: Use the command `/component-test (camel-)component-name1 
(camel-)component-name2..` to request a test from the test bot.
   
   If necessary Apache Camel Committers may access logs and test results in the 
job summaries!


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

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

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



[PR] Backport checkstyle fixes to 4.0.x [camel]

2023-11-14 Thread via GitHub


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

   (no comment)


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

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

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



(camel) branch main updated: (chores) camel-core: use log markers in test producer cache test

2023-11-14 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 50fa57dd8cb (chores) camel-core: use log markers in test producer 
cache test
50fa57dd8cb is described below

commit 50fa57dd8cbf143e117d66174d9994e3f8bcf7e5
Author: Otavio Rodolfo Piske 
AuthorDate: Wed Nov 15 07:43:49 2023 +0100

(chores) camel-core: use log markers in test producer cache test
---
 .../src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
index b4c4378b37f..f50a30aa7ca 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
@@ -240,8 +240,8 @@ public class DefaultProducerCacheTest extends 
ContextTestSupport {
 = 
producer.getEndpoint().getEndpointUri().equalsIgnoreCase(endpoints.get(index).getEndpointUri());
 
 if (!isEqual) {
-log.info("Endpoint uri to acquire: " + 
endpoints.get(index).getEndpointUri() + ", returned producer (uri): "
- + producer.getEndpoint().getEndpointUri());
+log.info("Endpoint uri to acquire: {}, returned producer 
(uri): {}", endpoints.get(index).getEndpointUri(),
+producer.getEndpoint().getEndpointUri());
 }
 
 return isEqual;



Re: [PR] Blog - Whats new in Camel 4.2 - WIP [camel-website]

2023-11-14 Thread via GitHub


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

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


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

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

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



(camel-website) branch whats420 updated: Blog - Whats new in Camel 4.2 - WIP

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

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


The following commit(s) were added to refs/heads/whats420 by this push:
 new 94483677 Blog - Whats new in Camel 4.2 - WIP
94483677 is described below

commit 94483677ac80681e49fb654d1c6532b3f4625c90
Author: Claus Ibsen 
AuthorDate: Wed Nov 15 06:22:20 2023 +0100

Blog - Whats new in Camel 4.2 - WIP
---
 content/blog/2023/11/camel42-whatsnew/index.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/blog/2023/11/camel42-whatsnew/index.md 
b/content/blog/2023/11/camel42-whatsnew/index.md
index 6bb3e1d0..94ed6715 100644
--- a/content/blog/2023/11/camel42-whatsnew/index.md
+++ b/content/blog/2023/11/camel42-whatsnew/index.md
@@ -73,7 +73,7 @@ We also made Camel JBang work better on Windows. However, we 
are interested in f
 
 The `run clipboard.yaml` command (run from clipboard) now supports `--dev` 
mode for reload on changes (i.e. you can copy to clipboard your updates).
 
-We have also improved support for migrating older Spring XML (spring  
XML files) or Camel Karaf projects (OSGi  XML files)
+We have also improved support for migrating older Spring XML (classic Spring 
XML files) or Camel Karaf projects (OSGi blueprint XML files)
 to Camel 4 with the `transform` command. A blog post is currently in the 
writing about this topic.
 However, this effort, lead us to implement _best effort_ running existing 
Maven based projects via `camel run pom.xml`.
 The need for this is to assist during migrating those older projects, but can 
be used for other purposes in the future.



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

2023-11-14 Thread via GitHub


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

   The 
[quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) 
branch build has failed:
   
   * Build ID: 6872063937-1301-96664407-63fa-478c-a715-562a059a7a37
   * Camel Quarkus Commit: 9b4a752438f7149c79c11f737b6cfcc773163a0f
   
   * Quarkus Main Commit: 79fbd5c00350c080ddf63cb15a6d51d055d091ee
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/6872063937


-- 
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] [3.2.x] Infinispan test: fix broken immutable list [camel-quarkus]

2023-11-14 Thread via GitHub


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


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

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

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



(camel-quarkus) branch 3.2.x updated: Infinispan test: fix broken immutable list

2023-11-14 Thread zhfeng
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/3.2.x by this push:
 new 3dbba7d8f6 Infinispan test: fix broken immutable list
3dbba7d8f6 is described below

commit 3dbba7d8f6cdce4680f9ce7fffa6751a0436c472
Author: Zineb Bendhiba 
AuthorDate: Thu Aug 31 09:34:48 2023 +0200

Infinispan test: fix broken immutable list
---
 integration-tests/infinispan/src/main/java/InfinispanRoutes.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/integration-tests/infinispan/src/main/java/InfinispanRoutes.java 
b/integration-tests/infinispan/src/main/java/InfinispanRoutes.java
index 7c9e26c8da..f45143c769 100644
--- a/integration-tests/infinispan/src/main/java/InfinispanRoutes.java
+++ b/integration-tests/infinispan/src/main/java/InfinispanRoutes.java
@@ -15,6 +15,7 @@
  * limitations under the License.
  */
 
+import java.util.HashMap;
 import java.util.Map;
 
 import jakarta.inject.Named;
@@ -36,7 +37,8 @@ public class InfinispanRoutes extends InfinispanCommonRoutes {
 @Produces
 @Named("additionalConfig")
 Map additionalInfinispanConfig() {
-Map config = Map.of(MARSHALLER, 
ProtoStreamMarshaller.class.getName());
+Map config = new HashMap<>();
+config.put(MARSHALLER, ProtoStreamMarshaller.class.getName());
 if (OS.getCurrentOs().equals(OS.MAC_OS) || 
OS.getCurrentOs().equals(OS.WINDOWS)) {
 config.put(CLIENT_INTELLIGENCE, "BASIC");
 }



(camel-k) 02/02: chore: nightly SBOM update

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

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

commit e13a38fe436776eb6992d500bdb507ff04e564ce
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Nov 15 01:16:10 2023 +

chore: nightly SBOM update
---
 camel-k-sbom/camel-k-sbom.json | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/camel-k-sbom/camel-k-sbom.json b/camel-k-sbom/camel-k-sbom.json
index c2fa60930..99acd5099 100644
--- a/camel-k-sbom/camel-k-sbom.json
+++ b/camel-k-sbom/camel-k-sbom.json
@@ -2,10 +2,10 @@
   "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json;,
   "bomFormat": "CycloneDX",
   "specVersion": "1.4",
-  "serialNumber": "urn:uuid:26f9442d-2403-42e2-978a-21ad4241f26f",
+  "serialNumber": "urn:uuid:5224a91a-1be3-4715-ac08-7507446da13a",
   "version": 1,
   "metadata": {
-"timestamp": "2023-11-14T01:11:55Z",
+"timestamp": "2023-11-15T01:16:10Z",
 "tools": [
   {
 "vendor": "CycloneDX",
@@ -46,11 +46,11 @@
   }
 ],
 "component": {
-  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231113011836-33e0b4cb8632?type=module",
+  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231115011442-4f526b82f184?type=module",
   "type": "application",
   "name": "github.com/apache/camel-k/v2",
-  "version": "v0.0.0-20231113011836-33e0b4cb8632",
-  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231113011836-33e0b4cb8632?type=module\u0026goos=linux\u0026goarch=amd64",
+  "version": "v0.0.0-20231115011442-4f526b82f184",
+  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231115011442-4f526b82f184?type=module\u0026goos=linux\u0026goarch=amd64",
   "externalReferences": [
 {
   "url": "https://github.com/apache/camel-k;,
@@ -4021,7 +4021,7 @@
   ],
   "dependencies": [
 {
-  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231113011836-33e0b4cb8632?type=module",
+  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231115011442-4f526b82f184?type=module",
   "dependsOn": [
 "pkg:golang/github.com/Masterminds/semver@v1.5.0?type=module",
 "pkg:golang/github.com/container-tools/spectrum@v0.6.29?type=module",



(camel-k) branch release-2.0.x updated (a09e86cce -> e13a38fe4)

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

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


from a09e86cce chore: nightly SBOM update
 new 4f526b82f chore: changelog automatic update
 new e13a38fe4 chore: nightly SBOM update

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


Summary of changes:
 CHANGELOG.md   |  1 +
 camel-k-sbom/camel-k-sbom.json | 12 ++--
 2 files changed, 7 insertions(+), 6 deletions(-)



(camel-k) 01/02: chore: changelog automatic update

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

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

commit 4f526b82f1840099693cab05b9385194a113d737
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Nov 15 01:14:42 2023 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 237be728e..5e54183ea 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@
 - TestCamelTrait flaky test 
[\#4845](https://github.com/apache/camel-k/issues/4845)
 - Release 2.1.0 [\#4752](https://github.com/apache/camel-k/issues/4752)
 - Provide default value in a specific field for trait properties in CRD 
[\#4726](https://github.com/apache/camel-k/issues/4726)
+- doesnt work "kamel kit delete"  
[\#4628](https://github.com/apache/camel-k/issues/4628)
 - Facing issue while Integrating Java Code and REST with JAR Dependencies 
[\#4593](https://github.com/apache/camel-k/issues/4593)
 - Image Vulnerability of Go package 
[\#4581](https://github.com/apache/camel-k/issues/4581)
 - Failing to serialize java.time.\* objects into json 
[\#4547](https://github.com/apache/camel-k/issues/4547)



(camel-k) 02/02: chore: nightly SBOM update

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

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

commit 7c4defb4c54a619b9be8b0d929514812de550852
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Nov 15 00:31:42 2023 +

chore: nightly SBOM update
---
 camel-k-sbom/camel-k-sbom.json | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/camel-k-sbom/camel-k-sbom.json b/camel-k-sbom/camel-k-sbom.json
index f23523a85..3bb45ab3c 100644
--- a/camel-k-sbom/camel-k-sbom.json
+++ b/camel-k-sbom/camel-k-sbom.json
@@ -2,10 +2,10 @@
   "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json;,
   "bomFormat": "CycloneDX",
   "specVersion": "1.4",
-  "serialNumber": "urn:uuid:3d723be5-fc3a-4272-b727-de840e423dfa",
+  "serialNumber": "urn:uuid:1d1e24c2-33da-468e-877d-8d69b88010b8",
   "version": 1,
   "metadata": {
-"timestamp": "2023-11-14T00:28:20Z",
+"timestamp": "2023-11-15T00:31:42Z",
 "tools": [
   {
 "vendor": "CycloneDX",
@@ -46,11 +46,11 @@
   }
 ],
 "component": {
-  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231113003159-cad0df1f885c?type=module",
+  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231115003004-64ae5add626f?type=module",
   "type": "application",
   "name": "github.com/apache/camel-k/v2",
-  "version": "v0.0.0-20231113003159-cad0df1f885c",
-  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231113003159-cad0df1f885c?type=module\u0026goos=linux\u0026goarch=amd64",
+  "version": "v0.0.0-20231115003004-64ae5add626f",
+  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231115003004-64ae5add626f?type=module\u0026goos=linux\u0026goarch=amd64",
   "externalReferences": [
 {
   "url": "https://github.com/apache/camel-k;,
@@ -3853,7 +3853,7 @@
   ],
   "dependencies": [
 {
-  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231113003159-cad0df1f885c?type=module",
+  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231115003004-64ae5add626f?type=module",
   "dependsOn": [
 "pkg:golang/github.com/Masterminds/semver@v1.5.0?type=module",
 "pkg:golang/github.com/container-tools/spectrum@v0.6.38?type=module",



(camel-k) 01/02: chore: changelog automatic update

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

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

commit 64ae5add626f03139e73e4522f72bf774c260900
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Nov 15 00:30:04 2023 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 237be728e..5e54183ea 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@
 - TestCamelTrait flaky test 
[\#4845](https://github.com/apache/camel-k/issues/4845)
 - Release 2.1.0 [\#4752](https://github.com/apache/camel-k/issues/4752)
 - Provide default value in a specific field for trait properties in CRD 
[\#4726](https://github.com/apache/camel-k/issues/4726)
+- doesnt work "kamel kit delete"  
[\#4628](https://github.com/apache/camel-k/issues/4628)
 - Facing issue while Integrating Java Code and REST with JAR Dependencies 
[\#4593](https://github.com/apache/camel-k/issues/4593)
 - Image Vulnerability of Go package 
[\#4581](https://github.com/apache/camel-k/issues/4581)
 - Failing to serialize java.time.\* objects into json 
[\#4547](https://github.com/apache/camel-k/issues/4547)



(camel-k) branch release-2.1.x updated (61afde769 -> 7c4defb4c)

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

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


from 61afde769 chore: nightly SBOM update
 new 64ae5add6 chore: changelog automatic update
 new 7c4defb4c chore: nightly SBOM update

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


Summary of changes:
 CHANGELOG.md   |  1 +
 camel-k-sbom/camel-k-sbom.json | 12 ++--
 2 files changed, 7 insertions(+), 6 deletions(-)



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

2023-11-14 Thread via GitHub


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

   The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) 
branch build has failed:
   
   * Build ID: 6871084817-1197-1a574a08-3098-401b-b1e9-a7ced9c921bd
   * Camel Quarkus Commit: e998c843e520bc7b5465e97b114437ce3dbe8727
   
   * Camel Main Commit: 79fbd5c00350c080ddf63cb15a6d51d055d091ee
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/6871084817


-- 
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] doesnt work "kamel kit delete" [camel-k]

2023-11-14 Thread via GitHub


github-actions[bot] closed issue #4628: doesnt work "kamel kit delete" 
URL: https://github.com/apache/camel-k/issues/4628


-- 
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) 02/02: chore: nightly SBOM update

2023-11-14 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

commit 1e50c6f61bc3af7847b5b664b9d0c800da400453
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Nov 14 23:46:30 2023 +

chore: nightly SBOM update
---
 camel-k-sbom/camel-k-sbom.json | 176 -
 1 file changed, 88 insertions(+), 88 deletions(-)

diff --git a/camel-k-sbom/camel-k-sbom.json b/camel-k-sbom/camel-k-sbom.json
index cc335bee7..f8844289d 100644
--- a/camel-k-sbom/camel-k-sbom.json
+++ b/camel-k-sbom/camel-k-sbom.json
@@ -2,10 +2,10 @@
   "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json;,
   "bomFormat": "CycloneDX",
   "specVersion": "1.4",
-  "serialNumber": "urn:uuid:4659cd40-9f94-4d9a-af8e-ed51fe1734af",
+  "serialNumber": "urn:uuid:b38da681-4095-4e6f-9677-1df205b88168",
   "version": 1,
   "metadata": {
-"timestamp": "2023-11-13T23:42:56Z",
+"timestamp": "2023-11-14T23:46:30Z",
 "tools": [
   {
 "vendor": "CycloneDX",
@@ -46,11 +46,11 @@
   }
 ],
 "component": {
-  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231112234541-410d18a92ac0?type=module",
+  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231114234330-f66dacdbecd5?type=module",
   "type": "application",
   "name": "github.com/apache/camel-k/v2",
-  "version": "v0.0.0-20231112234541-410d18a92ac0",
-  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231112234541-410d18a92ac0?type=module\u0026goos=linux\u0026goarch=amd64",
+  "version": "v0.0.0-20231114234330-f66dacdbecd5",
+  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231114234330-f66dacdbecd5?type=module\u0026goos=linux\u0026goarch=amd64",
   "externalReferences": [
 {
   "url": "https://github.com/apache/camel-k;,
@@ -2870,18 +2870,18 @@
   }
 },
 {
-  "bom-ref": "pkg:golang/golang.org/x/crypto@v0.14.0?type=module",
+  "bom-ref": "pkg:golang/golang.org/x/crypto@v0.15.0?type=module",
   "type": "library",
   "name": "golang.org/x/crypto",
-  "version": "v0.14.0",
+  "version": "v0.15.0",
   "scope": "required",
   "hashes": [
 {
   "alg": "SHA-256",
-  "content": 
"c01a865f35895ba9b55eb20a9401f41ecd4927bfbd281c2720ef2feba43d7077"
+  "content": 
"7eb567d5311a084699727dd399ded8d9be4a28f699f88df6436380de4629e530"
 }
   ],
-  "purl": 
"pkg:golang/golang.org/x/crypto@v0.14.0?type=module\u0026goos=linux\u0026goarch=amd64",
+  "purl": 
"pkg:golang/golang.org/x/crypto@v0.15.0?type=module\u0026goos=linux\u0026goarch=amd64",
   "evidence": {
 "licenses": [
   {
@@ -2939,18 +2939,18 @@
   }
 },
 {
-  "bom-ref": "pkg:golang/golang.org/x/net@v0.17.0?type=module",
+  "bom-ref": "pkg:golang/golang.org/x/net@v0.18.0?type=module",
   "type": "library",
   "name": "golang.org/x/net",
-  "version": "v0.17.0",
+  "version": "v0.18.0",
   "scope": "required",
   "hashes": [
 {
   "alg": "SHA-256",
-  "content": 
"a5569771cbb6a333e30977b07ebd52ef1cdaff37174e2b72f5c09d5d06128c83"
+  "content": 
"9886257ae02449b1e1d2d0afed1be32f717a6556cb8eae3e47bcdb3a7dcaa248"
 }
   ],
-  "purl": 
"pkg:golang/golang.org/x/net@v0.17.0?type=module\u0026goos=linux\u0026goarch=amd64",
+  "purl": 
"pkg:golang/golang.org/x/net@v0.18.0?type=module\u0026goos=linux\u0026goarch=amd64",
   "evidence": {
 "licenses": [
   {
@@ -2962,18 +2962,18 @@
   }
 },
 {
-  "bom-ref": "pkg:golang/golang.org/x/oauth2@v0.13.0?type=module",
+  "bom-ref": "pkg:golang/golang.org/x/oauth2@v0.14.0?type=module",
   "type": "library",
   "name": "golang.org/x/oauth2",
-  "version": "v0.13.0",
+  "version": "v0.14.0",
   "scope": "required",
   "hashes": [
 {
   "alg": "SHA-256",
-  "content": 
"8c30de9f28fe5a016d995df3615a22f1a136070b5714b58e03aed97cd59fb626"
+  "content": 
"3f456b7ffdb9dfc9e60b41fea4443730d151467551ed196ac95c3e6ef9b6eb3d"
 }
   ],
-  "purl": 
"pkg:golang/golang.org/x/oauth2@v0.13.0?type=module\u0026goos=linux\u0026goarch=amd64",
+  "purl": 
"pkg:golang/golang.org/x/oauth2@v0.14.0?type=module\u0026goos=linux\u0026goarch=amd64",
   "evidence": {
 "licenses": [
   {
@@ -3853,7 +3853,7 @@
   ],
   "dependencies": [
 {
-  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231112234541-410d18a92ac0?type=module",
+  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231114234330-f66dacdbecd5?type=module",
   "dependsOn": [
 "pkg:golang/github.com/Masterminds/semver@v1.5.0?type=module",
 

(camel-k) branch main updated (43276eba4 -> 1e50c6f61)

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

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


from 43276eba4 Use filepath.clean in json-schema-gen command for 
destination parameter (#4918)
 new f66dacdbe chore: changelog automatic update
 new 1e50c6f61 chore: nightly SBOM update

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


Summary of changes:
 CHANGELOG.md   |   2 +
 camel-k-sbom/camel-k-sbom.json | 176 -
 2 files changed, 90 insertions(+), 88 deletions(-)



(camel-k) 01/02: chore: changelog automatic update

2023-11-14 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

commit f66dacdbecd51453588167921cdc5b9b1776ef40
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Nov 14 23:43:30 2023 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9b28a5ea8..92f79ecff 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,7 +22,9 @@
 
 **Merged pull requests:**
 
+- Use filepath.clean in json-schema-gen command for destination parameter 
[\#4918](https://github.com/apache/camel-k/pull/4918) 
([oscerd](https://github.com/oscerd))
 - chore\(deps\): bump golang.org/x/term from 0.13.0 to 0.14.0 
[\#4913](https://github.com/apache/camel-k/pull/4913) 
([dependabot[bot]](https://github.com/apps/dependabot))
+- chore\(deps\): bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 
[\#4912](https://github.com/apache/camel-k/pull/4912) 
([dependabot[bot]](https://github.com/apps/dependabot))
 - chore\(deps\): bump github.com/onsi/gomega from 1.29.0 to 1.30.0 
[\#4911](https://github.com/apache/camel-k/pull/4911) 
([dependabot[bot]](https://github.com/apps/dependabot))
 - chore\(e2e\): Regression test on referenced secret\(/cm\) properties 
[\#4909](https://github.com/apache/camel-k/pull/4909) 
([gansheer](https://github.com/gansheer))
 - fix\(e2e\): HotReload tests should not reload by default 
[\#4908](https://github.com/apache/camel-k/pull/4908) 
([gansheer](https://github.com/gansheer))



Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [PR] test(health): #3997 structured conditions for scaled integrations [camel-k]

2023-11-14 Thread via GitHub


rinaldodev commented on PR #4917:
URL: https://github.com/apache/camel-k/pull/4917#issuecomment-1811428155

   > Feel free to move the PR to ready to review or add a comment when you are 
okey to merge it.
   
   Thanks, I will. Some of the tests are flaky and I'm trying to figure out why.


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



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

2023-11-14 Thread Apache Infrastructure


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



(camel-website-pub) branch asf-site updated (e1276b69f -> 3997b07d0)

2023-11-14 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

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


 discard e1276b69f Website updated to 23d9d1bb433e56d1ca002b0b6f7b121b5340cad2
 discard b2430731d Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new 87c224391 Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new 3997b07d0 Website updated to 6dcb6257cbbbe750e95bc981c8ed2eff35fbcf88

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   (e1276b69f)
\
 N -- N -- N   refs/heads/asf-site (3997b07d0)

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

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

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


Summary of changes:
 .htaccess  |   58 +-
 .well-known/security.txt   |2 +-
 download/index.html|2 +-
 releases/release-4.2.0/index.html  |2 +-
 ...ng-xml-3.14.10.xsd => camel-spring-3.14.10.xsd} |0
 ...ring-xml-3.20.8.xsd => camel-spring-3.20.8.xsd} |0
 ...ring-xml-3.21.2.xsd => camel-spring-3.21.2.xsd} |0
 ...spring-xml-4.0.2.xsd => camel-spring-4.0.2.xsd} |0
 .../camel-spring-4.2.0.xsd}|0
 site-manifest.json |2 +-
 sitemap-camel-core.xml |   12 +-
 sitemap-camel-k.xml| 1088 ++--
 sitemap-camel-kafka-connector.xml  |  806 +--
 sitemap-camel-kamelets.xml | 1736 +++---
 sitemap-camel-karaf.xml|   52 +-
 sitemap-camel-quarkus.xml  | 2684 -
 sitemap-camel-spring-boot.xml  |   52 +-
 sitemap-components.xml | 5750 ++--
 sitemap-manual.xml |  410 +-
 19 files changed, 6328 insertions(+), 6328 deletions(-)
 rename schema/spring/{camel-spring-xml-3.14.10.xsd => 
camel-spring-3.14.10.xsd} (100%)
 rename schema/spring/{camel-spring-xml-3.20.8.xsd => camel-spring-3.20.8.xsd} 
(100%)
 rename schema/spring/{camel-spring-xml-3.21.2.xsd => camel-spring-3.21.2.xsd} 
(100%)
 rename schema/spring/{camel-spring-xml-4.0.2.xsd => camel-spring-4.0.2.xsd} 
(100%)
 rename schema/{spring-xml/camel-spring-xml-4.2.0.xsd => 
spring/camel-spring-4.2.0.xsd} (100%)



(camel-website) branch whats420 updated (19f914cd -> 1fad09f0)

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

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


from 19f914cd Add authors
 add 186395c1 Add XML schemas for Camel 4.2.0
 add 23d9d1bb Add release notes and blog entry for Camel 4.2.0
 add 7b677329 Add java 21 as supported for this release
 add 6dcb6257 Move XSD in correct folder
 add 1fad09f0 Merge branch 'main' into whats420

No new revisions were added by this update.

Summary of changes:
 .../11/RELEASE-4.2.0}/featured.jpeg|  Bin
 .../RELEASE-4.1.0 => 11/RELEASE-4.2.0}/index.md|   10 +-
 content/releases/release-4.2.0.md  |   15 +
 xsd => camel-cxf-spring-rest-4.2.0-spring.xsd} |0
 xsd => camel-cxf-spring-soap-4.2.0-spring.xsd} |0
 0.0-M2.xsd => camel-spring-security-4.2.0.xsd} |0
 ...ng-xml-3.14.10.xsd => camel-spring-3.14.10.xsd} |0
 ...ring-xml-3.20.8.xsd => camel-spring-3.20.8.xsd} |0
 ...ring-xml-3.21.2.xsd => camel-spring-3.21.2.xsd} |0
 ...spring-xml-4.0.2.xsd => camel-spring-4.0.2.xsd} |0
 ...mel-spring-4.1.0.xsd => camel-spring-4.2.0.xsd} | 3432 ++--
 11 files changed, 1717 insertions(+), 1740 deletions(-)
 copy content/blog/{2021/05/RELEASE-3.10.0 => 
2023/11/RELEASE-4.2.0}/featured.jpeg (100%)
 copy content/blog/2023/{10/RELEASE-4.1.0 => 11/RELEASE-4.2.0}/index.md (69%)
 create mode 100644 content/releases/release-4.2.0.md
 copy static/schema/cxf/jaxrs/{camel-cxf-rest-3.18.0-spring.xsd => 
camel-cxf-spring-rest-4.2.0-spring.xsd} (100%)
 copy static/schema/cxf/jaxws/{camel-cxf-soap-3.18.0-spring.xsd => 
camel-cxf-spring-soap-4.2.0-spring.xsd} (100%)
 copy static/schema/spring-security/{camel-spring-security-3.0.0-M2.xsd => 
camel-spring-security-4.2.0.xsd} (100%)
 rename static/schema/spring/{camel-spring-xml-3.14.10.xsd => 
camel-spring-3.14.10.xsd} (100%)
 rename static/schema/spring/{camel-spring-xml-3.20.8.xsd => 
camel-spring-3.20.8.xsd} (100%)
 rename static/schema/spring/{camel-spring-xml-3.21.2.xsd => 
camel-spring-3.21.2.xsd} (100%)
 rename static/schema/spring/{camel-spring-xml-4.0.2.xsd => 
camel-spring-4.0.2.xsd} (100%)
 copy static/schema/spring/{camel-spring-4.1.0.xsd => camel-spring-4.2.0.xsd} 
(99%)



(camel-website) 02/02: Move XSD in correct folder

2023-11-14 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-website.git

commit 6dcb6257cbbbe750e95bc981c8ed2eff35fbcf88
Author: Claus Ibsen 
AuthorDate: Tue Nov 14 22:00:34 2023 +0100

Move XSD in correct folder
---
 .../spring/{camel-spring-xml-3.14.10.xsd => camel-spring-3.14.10.xsd} | 0
 .../spring/{camel-spring-xml-3.20.8.xsd => camel-spring-3.20.8.xsd}   | 0
 .../spring/{camel-spring-xml-3.21.2.xsd => camel-spring-3.21.2.xsd}   | 0
 .../schema/spring/{camel-spring-xml-4.0.2.xsd => camel-spring-4.0.2.xsd}  | 0
 .../camel-spring-xml-4.2.0.xsd => spring/camel-spring-4.2.0.xsd}  | 0
 5 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/static/schema/spring/camel-spring-xml-3.14.10.xsd 
b/static/schema/spring/camel-spring-3.14.10.xsd
similarity index 100%
rename from static/schema/spring/camel-spring-xml-3.14.10.xsd
rename to static/schema/spring/camel-spring-3.14.10.xsd
diff --git a/static/schema/spring/camel-spring-xml-3.20.8.xsd 
b/static/schema/spring/camel-spring-3.20.8.xsd
similarity index 100%
rename from static/schema/spring/camel-spring-xml-3.20.8.xsd
rename to static/schema/spring/camel-spring-3.20.8.xsd
diff --git a/static/schema/spring/camel-spring-xml-3.21.2.xsd 
b/static/schema/spring/camel-spring-3.21.2.xsd
similarity index 100%
rename from static/schema/spring/camel-spring-xml-3.21.2.xsd
rename to static/schema/spring/camel-spring-3.21.2.xsd
diff --git a/static/schema/spring/camel-spring-xml-4.0.2.xsd 
b/static/schema/spring/camel-spring-4.0.2.xsd
similarity index 100%
rename from static/schema/spring/camel-spring-xml-4.0.2.xsd
rename to static/schema/spring/camel-spring-4.0.2.xsd
diff --git a/static/schema/spring-xml/camel-spring-xml-4.2.0.xsd 
b/static/schema/spring/camel-spring-4.2.0.xsd
similarity index 100%
rename from static/schema/spring-xml/camel-spring-xml-4.2.0.xsd
rename to static/schema/spring/camel-spring-4.2.0.xsd



(camel-website) 01/02: Add java 21 as supported for this release

2023-11-14 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-website.git

commit 7b67732931abcc3bbecde29389a27c973915eb38
Author: Claus Ibsen 
AuthorDate: Tue Nov 14 21:59:27 2023 +0100

Add java 21 as supported for this release
---
 content/releases/release-4.2.0.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/releases/release-4.2.0.md 
b/content/releases/release-4.2.0.md
index 3e8ca51f..17987ed5 100644
--- a/content/releases/release-4.2.0.md
+++ b/content/releases/release-4.2.0.md
@@ -9,7 +9,7 @@ apiBreaking: ""
 knownIssues: ""
 jiraVersionId: 12353662
 category: camel
-jdk: [17]
+jdk: [17,21]
 ---
 
 This release is the new Camel 4.2.0 release.



(camel-website) branch main updated (23d9d1bb -> 6dcb6257)

2023-11-14 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-website.git


from 23d9d1bb Add release notes and blog entry for Camel 4.2.0
 new 7b677329 Add java 21 as supported for this release
 new 6dcb6257 Move XSD in correct folder

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


Summary of changes:
 content/releases/release-4.2.0.md   | 2 +-
 .../spring/{camel-spring-xml-3.14.10.xsd => camel-spring-3.14.10.xsd}   | 0
 .../spring/{camel-spring-xml-3.20.8.xsd => camel-spring-3.20.8.xsd} | 0
 .../spring/{camel-spring-xml-3.21.2.xsd => camel-spring-3.21.2.xsd} | 0
 .../spring/{camel-spring-xml-4.0.2.xsd => camel-spring-4.0.2.xsd}   | 0
 .../camel-spring-xml-4.2.0.xsd => spring/camel-spring-4.2.0.xsd}| 0
 6 files changed, 1 insertion(+), 1 deletion(-)
 rename static/schema/spring/{camel-spring-xml-3.14.10.xsd => 
camel-spring-3.14.10.xsd} (100%)
 rename static/schema/spring/{camel-spring-xml-3.20.8.xsd => 
camel-spring-3.20.8.xsd} (100%)
 rename static/schema/spring/{camel-spring-xml-3.21.2.xsd => 
camel-spring-3.21.2.xsd} (100%)
 rename static/schema/spring/{camel-spring-xml-4.0.2.xsd => 
camel-spring-4.0.2.xsd} (100%)
 rename static/schema/{spring-xml/camel-spring-xml-4.2.0.xsd => 
spring/camel-spring-4.2.0.xsd} (100%)



Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



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

2023-11-14 Thread Apache Infrastructure


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



(camel-website-pub) branch asf-site updated (8526b1958 -> e1276b69f)

2023-11-14 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

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


 discard 8526b1958 Website updated to 186395c130d77fe937bc09739627d296fc336e47
 discard f64696044 Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new b2430731d Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new e1276b69f Website updated to 23d9d1bb433e56d1ca002b0b6f7b121b5340cad2

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   (8526b1958)
\
 N -- N -- N   refs/heads/asf-site (e1276b69f)

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

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

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


Summary of changes:
 .htaccess  |   82 +-
 .well-known/security.txt   |2 +-
 blog/2023/11/RELEASE-3.14.10/index.html|2 +-
 .../11/RELEASE-4.2.0}/featured.jpeg|  Bin
 ...c68bd9be1_625206_800x0_resize_q95_gaussian.jpeg |  Bin
 blog/2023/11/RELEASE-4.2.0/index.html  |1 +
 blog/index.html|2 +-
 blog/index.xml |   15 +-
 blog/page/10/index.html|2 +-
 blog/page/100/index.html   |2 +-
 blog/page/101/index.html   |2 +-
 blog/page/102/index.html   |2 +-
 blog/page/103/index.html   |2 +-
 blog/page/104/index.html   |2 +-
 blog/page/105/index.html   |2 +-
 blog/page/11/index.html|2 +-
 blog/page/12/index.html|2 +-
 blog/page/13/index.html|2 +-
 blog/page/14/index.html|2 +-
 blog/page/15/index.html|2 +-
 blog/page/16/index.html|2 +-
 blog/page/17/index.html|2 +-
 blog/page/18/index.html|2 +-
 blog/page/19/index.html|2 +-
 blog/page/2/index.html |2 +-
 blog/page/20/index.html|2 +-
 blog/page/21/index.html|2 +-
 blog/page/22/index.html|2 +-
 blog/page/23/index.html|2 +-
 blog/page/24/index.html|2 +-
 blog/page/25/index.html|2 +-
 blog/page/26/index.html|2 +-
 blog/page/27/index.html|2 +-
 blog/page/28/index.html|2 +-
 blog/page/29/index.html|2 +-
 blog/page/3/index.html |2 +-
 blog/page/30/index.html|2 +-
 blog/page/31/index.html|2 +-
 blog/page/32/index.html|2 +-
 blog/page/33/index.html|2 +-
 blog/page/34/index.html|2 +-
 blog/page/35/index.html|2 +-
 blog/page/36/index.html|2 +-
 blog/page/37/index.html|2 +-
 blog/page/38/index.html|2 +-
 blog/page/39/index.html|2 +-
 blog/page/4/index.html |2 +-
 blog/page/40/index.html|2 +-
 blog/page/41/index.html|2 +-
 blog/page/42/index.html|2 +-
 blog/page/43/index.html|2 +-
 blog/page/44/index.html|2 +-
 blog/page/45/index.html|2 +-
 blog/page/46/index.html|2 +-
 blog/page/47/index.html|2 +-
 blog/page/48/index.html|2 +-
 blog/page/49/index.html|2 +-
 

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

2023-11-14 Thread Apache Infrastructure


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



(camel-website-pub) branch asf-site updated (32d39500a -> 8526b1958)

2023-11-14 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

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


 discard 32d39500a Website updated to 5f11bebc874f1db01eebe13d43fedf13cc1b5aeb
 discard 9ff9a655d Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new f64696044 Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new 8526b1958 Website updated to 186395c130d77fe937bc09739627d296fc336e47

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   (32d39500a)
\
 N -- N -- N   refs/heads/asf-site (8526b1958)

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

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

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


Summary of changes:
 .htaccess  |   42 +-
 .well-known/security.txt   |2 +-
 camel-kamelets/next/log-action.html|2 +-
 camel-kamelets/next/log-sink.html  |2 +-
 camel-kamelets/next/pulsar-sink.html   |2 +-
 camel-quarkus/2.16.x/index.html|2 +-
 camel-quarkus/3.2.x/index.html |2 +-
 camel-quarkus/3.5.x/index.html |2 +-
 camel-quarkus/next/index.html  |2 +-
 .../next/reference/extensions/salesforce.html  |   10 +-
 .../next/user-guide/dependency-management.html |4 +-
 camel-quarkus/next/user-guide/first-steps.html |2 +-
 camel-spring-boot/next/list.html   |2 +-
 components/next/dynamic-router-component.html  |2 +-
 components/next/eips/serviceCall-eip.html  |2 +-
 components/next/github-component.html  |2 +-
 components/next/index.html |2 +-
 components/next/jetty-component.html   |2 +-
 components/next/jolt-component.html|2 +-
 components/next/others/platform-http-vertx.html|5 +-
 components/next/platform-http-component.html   |2 +-
 components/next/smb-component.html |4 +-
 components/next/vertx-http-component.html  |2 +-
 manual/camel-3-migration-guide.html|2 +-
 manual/camel-4x-upgrade-guide-4_2.html |2 +-
 manual/spring.html |2 +-
 releases/q-3.0.0-M2/index.html |2 +-
 releases/release-4.0.0/index.html  |2 +-
 xsd => camel-cxf-spring-rest-4.2.0-spring.xsd} |0
 xsd => camel-cxf-spring-soap-4.2.0-spring.xsd} |0
 0.0-M2.xsd => camel-spring-security-4.2.0.xsd} |0
 .../camel-spring-xml-4.2.0.xsd}| 3432 ++--
 site-manifest.json |2 +-
 sitemap-camel-core.xml |   12 +-
 sitemap-camel-k.xml| 1088 ++--
 sitemap-camel-kafka-connector.xml  |  806 +--
 sitemap-camel-kamelets.xml | 1736 +++---
 sitemap-camel-karaf.xml|   52 +-
 sitemap-camel-quarkus.xml  | 2684 -
 sitemap-camel-spring-boot.xml  |   52 +-
 sitemap-components.xml | 5750 ++--
 sitemap-manual.xml |  410 +-
 42 files changed, 8054 insertions(+), 8081 deletions(-)
 copy schema/cxf/jaxrs/{camel-cxf-rest-3.18.0-spring.xsd => 
camel-cxf-spring-rest-4.2.0-spring.xsd} (100%)
 copy schema/cxf/jaxws/{camel-cxf-soap-3.18.0-spring.xsd => 
camel-cxf-spring-soap-4.2.0-spring.xsd} (100%)
 copy schema/spring-security/{camel-spring-security-3.0.0-M2.xsd => 
camel-spring-security-4.2.0.xsd} (100%)
 copy schema/{spring/camel-spring-4.1.0.xsd => 
spring-xml/camel-spring-xml-4.2.0.xsd} (99%)



Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


CodeSmell commented on code in PR #11959:
URL: https://github.com/apache/camel/pull/11959#discussion_r1393081195


##
components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorReplayOldMessagesIT.java:
##
@@ -0,0 +1,190 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.kafka.integration;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.Objects;
+import java.util.Properties;
+import java.util.concurrent.TimeUnit;
+
+import org.apache.camel.Endpoint;
+import org.apache.camel.EndpointInject;
+import org.apache.camel.Exchange;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.kafka.KafkaConstants;
+import org.apache.camel.component.kafka.MockConsumerInterceptor;
+import org.apache.camel.component.kafka.consumer.KafkaManualCommit;
+import org.apache.camel.component.kafka.testutil.CamelKafkaUtil;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.kafka.clients.admin.AdminClient;
+import org.apache.kafka.clients.admin.NewTopic;
+import org.apache.kafka.clients.producer.ProducerRecord;
+import org.awaitility.Awaitility;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import static org.junit.Assert.assertTrue;
+
+/**
+ * this will test breakOnFirstError functionality and the issue that was 
surfaced in CAMEL-20044 regarding incorrectly
+ * handling the offset commit resulting in replaying messages
+ * 
+ * mimics the reproduction of the problem in 
https://github.com/CodeSmell/CamelKafkaOffset
+ */
+class KafkaBreakOnFirstErrorReplayOldMessagesIT extends 
BaseEmbeddedKafkaTestSupport {
+
+public static final String ROUTE_ID = "breakOnFirstError-20044";
+public static final String TOPIC = "breakOnFirstError-20044";
+
+private static final Logger LOG = 
LoggerFactory.getLogger(KafkaBreakOnFirstErrorReplayOldMessagesIT.class);
+
+@EndpointInject("kafka:" + TOPIC
++ "?groupId=KafkaBreakOnFirstErrorIT"
++ "=earliest"
++ "=false"
++ "=true"
++ "=true"
++ "=1"
+// here multiple threads was an issue
++ "=3"
++ "=1000"
++ 
"=org.apache.kafka.common.serialization.StringDeserializer"
++ 
"=org.apache.kafka.common.serialization.StringDeserializer"
++ 
"=org.apache.camel.component.kafka.MockConsumerInterceptor")
+private Endpoint from;
+
+@EndpointInject("mock:result")
+private MockEndpoint to;
+
+private org.apache.kafka.clients.producer.KafkaProducer 
producer;
+
+@BeforeAll
+public static void setupTopic() {
+AdminClient kafkaAdminClient = createAdminClient(service);
+
+// create the topic w/ 3 partitions
+final NewTopic mytopic = new NewTopic(TOPIC, 3, (short) 1);
+kafkaAdminClient.createTopics(Collections.singleton(mytopic));
+}
+
+@BeforeEach
+public void init() {
+
+// setup the producer
+Properties props = getDefaultProperties();
+producer = new 
org.apache.kafka.clients.producer.KafkaProducer<>(props);
+MockConsumerInterceptor.recordsCaptured.clear();
+}
+
+@AfterEach
+public void after() {
+if (producer != null) {
+producer.close();
+}
+// clean all test topics
+kafkaAdminClient.deleteTopics(Collections.singletonList(TOPIC)).all();
+}
+
+@Test
+void testCamel20044TestFix() throws Exception {
+to.reset();
+to.expectedMessageCount(13);
+to.expectedBodiesReceivedInAnyOrder("1", "2", "3", "4", "5", "ERROR",
+"6", "7", "ERROR", "8", "9", "10", "11");
+
+context.getRouteController().stopRoute(ROUTE_ID);
+
+this.publishMessagesToKafka();
+
+context.getRouteController().startRoute(ROUTE_ID);
+
+// let test run for awhile
+

Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


CodeSmell commented on code in PR #11959:
URL: https://github.com/apache/camel/pull/11959#discussion_r1393078767


##
components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorReplayOldMessagesIT.java:
##
@@ -0,0 +1,190 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.kafka.integration;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.Objects;
+import java.util.Properties;
+import java.util.concurrent.TimeUnit;
+
+import org.apache.camel.Endpoint;
+import org.apache.camel.EndpointInject;
+import org.apache.camel.Exchange;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.kafka.KafkaConstants;
+import org.apache.camel.component.kafka.MockConsumerInterceptor;
+import org.apache.camel.component.kafka.consumer.KafkaManualCommit;
+import org.apache.camel.component.kafka.testutil.CamelKafkaUtil;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.kafka.clients.admin.AdminClient;
+import org.apache.kafka.clients.admin.NewTopic;
+import org.apache.kafka.clients.producer.ProducerRecord;
+import org.awaitility.Awaitility;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import static org.junit.Assert.assertTrue;
+
+/**
+ * this will test breakOnFirstError functionality and the issue that was 
surfaced in CAMEL-20044 regarding incorrectly
+ * handling the offset commit resulting in replaying messages
+ * 
+ * mimics the reproduction of the problem in 
https://github.com/CodeSmell/CamelKafkaOffset
+ */
+class KafkaBreakOnFirstErrorReplayOldMessagesIT extends 
BaseEmbeddedKafkaTestSupport {
+
+public static final String ROUTE_ID = "breakOnFirstError-20044";
+public static final String TOPIC = "breakOnFirstError-20044";
+
+private static final Logger LOG = 
LoggerFactory.getLogger(KafkaBreakOnFirstErrorReplayOldMessagesIT.class);
+
+@EndpointInject("kafka:" + TOPIC
++ "?groupId=KafkaBreakOnFirstErrorIT"
++ "=earliest"
++ "=false"
++ "=true"
++ "=true"
++ "=1"
+// here multiple threads was an issue
++ "=3"
++ "=1000"
++ 
"=org.apache.kafka.common.serialization.StringDeserializer"
++ 
"=org.apache.kafka.common.serialization.StringDeserializer"
++ 
"=org.apache.camel.component.kafka.MockConsumerInterceptor")
+private Endpoint from;
+
+@EndpointInject("mock:result")
+private MockEndpoint to;
+
+private org.apache.kafka.clients.producer.KafkaProducer 
producer;
+
+@BeforeAll
+public static void setupTopic() {
+AdminClient kafkaAdminClient = createAdminClient(service);
+
+// create the topic w/ 3 partitions
+final NewTopic mytopic = new NewTopic(TOPIC, 3, (short) 1);
+kafkaAdminClient.createTopics(Collections.singleton(mytopic));
+}
+
+@BeforeEach
+public void init() {
+
+// setup the producer
+Properties props = getDefaultProperties();
+producer = new 
org.apache.kafka.clients.producer.KafkaProducer<>(props);
+MockConsumerInterceptor.recordsCaptured.clear();
+}
+
+@AfterEach
+public void after() {
+if (producer != null) {
+producer.close();
+}
+// clean all test topics
+kafkaAdminClient.deleteTopics(Collections.singletonList(TOPIC)).all();
+}
+
+@Test
+void testCamel20044TestFix() throws Exception {
+to.reset();
+to.expectedMessageCount(13);
+to.expectedBodiesReceivedInAnyOrder("1", "2", "3", "4", "5", "ERROR",
+"6", "7", "ERROR", "8", "9", "10", "11");
+
+context.getRouteController().stopRoute(ROUTE_ID);
+
+this.publishMessagesToKafka();
+
+context.getRouteController().startRoute(ROUTE_ID);
+
+// let test run for awhile
+

(camel-spring-boot) annotated tag camel-spring-boot-4.0.3 created (now 85d1e32d2c4)

2023-11-14 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

gzurowski pushed a change to annotated tag camel-spring-boot-4.0.3
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


  at 85d1e32d2c4 (tag)
 tagging 11b4dd28ee85224a0861b1e932eeac53aa03fbeb (commit)
 replaces camel-spring-boot-4.0.2
  by Gregor Zurowski
  on Tue Nov 14 18:41:02 2023 +

- Log -
[maven-release-plugin]  copy for tag camel-spring-boot-4.0.3
---

No new revisions were added by this update.



(camel-website) branch main updated: Add release notes and blog entry for Camel 4.2.0

2023-11-14 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new 23d9d1bb Add release notes and blog entry for Camel 4.2.0
23d9d1bb is described below

commit 23d9d1bb433e56d1ca002b0b6f7b121b5340cad2
Author: Gregor Zurowski 
AuthorDate: Tue Nov 14 19:31:01 2023 +0100

Add release notes and blog entry for Camel 4.2.0
---
 content/blog/2023/11/RELEASE-4.2.0/featured.jpeg | Bin 0 -> 625206 bytes
 content/blog/2023/11/RELEASE-4.2.0/index.md  |  17 +
 content/releases/release-4.2.0.md|  15 +++
 3 files changed, 32 insertions(+)

diff --git a/content/blog/2023/11/RELEASE-4.2.0/featured.jpeg 
b/content/blog/2023/11/RELEASE-4.2.0/featured.jpeg
new file mode 100644
index ..36c23a02
Binary files /dev/null and b/content/blog/2023/11/RELEASE-4.2.0/featured.jpeg 
differ
diff --git a/content/blog/2023/11/RELEASE-4.2.0/index.md 
b/content/blog/2023/11/RELEASE-4.2.0/index.md
new file mode 100644
index ..693f8bde
--- /dev/null
+++ b/content/blog/2023/11/RELEASE-4.2.0/index.md
@@ -0,0 +1,17 @@
+---
+title: "RELEASE 4.2.0"
+date: 2023-11-14
+draft: false
+authors: [gzurowski]
+categories: ["Releases"]
+preview: "The Camel community announces the immediate availability of the new 
Camel 4.2.0 release"
+---
+
+The Camel community announces the immediate availability of the Camel 4.2.0 
release with 115 new features and improvements.
+
+The artifacts are published and ready for you to download from the Central 
Maven repository. For more details please take a look at the [release 
notes](/releases/release-4.2.0/).
+
+Many thanks to all who made this release possible.
+
+On behalf of the Camel PMC,  
+Gregor Zurowski
diff --git a/content/releases/release-4.2.0.md 
b/content/releases/release-4.2.0.md
new file mode 100644
index ..3e8ca51f
--- /dev/null
+++ b/content/releases/release-4.2.0.md
@@ -0,0 +1,15 @@
+---
+date: 2023-11-14
+draft: false
+type: release-note
+version: 4.2.0
+title: "Release 4.2.0"
+preview: "New release 4.2.0"
+apiBreaking: ""
+knownIssues: ""
+jiraVersionId: 12353662
+category: camel
+jdk: [17]
+---
+
+This release is the new Camel 4.2.0 release.



svn commit: r65284 - in /release/camel/apache-camel/4.2.0: apache-camel-4.2.0-src.zip apache-camel-4.2.0-src.zip.asc apache-camel-4.2.0-src.zip.sha512 apache-camel-4.2.0.pom apache-camel-4.2.0.pom.asc

2023-11-14 Thread gzurowski
Author: gzurowski
Date: Tue Nov 14 18:21:27 2023
New Revision: 65284

Log:
Apache Camel 4.2.0 released artifacts.

Added:
release/camel/apache-camel/4.2.0/apache-camel-4.2.0-src.zip   (with props)
release/camel/apache-camel/4.2.0/apache-camel-4.2.0-src.zip.asc
release/camel/apache-camel/4.2.0/apache-camel-4.2.0-src.zip.sha512
release/camel/apache-camel/4.2.0/apache-camel-4.2.0.pom
release/camel/apache-camel/4.2.0/apache-camel-4.2.0.pom.asc
release/camel/apache-camel/4.2.0/apache-camel-4.2.0.pom.sha512

Added: release/camel/apache-camel/4.2.0/apache-camel-4.2.0-src.zip
==
Binary file - no diff available.

Propchange: release/camel/apache-camel/4.2.0/apache-camel-4.2.0-src.zip
--
svn:mime-type = application/octet-stream

Added: release/camel/apache-camel/4.2.0/apache-camel-4.2.0-src.zip.asc
==
--- release/camel/apache-camel/4.2.0/apache-camel-4.2.0-src.zip.asc (added)
+++ release/camel/apache-camel/4.2.0/apache-camel-4.2.0-src.zip.asc Tue Nov 14 
18:21:27 2023
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEEYOzvJGEf6DJxT4aqnVvv+llCwEkFAmVOWBoACgkQnVvv+llC
+wElbGA//Vvh3OgStFXE8+Jg7O00Fd/3M/g6auTtC0eL00cwZD63PJA8I26BRj5Bd
+fae6CuMb+/iScCxldCd5dvHijbobYiG1vmwCT84kSGjWHJr394scLUZxKSnFoxbv
+HWH/FzMlDFFp+dG6HANJnYPkHoY19p73nnkMo381fmU69zbMYoHVZsWWQvrDVD6O
+MwRx/78f3XwKDoMrZ6EdLli5ooc/DCXQ2vgb5utDJZ4e1vfr8EGuLMHHOitzfvfV
+bSABRwuuo36deUlgFReYV1D55zaZjWORK8lSRHdaR9o1njrS1hL6Cs8GvD1aZkEr
+BBy9IT2sZT0ooO199UOxcgywjnHSDxeHMnNCzi0AEaHbqIbLHJVt8q3BxRSMuTnM
+R7XvkGZKKzPzV4SXIfbpyN4dfhLE1OYMDS+iBt2gW96veSIjCqCIRRw8Eto7566k
+/qtoIreWOzKAdRKQ1uovwuqyccA+OH3QnyLaFoE8hPpc5CThuFXKYKs/9iwXpv5/
+A76yRmQFbE8SSs6SHCAWFjcDKz7U4IKHCrYdoT+xAO7fbBeNwFTSEcosZDSvyRY6
+p9/3qYQ++WkM9YPi61NOlDk9AyYmKTH52S91TMR6b6LS7spwBUhMwuR68g7etX2z
+gqew1zamzPuzq1+LljaZaKHdU8/AmdhHfaPF3QmCsqFCESv/yhg=
+=dkrD
+-END PGP SIGNATURE-

Added: release/camel/apache-camel/4.2.0/apache-camel-4.2.0-src.zip.sha512
==
--- release/camel/apache-camel/4.2.0/apache-camel-4.2.0-src.zip.sha512 (added)
+++ release/camel/apache-camel/4.2.0/apache-camel-4.2.0-src.zip.sha512 Tue Nov 
14 18:21:27 2023
@@ -0,0 +1 @@
+122e5aa51f219e3f21cb9236e79c825ce3ffbf2bc8e38cdfa91e4fe2aac3f2b0ad08c42b138e092d33e777b233cfa3eb7e0d4d3c2bda983df061c40eb9c58adc
  apache-camel-4.2.0-src.zip

Added: release/camel/apache-camel/4.2.0/apache-camel-4.2.0.pom
==
--- release/camel/apache-camel/4.2.0/apache-camel-4.2.0.pom (added)
+++ release/camel/apache-camel/4.2.0/apache-camel-4.2.0.pom Tue Nov 14 18:21:27 
2023
@@ -0,0 +1,255 @@
+
+
+http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/xsd/maven-4.0.0.xsd; 
xmlns="http://maven.apache.org/POM/4.0.0;
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
+  4.0.0
+  
+org.apache.camel
+camel-parent
+4.2.0
+../parent
+  
+  org.apache.camel
+  apache-camel
+  4.2.0
+  pom
+  Camel :: Assembly
+  Apache Camel Assembly
+  
+
+  Apache-2.0
+  https://www.apache.org/licenses/LICENSE-2.0.txt
+  repo
+
+  
+  
+false
+true
+gnu
+true
+  
+  
+
+  org.apache.camel
+  camel-api
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-util
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-management-api
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-management
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-base
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-base-engine
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-support
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-core
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-core-engine
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-core-model
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-core-processor
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-core-reifier
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-core-languages
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-core-xml
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-core-catalog
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-cloud
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-cluster
+  4.2.0
+  compile
+
+
+  org.apache.camel
+  camel-console
+  4.2.0
+  compile
+   

svn commit: r65283 - /release/camel/apache-camel/4.2.0/

2023-11-14 Thread gzurowski
Author: gzurowski
Date: Tue Nov 14 18:20:13 2023
New Revision: 65283

Log:
Apache Camel 4.2.0 release distro placeholder.

Added:
release/camel/apache-camel/4.2.0/



Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


orpiske commented on code in PR #11959:
URL: https://github.com/apache/camel/pull/11959#discussion_r1393025011


##
components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorWithBatchUsingAsynchCommitManagerIT.java:
##
@@ -0,0 +1,155 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.kafka.integration;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.Properties;
+import java.util.concurrent.CopyOnWriteArrayList;
+import java.util.concurrent.TimeUnit;
+
+import org.apache.camel.Endpoint;
+import org.apache.camel.EndpointInject;
+import org.apache.camel.Exchange;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.kafka.MockConsumerInterceptor;
+import org.apache.camel.component.kafka.testutil.CamelKafkaUtil;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.kafka.clients.producer.ProducerRecord;
+import org.awaitility.Awaitility;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import static org.junit.Assert.assertEquals;
+
+/**
+ * this will test basic breakOnFirstError functionality uses allowManualCommit 
and set Synch Commit Manager this allows
+ * Camel to handle when to commit an offset
+ */
+class KafkaBreakOnFirstErrorWithBatchUsingAsynchCommitManagerIT extends 
BaseEmbeddedKafkaTestSupport {
+public static final String ROUTE_ID = "breakOnFirstErrorBatchIT";
+public static final String TOPIC = "breakOnFirstErrorBatchIT";
+
+private static final Logger LOG = 
LoggerFactory.getLogger(KafkaBreakOnFirstErrorWithBatchUsingAsynchCommitManagerIT.class);
+
+private final List errorPayloads = new CopyOnWriteArrayList<>();
+
+@EndpointInject("kafka:" + TOPIC
++ "?groupId=KafkaBreakOnFirstErrorIT"
++ "=earliest"
++ "=false"
++ "=true"
++ "=true"
++ "=3"
++ "=1000"
++ 
"=org.apache.kafka.common.serialization.StringDeserializer"
++ 
"=org.apache.kafka.common.serialization.StringDeserializer"
+// asynch commit factory
++ 
"=#class:org.apache.camel.component.kafka.consumer.DefaultKafkaManualAsyncCommitFactory"
++ 
"=org.apache.camel.component.kafka.MockConsumerInterceptor")
+private Endpoint from;
+
+@EndpointInject("mock:result")
+private MockEndpoint to;
+
+private org.apache.kafka.clients.producer.KafkaProducer 
producer;
+
+@BeforeEach
+public void before() {
+Properties props = getDefaultProperties();
+producer = new 
org.apache.kafka.clients.producer.KafkaProducer<>(props);
+MockConsumerInterceptor.recordsCaptured.clear();
+}
+
+@AfterEach
+public void after() {
+if (producer != null) {
+producer.close();
+}
+// clean all test topics
+kafkaAdminClient.deleteTopics(Collections.singletonList(TOPIC)).all();
+}
+
+/**
+ * will continue to retry the message that is in error
+ */
+@Test
+public void kafkaBreakOnFirstErrorBasicCapability() throws Exception {
+to.reset();
+to.expectedMessageCount(3);
+// message-3 causes an error 
+// and breakOnFirstError will cause it to be retried forever
+// we will never get to message-4
+to.expectedBodiesReceived("message-0", "message-1", "message-2");
+
+context.getRouteController().stopRoute(ROUTE_ID);
+
+this.publishMessagesToKafka();
+
+context.getRouteController().startRoute(ROUTE_ID);
+
+Awaitility.await()
+.atMost(3, TimeUnit.SECONDS)
+.until(() -> errorPayloads.size() > 3);
+
+to.assertIsSatisfied();
+
+for (String payload : errorPayloads) {
+assertEquals("message-3", payload);
+}
+}
+
+@Override
+protected RouteBuilder createRouteBuilder() {
+return new 

Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


orpiske commented on code in PR #11959:
URL: https://github.com/apache/camel/pull/11959#discussion_r1393023227


##
components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorReplayOldMessagesIT.java:
##
@@ -0,0 +1,190 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.kafka.integration;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.Objects;
+import java.util.Properties;
+import java.util.concurrent.TimeUnit;
+
+import org.apache.camel.Endpoint;
+import org.apache.camel.EndpointInject;
+import org.apache.camel.Exchange;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.kafka.KafkaConstants;
+import org.apache.camel.component.kafka.MockConsumerInterceptor;
+import org.apache.camel.component.kafka.consumer.KafkaManualCommit;
+import org.apache.camel.component.kafka.testutil.CamelKafkaUtil;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.kafka.clients.admin.AdminClient;
+import org.apache.kafka.clients.admin.NewTopic;
+import org.apache.kafka.clients.producer.ProducerRecord;
+import org.awaitility.Awaitility;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import static org.junit.Assert.assertTrue;
+
+/**
+ * this will test breakOnFirstError functionality and the issue that was 
surfaced in CAMEL-20044 regarding incorrectly
+ * handling the offset commit resulting in replaying messages
+ * 
+ * mimics the reproduction of the problem in 
https://github.com/CodeSmell/CamelKafkaOffset
+ */
+class KafkaBreakOnFirstErrorReplayOldMessagesIT extends 
BaseEmbeddedKafkaTestSupport {
+
+public static final String ROUTE_ID = "breakOnFirstError-20044";
+public static final String TOPIC = "breakOnFirstError-20044";
+
+private static final Logger LOG = 
LoggerFactory.getLogger(KafkaBreakOnFirstErrorReplayOldMessagesIT.class);
+
+@EndpointInject("kafka:" + TOPIC
++ "?groupId=KafkaBreakOnFirstErrorIT"
++ "=earliest"
++ "=false"
++ "=true"
++ "=true"
++ "=1"
+// here multiple threads was an issue
++ "=3"
++ "=1000"
++ 
"=org.apache.kafka.common.serialization.StringDeserializer"
++ 
"=org.apache.kafka.common.serialization.StringDeserializer"
++ 
"=org.apache.camel.component.kafka.MockConsumerInterceptor")
+private Endpoint from;
+
+@EndpointInject("mock:result")
+private MockEndpoint to;
+
+private org.apache.kafka.clients.producer.KafkaProducer 
producer;
+
+@BeforeAll
+public static void setupTopic() {
+AdminClient kafkaAdminClient = createAdminClient(service);
+
+// create the topic w/ 3 partitions
+final NewTopic mytopic = new NewTopic(TOPIC, 3, (short) 1);
+kafkaAdminClient.createTopics(Collections.singleton(mytopic));
+}
+
+@BeforeEach
+public void init() {
+
+// setup the producer
+Properties props = getDefaultProperties();
+producer = new 
org.apache.kafka.clients.producer.KafkaProducer<>(props);
+MockConsumerInterceptor.recordsCaptured.clear();
+}
+
+@AfterEach
+public void after() {
+if (producer != null) {
+producer.close();
+}
+// clean all test topics
+kafkaAdminClient.deleteTopics(Collections.singletonList(TOPIC)).all();
+}
+
+@Test
+void testCamel20044TestFix() throws Exception {
+to.reset();
+to.expectedMessageCount(13);
+to.expectedBodiesReceivedInAnyOrder("1", "2", "3", "4", "5", "ERROR",
+"6", "7", "ERROR", "8", "9", "10", "11");
+
+context.getRouteController().stopRoute(ROUTE_ID);
+
+this.publishMessagesToKafka();
+
+context.getRouteController().startRoute(ROUTE_ID);
+
+// let test run for awhile
+

(camel-spring-boot) 01/01: Target Camel 4.0.3 for release

2023-11-14 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

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

commit cdb3b74f81f8bd35cd6158aabc439fb75ea65bb1
Author: Gregor Zurowski 
AuthorDate: Tue Nov 14 17:45:34 2023 +

Target Camel 4.0.3 for release
---
 pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index e9ba1259c08..e2f43581b67 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
 
 org.apache.camel
 camel-dependencies
-4.0.3-SNAPSHOT
+4.0.3
 
 
 org.apache.camel.springboot
@@ -111,7 +111,7 @@
 3.1.5
 
 
-4.0.3-SNAPSHOT
+4.0.3
 
 
 1.0.2.v20150114
@@ -451,7 +451,7 @@
 
 dev
 
-4.0.3-SNAPSHOT
+4.0.3
 
 
 



(camel-spring-boot) branch release/4.0.3 created (now cdb3b74f81f)

2023-11-14 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

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


  at cdb3b74f81f Target Camel 4.0.3 for release

This branch includes the following new commits:

 new cdb3b74f81f Target Camel 4.0.3 for release

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




Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

   [test-logs.zip](https://github.com/apache/camel/files/13352613/test-logs.zip)
   


-- 
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-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [I] Reconsider usage of `quarkus-tika` in `camel-quarkus-tika` extension [camel-quarkus]

2023-11-14 Thread via GitHub


b-thiswatch commented on issue #5393:
URL: https://github.com/apache/camel-quarkus/issues/5393#issuecomment-1810685522

   I'd love to help, but given how long it took me to even figure out what is 
wrong, I might not be of great help :-/


-- 
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_3x updated (687e8b98eb9 -> 781ced5c01b)

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

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


from 687e8b98eb9 Regen for commit 8eaf404ef1b5306aedee31f4bde277fdc2ce7673 
(#11980)
 add 781ced5c01b (chores) camel-tooling-util: fixed checkstyle (#11992)

No new revisions were added by this update.

Summary of changes:
 .../src/main/java/org/apache/camel/tooling/util/PackageHelper.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



Re: [PR] (chores) camel-tooling-util: fixed checkstyle [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [PR] (chores) camel-tooling-util: fixed checkstyle [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [PR] (chores) camel-tooling-util: fixed checkstyle [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [PR] (chores) camel-tooling-util: fixed checkstyle [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



(camel) branch camel-3.x updated: (chores) camel-tooling-util: fixed checkstyle (#11992)

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

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


The following commit(s) were added to refs/heads/camel-3.x by this push:
 new 781ced5c01b (chores) camel-tooling-util: fixed checkstyle (#11992)
781ced5c01b is described below

commit 781ced5c01b78f4d30207b87c751b00ada3a3a1b
Author: Otavio Rodolfo Piske 
AuthorDate: Tue Nov 14 17:07:56 2023 +0100

(chores) camel-tooling-util: fixed checkstyle (#11992)
---
 .../src/main/java/org/apache/camel/tooling/util/PackageHelper.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/PackageHelper.java
 
b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/PackageHelper.java
index 4d911154f00..73c192982e1 100644
--- 
a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/PackageHelper.java
+++ 
b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/PackageHelper.java
@@ -90,7 +90,7 @@ public final class PackageHelper {
 }
 
 public static Set findJsonFiles(File rootDir, Set files) {
-return findJsonFiles(rootDir, files, (f) -> true);
+return findJsonFiles(rootDir, files, f -> true);
 }
 
 public static Set findJsonFiles(File rootDir, Set files, 
Predicate filter) {



Re: [PR] (chores) camel-tooling-util: fixed checkstyle [camel]

2023-11-14 Thread via GitHub


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


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

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

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



(camel) branch camel-3.21.x updated: (chores) camel-tooling-util: fixed checkstyle (#11991)

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

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


The following commit(s) were added to refs/heads/camel-3.21.x by this push:
 new 5a73c0683ec (chores) camel-tooling-util: fixed checkstyle (#11991)
5a73c0683ec is described below

commit 5a73c0683ec57837c74929e509b6bc277c559e82
Author: Otavio Rodolfo Piske 
AuthorDate: Tue Nov 14 17:07:42 2023 +0100

(chores) camel-tooling-util: fixed checkstyle (#11991)
---
 .../src/main/java/org/apache/camel/tooling/util/PackageHelper.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/PackageHelper.java
 
b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/PackageHelper.java
index 4d911154f00..73c192982e1 100644
--- 
a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/PackageHelper.java
+++ 
b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/PackageHelper.java
@@ -90,7 +90,7 @@ public final class PackageHelper {
 }
 
 public static Set findJsonFiles(File rootDir, Set files) {
-return findJsonFiles(rootDir, files, (f) -> true);
+return findJsonFiles(rootDir, files, f -> true);
 }
 
 public static Set findJsonFiles(File rootDir, Set files, 
Predicate filter) {



Re: [PR] (chores) camel-tooling-util: fixed checkstyle [camel]

2023-11-14 Thread via GitHub


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


-- 
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-tooling-util: fixed checkstyle [camel]

2023-11-14 Thread via GitHub


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

   (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



[PR] (chores) camel-tooling-util: fixed checkstyle [camel]

2023-11-14 Thread via GitHub


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

   (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] fix(#1716): Remove obsolete data type transformer implementations [camel-kamelets]

2023-11-14 Thread via GitHub


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

   I have run the tests (Java unit tests & YAKS E2E tests) with Camel 
4.2.0-SNAPSHOT and it looks good


-- 
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(#1716): Remove obsolete data type transformer implementations [camel-kamelets]

2023-11-14 Thread via GitHub


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

   - Data type transformer implementations have been moved to the Camel core 
project
   - Using those transformers in Camel works with version 4.2.0 onwards
   
   This PR should be merged as part of the update to Camel 4.2.0 (CI tests will 
likely fail until Camel 4.2.0 is available)


-- 
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-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



(camel-k) branch main updated: Use filepath.clean in json-schema-gen command for destination parameter (#4918)

2023-11-14 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-k.git


The following commit(s) were added to refs/heads/main by this push:
 new 43276eba4 Use filepath.clean in json-schema-gen command for 
destination parameter (#4918)
43276eba4 is described below

commit 43276eba4d4bb3e723b4f6700060fce2b8c63d81
Author: Andrea Cosentino 
AuthorDate: Tue Nov 14 16:47:00 2023 +0100

Use filepath.clean in json-schema-gen command for destination parameter 
(#4918)

Signed-off-by: Andrea Cosentino 
---
 cmd/util/json-schema-gen/main.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmd/util/json-schema-gen/main.go b/cmd/util/json-schema-gen/main.go
index d5ebe78cd..79633a751 100644
--- a/cmd/util/json-schema-gen/main.go
+++ b/cmd/util/json-schema-gen/main.go
@@ -20,12 +20,12 @@ package main
 import (
"encoding/json"
"fmt"
+   "github.com/apache/camel-k/v2/pkg/util"
"os"
+   "path/filepath"
"reflect"
"strings"
 
-   "github.com/apache/camel-k/v2/pkg/util"
-
apiextensionsv1 
"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
clientscheme "k8s.io/client-go/kubernetes/scheme"
 
@@ -41,7 +41,7 @@ func main() {
schema := os.Args[2]
path := os.Args[3]
isArray := os.Args[4] == "true"
-   destination := os.Args[5]
+   destination := filepath.Clean(os.Args[5])
 
if err := generate(crd, schema, path, isArray, destination); err != nil 
{
panic(err)



(camel-k) branch json-schema-gen-path-traversal deleted (was 8254b7f03)

2023-11-14 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch json-schema-gen-path-traversal
in repository https://gitbox.apache.org/repos/asf/camel-k.git


 was 8254b7f03 Use filepath.clean in json-schema-gen command for 
destination parameter

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] Use filepath.clean in json-schema-gen command for destination parameter [camel-k]

2023-11-14 Thread via GitHub


oscerd merged PR #4918:
URL: https://github.com/apache/camel-k/pull/4918


-- 
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] Clean up usage of hard coded hosts in tests that use containers [camel-quarkus]

2023-11-14 Thread via GitHub


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

   Initial PR https://github.com/apache/camel-quarkus/pull/5509.
   
   It'll eventually need a follow up PR for dealing with tests that explicitly 
configure certificates for `localhost`. In that case host verification will 
fail if the docker host is remote.


-- 
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] Clean up usage of hard coded hosts that use containers [camel-quarkus]

2023-11-14 Thread via GitHub


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

   (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



[I] Clean up usage of hard coded hosts in tests that use containers [camel-quarkus]

2023-11-14 Thread via GitHub


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

   ### Description
   
   A number of our tests that use containers, hard code `localhost` as the host 
to use when connecting to the container service. This works so long as the 
container is running on the host machine. That may not always be the case, so 
we should support connecting to remote hosts.


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

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

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



Re: [I] Reconsider usage of `quarkus-tika` in `camel-quarkus-tika` extension [camel-quarkus]

2023-11-14 Thread via GitHub


JiriOndrusek commented on issue #5393:
URL: https://github.com/apache/camel-quarkus/issues/5393#issuecomment-1810454151

   Hi @b-thiswatch ,
I'd say that this ticket should be enough to ask for the fix. I haven't had 
any time to look into the problem so far. If you would like to work on a 
solution, we can cooperate on 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] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


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

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


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

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

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



Re: [I] Show headers for Components in Knowledgebase [camel-karavan]

2023-11-14 Thread via GitHub


mgubaidullin closed issue #991: Show headers for Components in Knowledgebase
URL: https://github.com/apache/camel-karavan/issues/991


-- 
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] Reconsider usage of `quarkus-tika` in `camel-quarkus-tika` extension [camel-quarkus]

2023-11-14 Thread via GitHub


b-thiswatch commented on issue #5393:
URL: https://github.com/apache/camel-quarkus/issues/5393#issuecomment-1810412728

   I was just about to open a new issue, since I experienced this problem in:
   
   https://github.com/quarkiverse/quarkus-tika/issues/176
   
   I also just build this reproducer
   https://github.com/thiswatch/quarkus-tika-camel-reproducer
   which you probably then don't need anymore, right?
   
   What's the best approach?


-- 
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-20044 fix to handle commit on breakOnFirstError [camel]

2023-11-14 Thread via GitHub


CodeSmell commented on code in PR #11959:
URL: https://github.com/apache/camel/pull/11959#discussion_r1392702916


##
components/camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/support/KafkaRecordProcessor.java:
##
@@ -149,14 +146,30 @@ private boolean processException(
 Exception exc = exchange.getException();
 LOG.warn("Error during processing {} from topic: {} due to 
{}", exchange, topicPartition.topic(),
 exc.getMessage());
-LOG.warn("Will seek consumer to offset {} on partition {} and 
start polling again.",
-lastResult.getPartitionLastOffset(), 
lastResult.getPartition());
+LOG.warn("Will seek consumer to offset {} on partition {} and 
start polling again.", 
+record.offset(), record.partition());
 }
 
 // force commit, so we resume on next poll where we failed 
 // except when the failure happened at the first message in a poll
 if (lastResult.getPartitionLastOffset() != 
AbstractCommitManager.START_OFFSET) {
-commitManager.forceCommit(topicPartition, 
lastResult.getPartitionLastOffset());
+// the record we are processing had the error 
+// so we will force commit the offset prior 
+// this will enable the current desired behavior to 
+// retry the message 1 more time
+//
+// Note: without a more extensive look at handling of 
breakOnFirstError
+// we will still need the lastResult so that we don't force 
+// retrying this message over and over
+// commitManager.forceCommit(topicPartition, record.offset() - 
1);
+
+// we should just do a commit (vs the original forceCommit)
+// when route uses NOOP Commit Manager it will rely
+// on the route implementation to explicitly commit offset
+// when route uses Synch/Asynch Commit Manager it will 
+// ALWAYS commit the offset for the failing record
+// and will ALWAYS retry it
+commitManager.commit(topicPartition);
 }

Review Comment:
   np



-- 
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 (33c9a23f97d -> b6f3cbf7ec2)

2023-11-14 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 33c9a23f97d Update camel-3-migration-guide.adoc
 add b6f3cbf7ec2 Regen

No new revisions were added by this update.

Summary of changes:
 .../java/org/apache/camel/impl/DefaultProducerCacheTest.java   | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)



(camel) branch main updated: Regen

2023-11-14 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 b6f3cbf7ec2 Regen
b6f3cbf7ec2 is described below

commit b6f3cbf7ec205925e9150d22dce0c4f10e46d14c
Author: Claus Ibsen 
AuthorDate: Tue Nov 14 14:54:37 2023 +0100

Regen
---
 .../java/org/apache/camel/impl/DefaultProducerCacheTest.java   | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
index bb82f409135..b4c4378b37f 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/impl/DefaultProducerCacheTest.java
@@ -232,14 +232,16 @@ public class DefaultProducerCacheTest extends 
ContextTestSupport {
 
 List> callables = new ArrayList<>();
 
-for(int i = 0; i < 500; i++) {
+for (int i = 0; i < 500; i++) {
 int index = i % 3;
 callables.add(() -> {
 Producer producer = 
cache.acquireProducer(endpoints.get(index));
-boolean isEqual = 
producer.getEndpoint().getEndpointUri().equalsIgnoreCase(endpoints.get(index).getEndpointUri());
+boolean isEqual
+= 
producer.getEndpoint().getEndpointUri().equalsIgnoreCase(endpoints.get(index).getEndpointUri());
 
-if(!isEqual) {
-log.info("Endpoint uri to acquire: " + 
endpoints.get(index).getEndpointUri() + ", returned producer (uri): " + 
producer.getEndpoint().getEndpointUri());
+if (!isEqual) {
+log.info("Endpoint uri to acquire: " + 
endpoints.get(index).getEndpointUri() + ", returned producer (uri): "
+ + producer.getEndpoint().getEndpointUri());
 }
 
 return isEqual;



Re: [PR] test(health): #3997 structured conditions for scaled integrations [camel-k]

2023-11-14 Thread via GitHub


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

   Feel free to move the PR to ready to review or add a comment when you are 
okey to merge 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



(camel-k) branch dependabot/go_modules/golang.org/x/oauth2-0.14.0 deleted (was 5321b76cc)

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

pcongiusti pushed a change to branch 
dependabot/go_modules/golang.org/x/oauth2-0.14.0
in repository https://gitbox.apache.org/repos/asf/camel-k.git


 was 5321b76cc chore(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.14.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-k) branch main updated: chore(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.14.0

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

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


The following commit(s) were added to refs/heads/main by this push:
 new d0a05f4a9 chore(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.14.0
d0a05f4a9 is described below

commit d0a05f4a927667e18118b070b1465028b729fcfc
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Fri Nov 10 08:23:13 2023 +

chore(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.14.0

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.13.0 
to 0.14.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 
---
 go.mod |  6 +++---
 go.sum | 12 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/go.mod b/go.mod
index b7599e779..2ce6459f8 100644
--- a/go.mod
+++ b/go.mod
@@ -37,7 +37,7 @@ require (
go.uber.org/automaxprocs v1.5.3
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.26.0
-   golang.org/x/oauth2 v0.13.0
+   golang.org/x/oauth2 v0.14.0
golang.org/x/sync v0.5.0
golang.org/x/term v0.14.0
golang.org/x/text v0.14.0
@@ -129,10 +129,10 @@ require (
github.com/vbatts/tar-split v0.11.3 // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
-   golang.org/x/crypto v0.14.0 // indirect
+   golang.org/x/crypto v0.15.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/mod v0.12.0 // indirect
-   golang.org/x/net v0.17.0 // indirect
+   golang.org/x/net v0.18.0 // indirect
golang.org/x/sys v0.14.0 // indirect
golang.org/x/tools v0.13.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.3.0 // indirect
diff --git a/go.sum b/go.sum
index f948169ea..c6624d5d8 100644
--- a/go.sum
+++ b/go.sum
@@ -488,8 +488,8 @@ golang.org/x/crypto 
v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
 golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod 
h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
 golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod 
h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
 golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod 
h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc=
-golang.org/x/crypto v0.14.0/go.mod 
h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
+golang.org/x/crypto v0.15.0 h1:frVn1TEaCEaZcn3Tmd7Y2b5KKPaZ+I32Q2OA3kYp5TA=
+golang.org/x/crypto v0.15.0/go.mod 
h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g=
 golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod 
h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
 golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod 
h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
 golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod 
h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
@@ -569,8 +569,8 @@ golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod 
h1:p54w0d4576C0XHj96b
 golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod 
h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
 golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod 
h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
 golang.org/x/net v0.0.0-2022202133-69e39bad7dc2/go.mod 
h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
-golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
+golang.org/x/net v0.18.0 h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg=
+golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ=
 golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod 
h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
 golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod 
h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
 golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod 
h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -581,8 +581,8 @@ golang.org/x/oauth2 
v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ
 golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod 
h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
 golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod 
h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
 golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod 
h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.13.0 h1:jDDenyj+WgFtmV3zYVoi8aE2BwtXFLWOA67ZfNWftiY=
-golang.org/x/oauth2 v0.13.0/go.mod 
h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0=
+golang.org/x/oauth2 v0.14.0 

Re: [PR] chore(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 [camel-k]

2023-11-14 Thread via GitHub


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


-- 
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-19742-2: created base test class in camel-test-infra-core, adde… [camel]

2023-11-14 Thread via GitHub


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

   I talked to @LostArtist about this one. This is growing too complex and 
needs to be broken in smaller pieces. Therefore, closing without merge.


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

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

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



Re: [PR] CAMEL-19742-2: created base test class in camel-test-infra-core, adde… [camel]

2023-11-14 Thread via GitHub


orpiske closed pull request #11361: CAMEL-19742-2: created base test class in 
camel-test-infra-core, adde…
URL: https://github.com/apache/camel/pull/11361


-- 
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] Use filepath.clean in json-schema-gen command for destination parameter [camel-k]

2023-11-14 Thread via GitHub


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

   **Release Note**
   ```release-note
   Use filepath.clean in json-schema-gen command for destination parameter
   ```
   


-- 
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) 01/01: Use filepath.clean in json-schema-gen command for destination parameter

2023-11-14 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch json-schema-gen-path-traversal
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 8254b7f037aaf20059042e138e664c6b97589dac
Author: Andrea Cosentino 
AuthorDate: Tue Nov 14 14:27:53 2023 +0100

Use filepath.clean in json-schema-gen command for destination parameter

Signed-off-by: Andrea Cosentino 
---
 cmd/util/json-schema-gen/main.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmd/util/json-schema-gen/main.go b/cmd/util/json-schema-gen/main.go
index d5ebe78cd..79633a751 100644
--- a/cmd/util/json-schema-gen/main.go
+++ b/cmd/util/json-schema-gen/main.go
@@ -20,12 +20,12 @@ package main
 import (
"encoding/json"
"fmt"
+   "github.com/apache/camel-k/v2/pkg/util"
"os"
+   "path/filepath"
"reflect"
"strings"
 
-   "github.com/apache/camel-k/v2/pkg/util"
-
apiextensionsv1 
"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
clientscheme "k8s.io/client-go/kubernetes/scheme"
 
@@ -41,7 +41,7 @@ func main() {
schema := os.Args[2]
path := os.Args[3]
isArray := os.Args[4] == "true"
-   destination := os.Args[5]
+   destination := filepath.Clean(os.Args[5])
 
if err := generate(crd, schema, path, isArray, destination); err != nil 
{
panic(err)



(camel-k) branch json-schema-gen-path-traversal created (now 8254b7f03)

2023-11-14 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch json-schema-gen-path-traversal
in repository https://gitbox.apache.org/repos/asf/camel-k.git


  at 8254b7f03 Use filepath.clean in json-schema-gen command for 
destination parameter

This branch includes the following new commits:

 new 8254b7f03 Use filepath.clean in json-schema-gen command for 
destination parameter

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.




[PR] [3.2.x] Infinispan test: fix broken immutable list [camel-quarkus]

2023-11-14 Thread via GitHub


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

   (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] feat(install): Separate namespaced and descoped rbacs [camel-k]

2023-11-14 Thread via GitHub


gansheer commented on code in PR #4914:
URL: https://github.com/apache/camel-k/pull/4914#discussion_r1392570618


##
pkg/install/operator.go:
##
@@ -200,44 +199,6 @@ func OperatorOrCollect(ctx context.Context, cmd 
*cobra.Command, c client.Client,

envvar.SetVal([0].Env, "WATCH_NAMESPACE", "")
}
}
-
-   // Turn Role & RoleBinding into their equivalent 
cluster types
-   if r, ok := o.(*rbacv1.Role); ok {
-   if strings.HasPrefix(r.Name, 
"camel-k-operator") {
-   o = {
-   ObjectMeta: metav1.ObjectMeta{
-   Namespace: 
cfg.Namespace,
-   Name:  r.Name,
-   Labels: 
map[string]string{
-   "app": 
"camel-k",
-   },
-   },
-   Rules: r.Rules,
-   }
-   }
-   }
-
-   if rb, ok := o.(*rbacv1.RoleBinding); ok {
-   if strings.HasPrefix(rb.Name, 
"camel-k-operator") {
-   rb.Subjects[0].Namespace = cfg.Namespace
-
-   o = {
-   ObjectMeta: metav1.ObjectMeta{
-   Namespace: 
cfg.Namespace,
-   Name:  
fmt.Sprintf("%s-%s", rb.Name, cfg.Namespace),

Review Comment:
   @lburgazzoli @phantomjinx Do you know why the global cluster role bindings 
name are replaces with the namespace suffix ? 



##
pkg/install/operator.go:
##
@@ -200,44 +199,6 @@ func OperatorOrCollect(ctx context.Context, cmd 
*cobra.Command, c client.Client,

envvar.SetVal([0].Env, "WATCH_NAMESPACE", "")
}
}
-
-   // Turn Role & RoleBinding into their equivalent 
cluster types
-   if r, ok := o.(*rbacv1.Role); ok {
-   if strings.HasPrefix(r.Name, 
"camel-k-operator") {
-   o = {
-   ObjectMeta: metav1.ObjectMeta{
-   Namespace: 
cfg.Namespace,
-   Name:  r.Name,
-   Labels: 
map[string]string{
-   "app": 
"camel-k",
-   },
-   },
-   Rules: r.Rules,
-   }
-   }
-   }
-
-   if rb, ok := o.(*rbacv1.RoleBinding); ok {
-   if strings.HasPrefix(rb.Name, 
"camel-k-operator") {
-   rb.Subjects[0].Namespace = cfg.Namespace
-
-   o = {
-   ObjectMeta: metav1.ObjectMeta{
-   Namespace: 
cfg.Namespace,
-   Name:  
fmt.Sprintf("%s-%s", rb.Name, cfg.Namespace),

Review Comment:
   @lburgazzoli @phantomjinx Do you know why the global cluster role bindings 
name are tranformed with the namespace suffix ? 



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

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

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



Re: [I] Debug `JmxConnectorService` is not registered when `camel.debug.enabled` is `true` [camel-quarkus]

2023-11-14 Thread via GitHub


JiriOndrusek commented on issue #5506:
URL: https://github.com/apache/camel-quarkus/issues/5506#issuecomment-1810084960

   I removed the test `DebugEnabledFromCamelMainPropertyTest` as my 
understanding of the relevant camel changes is, that debug is enabled when a 
`camel-debug` is among dependencies. 
   I realize now that the new test verifying the debug is disabled with no 
`camel-debug` dependency behaves as expected.


-- 
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) annotated tag camel-4.0.3 created (now 2fb1fb63af7)

2023-11-14 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

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


  at 2fb1fb63af7 (tag)
 tagging f5ce6e005340988fcf9ae8f1b32afce45055b830 (commit)
 replaces camel-4.0.2
  by Gregor Zurowski
  on Tue Nov 14 11:50:47 2023 +

- Log -
[maven-release-plugin] copy for tag camel-4.0.3
---

No new revisions were added by this update.



(camel-kamelets) branch regen_bot updated (88bd7e93 -> 5bea94ca)

2023-11-14 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 88bd7e93 Kamelet Prefix Enum Scheme: Added missing Opensearch Entry
 add 5bea94ca SSLAwareMongoClient: Use the TLSv1.2 as default for SSL 
Context

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/kamelets/utils/mongodb/SslAwareMongoClient.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



(camel-kamelets) branch ssl-context-mongodb deleted (was fc34d2b3)

2023-11-14 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch ssl-context-mongodb
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


 was fc34d2b3 SSLAwareMongoClient: Use the TLSv1.2 as default for SSL 
Context

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



  1   2   3   >