[I] OIDC support [camel-k]

2024-06-10 Thread via GitHub


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

   ### Requirement
   
   Knative has newly released an experimental feature: OIDC (OpenID Connect) 
support for event delivery in Knative Eventing. This feature aims to enhance 
security by enabling authenticated event delivery within the cluster. Adding 
this support to Camel-K will help align with Knative Eventing's new 
capabilities and the events can be published to a protected endpoint (sink).
   - The announcement can be found 
[here](https://knative.dev/docs/eventing/experimental-features/sender-identity/)
   - The corresponding GitHub issue can be found 
[here](https://github.com/knative/eventing/issues/6806)
   - The public design proposal can be found 
[here](https://docs.google.com/document/d/1e7UgNTkL0Br5Da09Rg2ieVmhKJo4VXuBj-mHT9NCujY/edit#heading=h.9k8v0vi41cw8)
   - Knative Sender Identity project board can be found 
[here](https://github.com/orgs/knative/projects/66).
   
   ### Problem
   
   Currently, event delivery within the cluster is unauthenticated, and 
addressable event consumers (in camel-K's case, it is the knative sinks/kamlet 
sinks) cannot determine the identity of any sender. This poses a significant 
security challenge for businesses that require authenticated event delivery.
   
   ### Proposal
   
   _No response_
   
   ### Open questions
   
   _No response_


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

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

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



(camel-kamelets) branch regen_bot updated (4c8d36d7 -> 20487836)

2024-06-10 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 4c8d36d7 Regen for commit 34b2a58eb395ac11d6efa8468dd67a036ec33f4f 
(#2072)
 add 20487836 Bump org.apache.camel.k:camel-k-crds from 2.3.2 to 2.3.3 
(#2073)

No new revisions were added by this update.

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



(camel-kamelets) branch dependabot/maven/org.apache.camel.k-camel-k-crds-2.3.3 deleted (was c08f932a)

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

github-bot pushed a change to branch 
dependabot/maven/org.apache.camel.k-camel-k-crds-2.3.3
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


 was c08f932a Bump org.apache.camel.k:camel-k-crds from 2.3.2 to 2.3.3

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



(camel-kamelets) branch main updated: Bump org.apache.camel.k:camel-k-crds from 2.3.2 to 2.3.3 (#2073)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 20487836 Bump org.apache.camel.k:camel-k-crds from 2.3.2 to 2.3.3 
(#2073)
20487836 is described below

commit 204878368738e6d5b164e3367ab757b3415c92a5
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 11 07:15:55 2024 +0200

Bump org.apache.camel.k:camel-k-crds from 2.3.2 to 2.3.3 (#2073)

Bumps [org.apache.camel.k:camel-k-crds](https://github.com/apache/camel-k) 
from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/apache/camel-k/releases)
- [Changelog](https://github.com/apache/camel-k/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apache/camel-k/compare/v2.3.2...v2.3.3)

---
updated-dependencies:
- dependency-name: org.apache.camel.k:camel-k-crds
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

diff --git a/pom.xml b/pom.xml
index 54651835..56fd3d8a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,7 +63,7 @@
 2.8.0
 
 4.6.0
-2.3.2
+2.3.3
 
 4.2.0
 7.17.0



Re: [PR] Bump org.apache.camel.k:camel-k-crds from 2.3.2 to 2.3.3 [camel-kamelets]

2024-06-10 Thread via GitHub


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


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

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

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



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

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

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


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

commit 00373971e93cbd404d523d0363536cedd4454ba6
Author: Claus Ibsen 
AuthorDate: Tue Jun 11 07:13:00 2024 +0200

Regen
---
 .../components/elasticsearch-rest-client.json  |  14 ++-
 .../src/main/docs/elasticsearch-rest-client.json   |  65 +++
 ...searchRestClientComponentAutoConfiguration.java |   2 +-
 ...sticsearchRestClientComponentConfiguration.java | 122 +
 .../ElasticsearchRestClientComponentConverter.java |  65 +++
 ...rk.boot.autoconfigure.AutoConfiguration.imports |   3 +-
 6 files changed, 267 insertions(+), 4 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/elasticsearch-rest-client.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/elasticsearch-rest-client.json
index dd1dbda3bd0..fe3151ddda5 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/elasticsearch-rest-client.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/elasticsearch-rest-client.json
@@ -23,8 +23,18 @@
 "remote": true
   },
   "componentProperties": {
-"lazyStartProducer": { "index": 0, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
-"autowiredEnabled": { "index": 1, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
+"connectionTimeout": { "index": 0, "kind": "property", "displayName": 
"Connection Timeout", "group": "producer", "label": "", "required": false, 
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 3, "description": "Connection timeout" },
+"hostAddressesList": { "index": 1, "kind": "property", "displayName": 
"Host Addresses List", "group": "producer", "label": "", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "List of host Addresses, 
multiple hosts can be separated by comma." },
+"lazyStartProducer": { "index": 2, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
+"socketTimeout": { "index": 3, "kind": "property", "displayName": "Socket 
Timeout", "group": "producer", "label": "", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 3, "description": "Socket timeout" },
+"autowiredEnabled": { "index": 4, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
+"enableSniffer": { "index": 5, "kind": "property", "displayName": "Enable 
Sniffer", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Enabling Sniffer" },
+"restClient": { "index": 6, "kind": "property", "displayName": "Rest 
Client", "group": "advanced", 

(camel-kamelets) branch dependabot/maven/org.apache.camel.k-camel-k-crds-2.3.3 created (now c08f932a)

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

github-bot pushed a change to branch 
dependabot/maven/org.apache.camel.k-camel-k-crds-2.3.3
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


  at c08f932a Bump org.apache.camel.k:camel-k-crds from 2.3.2 to 2.3.3

No new revisions were added by this update.



[PR] Bump org.apache.camel.k:camel-k-crds from 2.3.2 to 2.3.3 [camel-kamelets]

2024-06-10 Thread via GitHub


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

   Bumps [org.apache.camel.k:camel-k-crds](https://github.com/apache/camel-k) 
from 2.3.2 to 2.3.3.
   
   Release notes
   Sourced from https://github.com/apache/camel-k/releases;>org.apache.camel.k:camel-k-crds's
 releases.
   
   v2.3.3
   What's Changed
   
   [Backport 2.3.x]: fix(e2e): Data type action kamelet transformer error 
by https://github.com/gansheer;>@​gansheer in https://redirect.github.com/apache/camel-k/pull/5550;>apache/camel-k#5550
   [Release 2.3.x] fix(builder): add root and base image to S2I report by 
https://github.com/squakez;>@​squakez in https://redirect.github.com/apache/camel-k/pull/5556;>apache/camel-k#5556
   [Release 2.3.x] fix(ctrl): synthetic Integration cannot set 
blockOwnerDeletion by https://github.com/squakez;>@​squakez in https://redirect.github.com/apache/camel-k/pull/5563;>apache/camel-k#5563
   backport - fix(pipeline) fix s2i image in publish task by https://github.com/mmajerni;>@​mmajerni in https://redirect.github.com/apache/camel-k/pull/5543;>apache/camel-k#5543
   [Release 2.3.x] chore: bump next version to 2.3.3-SNAPSHOT by https://github.com/squakez;>@​squakez in https://redirect.github.com/apache/camel-k/pull/5579;>apache/camel-k#5579
   [Backport 2.3.x] fix(olm): set minKubeVersion and Openshift version  by 
https://github.com/squakez;>@​squakez in https://redirect.github.com/apache/camel-k/pull/5587;>apache/camel-k#5587
   [Backport 2.3.x] fix(ci): merge helm with older index by https://github.com/squakez;>@​squakez in https://redirect.github.com/apache/camel-k/pull/5592;>apache/camel-k#5592
   [Backport 2.3.x] fix(core): Remove status.Image update post publish by 
https://github.com/gansheer;>@​gansheer in https://redirect.github.com/apache/camel-k/pull/5599;>apache/camel-k#5599
   [Backport 2.3.x] fix(e2e): Ensures Maven proxy test is not infra 
dependant by https://github.com/gansheer;>@​gansheer 
in https://redirect.github.com/apache/camel-k/pull/5589;>apache/camel-k#5589
   
   Full Changelog: https://github.com/apache/camel-k/compare/v2.3.2...v2.3.3;>https://github.com/apache/camel-k/compare/v2.3.2...v2.3.3
   2.3.2-nightly
   Apache Camel K 2.3.2-nightly build for testing (unstable). This nightly 
release is using
   an unsupported operator image published as 
docker.io/testcamelk/camel-k:2.3.2-nightly (default 
amd64 architecture,
   -arm64 suffix for ARM64 architectures)
   To test it, download the client for your OS and run:
   kamel install --olm=false 
--maven-repository=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots
   
   To test ARM64 architecture, download the client for your OS and run:
   kamel install --olm=false 
--operator-image=docker.io/testcamelk/camel-k:2.3.2-nightly-arm64 
--maven-repository=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots
   
   NOTE: last updated on Mon Jun  3 00:57:29 UTC 2024
   
   
   
   Changelog
   Sourced from https://github.com/apache/camel-k/blob/main/CHANGELOG.md;>org.apache.camel.k:camel-k-crds's
 changelog.
   
   https://github.com/apache/camel-k/tree/v2.3.3;>v2.3.3 
(2024-06-07)
   https://github.com/apache/camel-k/compare/camel-k-crds-2.3.3...v2.3.3;>Full
 Changelog
   https://github.com/apache/camel-k/tree/camel-k-crds-2.3.3;>camel-k-crds-2.3.3
 (2024-06-07)
   https://github.com/apache/camel-k/compare/2.3.3-nightly...camel-k-crds-2.3.3;>Full
 Changelog
   Closed issues:
   
   Join native checks into one https://redirect.github.com/apache/camel-k/issues/5526;>#5526
   
   https://github.com/apache/camel-k/tree/2.3.3-nightly;>2.3.3-nightly 
(2024-06-05)
   https://github.com/apache/camel-k/compare/v2.3.2...2.3.3-nightly;>Full 
Changelog
   Closed issues:
   
   Helm release script overrides all index dates https://redirect.github.com/apache/camel-k/issues/5575;>#5575
   Kamelet data type test failling with updated 4.4.1 kamelet https://redirect.github.com/apache/camel-k/issues/5553;>#5553
   Add a canonical script that installs Knative https://redirect.github.com/apache/camel-k/issues/5545;>#5545
   Promote Integration operator warning https://redirect.github.com/apache/camel-k/issues/5541;>#5541
   Pipe with Addressable as sink does crash and does not 
report anything on the status  https://redirect.github.com/apache/camel-k/issues/5535;>#5535
   Pipe not correctly reconciled after updating it https://redirect.github.com/apache/camel-k/issues/5531;>#5531
   Release 2.3.2 https://redirect.github.com/apache/camel-k/issues/5520;>#5520
   Tekton Task e2e test rewrite https://redirect.github.com/apache/camel-k/issues/5509;>#5509
   Disable Jib telemetry/update check https://redirect.github.com/apache/camel-k/issues/5481;>#5481
   JVM trait refactoring https://redirect.github.com/apache/camel-k/issues/5476;>#5476
   Skip surefire when building the IntegrationKit 

(camel-quarkus) branch quarkus-main updated (f5b19e5ea6 -> 31c29dc025)

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

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


 discard f5b19e5ea6 Disable couchdb tests due to #6148
 discard a1a50e6441 Exclude jline native image configuration from 
org.jetbrains.kotlin:kotlin-compiler-embeddable #6147
 discard bb1c5bb4c1 Upgrade Quarkus to 3.12.0.CR1
 add d4633f3097 Increase elasticsearch-rest-client test coverage
 add 015860f316 Use certificate-generator for gRPC integration tests
 add c7bc93814a Fixed flaky aws2 cw test with real service
 add 7ec0426436 Bump quarkiverse-langchain4j.version from 0.14.2 to 0.15.1 
(#6175)
 new 5f4ea035eb Upgrade Quarkus to 3.12.0.CR1
 new 86ff3bae62 Exclude jline native image configuration from 
org.jetbrains.kotlin:kotlin-compiler-embeddable #6147
 new 31c29dc025 Disable couchdb tests due to #6148

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   (f5b19e5ea6)
\
 N -- N -- N   refs/heads/quarkus-main (31c29dc025)

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 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../elasticsearch-rest-client/deployment/pom.xml   |   2 +-
 .../elasticsearch-rest-client/runtime/pom.xml  |   2 +-
 .../quarkus/component/aws2/cw/it/Aws2CwTest.java   |   6 +-
 .../elasticsearch-rest-client/pom.xml  |  48 +++
 .../elasticsearch/rest/client/it/Document.java |  37 ++-
 .../client/it/ElasticsearchRestClientResource.java | 151 +++--
 .../client/it/ElasticsearchRestClientRoutes.java   |  65 
 .../src/main/resources/application.properties  |   2 +-
 .../client/it/ElasticsearchRestClientTest.java | 360 -
 .../client/it/ElasticsearchRestTestResource.java   | 136 
 .../rest/client/it/ElasticsearchTestResource.java  |  83 -
 integration-tests/grpc/README.adoc |  38 ---
 integration-tests/grpc/pom.xml |   5 +
 .../camel/quarkus/component/grpc/it/GrpcRoute.java |  12 +-
 .../grpc/src/main/resources/certs/ca-openssl.conf  |  18 --
 .../grpc/src/main/resources/certs/ca.key   |  27 --
 .../grpc/src/main/resources/certs/ca.pem   |  20 --
 .../grpc/src/main/resources/certs/client.key   |  28 --
 .../grpc/src/main/resources/certs/client.pem   |  20 --
 .../grpc/src/main/resources/certs/server.key   |  28 --
 .../grpc/src/main/resources/certs/server.pem   |  20 --
 .../camel/quarkus/component/grpc/it/GrpcTest.java  |  15 +-
 pom.xml|   6 +-
 poms/bom/src/main/generated/flattened-full-pom.xml |   4 +-
 .../src/main/generated/flattened-reduced-pom.xml   |   4 +-
 .../generated/flattened-reduced-verbose-pom.xml|   4 +-
 26 files changed, 780 insertions(+), 361 deletions(-)
 copy 
integration-test-groups/azure/azure-storage-queue/src/main/java/org/apache/camel/quarkus/component/azure/storage/queue/it/model/ExampleMessage.java
 => 
integration-tests-jvm/elasticsearch-rest-client/src/main/java/org/apache/camel/quarkus/component/elasticsearch/rest/client/it/Document.java
 (59%)
 create mode 100644 
integration-tests-jvm/elasticsearch-rest-client/src/main/java/org/apache/camel/quarkus/component/elasticsearch/rest/client/it/ElasticsearchRestClientRoutes.java
 copy {integration-test-groups/foundation/dataset => 
integration-tests-jvm/elasticsearch-rest-client}/src/main/resources/application.properties
 (95%)
 create mode 100644 
integration-tests-jvm/elasticsearch-rest-client/src/test/java/org/apache/camel/quarkus/component/elasticsearch/rest/client/it/ElasticsearchRestTestResource.java
 delete mode 100644 
integration-tests-jvm/elasticsearch-rest-client/src/test/java/org/apache/camel/quarkus/component/elasticsearch/rest/client/it/ElasticsearchTestResource.java
 delete mode 100644 integration-tests/grpc/README.adoc
 delete mode 100644 
integration-tests/grpc/src/main/resources/certs/ca-openssl.conf
 delete mode 100644 integration-tests/grpc/src/main/resources/certs/ca.key
 delete mode 100644 integration-tests/grpc/src/main/resources/certs/ca.pem
 delete mode 100644 integration-tests/grpc/src/main/resources/certs/client.key
 delete mode 100644 

(camel-quarkus) 01/03: Upgrade Quarkus to 3.12.0.CR1

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

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

commit 5f4ea035ebdd18dfb20b25046761bd2a06a338b5
Author: James Netherton 
AuthorDate: Tue May 28 08:42:16 2024 +0100

Upgrade Quarkus to 3.12.0.CR1
---
 docs/antora.yml   |  2 +-
 pom.xml   | 10 +-
 poms/bom/src/main/generated/flattened-full-pom.xml|  6 +++---
 poms/bom/src/main/generated/flattened-reduced-pom.xml |  4 ++--
 poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml |  4 ++--
 5 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/docs/antora.yml b/docs/antora.yml
index 3f2ea7ebdd..e8dd6a4536 100644
--- a/docs/antora.yml
+++ b/docs/antora.yml
@@ -36,7 +36,7 @@ asciidoc:
 graalvm-docs-version: jdk21 # replace ${graalvm-docs.version}
 mapstruct-version: 1.5.5.Final # replace ${mapstruct.version}
 min-maven-version: 3.8.2 # replace ${min-maven-version}
-target-maven-version: 3.9.6 # replace ${target-maven-version}
+target-maven-version: 3.9.7 # replace ${target-maven-version}
 
 # Attributes used in xrefs to other Antora components
 cq-camel-components: next@components
diff --git a/pom.xml b/pom.xml
index d03024cb07..c2ebcb65be 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,7 +62,7 @@
 2.2.2
 
2.4.0
 2.0.2
-3.11.0
+999-SNAPSHOT
 
4.0.0
 2.6.1
 
@@ -75,7 +75,7 @@
 1.11.3
 2.25.60
 0.29.18
-3.25.3
+3.26.0
 1.11.714
 ${azure-sdk-bom-version}
 1.48.0
@@ -104,7 +104,7 @@
 23.1.2
 jdk21
 4.0.21
-1.63.0
+1.64.0
 ${hapi-version}
 ${hapi-base-version}
 ${hapi-fhir-version}
@@ -131,7 +131,7 @@
 2.5.0
 3.7.0
 ${kudu-version}
-1.9.23
+2.0.0
 2.24.0
 0.31.0
 ${mapstruct-version}
@@ -265,7 +265,7 @@
 
 
 3.8.2
-3.9.6
+3.9.7
 
[${min-maven-version},)
 
 
diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml 
b/poms/bom/src/main/generated/flattened-full-pom.xml
index 2a26224ba4..6bd139aaec 100644
--- a/poms/bom/src/main/generated/flattened-full-pom.xml
+++ b/poms/bom/src/main/generated/flattened-full-pom.xml
@@ -7002,17 +7002,17 @@
   
 org.jetbrains.kotlin
 kotlin-script-util
-1.9.23
+2.0.0
   
   
 org.jetbrains.kotlin
 kotlin-scripting-jvm
-1.9.23
+2.0.0
   
   
 org.jetbrains.kotlin
 kotlin-scripting-jvm-host
-1.9.23
+2.0.0
   
   
 org.jolokia
diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml 
b/poms/bom/src/main/generated/flattened-reduced-pom.xml
index 64f08cb02c..e56fe1be6a 100644
--- a/poms/bom/src/main/generated/flattened-reduced-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml
@@ -6942,12 +6942,12 @@
   
 org.jetbrains.kotlin
 kotlin-scripting-jvm
-1.9.23
+2.0.0
   
   
 org.jetbrains.kotlin
 kotlin-scripting-jvm-host
-1.9.23
+2.0.0
   
   
 org.kiwiproject
diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml 
b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
index 7604ad329b..e0996b4f3e 100644
--- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
@@ -6942,12 +6942,12 @@
   
 org.jetbrains.kotlin
 kotlin-scripting-jvm
-1.9.23
+2.0.0
   
   
 org.jetbrains.kotlin
 kotlin-scripting-jvm-host
-1.9.23
+2.0.0
   
   
 org.kiwiproject



(camel-quarkus) 03/03: Disable couchdb tests due to #6148

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

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

commit 31c29dc02552f46376dd444fa31e6a74da42cb53
Author: James Netherton 
AuthorDate: Tue Jun 4 14:24:06 2024 +0100

Disable couchdb tests due to #6148
---
 .../java/org/apache/camel/quarkus/component/couchdb/it/CouchbIT.java| 2 ++
 .../java/org/apache/camel/quarkus/component/couchdb/it/CouchdbTest.java | 2 ++
 2 files changed, 4 insertions(+)

diff --git 
a/integration-tests/couchdb/src/test/java/org/apache/camel/quarkus/component/couchdb/it/CouchbIT.java
 
b/integration-tests/couchdb/src/test/java/org/apache/camel/quarkus/component/couchdb/it/CouchbIT.java
index 5c7623a316..9b1810aeee 100644
--- 
a/integration-tests/couchdb/src/test/java/org/apache/camel/quarkus/component/couchdb/it/CouchbIT.java
+++ 
b/integration-tests/couchdb/src/test/java/org/apache/camel/quarkus/component/couchdb/it/CouchbIT.java
@@ -17,7 +17,9 @@
 package org.apache.camel.quarkus.component.couchdb.it;
 
 import io.quarkus.test.junit.QuarkusIntegrationTest;
+import org.junit.jupiter.api.Disabled;
 
+@Disabled("https://github.com/apache/camel-quarkus/issues/6148;)
 @QuarkusIntegrationTest
 class CouchbIT extends CouchdbTest {
 
diff --git 
a/integration-tests/couchdb/src/test/java/org/apache/camel/quarkus/component/couchdb/it/CouchdbTest.java
 
b/integration-tests/couchdb/src/test/java/org/apache/camel/quarkus/component/couchdb/it/CouchdbTest.java
index 88d3f7d668..8a4e549fb4 100644
--- 
a/integration-tests/couchdb/src/test/java/org/apache/camel/quarkus/component/couchdb/it/CouchdbTest.java
+++ 
b/integration-tests/couchdb/src/test/java/org/apache/camel/quarkus/component/couchdb/it/CouchdbTest.java
@@ -22,6 +22,7 @@ import io.quarkus.test.common.QuarkusTestResource;
 import io.quarkus.test.junit.QuarkusTest;
 import io.restassured.RestAssured;
 import io.restassured.http.ContentType;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
 import static org.awaitility.Awaitility.await;
@@ -29,6 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNotEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 
+@Disabled("https://github.com/apache/camel-quarkus/issues/6148;)
 @QuarkusTest
 @QuarkusTestResource(CouchdbTestResource.class)
 class CouchdbTest {



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

2024-06-10 Thread via GitHub


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

   Build fixed with:
   
   * Camel Quarkus Commit: 31c29dc02552f46376dd444fa31e6a74da42cb53
   
   * Quarkus Main Commit: 7ec04264366cf956bc2ce57eaef84bb551029fa6
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/9458525628


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

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

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



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

2024-06-10 Thread via GitHub


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


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

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

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



(camel-quarkus) 02/03: Exclude jline native image configuration from org.jetbrains.kotlin:kotlin-compiler-embeddable #6147

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

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

commit 86ff3bae62e3d88f290e68c899fdca117e62916a
Author: James Netherton 
AuthorDate: Tue Jun 4 13:47:34 2024 +0100

Exclude jline native image configuration from 
org.jetbrains.kotlin:kotlin-compiler-embeddable #6147
---
 .../quarkus/dsl/kotlin/deployment/KotlinDslProcessor.java  | 14 ++
 1 file changed, 14 insertions(+)

diff --git 
a/extensions/kotlin-dsl/deployment/src/main/java/org/apache/camel/quarkus/dsl/kotlin/deployment/KotlinDslProcessor.java
 
b/extensions/kotlin-dsl/deployment/src/main/java/org/apache/camel/quarkus/dsl/kotlin/deployment/KotlinDslProcessor.java
index c8f01b2806..7f1575c5df 100644
--- 
a/extensions/kotlin-dsl/deployment/src/main/java/org/apache/camel/quarkus/dsl/kotlin/deployment/KotlinDslProcessor.java
+++ 
b/extensions/kotlin-dsl/deployment/src/main/java/org/apache/camel/quarkus/dsl/kotlin/deployment/KotlinDslProcessor.java
@@ -39,6 +39,7 @@ import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
 import io.quarkus.deployment.builditem.GeneratedClassBuildItem;
 import io.quarkus.deployment.builditem.GeneratedResourceBuildItem;
+import io.quarkus.deployment.builditem.nativeimage.ExcludeConfigBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 import io.quarkus.deployment.dev.CompilationProvider;
 import io.quarkus.deployment.pkg.builditem.BuildSystemTargetBuildItem;
@@ -80,6 +81,19 @@ class KotlinDslProcessor {
 return new FeatureBuildItem(FEATURE);
 }
 
+@BuildStep
+void excludeJLineNativeImageConfigs(BuildProducer 
nativeImageExclusions) {
+// Exclude various jline native-image.properties, as the required 
native-image configuration files
+// are not shaded into org.jetbrains.kotlin:kotlin-compiler-embeddable.
+// See: https://github.com/apache/camel-quarkus/issues/6147
+String nativeResourceTemplate = 
"/META-INF/native-image/org\\.jline/jline-terminal%s/native-image\\.properties";
+Stream.of("", "-jansi", "-jna", "-jni")
+.forEach(module -> {
+nativeImageExclusions.produce(new 
ExcludeConfigBuildItem(".*kotlin-compiler-embeddable.*",
+nativeResourceTemplate.formatted(module)));
+});
+}
+
 @BuildStep(onlyIf = NativeOrNativeSourcesBuild.class)
 void compileScriptsAOT(BuildProducer 
generatedClass,
 BuildProducer generatedResource,



(camel-quarkus) branch dependabot/maven/quarkiverse-langchain4j.version-0.15.1 deleted (was 17a8ebc017)

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

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


 was 17a8ebc017 Auto generated changes for dependabot commit 
bde0f095d9e3e9f34174b07908b3874da579f2dc

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



(camel-quarkus) branch main updated: Bump quarkiverse-langchain4j.version from 0.14.2 to 0.15.1 (#6175)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 7ec0426436 Bump quarkiverse-langchain4j.version from 0.14.2 to 0.15.1 
(#6175)
7ec0426436 is described below

commit 7ec04264366cf956bc2ce57eaef84bb551029fa6
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 11 09:18:38 2024 +0800

Bump quarkiverse-langchain4j.version from 0.14.2 to 0.15.1 (#6175)

* Bump quarkiverse-langchain4j.version from 0.14.2 to 0.15.1

Bumps `quarkiverse-langchain4j.version` from 0.14.2 to 0.15.1.

Updates `io.quarkiverse.langchain4j:quarkus-langchain4j-core` from 0.14.2 
to 0.15.1

Updates `io.quarkiverse.langchain4j:quarkus-langchain4j-core-deployment` 
from 0.14.2 to 0.15.1

Updates `io.quarkiverse.langchain4j:quarkus-langchain4j-ollama` from 0.14.2 
to 0.15.1

---
updated-dependencies:
- dependency-name: io.quarkiverse.langchain4j:quarkus-langchain4j-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: 
io.quarkiverse.langchain4j:quarkus-langchain4j-core-deployment
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.quarkiverse.langchain4j:quarkus-langchain4j-ollama
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 

* Auto generated changes for dependabot commit 
bde0f095d9e3e9f34174b07908b3874da579f2dc

-

Signed-off-by: dependabot[bot] 
Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
---
 pom.xml   | 4 ++--
 poms/bom/src/main/generated/flattened-full-pom.xml| 4 ++--
 poms/bom/src/main/generated/flattened-reduced-pom.xml | 4 ++--
 poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index 9e855831ae..d03024cb07 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,7 +56,7 @@
 
2.0.2
 3.1.0
 3.0.7
-
0.14.2
+
0.15.1
 
3.2.4
 3.7.2
 2.2.2
@@ -133,7 +133,7 @@
 ${kudu-version}
 1.9.23
 2.24.0
-0.30.0
+0.31.0
 ${mapstruct-version}
 8.5.10
 1.15.0
diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml 
b/poms/bom/src/main/generated/flattened-full-pom.xml
index 530bb2925f..2a26224ba4 100644
--- a/poms/bom/src/main/generated/flattened-full-pom.xml
+++ b/poms/bom/src/main/generated/flattened-full-pom.xml
@@ -6634,12 +6634,12 @@
   
 io.quarkiverse.langchain4j
 quarkus-langchain4j-core
-0.14.2
+0.15.1
   
   
 io.quarkiverse.langchain4j
 quarkus-langchain4j-core-deployment
-0.14.2
+0.15.1
   
   
 io.quarkiverse.messaginghub
diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml 
b/poms/bom/src/main/generated/flattened-reduced-pom.xml
index 6f4bd0efa1..64f08cb02c 100644
--- a/poms/bom/src/main/generated/flattened-reduced-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml
@@ -6604,12 +6604,12 @@
   
 io.quarkiverse.langchain4j
 quarkus-langchain4j-core
-0.14.2
+0.15.1
   
   
 io.quarkiverse.langchain4j
 quarkus-langchain4j-core-deployment
-0.14.2
+0.15.1
   
   
 io.quarkiverse.messaginghub
diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml 
b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
index 415187f660..7604ad329b 100644
--- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
@@ -6604,12 +6604,12 @@
   
 io.quarkiverse.langchain4j
 quarkus-langchain4j-core
-0.14.2
+0.15.1
   
   
 io.quarkiverse.langchain4j
 quarkus-langchain4j-core-deployment
-0.14.2
+0.15.1
   
   
 io.quarkiverse.messaginghub



Re: [PR] Bump quarkiverse-langchain4j.version from 0.14.2 to 0.15.1 [camel-quarkus]

2024-06-10 Thread via GitHub


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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.8.x] Fixed flaky aws2 cw test with real service [camel-quarkus]

2024-06-10 Thread via GitHub


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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.8.x updated: Fixed flaky aws2 cw test with real service (#6174)

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

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


The following commit(s) were added to refs/heads/3.8.x by this push:
 new d03525f72b Fixed flaky aws2 cw test with real service (#6174)
d03525f72b is described below

commit d03525f72b513f09e4fec5a6cebd164cfc6434f0
Author: JiriOndrusek 
AuthorDate: Tue Jun 11 03:18:10 2024 +0200

Fixed flaky aws2 cw test with real service (#6174)
---
 .../org/apache/camel/quarkus/component/aws2/cw/it/Aws2CwTest.java   | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/integration-test-groups/aws2/aws2-cw/src/test/java/org/apache/camel/quarkus/component/aws2/cw/it/Aws2CwTest.java
 
b/integration-test-groups/aws2/aws2-cw/src/test/java/org/apache/camel/quarkus/component/aws2/cw/it/Aws2CwTest.java
index f1eba98918..2b2bb26697 100644
--- 
a/integration-test-groups/aws2/aws2-cw/src/test/java/org/apache/camel/quarkus/component/aws2/cw/it/Aws2CwTest.java
+++ 
b/integration-test-groups/aws2/aws2-cw/src/test/java/org/apache/camel/quarkus/component/aws2/cw/it/Aws2CwTest.java
@@ -228,15 +228,17 @@ class Aws2CwTest extends BaseAWs2TestSupport {
 if (!(oddDp.sampleCount().intValue() == 2
 && oddDp.minimum().intValue() == 2 * value + 1
 && oddDp.maximum().intValue() == 2 * value + 3)) {
-throw new RuntimeException("Unexpected odd datapoint " 
+ oddDp
+LOG.warn("Unexpected odd datapoint " + oddDp
 + "; expected sampleCount == 2 && minimum ~ " 
+ (2 * value + 1)
 + " && maximum ~ " + (2 * value + 3));
+return false;
 }
 
 if (!(evenDp.average() == 2 * value + 2
 && evenDp.sampleCount() == 3)) {
-throw new RuntimeException("Unexpected even datapoint 
" + evenDp
+LOG.warn("Unexpected even datapoint " + evenDp
 + "; expected sampleCount == 3 && average == " 
+ (2 * value + 2));
+return false;
 }
 
 return true;



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

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

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


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

commit 467fdeaf7971d9494af7fadfb1c4c0d9477ada31
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 11 01:12:56 2024 +

chore: changelog automatic update
---
 CHANGELOG.md | 406 ++-
 1 file changed, 208 insertions(+), 198 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 45e883582..5cfe74756 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,14 +1,24 @@
 # Changelog
 
-## [Unreleased](https://github.com/apache/camel-k/tree/HEAD)
+## [2.3.4-nightly](https://github.com/apache/camel-k/tree/2.3.4-nightly) 
(2024-06-10)
 
-[Full Changelog](https://github.com/apache/camel-k/compare/v2.3.3...HEAD)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/v2.3.3...2.3.4-nightly)
 
 **Closed issues:**
 
+- Cannot execute 'kamel install' to a GKE cluster 
[\#5611](https://github.com/apache/camel-k/issues/5611)
 - ImagePullBackOff Error for pod build strategy and s2i publish strategy 
[\#5595](https://github.com/apache/camel-k/issues/5595)
+- NettySecureServer may not be able to access keystore 
[\#5546](https://github.com/apache/camel-k/issues/5546)
+- Remove CAMEL\_K\_TEST\_SKIP\_PROBLEMATIC flag 
[\#5484](https://github.com/apache/camel-k/issues/5484)
 - Custom kamelets from GitHub repositories are not applied to cluster. 
[\#5174](https://github.com/apache/camel-k/issues/5174)
 
+**Merged pull requests:**
+
+- chore\(release\): bump last released version to 2.3.3 
[\#5609](https://github.com/apache/camel-k/pull/5609) 
([squakez](https://github.com/squakez))
+- fix\(core\): Remove status.Image update post publish 
[\#5600](https://github.com/apache/camel-k/pull/5600) 
([gansheer](https://github.com/gansheer))
+- test: Improve tests for maven proxy settings 
[\#5594](https://github.com/apache/camel-k/pull/5594) 
([gansheer](https://github.com/gansheer))
+- fix\(ci\): join low and high memory Quarkus native test 
[\#5593](https://github.com/apache/camel-k/pull/5593) 
([squakez](https://github.com/squakez))
+
 ## [v2.3.3](https://github.com/apache/camel-k/tree/v2.3.3) (2024-06-07)
 
 [Full 
Changelog](https://github.com/apache/camel-k/compare/camel-k-crds-2.3.3...v2.3.3)
@@ -218,7 +228,7 @@
 
 ## 
[camel-k-crds-2.3.1](https://github.com/apache/camel-k/tree/camel-k-crds-2.3.1) 
(2024-04-29)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/2.3.1-nightly...camel-k-crds-2.3.1)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/2.4.0-nightly...camel-k-crds-2.3.1)
 
 **Closed issues:**
 
@@ -264,13 +274,13 @@
 - Garbage-collect unused kits 
[\#254](https://github.com/apache/camel-k/issues/254)
 - Enable services to be associated with a version 
[\#182](https://github.com/apache/camel-k/issues/182)
 
-## [2.3.1-nightly](https://github.com/apache/camel-k/tree/2.3.1-nightly) 
(2024-04-08)
+## [2.4.0-nightly](https://github.com/apache/camel-k/tree/2.4.0-nightly) 
(2024-04-08)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/2.4.0-nightly...2.3.1-nightly)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/2.3.1-nightly...2.4.0-nightly)
 
-## [2.4.0-nightly](https://github.com/apache/camel-k/tree/2.4.0-nightly) 
(2024-04-08)
+## [2.3.1-nightly](https://github.com/apache/camel-k/tree/2.3.1-nightly) 
(2024-04-08)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/v2.3.0...2.4.0-nightly)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/v2.3.0...2.3.1-nightly)
 
 **Closed issues:**
 
@@ -654,7 +664,7 @@
 
 ## 
[camel-k-crds-2.2.0](https://github.com/apache/camel-k/tree/camel-k-crds-2.2.0) 
(2024-01-03)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/2.1.1-nightly...camel-k-crds-2.2.0)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/2.2.0-nightly...camel-k-crds-2.2.0)
 
 **Closed issues:**
 
@@ -708,13 +718,13 @@
 - Camel-K initContainer [\#3459](https://github.com/apache/camel-k/issues/3459)
 - Run without source code 
[\#3295](https://github.com/apache/camel-k/issues/3295)
 
-## [2.1.1-nightly](https://github.com/apache/camel-k/tree/2.1.1-nightly) 
(2023-10-24)
+## [2.2.0-nightly](https://github.com/apache/camel-k/tree/2.2.0-nightly) 
(2023-10-24)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/2.2.0-nightly...2.1.1-nightly)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/2.1.1-nightly...2.2.0-nightly)
 
-## [2.2.0-nightly](https://github.com/apache/camel-k/tree/2.2.0-nightly) 
(2023-10-24)
+## [2.1.1-nightly](https://github.com/apache/camel-k/tree/2.1.1-nightly) 
(2023-10-24)
 
-[Full 

(camel-k) tag 2.3.4-nightly created (now 48caca89a)

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

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


  at 48caca89a (commit)
No new revisions were added by this update.



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

2024-06-10 Thread via GitHub


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

   The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) 
branch build has failed:
   
   * Build ID: 9457384907-1406-8367aa88-ef17-46e5-92e8-da9512f6e95d
   * Camel Quarkus Commit: 7890492af132ef6efadfb2a564fd5a3e19f6e2ea
   
   * Camel Main Commit: c7bc93814aa6786daca20f1bc7cd1c7430e2
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/9457384907


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

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

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



(camel-k) branch release-2.3.x updated: chore: nightly automatic updates

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

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


The following commit(s) were added to refs/heads/release-2.3.x by this push:
 new 1a80acfa3 chore: nightly automatic updates
1a80acfa3 is described below

commit 1a80acfa3be88cdd2faa6c90b98bf2dbe87a5f58
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 11 00:32:35 2024 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 45e883582..9cc4f0bba 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,7 +6,10 @@
 
 **Closed issues:**
 
+- Cannot execute 'kamel install' to a GKE cluster 
[\#5611](https://github.com/apache/camel-k/issues/5611)
 - ImagePullBackOff Error for pod build strategy and s2i publish strategy 
[\#5595](https://github.com/apache/camel-k/issues/5595)
+- NettySecureServer may not be able to access keystore 
[\#5546](https://github.com/apache/camel-k/issues/5546)
+- Remove CAMEL\_K\_TEST\_SKIP\_PROBLEMATIC flag 
[\#5484](https://github.com/apache/camel-k/issues/5484)
 - Custom kamelets from GitHub repositories are not applied to cluster. 
[\#5174](https://github.com/apache/camel-k/issues/5174)
 
 ## [v2.3.3](https://github.com/apache/camel-k/tree/v2.3.3) (2024-06-07)



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

2024-06-10 Thread via GitHub


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

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


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

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

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



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

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

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


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

commit 48caca89a1c58f2372c59a5eb86ee3981f3be5e8
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jun 10 23:48:09 2024 +

chore: nightly automatic updates
---
 CHANGELOG.md | 410 +++
 README.adoc  |   2 +-
 badge.out|   2 +-
 coverage |   2 +-
 coverage.out |   6 +-
 5 files changed, 220 insertions(+), 202 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index dca97650d..c6eebc7e1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,17 +2,35 @@
 
 ## [Unreleased](https://github.com/apache/camel-k/tree/HEAD)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/2.3.3-nightly...HEAD)
+[Full Changelog](https://github.com/apache/camel-k/compare/v2.3.3...HEAD)
 
 **Closed issues:**
 
-- Join native checks into one 
[\#5526](https://github.com/apache/camel-k/issues/5526)
+- Cannot execute 'kamel install' to a GKE cluster 
[\#5611](https://github.com/apache/camel-k/issues/5611)
+- ImagePullBackOff Error for pod build strategy and s2i publish strategy 
[\#5595](https://github.com/apache/camel-k/issues/5595)
+- NettySecureServer may not be able to access keystore 
[\#5546](https://github.com/apache/camel-k/issues/5546)
+- Remove CAMEL\_K\_TEST\_SKIP\_PROBLEMATIC flag 
[\#5484](https://github.com/apache/camel-k/issues/5484)
+- Custom kamelets from GitHub repositories are not applied to cluster. 
[\#5174](https://github.com/apache/camel-k/issues/5174)
 
 **Merged pull requests:**
 
+- chore\(release\): bump last released version to 2.3.3 
[\#5609](https://github.com/apache/camel-k/pull/5609) 
([squakez](https://github.com/squakez))
 - fix\(core\): Remove status.Image update post publish 
[\#5600](https://github.com/apache/camel-k/pull/5600) 
([gansheer](https://github.com/gansheer))
+- test: Improve tests for maven proxy settings 
[\#5594](https://github.com/apache/camel-k/pull/5594) 
([gansheer](https://github.com/gansheer))
 - fix\(ci\): join low and high memory Quarkus native test 
[\#5593](https://github.com/apache/camel-k/pull/5593) 
([squakez](https://github.com/squakez))
 
+## [v2.3.3](https://github.com/apache/camel-k/tree/v2.3.3) (2024-06-07)
+
+[Full 
Changelog](https://github.com/apache/camel-k/compare/camel-k-crds-2.3.3...v2.3.3)
+
+## 
[camel-k-crds-2.3.3](https://github.com/apache/camel-k/tree/camel-k-crds-2.3.3) 
(2024-06-07)
+
+[Full 
Changelog](https://github.com/apache/camel-k/compare/2.3.3-nightly...camel-k-crds-2.3.3)
+
+**Closed issues:**
+
+- Join native checks into one 
[\#5526](https://github.com/apache/camel-k/issues/5526)
+
 ## [2.3.3-nightly](https://github.com/apache/camel-k/tree/2.3.3-nightly) 
(2024-06-05)
 
 [Full 
Changelog](https://github.com/apache/camel-k/compare/v2.3.2...2.3.3-nightly)
@@ -210,7 +228,7 @@
 
 ## 
[camel-k-crds-2.3.1](https://github.com/apache/camel-k/tree/camel-k-crds-2.3.1) 
(2024-04-29)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/2.4.0-nightly...camel-k-crds-2.3.1)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/2.3.1-nightly...camel-k-crds-2.3.1)
 
 **Closed issues:**
 
@@ -256,13 +274,13 @@
 - Garbage-collect unused kits 
[\#254](https://github.com/apache/camel-k/issues/254)
 - Enable services to be associated with a version 
[\#182](https://github.com/apache/camel-k/issues/182)
 
-## [2.4.0-nightly](https://github.com/apache/camel-k/tree/2.4.0-nightly) 
(2024-04-08)
+## [2.3.1-nightly](https://github.com/apache/camel-k/tree/2.3.1-nightly) 
(2024-04-08)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/2.3.1-nightly...2.4.0-nightly)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/2.4.0-nightly...2.3.1-nightly)
 
-## [2.3.1-nightly](https://github.com/apache/camel-k/tree/2.3.1-nightly) 
(2024-04-08)
+## [2.4.0-nightly](https://github.com/apache/camel-k/tree/2.4.0-nightly) 
(2024-04-08)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/v2.3.0...2.3.1-nightly)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/v2.3.0...2.4.0-nightly)
 
 **Closed issues:**
 
@@ -1032,7 +1050,7 @@
 
 ## [2.0.1-nightly](https://github.com/apache/camel-k/tree/2.0.1-nightly) 
(2023-07-24)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/pkg/client/camel/v2.0.0...2.0.1-nightly)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/pkg/kamelet/repository/v2.0.0...2.0.1-nightly)
 
 **Closed issues:**
 
@@ -1106,6 +1124,10 @@
 - fix\(build\): complete repo name for default baseImage 
[\#4480](https://github.com/apache/camel-k/pull/4480) 
([gansheer](https://github.com/gansheer))
 - fix\(e2e\): remove workaround pre 1.12.1 

Re: [PR] Bump quarkiverse-langchain4j.version from 0.14.2 to 0.15.1 [camel-quarkus]

2024-06-10 Thread via GitHub


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

   :warning: :warning: :warning:
   
   Branch auto synchronized due to changes in generated files. New workflow run 
triggered:
   
   https://github.com/apache/camel-quarkus/actions/runs/9456199836
   
   Please check the workflow result before merging.
   
   :warning: :warning: :warning:


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

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

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



(camel-quarkus) branch dependabot/maven/quarkiverse-langchain4j.version-0.15.1 updated (bde0f095d9 -> 17a8ebc017)

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

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


from bde0f095d9 Bump quarkiverse-langchain4j.version from 0.14.2 to 0.15.1
 add 17a8ebc017 Auto generated changes for dependabot commit 
bde0f095d9e3e9f34174b07908b3874da579f2dc

No new revisions were added by this update.

Summary of changes:
 pom.xml   | 2 +-
 poms/bom/src/main/generated/flattened-full-pom.xml| 4 ++--
 poms/bom/src/main/generated/flattened-reduced-pom.xml | 4 ++--
 poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)



(camel-quarkus) branch dependabot/maven/quarkiverse-langchain4j.version-0.15.1 created (now bde0f095d9)

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

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


  at bde0f095d9 Bump quarkiverse-langchain4j.version from 0.14.2 to 0.15.1

No new revisions were added by this update.



[PR] Bump quarkiverse-langchain4j.version from 0.14.2 to 0.15.1 [camel-quarkus]

2024-06-10 Thread via GitHub


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

   Bumps `quarkiverse-langchain4j.version` from 0.14.2 to 0.15.1.
   Updates `io.quarkiverse.langchain4j:quarkus-langchain4j-core` from 0.14.2 to 
0.15.1
   
   Updates `io.quarkiverse.langchain4j:quarkus-langchain4j-core-deployment` 
from 0.14.2 to 0.15.1
   
   Updates `io.quarkiverse.langchain4j:quarkus-langchain4j-ollama` from 0.14.2 
to 0.15.1
   
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


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

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

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



Re: [PR] [Backport 2.3.x] feat(4893) YAML DSL route configuration support [camel-k]

2024-06-10 Thread via GitHub


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

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


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

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

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



[PR] [Backport 2.3.x] feat(4893) YAML DSL route configuration support [camel-k]

2024-06-10 Thread via GitHub


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

   Backport of #4893 
   
   
   **Release Note**
   ```release-note
   Fix #4893: Support YAML DSL routes configuration
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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] ParserCommon tests [camel]

2024-06-10 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20850: camel-core - compress changes in SimpleLRUCache [camel]

2024-06-10 Thread via GitHub


essobedo commented on code in PR #14424:
URL: https://github.com/apache/camel/pull/14424#discussion_r1633829566


##
core/camel-support/src/main/java/org/apache/camel/support/cache/SimpleLRUCache.java:
##
@@ -248,6 +270,24 @@ private Entry nextOldestChange() {
 return oldest;
 }
 
+/**
+ * Removes duplicates from the queue of changes.
+ */
+private void compressChanges() {

Review Comment:
   I added 2 more tests and it seems to behave 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) branch CAMEL-20850/compress-changes updated (8d894bbf6ff -> a79b5cbcea4)

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

nfilotto pushed a change to branch CAMEL-20850/compress-changes
in repository https://gitbox.apache.org/repos/asf/camel.git


 discard 8d894bbf6ff CAMEL-20850: camel-core - compress changes in 
SimpleLRUCache
 add a79b5cbcea4 CAMEL-20850: camel-core - compress changes in 
SimpleLRUCache

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   (8d894bbf6ff)
\
 N -- N -- N   refs/heads/CAMEL-20850/compress-changes (a79b5cbcea4)

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

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

No new revisions were added by this update.

Summary of changes:
 .../camel/support/cache/SimpleLRUCacheTest.java| 60 ++
 1 file changed, 60 insertions(+)



Re: [PR] Add hazelcast integration test [camel-karaf]

2024-06-10 Thread via GitHub


f2par0 commented on code in PR #335:
URL: https://github.com/apache/camel-karaf/pull/335#discussion_r1633758818


##
tests/features/camel-hazelcast/src/test/java/org/apache/karaf/camel/itest/CamelHazelcastITest.java:
##
@@ -0,0 +1,59 @@
+/*
+ * Licensed 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.karaf.camel.itest;
+
+import java.util.Collections;
+import java.util.List;
+
+import org.apache.camel.component.mock.MockEndpoint;
+import 
org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteITest;
+import org.apache.karaf.camel.itests.AvailablePortProvider;
+import org.apache.karaf.camel.itests.CamelKarafTestHint;
+import org.apache.karaf.camel.itests.PaxExamWithExternalResource;
+import org.junit.After;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
+import org.ops4j.pax.exam.spi.reactors.PerClass;
+
+@CamelKarafTestHint(externalResourceProvider = 
CamelHazelcastITest.ExternalResourceProviders.class)
+@RunWith(PaxExamWithExternalResource.class)
+@ExamReactorStrategy(PerClass.class)
+public class CamelHazelcastITest extends 
AbstractCamelSingleFeatureResultMockBasedRouteITest {
+
+private static final int HZ_PORT = 5701;
+
+@Override
+public void configureMock(MockEndpoint mock) {
+//Map + replicated Map + 2 for list + Queue + Set + Topic
+mock.expectedBodiesReceived( Collections.nCopies(7, "OK"));
+}
+
+@Test
+public void testResultMock() throws Exception {
+assertMockEndpointsSatisfied();
+}
+
+@After
+public void stopCamelContext() {
+//to trigger graceful shutdown of hazelcast components before 
uninstalling bundles
+getContext().stop();
+}

Review Comment:
   Yes, done, I just had to override the `stopContext()`  for the camel-core 
because otherwise the context gets stopped to early (after the first test)



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

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

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



[I] Incompatible bundles in camel3 feature name='xml-specs-api' [camel-karaf]

2024-06-10 Thread via GitHub


ivan-ra opened a new issue, #336:
URL: https://github.com/apache/camel-karaf/issues/336

   Camel 3.x feature name='xml-specs-api' contains 2 incompatible bundles:
   `
mvn:org.codehaus.woodstox/stax2-api/${stax2-api-bundle-version}`
 
   `
mvn:org.codehaus.woodstox/woodstox-core-asl/${woodstox-version}`
   stax2-api version4+ is compiled with com.fasterxml.woodstox/woodstox-core, 
which incompatible with org.codehaus.woodstox/woodstox-core-asl. As result, 
camel-cxf-* components (and maybe some other) cant work properly in osgi 
environment.
   I replaced woodstox-core-asl in my local feature repository like it made in 
main branch, and now my camel3 cxf routes work properly:
   `mvn:org.codehaus.woodstox/stax2-api/4.2.1`
   `mvn:com.fasterxml.woodstox/woodstox-core/6.5.1`
   Please do it in 3.* branch (affects versions 3.18.*-3.22.*)


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

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

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



Re: [PR] fix: Improve Knative trigger filter [camel-k]

2024-06-10 Thread via GitHub


christophd commented on PR #5597:
URL: https://github.com/apache/camel-k/pull/5597#issuecomment-2158869706

   > about the knative trait, the same as above can apply as there (maybe) are 
some conflicting properties maybe ? i.e. what happen if you set a filter for a 
non broker resource?
   
   I have checked in the code and Camel K will create the trigger only when 
using the broker resource as a source. when referencing a Knative channel 
resource for instance Camel K will not create the trigger and it is assumed 
that the channel and the trigger are present already.
   
   So setting the trigger filter on the trait is only valid for broker type 
events. This is the result of us having a single Knative trait config for 
multiple Knative resources (broker, channel, service) as a source/sink. Again, 
this needs to be made clear in the documentation. I will take care of it 
(probably in a separate 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] fix: Improve Knative trigger filter [camel-k]

2024-06-10 Thread via GitHub


christophd commented on PR #5597:
URL: https://github.com/apache/camel-k/pull/5597#issuecomment-2158852353

   > the fact that there is no subgroup for filter elements may be a little bit 
confusing as you don’t really know which properties are part of the filter and 
which are not. i.e. I recall one can add name property and that property would 
be used to determine the name of the broker if not provided in the ref
   
   true, I will add this to the documentation so the user has an idea how and 
what properties are set as a trigger filter


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

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

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



(camel) branch main updated: CAMEL-20722 - change base class + enable on more CI archs (#14438)

2024-06-10 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 60377bbae7e CAMEL-20722 - change base class + enable on more CI archs 
(#14438)
60377bbae7e is described below

commit 60377bbae7e9bf62edb1522851a9cf6bf5ea9a4c
Author: Jang-Vijay Singh 
AuthorDate: Mon Jun 10 17:34:41 2024 +0100

CAMEL-20722 - change base class + enable on more CI archs (#14438)

- the base class change for test
KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT is to get rid
of symptom NoSuchElementException
- Same reason as PR: https://github.com/apache/camel/pull/14376
---
 .../integration/KafkaBreakOnFirstErrorSeekIssueIT.java |  2 +-
 ...reakOnFirstErrorWithBatchUsingAsyncCommitManagerIT.java | 14 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorSeekIssueIT.java
 
b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorSeekIssueIT.java
index 93fb7c4e26f..33db5d1e3c7 100644
--- 
a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorSeekIssueIT.java
+++ 
b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorSeekIssueIT.java
@@ -54,7 +54,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
  */
 @Tags({ @Tag("breakOnFirstError") })
 @EnabledOnOs(value = { OS.LINUX, OS.MAC, OS.FREEBSD, OS.OPENBSD, OS.WINDOWS },
- architectures = { "amd64", "aarch64" },
+ architectures = { "amd64", "aarch64", "ppc64le" },
  disabledReason = "This test does not run reliably on some 
platforms")
 
 class KafkaBreakOnFirstErrorSeekIssueIT extends BaseKafkaTestSupport {
diff --git 
a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT.java
 
b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT.java
index 10b96fad61f..045968b41a4 100644
--- 
a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT.java
+++ 
b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT.java
@@ -29,13 +29,13 @@ 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.apache.kafka.common.Uuid;
 import org.awaitility.Awaitility;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Tag;
 import org.junit.jupiter.api.Tags;
 import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.junit.jupiter.api.condition.EnabledOnOs;
 import org.junit.jupiter.api.condition.OS;
 import org.slf4j.Logger;
@@ -49,13 +49,12 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
  */
 @Tags({ @Tag("breakOnFirstError") })
 @EnabledOnOs(value = { OS.LINUX, OS.MAC, OS.FREEBSD, OS.OPENBSD, OS.WINDOWS },
- architectures = { "amd64", "aarch64" },
+ architectures = { "amd64", "aarch64", "ppc64le" },
  disabledReason = "This test does not run reliably on some 
platforms")
-@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*",
-  disabledReason = "CAMEL-20722: Too unreliable on 
most of the CI environments")
-class KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT extends 
BaseExclusiveKafkaTestSupport {
+
+class KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT extends 
BaseKafkaTestSupport {
 public static final String ROUTE_ID = "breakOnFirstErrorBatchIT";
-public static final String TOPIC = "breakOnFirstErrorBatchIT";
+public static final String TOPIC = "breakOnFirstErrorBatchIT" + 
Uuid.randomUuid();
 
 private static final Logger LOG = 
LoggerFactory.getLogger(KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT.class);
 
@@ -101,7 +100,8 @@ class 
KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT extends BaseExclu
 
contextExtension.getContext().getRouteController().startRoute(ROUTE_ID);
 
 Awaitility.await()
-.atMost(10, TimeUnit.SECONDS) // changed to 10 sec for 
CAMEL-20722
+.atMost(20, TimeUnit.SECONDS) // changed to 20 sec for 
CAMEL-20722
+.pollDelay(5, TimeUnit.SECONDS)
 .until(() -> 

Re: [PR] CAMEL-20722 enable 2 tests on ppc arch + change base class [camel]

2024-06-10 Thread via GitHub


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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] Cannot execute 'kamel install' to a GKE cluster [camel-k]

2024-06-10 Thread via GitHub


dtsong commented on issue #5611:
URL: https://github.com/apache/camel-k/issues/5611#issuecomment-2158815467

   Apologies, disregard, realized that I needed to export this variable to have 
the local `kubectl` use the GKE Auth plugin.
   
   ```
   export USE_GKE_GCLOUD_AUTH_PLUGIN=True
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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] Cannot execute 'kamel install' to a GKE cluster [camel-k]

2024-06-10 Thread via GitHub


dtsong closed issue #5611: Cannot execute 'kamel install' to a GKE cluster
URL: https://github.com/apache/camel-k/issues/5611


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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] Cannot execute 'kamel install' to a GKE cluster [camel-k]

2024-06-10 Thread via GitHub


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

   ### What happened?
   
   While I was attempting to run `kamel install` to a GKE cluster, I get the 
following error:
   
   ```
   ./kamel install --monitoring=true
   Error: cannot get command client: The gcp auth plugin has been removed.
   Please use the "gke-gcloud-auth-plugin" kubectl/client-go credential plugin 
instead.
   See 
https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
 for further details
   ```
   
   I went through the relevant steps to ensure that the 
`gke-gcloud-auth-plugin` was installed, but still got the same error. It looks 
like the `kamel` CLI is using the previous plugin for cluster authentication?
   
   ### Steps to reproduce
   
   1. Have a GKE cluster available to have Camel-k installed with the `kamel` 
CLI.
   2. Use gcloud to establish cluster connectivity with `gcloud container 
cluster get-credentials NAME_OF_CLUSTER`
   3. Run `kamel install`
   
   ### Relevant log output
   
   ```shell
   # VM where I am running kamel from
   ./kamel install --monitoring=true
   Error: cannot get command client: The gcp auth plugin has been removed.
   Please use the "gke-gcloud-auth-plugin" kubectl/client-go credential plugin 
instead.
   See 
https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
 for further details
   ```
   
   
   ### Camel K version
   
   v2.3.3


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

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

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



Re: [PR] fix: Improve Knative trigger filter [camel-k]

2024-06-10 Thread via GitHub


lburgazzoli commented on PR #5597:
URL: https://github.com/apache/camel-k/pull/5597#issuecomment-2158805001

   Since the `Pipe` is an higher level resource, I think it is fine if it has 
access to any of the spec properties of the `Integration` CRD like if it were 
any other client (in fact, in the `KameletBinding` reconciler has been 
originally implemented as a dedicated operator, and then merged in the camel-k 
operator). 
   
   For the specific question about the fact that a binding resolver has access 
to the traits, then I think it is perfectly fine as the resolver should be able 
to influence how an integration behave. In term of code, I don't know if there 
is any better, less coupled option, but given it is already the way it works as 
today, then I'm fine with the implementation.
   
   The only two notes I can add are about UX, probably something not strictly 
related to this PR but, let me write them down here:
   - the fact that there is no subgroup for filter elements may be a little bit 
confusing as you don’t really know which properties are  part of the filter and 
which are not. i.e. I recall one can add  name property and that property would 
be used to determine the name of the broker if not provided in the ref
   - about the knative trait, the same as above can apply as there (maybe) are 
some conflicting properties maybe ? i.e. what happen if you set a filter for a 
non broker resource ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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 (94004ef08 -> 199ab5572)

2024-06-10 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

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


from 94004ef08 chore: release minor changes
 add 199ab5572 chore(release): bump last released version to 2.3.3

No new revisions were added by this update.

Summary of changes:
 .../config/manifests/bases/camel-k.clusterserviceversion.yaml | 4 ++--
 script/Makefile   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)



Re: [PR] chore(release): bump last released version to 2.3.3 [camel-k]

2024-06-10 Thread via GitHub


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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] blog(kaoto): Kaoto 2.0 GA Release [camel-website]

2024-06-10 Thread via GitHub


lordrip commented on code in PR #1190:
URL: https://github.com/apache/camel-website/pull/1190#discussion_r1633453106


##
content/blog/2024/01/kaoto-release-2.0.0/index.md:
##
@@ -0,0 +1,109 @@
+---
+title: "Kaoto v2.0 release"
+date: 2024-06-06
+draft: false
+authors: [lordrip]
+categories: ["Releases", "Tooling", "Kaoto"]
+preview: "Kaoto 2.0 has been released"
+---
+
+
+  

Review Comment:
   It was missing from the images batch, I found it and I'll upload 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) branch main updated: camel-sql - Add test based on user forum issue

2024-06-10 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 47fc4aec108 camel-sql - Add test based on user forum issue
47fc4aec108 is described below

commit 47fc4aec108eedd1ec1d715effc4a42eb8321d2d
Author: Claus Ibsen 
AuthorDate: Mon Jun 10 17:28:08 2024 +0200

camel-sql - Add test based on user forum issue
---
 .../camel-sql/src/main/docs/sql-component.adoc |  12 ++
 .../camel/component/sql/SqlProducerInBodyTest.java | 130 +
 .../test/resources/sql/selectProjectsInBody.sql|  22 
 3 files changed, 164 insertions(+)

diff --git a/components/camel-sql/src/main/docs/sql-component.adoc 
b/components/camel-sql/src/main/docs/sql-component.adoc
index d2016b0d357..9ba92b2f717 100644
--- a/components/camel-sql/src/main/docs/sql-component.adoc
+++ b/components/camel-sql/src/main/docs/sql-component.adoc
@@ -357,6 +357,18 @@ from("direct:query")
 .to("mock:query");
 
 
+If the dynamic list of values is stored in the message body, you can use 
`(:#in:$+{body}+)` to
+refer to the message body, such as:
+
+[source,sql]
+
+-- this is a comment
+select *
+from projects
+where project in (:#in:${body})
+order by id
+
+
 == Using the JDBC-based idempotent repository
 
 In this section, we will use the JDBC-based idempotent repository.
diff --git 
a/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlProducerInBodyTest.java
 
b/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlProducerInBodyTest.java
new file mode 100644
index 000..899aedaf8a2
--- /dev/null
+++ 
b/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlProducerInBodyTest.java
@@ -0,0 +1,130 @@
+/*
+ * 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.sql;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.test.junit5.CamelTestSupport;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.springframework.jdbc.datasource.embedded.EmbeddedDatabase;
+import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder;
+import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+public class SqlProducerInBodyTest extends CamelTestSupport {
+
+EmbeddedDatabase db;
+
+@Override
+@BeforeEach
+public void setUp() throws Exception {
+db = new EmbeddedDatabaseBuilder()
+.setName(getClass().getSimpleName())
+.setType(EmbeddedDatabaseType.H2)
+.addScript("sql/createAndPopulateDatabase.sql").build();
+
+super.setUp();
+}
+
+@Override
+@AfterEach
+public void tearDown() throws Exception {
+super.tearDown();
+
+if (db != null) {
+db.shutdown();
+}
+}
+
+@Test
+public void testQueryInArray() throws InterruptedException {
+MockEndpoint mock = getMockEndpoint("mock:query");
+mock.expectedMessageCount(1);
+
+template.requestBody("direct:query", new String[] { "Camel", "AMQ" });
+
+MockEndpoint.assertIsSatisfied(context);
+
+List list = 
mock.getReceivedExchanges().get(0).getIn().getBody(List.class);
+assertEquals(2, list.size());
+Map row = (Map) list.get(0);
+assertEquals("Camel", row.get("PROJECT"));
+row = (Map) list.get(1);
+assertEquals("AMQ", row.get("PROJECT"));
+}
+
+@Test
+public void testQueryInList() throws InterruptedException {
+MockEndpoint mock = getMockEndpoint("mock:query");
+mock.expectedMessageCount(1);
+
+List names = new ArrayList<>();
+names.add("Camel");
+names.add("AMQ");
+
+template.requestBody("direct:query", names);
+
+MockEndpoint.assertIsSatisfied(context);
+
+List 

(camel-k) branch release-2.3.x updated: chore(release): bump next version to 2.3.4-SNAPSHOT

2024-06-10 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/release-2.3.x by this push:
 new 835b7c0fb chore(release): bump next version to 2.3.4-SNAPSHOT
835b7c0fb is described below

commit 835b7c0fbd289473d72cec0d21db09af2266942e
Author: Pasquale Congiusti 
AuthorDate: Mon Jun 10 16:16:35 2024 +0200

chore(release): bump next version to 2.3.4-SNAPSHOT
---
 helm/camel-k/Chart.yaml|  2 +-
 helm/camel-k/values.yaml   |  2 +-
 java/maven-logging/pom.xml |  2 +-
 pkg/resources/config/manager/operator-deployment.yaml  |  6 +++---
 .../config/manifests/bases/camel-k.clusterserviceversion.yaml  | 10 +-
 pkg/resources/config/manifests/kustomization.yaml  |  2 +-
 pkg/util/defaults/defaults.go  |  2 +-
 script/Makefile|  4 ++--
 8 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/helm/camel-k/Chart.yaml b/helm/camel-k/Chart.yaml
index 7ad355ac0..67220c8aa 100644
--- a/helm/camel-k/Chart.yaml
+++ b/helm/camel-k/Chart.yaml
@@ -35,7 +35,7 @@ version: 0.13.1
 
 # This is the version number of the application being deployed. This version 
number should be
 # incremented each time you make changes to the application.
-appVersion: 2.3.3
+appVersion: 2.3.4-SNAPSHOT
 
 icon: https://github.com/apache/camel/raw/main/docs/img/logo64-d.png
 home: https://camel.apache.org/camel-k/latest/
diff --git a/helm/camel-k/values.yaml b/helm/camel-k/values.yaml
index f51418ac0..21e049adb 100644
--- a/helm/camel-k/values.yaml
+++ b/helm/camel-k/values.yaml
@@ -23,7 +23,7 @@ nameOverride: ""
 fullnameOverride: ""
 
 operator:
-  image: docker.io/apache/camel-k:2.3.3
+  image: docker.io/apache/camel-k:2.3.4-SNAPSHOT
   global: "false"
   resources: {}
   securityContext: {}
diff --git a/java/maven-logging/pom.xml b/java/maven-logging/pom.xml
index c0a45dfc8..33864c34e 100644
--- a/java/maven-logging/pom.xml
+++ b/java/maven-logging/pom.xml
@@ -22,7 +22,7 @@
 4.0.0
 org.apache.camel.k
 camel-k-maven-logging
-2.3.3-SNAPSHOT
+2.3.4-SNAPSHOT
 Set of dependencies used for structural logging of Maven 
output
 pom
 
diff --git a/pkg/resources/config/manager/operator-deployment.yaml 
b/pkg/resources/config/manager/operator-deployment.yaml
index ab86e88c0..4238b7644 100644
--- a/pkg/resources/config/manager/operator-deployment.yaml
+++ b/pkg/resources/config/manager/operator-deployment.yaml
@@ -25,7 +25,7 @@ metadata:
 name: camel-k-operator
 app.kubernetes.io/component: operator
 app.kubernetes.io/name: camel-k
-app.kubernetes.io/version: "2.3.3"
+app.kubernetes.io/version: "2.3.4-SNAPSHOT"
 spec:
   replicas: 1
   strategy:
@@ -41,12 +41,12 @@ spec:
 app: "camel-k"
 app.kubernetes.io/component: operator
 app.kubernetes.io/name: camel-k
-app.kubernetes.io/version: "2.3.3"
+app.kubernetes.io/version: "2.3.4-SNAPSHOT"
 spec:
   serviceAccountName: camel-k-operator
   containers:
 - name: camel-k-operator
-  image: docker.io/apache/camel-k:2.3.3
+  image: docker.io/apache/camel-k:2.3.4-SNAPSHOT
   imagePullPolicy: IfNotPresent
   command:
 - kamel
diff --git 
a/pkg/resources/config/manifests/bases/camel-k.clusterserviceversion.yaml 
b/pkg/resources/config/manifests/bases/camel-k.clusterserviceversion.yaml
index b8e7b222f..5fb8d617a 100644
--- a/pkg/resources/config/manifests/bases/camel-k.clusterserviceversion.yaml
+++ b/pkg/resources/config/manifests/bases/camel-k.clusterserviceversion.yaml
@@ -22,8 +22,8 @@ metadata:
 capabilities: Full Lifecycle
 categories: Integration & Delivery
 certified: "false"
-containerImage: docker.io/apache/camel-k:2.3.3
-createdAt: 2024-06-04T12:23:09Z
+containerImage: docker.io/apache/camel-k:2.3.4-SNAPSHOT
+createdAt: 2024-06-10T14:15:17Z
 description: Apache Camel K is a lightweight integration platform, born on 
Kubernetes,
   with serverless superpowers.
 operators.operatorframework.io/builder: operator-sdk-v1.16.0
@@ -31,7 +31,7 @@ metadata:
 operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
 repository: https://github.com/apache/camel-k
 support: Camel
-  name: camel-k.v2.3.3
+  name: camel-k.v2.3.4
   namespace: placeholder
 spec:
   apiservicedefinitions: {}
@@ -175,8 +175,8 @@ spec:
   minKubeVersion: 1.24.0
   provider:
 name: The Apache Software Foundation
-  replaces: camel-k-operator.v2.3.2
+  replaces: camel-k-operator.v2.3.3
   selector:
 matchLabels:
   name: camel-k-operator
-  version: 2.3.3
+  version: 2.3.4
diff --git 

Re: [PR] [release-2.3.x] chore(release): bump next version to 2.3.4-SNAPSHOT [camel-k]

2024-06-10 Thread via GitHub


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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 refs/heads/asf-site:.asf.yaml in camel-website-pub!

2024-06-10 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;, "status": "422"}



(camel-website-pub) branch asf-site updated (aea029280 -> 53b900dad)

2024-06-10 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 aea029280 Website updated to a0f182ee13bbb7e1583867e7d7f6552eaf40f02e
 discard e32ddeb62 Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new 9136b44d7 Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new 53b900dad Website updated to 7c58bbb2cb9daa2f7fa6e42c2e138fbb3c71d1c6

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   (aea029280)
\
 N -- N -- N   refs/heads/asf-site (53b900dad)

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  |  108 +-
 .well-known/security.txt   |2 +-
 camel-k/next/contributing/e2e.html |2 +-
 camel-kamelets/next/aws-redshift-sink.html |2 +-
 camel-kamelets/next/aws-redshift-source.html   |2 +-
 camel-spring-boot/next/list.html   |2 +-
 components/next/activemq-component.html|2 +-
 components/next/activemq6-component.html   |2 +-
 components/next/amqp-component.html|2 +-
 components/next/arangodb-component.html|2 +-
 components/next/as2-component.html |2 +-
 components/next/asterisk-component.html|2 +-
 .../next/atmosphere-websocket-component.html   |2 +-
 components/next/atom-component.html|2 +-
 components/next/avro-component.html|2 +-
 components/next/aws-bedrock-agent-component.html   |2 +-
 .../next/aws-bedrock-agent-runtime-component.html  |2 +-
 components/next/aws-bedrock-component.html |2 +-
 components/next/aws-cloudtrail-component.html  |2 +-
 components/next/aws-config-component.html  |2 +-
 components/next/aws-secrets-manager-component.html |2 +-
 components/next/aws-summary.html   |2 +-
 components/next/aws2-athena-component.html |2 +-
 components/next/aws2-cw-component.html |2 +-
 components/next/aws2-ddb-component.html|2 +-
 components/next/aws2-ddbstream-component.html  |2 +-
 components/next/aws2-ec2-component.html|2 +-
 components/next/aws2-ecs-component.html|2 +-
 components/next/aws2-eks-component.html|2 +-
 components/next/aws2-eventbridge-component.html|2 +-
 components/next/aws2-iam-component.html|2 +-
 components/next/aws2-kinesis-component.html|4 +-
 .../next/aws2-kinesis-firehose-component.html  |4 +-
 components/next/aws2-kms-component.html|2 +-
 components/next/aws2-lambda-component.html |2 +-
 components/next/aws2-mq-component.html |2 +-
 components/next/aws2-msk-component.html|2 +-
 components/next/aws2-redshift-data-component.html  |2 +-
 components/next/aws2-s3-component.html |2 +-
 components/next/aws2-ses-component.html|2 +-
 components/next/aws2-sns-component.html|2 +-
 components/next/aws2-sqs-component.html|2 +-
 components/next/aws2-step-functions-component.html |2 +-
 components/next/aws2-sts-component.html|2 +-
 components/next/aws2-timestream-component.html |2 +-
 components/next/aws2-translate-component.html  |2 +-
 components/next/azure-cosmosdb-component.html  |2 +-
 components/next/azure-eventhubs-component.html |2 +-
 components/next/azure-files-component.html |2 +-
 components/next/azure-key-vault-component.html |2 +-
 components/next/azure-servicebus-component.html|2 +-
 components/next/azure-storage-blob-component.html  |2 +-
 .../next/azure-storage-datalake-component.html |2 +-
 components/next/azure-storage-queue-component.html |2 +-
 components/next/azure-summary.html |2 +-
 components/next/bean-component.html|2 +-
 components/next/bean-validator-component.html  |2 +-
 

(camel-karavan) branch main updated: Fix #1313

2024-06-10 Thread marat
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new 018095f1 Fix #1313
018095f1 is described below

commit 018095f1f069ee3d17384940ad5cb5d8726e34ff
Author: Marat Gubaidullin 
AuthorDate: Mon Jun 10 11:23:42 2024 -0400

Fix #1313
---
 karavan-app/pom.xml   | 7 +++
 karavan-app/src/main/resources/application.properties | 3 +--
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/karavan-app/pom.xml b/karavan-app/pom.xml
index 58f9327d..bd735ec8 100644
--- a/karavan-app/pom.xml
+++ b/karavan-app/pom.xml
@@ -36,11 +36,10 @@
 
UTF-8
 
quarkus-bom
 
io.quarkus.platform
-3.8.2
-4.6.0
+3.11.1
 4.6.0
 3.1.0
-3.1.0
+3.1.1
 2.3.7
 3.3.0
 3.3.6
@@ -69,7 +68,7 @@
 
 
 io.quarkus
-quarkus-resteasy-reactive-jackson
+quarkus-rest-jackson
 
 
 io.quarkus
diff --git a/karavan-app/src/main/resources/application.properties 
b/karavan-app/src/main/resources/application.properties
index e082ddd3..9295c78b 100644
--- a/karavan-app/src/main/resources/application.properties
+++ b/karavan-app/src/main/resources/application.properties
@@ -81,7 +81,6 @@ quarkus.http.auth.permission.public.methods=GET,HEAD,POST
 %oidc.quarkus.oidc.application-type=service
 %oidc.quarkus.oidc.tls.verification=none
 %oidc.quarkus.oidc.roles.source=accesstoken
-%oidc.quarkus.oidc.authentication.user-info-required=true
 quarkus.keycloak.devservices.enabled=false
 
 # Quarkus configuration
@@ -89,7 +88,7 @@ quarkus.quinoa.enable-spa-routing=true
 quarkus.http.enable-compression=true
 quarkus.log.level=INFO
 quarkus.banner.enabled=false
-quarkus.package.type=uber-jar
+quarkus.package.jar.type=uber-jar
 quarkus.docker.dockerfile-jvm-path=src/main/docker/Dockerfile
 quarkus.container-image.builder=docker
 



Re: [I] Upgrade to Quarkus 3.11.1 [camel-karavan]

2024-06-10 Thread via GitHub


mgubaidullin closed issue #1313: Upgrade to Quarkus 3.11.1
URL: https://github.com/apache/camel-karavan/issues/1313


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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(install): simplify kustomize procedure [camel-k]

2024-06-10 Thread via GitHub


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

   
   
   This PR aims to provide a simplified approach to the Kustomize. Thanks (to 
@gansheer) to the work done so far to identify exactly all resources during 
installation, it is now relatively easy to create a base and an overlay 
directory that we can use as a base for any user to extend according to their 
specific needs. This is also quite easy as it provides a set of sensible 
configuration we can use in our test or documentation.
   
   We can remove the `make` which was an attempt to provide a ui on top of 
something that is probably thought to be customized on source directly by the 
final users.
   
   If this gets merged, we can work on additional overlays (ie, openshift) as a 
follow up activity.
   
   Closes #4528 
   
   
   
   **Release Note**
   ```release-note
   fix(install): simplify kustomize procedure
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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-20846: Add capability to configure elasticsearch-rest-client with component options [camel]

2024-06-10 Thread via GitHub


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


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

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

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



(camel) branch main updated: CAMEL-20846: Add capability to configure elasticsearch-rest-client with component options (#14446)

2024-06-10 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 251aa272bf1 CAMEL-20846: Add capability to configure 
elasticsearch-rest-client with component options (#14446)
251aa272bf1 is described below

commit 251aa272bf1584121fdb0e21b6d67b686a51f1f6
Author: James Netherton 
AuthorDate: Mon Jun 10 16:02:17 2024 +0100

CAMEL-20846: Add capability to configure elasticsearch-rest-client with 
component options (#14446)
---
 .../components/elasticsearch-rest-client.json  |  14 +-
 ...ElasticsearchRestClientComponentConfigurer.java |  59 +++
 .../rest/client/elasticsearch-rest-client.json |  14 +-
 .../client/ElasticsearchRestClientComponent.java   | 146 -
 ...SearchRestClientComponentConfigurationTest.java |  66 
 ...ticsearchRestClientComponentBuilderFactory.java | 175 +
 6 files changed, 469 insertions(+), 5 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/elasticsearch-rest-client.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/elasticsearch-rest-client.json
index 6edf65e32ae..a36af6dc55d 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/elasticsearch-rest-client.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/elasticsearch-rest-client.json
@@ -23,8 +23,18 @@
 "remote": true
   },
   "componentProperties": {
-"lazyStartProducer": { "index": 0, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
-"autowiredEnabled": { "index": 1, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
+"connectionTimeout": { "index": 0, "kind": "property", "displayName": 
"Connection Timeout", "group": "producer", "label": "", "required": false, 
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 3, "description": "Connection timeout" },
+"hostAddressesList": { "index": 1, "kind": "property", "displayName": 
"Host Addresses List", "group": "producer", "label": "", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "List of host Addresses, 
multiple hosts can be separated by comma." },
+"lazyStartProducer": { "index": 2, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
+"socketTimeout": { "index": 3, "kind": "property", "displayName": "Socket 
Timeout", "group": "producer", "label": "", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 3, "description": "Socket timeout" },
+"autowiredEnabled": { "index": 4, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
+"enableSniffer": { "index": 5, "kind": "property", "displayName": "Enable 
Sniffer", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Enabling Sniffer" },
+"restClient": { 

(camel) branch main updated: Use the correct camel spring boot starter for camel export (#14448)

2024-06-10 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 a4d7f6563c2 Use the correct camel spring boot starter for camel export 
(#14448)
a4d7f6563c2 is described below

commit a4d7f6563c2edccc3b09d4053c7cfc5bc4b8b05d
Author: Federico Mariani <34543311+cro...@users.noreply.github.com>
AuthorDate: Mon Jun 10 17:01:49 2024 +0200

Use the correct camel spring boot starter for camel export (#14448)
---
 .../camel-jbang-core/src/main/resources/templates/spring-boot-pom.tmpl  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/spring-boot-pom.tmpl
 
b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/spring-boot-pom.tmpl
index ebd8c6f2995..15281778d47 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/spring-boot-pom.tmpl
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/spring-boot-pom.tmpl
@@ -54,7 +54,7 @@
 
 
 org.apache.camel.springboot
-camel-spring-boot-engine-starter
+camel-spring-boot-starter
 
 {{ .CamelDependencies }}
 



Re: [PR] Use the correct camel spring boot starter for camel export [camel]

2024-06-10 Thread via GitHub


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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-20850: camel-core - compress changes in SimpleLRUCache [camel]

2024-06-10 Thread via GitHub


essobedo commented on code in PR #14424:
URL: https://github.com/apache/camel/pull/14424#discussion_r1633401571


##
core/camel-support/src/main/java/org/apache/camel/support/cache/SimpleLRUCache.java:
##
@@ -248,6 +270,24 @@ private Entry nextOldestChange() {
 return oldest;
 }
 
+/**
+ * Removes duplicates from the queue of changes.
+ */
+private void compressChanges() {

Review Comment:
   Indeed, it looks like there is a time window during which changes could be 
lost, let me try to improve this



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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-karavan) branch main updated: Small fixes

2024-06-10 Thread marat
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new 909931d6 Small fixes
909931d6 is described below

commit 909931d68ea7a8cb2d9e6707a4c1bc0e148af5d4
Author: Marat Gubaidullin 
AuthorDate: Mon Jun 10 10:50:59 2024 -0400

Small fixes
---
 karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx 
b/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx
index cf3a6f7c..bdf58a95 100644
--- a/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx
+++ b/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx
@@ -175,7 +175,7 @@ export function ContainerPanel(props: Props) {
 
 
 
-{env === "dev" && config.infrastructure !== 'kubernetes' && 
}
+{env === config.environment && config.infrastructure !== 
'kubernetes' && }
 
 {showDeleteConfirmation && getDeleteConfirmation()}
 



(camel-quarkus) branch camel-main updated: Removed unnecessary change made for xchange

2024-06-10 Thread jiriondrusek
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/camel-main by this push:
 new 4d62fd9010 Removed unnecessary change made for xchange
4d62fd9010 is described below

commit 4d62fd9010c4bf3c31ad6412550d6a483b90c332
Author: JiriOndrusek 
AuthorDate: Mon Jun 10 16:46:53 2024 +0200

Removed unnecessary change made for xchange
---
 extensions/xchange/deployment/pom.xml  |  5 ---
 .../deployment/graal/XchangeSubstitutions.java | 44 --
 2 files changed, 49 deletions(-)

diff --git a/extensions/xchange/deployment/pom.xml 
b/extensions/xchange/deployment/pom.xml
index f30e590245..3b3634c567 100644
--- a/extensions/xchange/deployment/pom.xml
+++ b/extensions/xchange/deployment/pom.xml
@@ -42,11 +42,6 @@
 org.apache.camel.quarkus
 camel-quarkus-xchange
 
-
-org.graalvm.sdk
-nativeimage
-provided
-
 
 
 
diff --git 
a/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/graal/XchangeSubstitutions.java
 
b/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/graal/XchangeSubstitutions.java
deleted file mode 100644
index 7eeac51c19..00
--- 
a/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/graal/XchangeSubstitutions.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.quarkus.component.xchange.deployment.graal;
-
-import com.oracle.svm.core.annotate.Substitute;
-import com.oracle.svm.core.annotate.TargetClass;
-import com.oracle.svm.core.annotate.TargetElement;
-import org.knowm.xchange.binance.config.converter.StringToCurrencyConverter;
-import 
org.knowm.xchange.binance.config.converter.StringToCurrencyPairConverter;
-
-public class XchangeSubstitutions {
-
-@TargetClass(StringToCurrencyPairConverter.class)
-class StringToCurrencyPairConverterSubstitutions {
-
-@Substitute
-@TargetElement(name = TargetElement.CONSTRUCTOR_NAME)
-public StringToCurrencyPairConverterSubstitutions() {
-}
-}
-
-@TargetClass(StringToCurrencyConverter.class)
-class StringToCurrencyConverterSubstitutions {
-
-@Substitute
-@TargetElement(name = TargetElement.CONSTRUCTOR_NAME)
-public StringToCurrencyConverterSubstitutions() {
-}
-}
-}



(camel-karavan) branch main updated: Project build image

2024-06-10 Thread marat
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new 0717688c Project build image
0717688c is described below

commit 0717688cc605035a6b3f95910d9891fab9562576
Author: Marat Gubaidullin 
AuthorDate: Mon Jun 10 10:46:22 2024 -0400

Project build image
---
 .../org/apache/camel/karavan/KaravanConstants.java |  2 ++
 .../apache/camel/karavan/docker/DockerForKaravan.java  | 13 +++--
 .../camel/karavan/kubernetes/KubernetesService.java| 18 +++---
 .../org/apache/camel/karavan/service/CodeService.java  | 17 -
 .../apache/camel/karavan/service/ProjectService.java   |  7 ---
 5 files changed, 40 insertions(+), 17 deletions(-)

diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/KaravanConstants.java 
b/karavan-app/src/main/java/org/apache/camel/karavan/KaravanConstants.java
index cf0de596..f0a250e5 100644
--- a/karavan-app/src/main/java/org/apache/camel/karavan/KaravanConstants.java
+++ b/karavan-app/src/main/java/org/apache/camel/karavan/KaravanConstants.java
@@ -19,6 +19,8 @@ package org.apache.camel.karavan;
 public class KaravanConstants {
 
 public static final String DEV_ENVIRONMENT = "dev";
+public static final String DEVMODE_IMAGE = "karavan.devmode.image";
+public static final String DEVMODE_IMAGE_PULL_POLICY = 
"karavan.devmode.withImagePullPolicy";
 public static final String ENV_VAR_JBANG_OPTIONS = "JBANG_OPTIONS";
 
 public static final String LABEL_PART_OF = "app.kubernetes.io/part-of";
diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/docker/DockerForKaravan.java
 
b/karavan-app/src/main/java/org/apache/camel/karavan/docker/DockerForKaravan.java
index 2b5f0445..1489a43c 100644
--- 
a/karavan-app/src/main/java/org/apache/camel/karavan/docker/DockerForKaravan.java
+++ 
b/karavan-app/src/main/java/org/apache/camel/karavan/docker/DockerForKaravan.java
@@ -39,7 +39,7 @@ public class DockerForKaravan {
 
 private static final Logger LOGGER = 
Logger.getLogger(DockerForKaravan.class.getName());
 
-@ConfigProperty(name = "karavan.devmode.image")
+@ConfigProperty(name = DEVMODE_IMAGE)
 String devmodeImage;
 
 @Inject
@@ -49,13 +49,14 @@ public class DockerForKaravan {
 ProjectService projectService;
 
 public void runProjectInDevMode(String projectId, String jBangOptions, 
Map ports,
-Map files) throws 
Exception {
-Container c = createDevmodeContainer(projectId, jBangOptions, ports, 
new HashMap<>());
+Map files, String 
projectDevmodeImage) throws Exception {
+Container c = createDevmodeContainer(projectId, jBangOptions, ports, 
new HashMap<>(), projectDevmodeImage);
 dockerService.runContainer(projectId);
 dockerService.copyFiles(c.getId(), "/karavan/code", files, true);
 }
 
-protected Container createDevmodeContainer(String projectId, String 
jBangOptions, Map ports, Map volumes) throws 
InterruptedException {
+protected Container createDevmodeContainer(String projectId, String 
jBangOptions, Map ports,
+   Map volumes, 
String projectDevmodeImage) throws InterruptedException {
 LOGGER.infof("DevMode starting for %s with JBANG_OPTIONS=%s", 
projectId, jBangOptions);
 
 HealthCheck healthCheck = new HealthCheck().withTest(List.of("CMD", 
"curl", "-f", "http://localhost:8080/q/dev/health;))
@@ -67,7 +68,8 @@ public class DockerForKaravan {
 
 DockerComposeService composeService = 
projectService.getProjectDockerComposeService(projectId);
 
-return dockerService.createContainer(projectId, devmodeImage,
+return dockerService.createContainer(projectId,
+(projectDevmodeImage != null ? projectDevmodeImage : 
devmodeImage),
 env, ports, healthCheck,
 Map.of(LABEL_TYPE, 
PodContainerStatus.ContainerType.devmode.name(),
 LABEL_PROJECT_ID, projectId,
@@ -75,7 +77,6 @@ public class DockerForKaravan {
 ),
 volumes, null, RestartPolicy.noRestart(), false,
 composeService.getCpus(), composeService.getCpu_percent(), 
composeService.getMem_limit(), composeService.getMem_reservation());
-
 }
 
 public void runBuildProject(Project project, String script, List 
env, Map sshFiles, String tag) throws Exception {
diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/kubernetes/KubernetesService.java
 
b/karavan-app/src/main/java/org/apache/camel/karavan/kubernetes/KubernetesService.java
index 8c325a49..0339262f 100644
--- 
a/karavan-app/src/main/java/org/apache/camel/karavan/kubernetes/KubernetesService.java
+++ 

[PR] [3.8.x] Fixed flaky aws2 cw test with real service [camel-quarkus]

2024-06-10 Thread via GitHub


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

   Upstream PR: https://github.com/apache/camel-quarkus/pull/6170
   Cherry-picked: c7bc93814aa6786daca20f1bc7cd1c7430e2
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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 camel-main updated: fixed azure and xchange

2024-06-10 Thread jiriondrusek
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/camel-main by this push:
 new 667d3e3956 fixed azure and xchange
667d3e3956 is described below

commit 667d3e3956bf025fcf7dee187822b5d1228f7ea7
Author: JiriOndrusek 
AuthorDate: Mon Jun 10 16:37:02 2024 +0200

fixed azure and xchange
---
 extensions/xchange/deployment/pom.xml  |  5 +++
 .../xchange/deployment/XchangeProcessor.java   |  7 
 .../deployment/graal/XchangeSubstitutions.java | 44 ++
 pom.xml|  2 +-
 4 files changed, 57 insertions(+), 1 deletion(-)

diff --git a/extensions/xchange/deployment/pom.xml 
b/extensions/xchange/deployment/pom.xml
index 3b3634c567..f30e590245 100644
--- a/extensions/xchange/deployment/pom.xml
+++ b/extensions/xchange/deployment/pom.xml
@@ -42,6 +42,11 @@
 org.apache.camel.quarkus
 camel-quarkus-xchange
 
+
+org.graalvm.sdk
+nativeimage
+provided
+
 
 
 
diff --git 
a/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/XchangeProcessor.java
 
b/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/XchangeProcessor.java
index 158f3f6198..6328d03b00 100644
--- 
a/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/XchangeProcessor.java
+++ 
b/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/XchangeProcessor.java
@@ -109,6 +109,13 @@ class XchangeProcessor {
 .filter(className -> className.startsWith("jakarta.ws.rs"))
 .toArray(String[]::new);
 
reflectiveClass.produce(ReflectiveClassBuildItem.builder(jaxrsAnnotations).methods().build());
+
+//constructors for converters
+String[] converterClasses = 
index.getAllKnownSubclasses("com.fasterxml.jackson.databind.util.StdConverter")
+.stream()
+.map(classInfo -> classInfo.name().toString())
+.toArray(String[]::new);
+
reflectiveClass.produce(ReflectiveClassBuildItem.builder(converterClasses).methods().fields().build());
 }
 
 @BuildStep
diff --git 
a/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/graal/XchangeSubstitutions.java
 
b/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/graal/XchangeSubstitutions.java
new file mode 100644
index 00..7eeac51c19
--- /dev/null
+++ 
b/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/graal/XchangeSubstitutions.java
@@ -0,0 +1,44 @@
+/*
+ * 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.quarkus.component.xchange.deployment.graal;
+
+import com.oracle.svm.core.annotate.Substitute;
+import com.oracle.svm.core.annotate.TargetClass;
+import com.oracle.svm.core.annotate.TargetElement;
+import org.knowm.xchange.binance.config.converter.StringToCurrencyConverter;
+import 
org.knowm.xchange.binance.config.converter.StringToCurrencyPairConverter;
+
+public class XchangeSubstitutions {
+
+@TargetClass(StringToCurrencyPairConverter.class)
+class StringToCurrencyPairConverterSubstitutions {
+
+@Substitute
+@TargetElement(name = TargetElement.CONSTRUCTOR_NAME)
+public StringToCurrencyPairConverterSubstitutions() {
+}
+}
+
+@TargetClass(StringToCurrencyConverter.class)
+class StringToCurrencyConverterSubstitutions {
+
+@Substitute
+@TargetElement(name = TargetElement.CONSTRUCTOR_NAME)
+public StringToCurrencyConverterSubstitutions() {
+}
+}
+}
diff --git a/pom.xml b/pom.xml
index bc28513fa1..5433e6221c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -216,7 +216,7 @@
 
docker.io/rmohr/activemq:5.15.9-alpine
 
quay.io/artemiscloud/activemq-artemis-broker:1.0.20
 

[PR] Use the correct camel spring boot starter for camel export [camel]

2024-06-10 Thread via GitHub


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

   When an exported application is delpoyed on OCP via jkube, 
camel-spring-boot-engine-starter is not enough, camel-spring-boot-starter is 
needed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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 (b295b5134ee -> 0debc6298b0)

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

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


from b295b5134ee Add endpoint service location to backlog tracing (#14447)
 add 0debc6298b0 Regen

No new revisions were added by this update.

Summary of changes:
 .../src/generated/resources/org/apache/camel/catalog/others.properties   | 1 +
 .../resources/org/apache/camel/catalog/others}/openapi-validator.json| 0
 2 files changed, 1 insertion(+)
 copy {components/camel-openapi-validator/src/generated/resources => 
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others}/openapi-validator.json
 (100%)



Re: [PR] CAMEL-20850: camel-core - compress changes in SimpleLRUCache [camel]

2024-06-10 Thread via GitHub


KacT9H commented on code in PR #14424:
URL: https://github.com/apache/camel/pull/14424#discussion_r1633353329


##
core/camel-support/src/main/java/org/apache/camel/support/cache/SimpleLRUCache.java:
##
@@ -248,6 +270,24 @@ private Entry nextOldestChange() {
 return oldest;
 }
 
+/**
+ * Removes duplicates from the queue of changes.
+ */
+private void compressChanges() {

Review Comment:
   Does something guarantee that this method threadsafe? Seems, the cache state 
might be broken, if the 2nd thread reads `this.lastChanges` at the moment when 
1st thread is compressing changes



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

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

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



(camel-website) branch regen_bot updated (a0f182ee -> 7c58bbb2)

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

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


from a0f182ee Create release-4.4.2.md (#1188)
 add 7c58bbb2 chore: camel k 2.3.3 release

No new revisions were added by this update.

Summary of changes:
 content/releases/k/release-2.3.3.md | 12 
 1 file changed, 12 insertions(+)
 create mode 100644 content/releases/k/release-2.3.3.md



Re: [PR] CAMEL-20846: Add capability to configure elasticsearch-rest-client with component options [camel]

2024-06-10 Thread via GitHub


jamesnetherton commented on code in PR #14446:
URL: https://github.com/apache/camel/pull/14446#discussion_r1633344909


##
components/camel-elasticsearch-rest-client/src/main/java/org/apache/camel/component/elasticsearch/rest/client/ElasticsearchRestClientComponent.java:
##
@@ -19,18 +19,162 @@
 import java.util.Map;
 
 import org.apache.camel.Endpoint;
+import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.annotations.Component;
 import org.apache.camel.support.DefaultComponent;
+import org.elasticsearch.client.RestClient;
 
 @Component("elasticsearch-rest-client")
 public class ElasticsearchRestClientComponent extends DefaultComponent {
 
+@Metadata(autowired = true)

Review Comment:
   Thanks for catching it. It's updated now.



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

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

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



Re: [PR] chore: camel k 2.3.3 release [camel-website]

2024-06-10 Thread via GitHub


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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 main updated: chore: camel k 2.3.3 release

2024-06-10 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new 7c58bbb2 chore: camel k 2.3.3 release
7c58bbb2 is described below

commit 7c58bbb2cb9daa2f7fa6e42c2e138fbb3c71d1c6
Author: Pasquale Congiusti 
AuthorDate: Mon Jun 10 15:36:49 2024 +0200

chore: camel k 2.3.3 release
---
 content/releases/k/release-2.3.3.md | 12 
 1 file changed, 12 insertions(+)

diff --git a/content/releases/k/release-2.3.3.md 
b/content/releases/k/release-2.3.3.md
new file mode 100644
index ..1c03f5b8
--- /dev/null
+++ b/content/releases/k/release-2.3.3.md
@@ -0,0 +1,12 @@
+---
+url: "/releases/k-2.3.3/"
+date: 2024-06-10
+type: release-note
+version: "2.3.3"
+title: "Camel-K 2.3.3"
+preview: ""
+changelog: ""
+category: "camel-k"
+milestone: 53
+jdk: [17]
+---



(camel) branch sl deleted (was 148870d655f)

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

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


 was 148870d655f CAMEL-20842: Add endpoint service location to backlog 
tracing

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



(camel) branch main updated: Add endpoint service location to backlog tracing (#14447)

2024-06-10 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 b295b5134ee Add endpoint service location to backlog tracing (#14447)
b295b5134ee is described below

commit b295b5134eea65995dffb4f7ddc9c905c06d0ac1
Author: Claus Ibsen 
AuthorDate: Mon Jun 10 16:20:16 2024 +0200

Add endpoint service location to backlog tracing (#14447)

CAMEL-20842: Add endpoint service location to backlog tracing
---
 .../camel/spi/BacklogTracerEventMessage.java   | 26 ++
 .../apache/camel/spi/EndpointServiceLocation.java  |  2 +-
 .../debugger/DefaultBacklogTracerEventMessage.java | 57 ++
 .../camel/impl/engine/CamelInternalProcessor.java  | 11 +
 .../camel/dsl/jbang/core/commands/Debug.java   |  8 ++-
 .../core/commands/action/CamelSendAction.java  |  2 +-
 .../core/commands/action/CamelStubAction.java  |  2 +-
 .../core/commands/action/CamelTraceAction.java |  8 ++-
 .../core/commands/action/MessageTableHelper.java   | 32 +++-
 .../commands/action/TransformMessageAction.java|  2 +-
 10 files changed, 143 insertions(+), 7 deletions(-)

diff --git 
a/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracerEventMessage.java
 
b/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracerEventMessage.java
index d8ef6204bee..bf2e88adee9 100644
--- 
a/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracerEventMessage.java
+++ 
b/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracerEventMessage.java
@@ -137,6 +137,32 @@ public interface BacklogTracerEventMessage {
  */
 String getEndpointUri();
 
+/**
+ * Gets the endpoint remote address such as URL, hostname, 
connection-string, or cloud region, that are component
+ * specific.
+ *
+ * @return the address or null if no address can be determined.
+ * @seeEndpointServiceLocation
+ */
+String getEndpointServiceUrl();
+
+/**
+ * Get the endpoint protocol the service is using such as http, amqp, tcp.
+ *
+ * @see EndpointServiceLocation
+ */
+String getEndpointServiceProtocol();
+
+/**
+ * Optional endpoint metadata that is relevant to the service as key value 
pairs. Notice that the metadata is not
+ * supposed to contain sensitive security details such as access token, 
api keys, or passwords. Only share
+ * information that can be safely accessed and written to logs.
+ *
+ * @return optional metadata or null if no data
+ * @seeEndpointServiceLocation
+ */
+Map getEndpointServiceMetadata();
+
 /**
  * Dumps the event message as XML using the {@link #ROOT_TAG} as root tag.
  * 
diff --git 
a/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
 
b/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
index 403d652c95c..1a32da721f9 100644
--- 
a/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
+++ 
b/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
@@ -32,7 +32,7 @@ import java.util.Map;
 public interface EndpointServiceLocation {
 
 /**
- * Gets the remote address such as URL, hostname, or connection-string 
that are component specific
+ * Gets the remote address such as URL, hostname, connection-string, or 
cloud region, that are component specific.
  *
  * @return the address or null if no address can be determined.
  */
diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogTracerEventMessage.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogTracerEventMessage.java
index 9fec3c74143..5db7cc4a226 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogTracerEventMessage.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogTracerEventMessage.java
@@ -41,6 +41,9 @@ public final class DefaultBacklogTracerEventMessage 
implements BacklogTracerEven
 private final String exchangeId;
 private final String threadName;
 private String endpointUri;
+private String endpointServiceUrl;
+private String endpointServiceProtocol;
+private Map endpointServiceMetadata;
 private final boolean rest;
 private final boolean template;
 private final String messageAsXml;
@@ -194,6 +197,30 @@ public final class DefaultBacklogTracerEventMessage 
implements BacklogTracerEven
 this.endpointUri = endpointUri;
 }
 
+public String getEndpointServiceUrl() {
+return endpointServiceUrl;
+}
+
+public void setEndpointServiceUrl(String endpointServiceUrl) {
+this.endpointServiceUrl = endpointServiceUrl;
+}
+
+public String 

Re: [PR] Add endpoint service location to backlog tracing [camel]

2024-06-10 Thread via GitHub


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


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

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

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



[PR] chore(release): bump last released version to 2.3.3 [camel-k]

2024-06-10 Thread via GitHub


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

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


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

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

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



[PR] [release-2.3.x] chore(release): bump next version to 2.3.4-SNAPSHOT [camel-k]

2024-06-10 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20846: Add capability to configure elasticsearch-rest-client with component options [camel]

2024-06-10 Thread via GitHub


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


##
components/camel-elasticsearch-rest-client/src/main/java/org/apache/camel/component/elasticsearch/rest/client/ElasticsearchRestClientComponent.java:
##
@@ -19,18 +19,162 @@
 import java.util.Map;
 
 import org.apache.camel.Endpoint;
+import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.annotations.Component;
 import org.apache.camel.support.DefaultComponent;
+import org.elasticsearch.client.RestClient;
 
 @Component("elasticsearch-rest-client")
 public class ElasticsearchRestClientComponent extends DefaultComponent {
 
+@Metadata(autowired = true)

Review Comment:
   label = advanced



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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-karavan) branch main updated: Small fixes

2024-06-10 Thread marat
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new f7c7245d Small fixes
f7c7245d is described below

commit f7c7245df63e343ee30b1e880e97d541910d060d
Author: Marat Gubaidullin 
AuthorDate: Mon Jun 10 10:16:23 2024 -0400

Small fixes
---
 .../apache/camel/karavan/service/ProjectService.java | 20 
 .../webui/src/project/container/ContainerPanel.tsx   |  2 +-
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/ProjectService.java
 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/ProjectService.java
index f718cbf0..bc42e4ca 100644
--- 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/ProjectService.java
+++ 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/ProjectService.java
@@ -314,14 +314,18 @@ public class ProjectService {
 }
 
 private int getMaxPortMappedInProjects() {
-List files =  
karavanCache.getProjectFilesByName(PROJECT_COMPOSE_FILENAME).stream()
-.filter(f -> !Objects.equals(f.getProjectId(), 
Project.Type.templates.name())).toList();
-if (!files.isEmpty()) {
-return files.stream().map(this::getProjectPort)
-.filter(Objects::nonNull)
-.mapToInt(Integer::intValue)
-.max().orElse(INTERNAL_PORT);
-} else {
+try {
+List files = 
karavanCache.getProjectFilesByName(PROJECT_COMPOSE_FILENAME).stream()
+.filter(f -> !Objects.equals(f.getProjectId(), 
Project.Type.templates.name())).toList();
+if (!files.isEmpty()) {
+return files.stream().map(this::getProjectPort)
+.filter(Objects::nonNull)
+.mapToInt(Integer::intValue)
+.max().orElse(INTERNAL_PORT);
+} else {
+return INTERNAL_PORT;
+}
+} catch (Exception e) {
 return INTERNAL_PORT;
 }
 }
diff --git 
a/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx 
b/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx
index 9c8846ff..cf3a6f7c 100644
--- a/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx
+++ b/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx
@@ -89,7 +89,7 @@ export function ContainerPanel(props: Props) {
 
 const env = props.env;
 const conts = containers
-.filter(c => c.env == env)
+.filter(c => c.env === env)
 .filter(d => d.projectId === project?.projectId && d.type === 
'project');
 return (
 

(camel-k) branch main updated: chore: release minor changes

2024-06-10 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 94004ef08 chore: release minor changes
94004ef08 is described below

commit 94004ef0809536fe634d8391222662c9d1d5cdfc
Author: Pasquale Congiusti 
AuthorDate: Mon Jun 10 16:15:47 2024 +0200

chore: release minor changes
---
 release.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/release.adoc b/release.adoc
index 4d0609e6a..a6c3a048a 100644
--- a/release.adoc
+++ b/release.adoc
@@ -279,7 +279,7 @@ Once the release process is complete, we must prepare the 
configuration for next
 ```
 git pull
 make bump VERSION=-SNAPSHOT 
LAST_RELEASED_VERSION=
-git commit -a -m "chore: bump next version to -SNAPSHOT"
+git commit -a -m "chore(release): bump next version to -SNAPSHOT"
 git push origin HEAD:release-a.b.x
 ```
 Where  represents the new version you want to bump and 
 the version that was previously released.
@@ -290,7 +290,7 @@ If you're releasing a minor or a major version, then, you 
need also to bump the
 git checkout main
 git pull
 make bump VERSION=-SNAPSHOT 
LAST_RELEASED_VERSION=
-git commit -a -m "chore: bump next version to -SNAPSHOT"
+git commit -a -m "chore(release): bump next version to -SNAPSHOT"
 git push origin HEAD:main
 ```
 Now, the release process is completed. Thanks for taking care. Make sure to 
remove the local repository on your machine to avoid any further update on the 
project by mistake.



(camel-karavan) branch main updated: Small fixes

2024-06-10 Thread marat
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new c6cda9e1 Small fixes
c6cda9e1 is described below

commit c6cda9e1559468c79836f71a9adf8c8d62e80596
Author: Marat Gubaidullin 
AuthorDate: Mon Jun 10 10:10:58 2024 -0400

Small fixes
---
 .../java/org/apache/camel/karavan/KaravanCache.java  | 16 
 .../org/apache/camel/karavan/KaravanConstants.java   |  2 +-
 .../apache/camel/karavan/KaravanStartupLoader.java   |  4 ++--
 .../apache/camel/karavan/service/CodeService.java| 10 +++---
 .../apache/camel/karavan/service/ProjectService.java |  4 ++--
 .../src/main/webui/src/project/ProjectPage.tsx   |  7 +--
 .../webui/src/project/container/ContainerButtons.tsx |  1 -
 .../webui/src/project/container/ContainerPanel.tsx   |  2 --
 .../src/project/trace/RunnerInfoTraceMessage.tsx | 20 +++-
 9 files changed, 28 insertions(+), 38 deletions(-)

diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/KaravanCache.java 
b/karavan-app/src/main/java/org/apache/camel/karavan/KaravanCache.java
index fae5d6d8..4b0e21a1 100644
--- a/karavan-app/src/main/java/org/apache/camel/karavan/KaravanCache.java
+++ b/karavan-app/src/main/java/org/apache/camel/karavan/KaravanCache.java
@@ -28,7 +28,7 @@ import java.util.Objects;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.stream.Collectors;
 
-import static org.apache.camel.karavan.KaravanConstants.DEFAULT_ENVIRONMENT;
+import static org.apache.camel.karavan.KaravanConstants.DEV_ENVIRONMENT;
 
 @Default
 @Singleton
@@ -86,7 +86,7 @@ public class KaravanCache {
 }
 
 public void saveProject(Project project) {
-var key = GroupedKey.create(project.getProjectId(), 
DEFAULT_ENVIRONMENT, project.getProjectId());
+var key = GroupedKey.create(project.getProjectId(), DEV_ENVIRONMENT, 
project.getProjectId());
 projects.put(key, project);
 }
 
@@ -109,9 +109,9 @@ public class KaravanCache {
 }
 
 public void saveProjectFile(ProjectFile file, boolean commited) {
-files.put(GroupedKey.create(file.getProjectId(), DEFAULT_ENVIRONMENT, 
file.getName()), file);
+files.put(GroupedKey.create(file.getProjectId(), DEV_ENVIRONMENT, 
file.getName()), file);
 if (commited) {
-filesCommited.put(GroupedKey.create(file.getProjectId(), 
DEFAULT_ENVIRONMENT, file.getName()), file);
+filesCommited.put(GroupedKey.create(file.getProjectId(), 
DEV_ENVIRONMENT, file.getName()), file);
 }
 }
 
@@ -134,7 +134,7 @@ public class KaravanCache {
 }
 
 public void deleteProjectFile(String projectId, String filename) {
-files.remove(GroupedKey.create(projectId, DEFAULT_ENVIRONMENT, 
filename));
+files.remove(GroupedKey.create(projectId, DEV_ENVIRONMENT, filename));
 }
 
 public List getProjectFilesCommited(String projectId) {
@@ -147,15 +147,15 @@ public class KaravanCache {
 }
 
 public void deleteProjectFileCommited(String projectId, String filename) {
-filesCommited.remove(GroupedKey.create(projectId, DEFAULT_ENVIRONMENT, 
filename));
+filesCommited.remove(GroupedKey.create(projectId, DEV_ENVIRONMENT, 
filename));
 }
 
 public void deleteProject(String projectId) {
-projects.remove(GroupedKey.create(projectId, DEFAULT_ENVIRONMENT, 
projectId));
+projects.remove(GroupedKey.create(projectId, DEV_ENVIRONMENT, 
projectId));
 }
 
 public Project getProject(String projectId) {
-return projects.get(GroupedKey.create(projectId, DEFAULT_ENVIRONMENT, 
projectId));
+return projects.get(GroupedKey.create(projectId, DEV_ENVIRONMENT, 
projectId));
 }
 
 public DeploymentStatus getDeploymentStatus(String projectId, String 
environment) {
diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/KaravanConstants.java 
b/karavan-app/src/main/java/org/apache/camel/karavan/KaravanConstants.java
index c9666b23..cf0de596 100644
--- a/karavan-app/src/main/java/org/apache/camel/karavan/KaravanConstants.java
+++ b/karavan-app/src/main/java/org/apache/camel/karavan/KaravanConstants.java
@@ -18,7 +18,7 @@ package org.apache.camel.karavan;
 
 public class KaravanConstants {
 
-public static final String DEFAULT_ENVIRONMENT = "dev";
+public static final String DEV_ENVIRONMENT = "dev";
 public static final String ENV_VAR_JBANG_OPTIONS = "JBANG_OPTIONS";
 
 public static final String LABEL_PART_OF = "app.kubernetes.io/part-of";
diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/KaravanStartupLoader.java 
b/karavan-app/src/main/java/org/apache/camel/karavan/KaravanStartupLoader.java
index 600a781d..25dc8a46 100644
--- 
a/karavan-app/src/main/java/org/apache/camel/karavan/KaravanStartupLoader.java
+++ 

Re: [PR] Add endpoint service location to backlog tracing [camel]

2024-06-10 Thread via GitHub


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

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


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

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

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



[PR] Add endpoint service location to backlog tracing [camel]

2024-06-10 Thread via GitHub


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

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


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

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

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



(camel) 03/04: CAMEL-20842: Add endpoint service location to backlog tracing

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

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

commit 7f552a5db1afd6ec30f0d39b4b4e9d619828b6ae
Author: Claus Ibsen 
AuthorDate: Mon Jun 10 15:56:37 2024 +0200

CAMEL-20842: Add endpoint service location to backlog tracing
---
 .../camel/dsl/jbang/core/commands/Debug.java   |  7 -
 .../core/commands/action/CamelSendAction.java  |  2 +-
 .../core/commands/action/CamelStubAction.java  |  2 +-
 .../core/commands/action/CamelTraceAction.java |  7 -
 .../core/commands/action/MessageTableHelper.java   | 30 +-
 .../commands/action/TransformMessageAction.java|  2 +-
 6 files changed, 44 insertions(+), 6 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
index 49367ed2fd2..11e3e1cfc62 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
@@ -369,6 +369,10 @@ public class Debug extends Run {
 }
 row.endpoint.put("endpoint", uri);
 }
+JsonObject es = jo.getMap("endpointService");
+if (es != null) {
+row.endpointService = es;
+}
 Long ts = jo.getLong("timestamp");
 if (ts != null) {
 row.timestamp = ts;
@@ -740,7 +744,7 @@ public class Debug extends Run {
 }
 
 private String getDataAsTable(SuspendedRow r) {
-return tableHelper.getDataAsTable(r.exchangeId, r.exchangePattern, 
r.endpoint, r.message, r.exception);
+return tableHelper.getDataAsTable(r.exchangeId, r.exchangePattern, 
r.endpoint, r.endpointService, r.message, r.exception);
 }
 
 private String getStatus(SuspendedRow r) {
@@ -815,6 +819,7 @@ public class Debug extends Run {
 boolean done;
 boolean failed;
 JsonObject endpoint;
+JsonObject endpointService;
 JsonObject message;
 JsonObject exception;
 List code = new ArrayList<>();
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelSendAction.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelSendAction.java
index c5f786e4d52..266b576a11c 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelSendAction.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelSendAction.java
@@ -173,7 +173,7 @@ public class CamelSendAction extends ActionBaseCommand {
 tableHelper.setPretty(pretty);
 tableHelper.setLoggingColor(loggingColor);
 
tableHelper.setShowExchangeProperties(showExchangeProperties);
-String table = tableHelper.getDataAsTable(exchangeId, mep, 
jo, message, cause);
+String table = tableHelper.getDataAsTable(exchangeId, mep, 
jo, null, message, cause);
 printer().println(table);
 }
 }
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelStubAction.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelStubAction.java
index 1375fb53343..32880c2d5d3 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelStubAction.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelStubAction.java
@@ -294,7 +294,7 @@ public class CamelStubAction extends ActionWatchCommand {
 }
 String data
 = 
tableHelper.getDataAsTable(root.getString("exchangeId"), 
root.getString("exchangePattern"),
-row.endpoint, root, null);
+row.endpoint, null, root, null);
 if (data != null) {
 String[] lines = 
data.split(System.lineSeparator());
 if (lines.length > 0) {
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelTraceAction.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelTraceAction.java
index 36d32527b4a..49a26e6f9eb 100644
--- 

(camel) 02/04: CAMEL-20842: Add endpoint service location to backlog tracing

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

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

commit bdfea5bc8c64fcf3cf4c0642006601838ce2a259
Author: Claus Ibsen 
AuthorDate: Mon Jun 10 15:18:25 2024 +0200

CAMEL-20842: Add endpoint service location to backlog tracing
---
 .../camel/spi/BacklogTracerEventMessage.java   | 26 ++
 .../apache/camel/spi/EndpointServiceLocation.java  |  3 +-
 .../debugger/DefaultBacklogTracerEventMessage.java | 57 ++
 .../camel/impl/engine/CamelInternalProcessor.java  | 11 +
 4 files changed, 95 insertions(+), 2 deletions(-)

diff --git 
a/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracerEventMessage.java
 
b/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracerEventMessage.java
index d8ef6204bee..bf2e88adee9 100644
--- 
a/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracerEventMessage.java
+++ 
b/core/camel-api/src/main/java/org/apache/camel/spi/BacklogTracerEventMessage.java
@@ -137,6 +137,32 @@ public interface BacklogTracerEventMessage {
  */
 String getEndpointUri();
 
+/**
+ * Gets the endpoint remote address such as URL, hostname, 
connection-string, or cloud region, that are component
+ * specific.
+ *
+ * @return the address or null if no address can be determined.
+ * @seeEndpointServiceLocation
+ */
+String getEndpointServiceUrl();
+
+/**
+ * Get the endpoint protocol the service is using such as http, amqp, tcp.
+ *
+ * @see EndpointServiceLocation
+ */
+String getEndpointServiceProtocol();
+
+/**
+ * Optional endpoint metadata that is relevant to the service as key value 
pairs. Notice that the metadata is not
+ * supposed to contain sensitive security details such as access token, 
api keys, or passwords. Only share
+ * information that can be safely accessed and written to logs.
+ *
+ * @return optional metadata or null if no data
+ * @seeEndpointServiceLocation
+ */
+Map getEndpointServiceMetadata();
+
 /**
  * Dumps the event message as XML using the {@link #ROOT_TAG} as root tag.
  * 
diff --git 
a/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
 
b/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
index 3dfb0c9efde..1a32da721f9 100644
--- 
a/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
+++ 
b/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
@@ -32,8 +32,7 @@ import java.util.Map;
 public interface EndpointServiceLocation {
 
 /**
- * Gets the remote address such as URL, hostname, connection-string,
- * or cloud region, that are component specific.
+ * Gets the remote address such as URL, hostname, connection-string, or 
cloud region, that are component specific.
  *
  * @return the address or null if no address can be determined.
  */
diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogTracerEventMessage.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogTracerEventMessage.java
index 9fec3c74143..5db7cc4a226 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogTracerEventMessage.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogTracerEventMessage.java
@@ -41,6 +41,9 @@ public final class DefaultBacklogTracerEventMessage 
implements BacklogTracerEven
 private final String exchangeId;
 private final String threadName;
 private String endpointUri;
+private String endpointServiceUrl;
+private String endpointServiceProtocol;
+private Map endpointServiceMetadata;
 private final boolean rest;
 private final boolean template;
 private final String messageAsXml;
@@ -194,6 +197,30 @@ public final class DefaultBacklogTracerEventMessage 
implements BacklogTracerEven
 this.endpointUri = endpointUri;
 }
 
+public String getEndpointServiceUrl() {
+return endpointServiceUrl;
+}
+
+public void setEndpointServiceUrl(String endpointServiceUrl) {
+this.endpointServiceUrl = endpointServiceUrl;
+}
+
+public String getEndpointServiceProtocol() {
+return endpointServiceProtocol;
+}
+
+public void setEndpointServiceProtocol(String endpointServiceProtocol) {
+this.endpointServiceProtocol = endpointServiceProtocol;
+}
+
+public Map getEndpointServiceMetadata() {
+return endpointServiceMetadata;
+}
+
+public void setEndpointServiceMetadata(Map 
endpointServiceMetadata) {
+this.endpointServiceMetadata = endpointServiceMetadata;
+}
+
 @Override
 public String toString() {
 return "DefaultBacklogTracerEventMessage[" + exchangeId + " at " + 
toNode + 

(camel) 04/04: CAMEL-20842: Add endpoint service location to backlog tracing

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

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

commit 148870d655fa142a145b781264628341078884e6
Author: Claus Ibsen 
AuthorDate: Mon Jun 10 16:00:20 2024 +0200

CAMEL-20842: Add endpoint service location to backlog tracing
---
 .../java/org/apache/camel/dsl/jbang/core/commands/Debug.java   |  3 ++-
 .../camel/dsl/jbang/core/commands/action/CamelTraceAction.java |  3 ++-
 .../dsl/jbang/core/commands/action/MessageTableHelper.java | 10 ++
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
index 11e3e1cfc62..f20d7c80735 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Debug.java
@@ -744,7 +744,8 @@ public class Debug extends Run {
 }
 
 private String getDataAsTable(SuspendedRow r) {
-return tableHelper.getDataAsTable(r.exchangeId, r.exchangePattern, 
r.endpoint, r.endpointService, r.message, r.exception);
+return tableHelper.getDataAsTable(r.exchangeId, r.exchangePattern, 
r.endpoint, r.endpointService, r.message,
+r.exception);
 }
 
 private String getStatus(SuspendedRow r) {
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelTraceAction.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelTraceAction.java
index 49a26e6f9eb..e15cba05773 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelTraceAction.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelTraceAction.java
@@ -724,7 +724,8 @@ public class CamelTraceAction extends ActionBaseCommand {
 }
 
 private String getDataAsTable(Row r) {
-return tableHelper.getDataAsTable(r.exchangeId, r.exchangePattern, 
r.endpoint, r.endpointService, r.message, r.exception);
+return tableHelper.getDataAsTable(r.exchangeId, r.exchangePattern, 
r.endpoint, r.endpointService, r.message,
+r.exception);
 }
 
 private String getElapsed(Row r) {
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/MessageTableHelper.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/MessageTableHelper.java
index 070e771e857..b7fdc7cadeb 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/MessageTableHelper.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/MessageTableHelper.java
@@ -128,10 +128,12 @@ public class MessageTableHelper {
 String data = "(" + sj + ")";
 eRow2 = new TableRow(null, null, null, data);
 }
-tab0b = AsciiTable.getTable(AsciiTable.NO_BORDERS, eRow2 != null ? 
List.of(eRow, eRow2) : List.of(eRow), Arrays.asList(
-new Column().dataAlign(HorizontalAlign.LEFT)
-.minWidth(showExchangeProperties || 
showExchangeVariables ? 12 : 10).with(TableRow::kindAsString),
-new 
Column().dataAlign(HorizontalAlign.LEFT).with(TableRow::valueAsString)));
+tab0b = AsciiTable.getTable(AsciiTable.NO_BORDERS, eRow2 != null ? 
List.of(eRow, eRow2) : List.of(eRow),
+Arrays.asList(
+new Column().dataAlign(HorizontalAlign.LEFT)
+.minWidth(showExchangeProperties || 
showExchangeVariables ? 12 : 10)
+.with(TableRow::kindAsString),
+new 
Column().dataAlign(HorizontalAlign.LEFT).with(TableRow::valueAsString)));
 }
 
 if (root != null) {



(camel) 01/04: CAMEL-20842: Add endpoint service location to backlog tracing

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

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

commit 68f4297524bdc006489f69c545aa95ef4eb5c73a
Author: Claus Ibsen 
AuthorDate: Mon Jun 10 14:41:55 2024 +0200

CAMEL-20842: Add endpoint service location to backlog tracing
---
 .../src/main/java/org/apache/camel/spi/EndpointServiceLocation.java| 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
 
b/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
index 403d652c95c..3dfb0c9efde 100644
--- 
a/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
+++ 
b/core/camel-api/src/main/java/org/apache/camel/spi/EndpointServiceLocation.java
@@ -32,7 +32,8 @@ import java.util.Map;
 public interface EndpointServiceLocation {
 
 /**
- * Gets the remote address such as URL, hostname, or connection-string 
that are component specific
+ * Gets the remote address such as URL, hostname, connection-string,
+ * or cloud region, that are component specific.
  *
  * @return the address or null if no address can be determined.
  */



(camel) branch sl created (now 148870d655f)

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

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


  at 148870d655f CAMEL-20842: Add endpoint service location to backlog 
tracing

This branch includes the following new commits:

 new 68f4297524b CAMEL-20842: Add endpoint service location to backlog 
tracing
 new bdfea5bc8c6 CAMEL-20842: Add endpoint service location to backlog 
tracing
 new 7f552a5db1a CAMEL-20842: Add endpoint service location to backlog 
tracing
 new 148870d655f CAMEL-20842: Add endpoint service location to backlog 
tracing

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




(camel-k) 01/01: chore(release): helm 2.3.3

2024-06-10 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

commit 66bdccfd13dcbbca26d1c32656659529e374141c
Author: Pasquale Congiusti 
AuthorDate: Mon Jun 10 15:49:55 2024 +0200

chore(release): helm 2.3.3
---
 docs/charts/camel-k-2.3.3.tgz | Bin 0 -> 275950 bytes
 docs/charts/index.yaml|  27 +++
 2 files changed, 27 insertions(+)

diff --git a/docs/charts/camel-k-2.3.3.tgz b/docs/charts/camel-k-2.3.3.tgz
new file mode 100644
index 0..fc9a3c59e
Binary files /dev/null and b/docs/charts/camel-k-2.3.3.tgz differ
diff --git a/docs/charts/index.yaml b/docs/charts/index.yaml
index 18acd5ad5..cc6d16075 100644
--- a/docs/charts/index.yaml
+++ b/docs/charts/index.yaml
@@ -1,6 +1,33 @@
 apiVersion: v1
 entries:
   camel-k:
+  - apiVersion: v2
+appVersion: 2.3.3
+created: "2024-06-10T15:48:52.865992809+02:00"
+description: A lightweight integration platform, born on Kubernetes, with 
serverless
+  superpowers
+digest: 8aaf3f853149d9f98b3c51b895efd6c4471d8a1651230a54d09901e7199cad72
+home: https://camel.apache.org/camel-k/latest/
+icon: https://github.com/apache/camel/raw/main/docs/img/logo64-d.png
+keywords:
+- serverless
+- integration
+- patterns
+maintainers:
+- email: pcongiu...@apache.org
+  name: pcongiusti
+- email: acosent...@apache.org
+  name: acosentino
+name: camel-k
+sources:
+- https://github.com/apache/camel-k
+- https://github.com/apache/camel-k-runtime
+- https://github.com/apache/camel-quarkus
+- https://github.com/apache/camel
+type: application
+urls:
+- https://apache.github.io/camel-k/charts/camel-k-2.3.3.tgz
+version: 2.3.3
   - apiVersion: v2
 appVersion: 2.3.2
 created: "2024-06-04T10:03:32.500624078+02:00"



(camel-k) branch main updated (566dfcdbb -> 66bdccfd1)

2024-06-10 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

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


omit 566dfcdbb fix/5484 remove problematic reporting
omit 29da4af4f fix/5484 remove CAMEL_K_TEST_SKIP_PROBLEMATIC var
omit 6f2599585 chore: nightly automatic updates
omit 6d89fd624 chore: nightly automatic updates
omit e4d08e6c0 Use 'kubectl create' with prometheus bundle
omit 964d43889 chore(doc): commit release convention
 new 66bdccfd1 chore(release): helm 2.3.3

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   (566dfcdbb)
\
 N -- N -- N   refs/heads/main (66bdccfd1)

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

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

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


Summary of changes:
 .github/actions/e2e-builder/action.yml |   6 +
 .github/actions/e2e-common/action.yml  |   6 +
 .github/actions/e2e-install-olm/action.yml |   6 +
 .github/actions/e2e-install-upgrade/action.yml |   6 +
 .github/actions/e2e-install/action.yml |   6 +
 .github/actions/e2e-knative-yaks/action.yml|   6 +
 .github/actions/e2e-knative/action.yml |   6 +
 .github/actions/e2e-native/action.yml  |   6 +
 .github/actions/e2e-telemetry/action.yml   |   6 +
 .../action.yml |  17 +-
 .../report-problematic.sh} |  65 ++--
 .github/workflows/builder.yml  |   5 +
 .github/workflows/common.yml   |   6 +
 .github/workflows/install.yml  |   7 +
 .github/workflows/knative.yml  |   5 +
 .github/workflows/manual-exec-process-inputs.sh|  10 +
 .github/workflows/native.yml   |   5 +
 .github/workflows/telemetry.yml|   5 +
 CHANGELOG.md   | 407 ++---
 README.adoc|   2 +-
 badge.out  |   2 +-
 coverage   |   2 +-
 coverage.out   |   6 +-
 docs/charts/camel-k-2.3.3.tgz  | Bin 0 -> 275950 bytes
 docs/charts/index.yaml |  27 ++
 docs/modules/ROOT/pages/contributing/e2e.adoc  |   6 +-
 .../ROOT/pages/observability/monitoring.adoc   |   2 +-
 e2e/README.md  |   3 +-
 e2e/advanced/operator_metrics_test.go  |   7 +
 e2e/common/cli/dev_mode_test.go|   5 +
 e2e/common/cli/run_test.go |  10 +
 release.adoc   |   6 +-
 32 files changed, 415 insertions(+), 249 deletions(-)
 copy .github/actions/{kamel-install-knative => 
kamel-report-problematic}/action.yml (70%)
 copy .github/actions/{kamel-install-cluster-setup/install-cluster-setup.sh => 
kamel-report-problematic/report-problematic.sh} (50%)
 create mode 100644 docs/charts/camel-k-2.3.3.tgz



Re: [I] Quarkus 3.8.4; Camel 4.4.2 in dev mode on local machine windows run but on linux openjdk 17 start failed.... [camel-quarkus]

2024-06-10 Thread via GitHub


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

   > i dont know customize a Server TLS and Client TLS for do MutualTLS in the 
same route.
   > What are the properties for do that ? i have a micro service Quarkus Camel 
this service is Server with Truststore, and Client with Keystrore to can call 
other micro service.
   
   It depends which components you are using. For example, if you're using 
`platform-http` as the HTTP server consumer, then you can secure it by 
following this guide:
   
   https://quarkus.io/guides/http-reference#ssl
   
   And if you're using camel-http as the HTTP producer, you can use the 
`sslContextParameters` option to set up your teststore etc:
   
   
https://camel.apache.org/components/4.4.x/http-component.html#_component_option_sslContextParameters
   
   Otherwise, check the component documentation and see what options they have 
for security.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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: Improve Knative trigger filter [camel-k]

2024-06-10 Thread via GitHub


christophd commented on PR #5597:
URL: https://github.com/apache/camel-k/pull/5597#issuecomment-2158410271

   @lburgazzoli this PR does not include the support for the extended triggers 
in Knative. At the moment the extended triggers are experimental and we would 
need more logic on the Knative trait to support the extended filters for the 
trigger. 
   
   But yes, the Pipe configuring the extended Knative triggers via traits is 
one possible option.


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

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

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



[PR] chore: camel k 2.3.3 release [camel-website]

2024-06-10 Thread via GitHub


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

   (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] CAMEL-20846: Add capability to configure elasticsearch-rest-client with component options [camel]

2024-06-10 Thread via GitHub


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

   (no comment)


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

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

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



Re: [PR] CAMEL-20846: Add capability to configure elasticsearch-rest-client with component options [camel]

2024-06-10 Thread via GitHub


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

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


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

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

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



svn commit: r69617 - /dev/camel/camel-k/2.3.3/ /release/camel/camel-k/2.3.3/

2024-06-10 Thread pcongiusti
Author: pcongiusti
Date: Mon Jun 10 13:25:41 2024
New Revision: 69617

Log:
Promote release from dev to release

Added:
release/camel/camel-k/2.3.3/
  - copied from r69616, dev/camel/camel-k/2.3.3/
Removed:
dev/camel/camel-k/2.3.3/



Re: [PR] fix: Improve Knative trigger filter [camel-k]

2024-06-10 Thread via GitHub


lburgazzoli commented on PR #5597:
URL: https://github.com/apache/camel-k/pull/5597#issuecomment-2158370800

   Does it also relate to https://github.com/apache/camel-k/issues/3378 ?


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

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

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



(camel-karaf) branch main updated: Add camel-quartz integration test (#334)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new d39b25594 Add camel-quartz integration test (#334)
d39b25594 is described below

commit d39b25594c919ad26d4ff4a82767087849f63ddd
Author: ÖZGÜR KISIR <157804972+ozgurkisir-q...@users.noreply.github.com>
AuthorDate: Mon Jun 10 16:11:46 2024 +0300

Add camel-quartz integration test (#334)
---
 tests/features/camel-quartz/pom.xml| 33 +
 .../main/resources/OSGI-INF/blueprint/route.xml| 38 
 .../apache/karaf/camel/itest/CamelQuartzITest.java | 41 ++
 tests/features/pom.xml |  1 +
 4 files changed, 113 insertions(+)

diff --git a/tests/features/camel-quartz/pom.xml 
b/tests/features/camel-quartz/pom.xml
new file mode 100644
index 0..5a9414b31
--- /dev/null
+++ b/tests/features/camel-quartz/pom.xml
@@ -0,0 +1,33 @@
+
+
+http://maven.apache.org/POM/4.0.0;
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+4.0.0
+
+org.apache.camel.karaf
+camel-karaf-features-test
+4.6.0-SNAPSHOT
+
+
+camel-quartz-test
+Apache Camel :: Karaf :: Tests :: Features :: Quartz
+
+
\ No newline at end of file
diff --git 
a/tests/features/camel-quartz/src/main/resources/OSGI-INF/blueprint/route.xml 
b/tests/features/camel-quartz/src/main/resources/OSGI-INF/blueprint/route.xml
new file mode 100644
index 0..aba2769a4
--- /dev/null
+++ 
b/tests/features/camel-quartz/src/main/resources/OSGI-INF/blueprint/route.xml
@@ -0,0 +1,38 @@
+
+
+http://www.osgi.org/xmlns/blueprint/v1.0.0;
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
+   
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0;
+   xsi:schemaLocation="
+ http://www.osgi.org/xmlns/blueprint/v1.0.0 
https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
+ http://camel.apache.org/schema/blueprint 
http://camel.apache.org/schema/blueprint/camel-blueprint.xsd;>
+
+http://camel.apache.org/schema/blueprint;>
+
+
+
+1000
+
+
+OK
+
+
+
+
+
+
\ No newline at end of file
diff --git 
a/tests/features/camel-quartz/src/test/java/org/apache/karaf/camel/itest/CamelQuartzITest.java
 
b/tests/features/camel-quartz/src/test/java/org/apache/karaf/camel/itest/CamelQuartzITest.java
new file mode 100644
index 0..ed6d65e0f
--- /dev/null
+++ 
b/tests/features/camel-quartz/src/test/java/org/apache/karaf/camel/itest/CamelQuartzITest.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed 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.karaf.camel.itest;
+
+import org.apache.camel.component.mock.MockEndpoint;
+import 
org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteITest;
+import org.apache.karaf.camel.itests.CamelKarafTestHint;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.junit.PaxExam;
+import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
+import org.ops4j.pax.exam.spi.reactors.PerClass;
+
+
+@CamelKarafTestHint(isBlueprintTest = true)
+@RunWith(PaxExam.class)
+@ExamReactorStrategy(PerClass.class)
+public class CamelQuartzITest extends 
AbstractCamelSingleFeatureResultMockBasedRouteITest {
+
+@Override
+public void configureMock(MockEndpoint mock) {
+mock.expectedBodiesReceived("OK");
+}
+
+@Test
+public void testResultMock() throws Exception {
+assertMockEndpointsSatisfied();
+}
+
+}
\ No newline at end of file
diff --git a/tests/features/pom.xml b/tests/features/pom.xml
index 0bae83165..26c3990f8 100644
--- a/tests/features/pom.xml
+++ b/tests/features/pom.xml
@@ -47,6 +47,7 @@
 camel-jetty
 camel-netty-http
 camel-mail
+camel-quartz
 camel-spring-rabbitmq
 
 



Re: [PR] Add camel-quartz integration test [camel-karaf]

2024-06-10 Thread via GitHub


essobedo merged PR #334:
URL: https://github.com/apache/camel-karaf/pull/334


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please 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] Add hazelcast integration test [camel-karaf]

2024-06-10 Thread via GitHub


essobedo commented on code in PR #335:
URL: https://github.com/apache/camel-karaf/pull/335#discussion_r1633223845


##
tests/features/camel-hazelcast/src/main/java/org/apache/karaf/camel/test/CamelHazelcastRouteSupplier.java:
##
@@ -0,0 +1,125 @@
+/*
+ * 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.karaf.camel.test;
+
+import static org.apache.camel.builder.Builder.constant;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.Exchange;
+import org.apache.camel.Route;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.hazelcast.HazelcastConstants;
+import org.apache.camel.component.hazelcast.HazelcastDefaultComponent;
+import org.apache.camel.component.hazelcast.HazelcastOperation;
+import org.apache.camel.component.hazelcast.policy.HazelcastRoutePolicy;
+import org.apache.camel.impl.engine.DurationRoutePolicy;
+import org.apache.camel.model.RouteDefinition;
+import org.apache.camel.spi.RoutePolicy;
+import org.apache.camel.support.RoutePolicySupport;
+import 
org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteSupplier;
+import org.apache.karaf.camel.itests.CamelRouteSupplier;
+import org.osgi.service.component.annotations.Component;
+
+import com.hazelcast.config.*;

Review Comment:
   No wildcard import please



##
tests/features/camel-hazelcast/src/test/java/org/apache/karaf/camel/itest/CamelHazelcastITest.java:
##
@@ -0,0 +1,59 @@
+/*
+ * Licensed 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.karaf.camel.itest;
+
+import java.util.Collections;
+import java.util.List;
+
+import org.apache.camel.component.mock.MockEndpoint;
+import 
org.apache.karaf.camel.itests.AbstractCamelSingleFeatureResultMockBasedRouteITest;
+import org.apache.karaf.camel.itests.AvailablePortProvider;
+import org.apache.karaf.camel.itests.CamelKarafTestHint;
+import org.apache.karaf.camel.itests.PaxExamWithExternalResource;
+import org.junit.After;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
+import org.ops4j.pax.exam.spi.reactors.PerClass;
+
+@CamelKarafTestHint(externalResourceProvider = 
CamelHazelcastITest.ExternalResourceProviders.class)
+@RunWith(PaxExamWithExternalResource.class)
+@ExamReactorStrategy(PerClass.class)
+public class CamelHazelcastITest extends 
AbstractCamelSingleFeatureResultMockBasedRouteITest {
+
+private static final int HZ_PORT = 5701;
+
+@Override
+public void configureMock(MockEndpoint mock) {
+//Map + replicated Map + 2 for list + Queue + Set + Topic
+mock.expectedBodiesReceived( Collections.nCopies(7, "OK"));
+}
+
+@Test
+public void testResultMock() throws Exception {
+assertMockEndpointsSatisfied();
+}
+
+@After
+public void stopCamelContext() {
+//to trigger graceful shutdown of hazelcast components before 
uninstalling bundles
+getContext().stop();
+}

Review Comment:
   Should be moved to the integration test framework, don't you agree?



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

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

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



  1   2   3   >