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

2023-12-05 Thread via GitHub


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

   The 
[quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) 
branch build has failed:
   
   * Build ID: 7095283279-1321-ff550852-7552-4497-b5bd-e025793c0e4a
   * Camel Quarkus Commit: 4e2bdeed4956c81b4cfa0a094c44bb0f9a209b8c
   
   * Quarkus Main Commit: 95f41e5057778e98c30f67e95160e515f7ad40bd
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/7095283279


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

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

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



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

2023-12-05 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

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

commit 003dc2d68dc7e5014068ea1cfdbb935371354070
Author: James Netherton 
AuthorDate: Fri Nov 24 11:19:53 2023 +

Upgrade Quarkus to 3.7.0.CR1
---
 docs/antora.yml  |  4 ++--
 pom.xml  | 12 ++--
 poms/bom/src/main/generated/flattened-full-pom.xml   | 16 
 poms/bom/src/main/generated/flattened-reduced-pom.xml| 14 +++---
 .../src/main/generated/flattened-reduced-verbose-pom.xml | 14 +++---
 5 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/docs/antora.yml b/docs/antora.yml
index b68757bbfa..ad99f73d9b 100644
--- a/docs/antora.yml
+++ b/docs/antora.yml
@@ -31,12 +31,12 @@ asciidoc:
 camel-version: 4.2.0 # replace ${camel.version}
 camel-docs-version: 4.0.x
 camel-quarkus-version: 3.7.0 # replace ${camel-quarkus.version}
-quarkus-version: 3.6.0 # replace ${quarkus.version}
+quarkus-version: 999-SNAPSHOT # replace ${quarkus.version}
 graalvm-version: 23.0.1 # replace ${graalvm.version}
 graalvm-docs-version: jdk17
 mapstruct-version: 1.5.5.Final # replace ${mapstruct.version}
 min-maven-version: 3.8.2 # replace ${min-maven-version}
-target-maven-version: 3.9.5 # replace ${target-maven-version}
+target-maven-version: 3.9.6 # replace ${target-maven-version}
 
 # Attributes used in xrefs to other Antora components
 cq-camel-components: components
diff --git a/pom.xml b/pom.xml
index 2db2907147..9377c87017 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,7 @@
 2.2.0
 
2.3.0
 2.0.2
-3.6.0
+999-SNAPSHOT
 
4.0.0
 2.5.0
 
@@ -82,7 +82,7 @@
 1.10.4
 
1.0.0-beta.3 

 
3.7.1
-1.76
+1.77
 0.1.2
 ${box-java-sdk-version}
 3.1.5
@@ -131,7 +131,7 @@
 2.4.10
 3.6.0
 ${kudu-version}
-1.9.10
+1.9.21
 2.24.0
 ${mapstruct-version}
 8.2.2
@@ -142,11 +142,11 @@
 ${squareup-okio-version}
 0.31.0
 0.26.0
-3.24.4
+3.25.0
 3.4.33
 ${reactor-netty-version}
 2.9.0
-
4.10.2
+
4.12.0
 2.2
 
${snakeyaml-engine-version}
 ${spring-version}
@@ -262,7 +262,7 @@
 
 
 3.8.2
-3.9.5
+3.9.6
 
[${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 afede8247d..1c7c11b220 100644
--- a/poms/bom/src/main/generated/flattened-full-pom.xml
+++ b/poms/bom/src/main/generated/flattened-full-pom.xml
@@ -6359,7 +6359,7 @@
   
 io.smallrye.reactive
 smallrye-reactive-messaging-camel
-4.10.2
+4.12.0
   
   
 io.swagger.core.v3
@@ -6561,22 +6561,22 @@
   
 org.bouncycastle
 bcmail-jdk18on
-1.76
+1.77
   
   
 org.bouncycastle
 bcpg-jdk18on
-1.76
+1.77
   
   
 org.bouncycastle
 bcprov-ext-jdk18on
-1.76
+1.77
   
   
 org.bouncycastle
 bcutil-jdk18on
-1.76
+1.77
   
   
 org.brotli
@@ -6611,17 +6611,17 @@
   
 org.jetbrains.kotlin
 kotlin-script-util
-1.9.10
+1.9.21
   
   
 org.jetbrains.kotlin
 kotlin-scripting-jvm
-1.9.10
+1.9.21
   
   
 org.jetbrains.kotlin
 kotlin-scripting-jvm-host
-1.9.10
+1.9.21
   
   
 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 d9be89afe4..cb3e4fe27d 100644
--- a/poms/bom/src/main/generated/flattened-reduced-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml
@@ -6339,7 +6339,7 @@
   
 io.smallrye.reactive
 smallrye-reactive-messaging-camel
-4.10.2
+4.12.0
   
   
 io.swagger.core.v3
@@ -6506,22 +6506,22 @@
   
 org.bouncycastle
 bcmail-jdk18on
-1.76
+1.77
   
   
 org.bouncycastle
 bcpg-jdk18on
-1.76
+1.77
   
   
 org.bouncycastle
 bcprov-ext-jdk18on
-1.76
+1.77
   
   
 org.bouncycastle
 bcutil-jdk18on
-1.76
+1.77
   
   
 org.brotli
@@ -6551,12 +6551,12 @@
   
 org.jetbrains.kotlin
 kotlin-scripting-jvm
-1.9.10
+1.9.21
   
   
 org.jetbrains.kotlin
 kotlin-scripting-jvm-host
-  

(camel-quarkus) branch quarkus-main updated (1c7b7268d3 -> 003dc2d68d)

2023-12-05 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

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


 discard 1c7b7268d3 Upgrade Quarkus to 3.7.0.CR1
 add e691b5af0f Add CI workflow steps to test on JDK 21
 add 72cdb07401 Bump com.unboundid:unboundid-ldapsdk from 6.0.10 to 6.0.11
 add 8deb0ad2be Regen SBOM from commit 
72cdb07401b4ec463c6e6135dd85547760162c13 (#5585)
 new 003dc2d68d Upgrade Quarkus to 3.7.0.CR1

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

 * -- * -- B -- O -- O -- O   (1c7b7268d3)
\
 N -- N -- N   refs/heads/quarkus-main (003dc2d68d)

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/workflows/camel-master-cron.yaml   |   57 +-
 .github/workflows/ci-build.yaml|   62 +-
 .github/workflows/quarkus-master-cron.yaml |   57 +-
 camel-quarkus-sbom/camel-quarkus-sbom.json | 2944 ++--
 camel-quarkus-sbom/camel-quarkus-sbom.xml  | 2884 ++-
 docs/antora.yml|2 +-
 pom.xml|4 +-
 7 files changed, 3049 insertions(+), 2961 deletions(-)



Re: [I] Knative installation check is wrong [camel-k]

2023-12-05 Thread via GitHub


christophd commented on issue #4962:
URL: https://github.com/apache/camel-k/issues/4962#issuecomment-1840223807

   thanks @matzew! yes, makes sense we should improve the Knative installation 
check
   
   one more thing. please be careful to reference my fork (christophd) of the 
camel-k repository πŸ˜„ it might not be up-to-date all the time 😁 


-- 
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] Improve cross-namespace check when referencing Kamelets in Pipes [camel-k]

2023-12-05 Thread via GitHub


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

   In theory it should work when installing a global operator: 
https://github.com/apache/camel-k/issues/1675
   
   I'm marking as a bug in order to double check that the above is still 
working. If not, we need to fix it.


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

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

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



Re: [I] Knative installation check is wrong [camel-k]

2023-12-05 Thread via GitHub


matzew commented on issue #4962:
URL: https://github.com/apache/camel-k/issues/4962#issuecomment-1840232557

   > one more thing. please be careful to reference my fork (christophd) of the 
camel-k repository πŸ˜„ it might not be up-to-date all the time
   
   Oh, I have not noticed this - I came there via Github code search :rofl: 


-- 
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 dep-upd created (now 6890b74d203)

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

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


  at 6890b74d203 CAMEL-20186: camel-jbang - dependency update

This branch includes the following new commits:

 new 6890b74d203 CAMEL-20186: camel-jbang - dependency update

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




(camel) 01/01: CAMEL-20186: camel-jbang - dependency update

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

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

commit 6890b74d203de1f9b90b6801027ba92a4c15adb6
Author: Claus Ibsen 
AuthorDate: Tue Dec 5 09:39:04 2023 +0100

CAMEL-20186: camel-jbang - dependency update
---
 .../modules/ROOT/pages/camel-jbang.adoc|  18 +++
 .../dsl/jbang/core/commands/CamelJBangMain.java|   3 +-
 .../dsl/jbang/core/commands/DependencyCopy.java|   2 +-
 .../dsl/jbang/core/commands/DependencyList.java|   5 +-
 .../dsl/jbang/core/commands/DependencyUpdate.java  | 125 +
 5 files changed, 149 insertions(+), 4 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index debd93fb05e..fc9e5a96e25 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -2063,6 +2063,8 @@ public class foo extends EndpointRouteBuilder {
 }
 
 
+TIP: You can use `camel dependency update --source=foo.java` to update the 
dependencies.
+
 Notice how we in the top of the file specify 
https://www.jbang.dev/documentation/guide/latest/dependencies.html[JBang 
dependencies] we want JBang to know and prepare for the IDE of choice.
 The first `//DEPS` is the `@pom` which set up the Camel version to use.
 The following `//DEPS` declares the Camel component we use.
@@ -2076,6 +2078,22 @@ $ jbang edit -b foo.java
 
 You can find this example at: 
https://github.com/apache/camel-kamelets-examples/tree/main/jbang/jbang-edit
 
+ Updating dependencies in source code
+
+When working with Java source code, then you can keep the JBang dependencies 
up-to-date using the following command:
+
+[source,bash]
+
+$ camel dependency update --source=foo.java
+
+
+TIP: You can use `--clean` to not keep any existing dependencies and generate 
a clean fresh list.
+
+This will then automatic insert or update the JBang depencies (`//DEPS`) in 
the top of the source file.
+
+You may want to use this for making it easier to load the source into an IDE 
editor to do coding.
+See previous section for more details.
+
 
  Camel route debugging using VSCode or IDEA editors
 
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
index c0806c1baa7..c5a22e8c30c 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
@@ -134,7 +134,8 @@ public class CamelJBangMain implements Callable {
 .addSubcommand("gc", new CommandLine(new 
CamelGCAction(main
 .addSubcommand("dependency", new CommandLine(new 
DependencyCommand(main))
 .addSubcommand("list", new CommandLine(new 
DependencyList(main)))
-.addSubcommand("copy", new CommandLine(new 
DependencyCopy(main
+.addSubcommand("copy", new CommandLine(new 
DependencyCopy(main)))
+.addSubcommand("update", new CommandLine(new 
DependencyUpdate(main
 .addSubcommand("generate", new CommandLine(new 
CodeGenerator(main))
 .addSubcommand("rest", new CommandLine(new 
CodeRestGenerator(main
 .addSubcommand("sbom", new CommandLine(new 
SBOMGenerator(main)))
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyCopy.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyCopy.java
index e27ded4c1ff..395b9a79a6b 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyCopy.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyCopy.java
@@ -66,7 +66,7 @@ public class DependencyCopy extends DependencyList {
 }
 
 @Override
-protected void outputGav(MavenGav gav, int index) {
+protected void outputGav(MavenGav gav, int index, int total) {
 try {
 List artifacts = getDownloader().resolveArtifacts(
 List.of(gav.toString()), Set.of(), true, 
gav.getVersion().contains("SNAPSHOT"));
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyList.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyList.java
index 919c3eadd10..a81dfa2d3bb 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyList.java
+++ 
b

[PR] CAMEL-20186: camel-jbang - dependency update [camel]

2023-12-05 Thread via GitHub


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

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


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

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

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



(camel) branch dependabot/maven/com.hierynomus-smbj-0.13.0 deleted (was 569538ebbe7)

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

davsclaus pushed a change to branch dependabot/maven/com.hierynomus-smbj-0.13.0
in repository https://gitbox.apache.org/repos/asf/camel.git


 was 569538ebbe7 Bump com.hierynomus:smbj from 0.12.2 to 0.13.0

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



(camel) branch main updated (2cbcb40ff75 -> 0870a33ab2d)

2023-12-05 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 2cbcb40ff75 CAMEL-19991: Jetty and SB upgrades
 add 0870a33ab2d CAMEL-19991: Jetty and SB upgrades

No new revisions were added by this update.

Summary of changes:
 docs/components/modules/ROOT/examples/json/jetty.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



Re: [PR] Bump com.hierynomus:smbj from 0.12.2 to 0.13.0 [camel]

2023-12-05 Thread via GitHub


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


-- 
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 (0870a33ab2d -> 84a67bba53e)

2023-12-05 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 0870a33ab2d CAMEL-19991: Jetty and SB upgrades
 add 84a67bba53e Bump com.hierynomus:smbj from 0.12.2 to 0.13.0 (#12312)

No new revisions were added by this update.

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



Re: [PR] fix(e2e): Execute helm upgrade test only on main branch [camel-k]

2023-12-05 Thread via GitHub


gansheer commented on PR #4959:
URL: https://github.com/apache/camel-k/pull/4959#issuecomment-1840277050

   @squakez LGTM, only the kustomize failure is still present.


-- 
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] Upgrade Lucene to version 9.9.0 [camel]

2023-12-05 Thread via GitHub


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

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


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

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

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



Re: [PR] Upgrade Lucene to version 9.9.0 [camel]

2023-12-05 Thread via GitHub


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

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


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

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

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



Re: [PR] Upgrade Lucene to version 9.9.0 [camel]

2023-12-05 Thread via GitHub


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

   /component-test camel-lucene


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

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

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



(camel) 01/01: Upgrade Lucene to version 9.9.0

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

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

commit 6cc56af40479edfbc7b42f9a9ccfa980e3a4299f
Author: Andrea Cosentino 
AuthorDate: Tue Dec 5 09:43:11 2023 +0100

Upgrade Lucene to version 9.9.0

Signed-off-by: Andrea Cosentino 
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index b6f6e09d40b..62075f12f46 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -307,7 +307,7 @@
 1.0.0
 2.22.0
 1.4.13
-9.8.0
+9.9.0
 0.2.0
 2.1.0
 1.5.5.Final



(camel) branch lucene-9.9.0 created (now 6cc56af4047)

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

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


  at 6cc56af4047 Upgrade Lucene to version 9.9.0

This branch includes the following new commits:

 new 6cc56af4047 Upgrade Lucene to version 9.9.0

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




Re: [PR] feat: import external Camel applications [camel-k]

2023-12-05 Thread via GitHub


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

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


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

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

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



Re: [PR] Upgrade Lucene to version 9.9.0 [camel]

2023-12-05 Thread via GitHub


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

   :robot: The Apache Camel test robot will run the tests for you :+1:


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

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

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



Re: [PR] fix(e2e): Execute helm upgrade test only on main branch [camel-k]

2023-12-05 Thread via GitHub


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


-- 
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: fix(e2e): Execute helm upgrade test only on main branch

2023-12-05 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 8efebb51e fix(e2e): Execute helm upgrade test only on main branch
8efebb51e is described below

commit 8efebb51e9c7189e01bc269653990cb3b98e3017
Author: Gaelle Fournier 
AuthorDate: Fri Dec 1 16:07:26 2023 +0100

fix(e2e): Execute helm upgrade test only on main branch
---
 e2e/install/upgrade/helm_upgrade_test.go | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/e2e/install/upgrade/helm_upgrade_test.go 
b/e2e/install/upgrade/helm_upgrade_test.go
index 1f3d6bcfe..b371c35e3 100644
--- a/e2e/install/upgrade/helm_upgrade_test.go
+++ b/e2e/install/upgrade/helm_upgrade_test.go
@@ -23,6 +23,7 @@ limitations under the License.
 package upgrade
 
 import (
+   "errors"
"fmt"
"os"
"os/exec"
@@ -41,6 +42,13 @@ func TestHelmOperatorUpgrade(t *testing.T) {
KAMEL_INSTALL_REGISTRY := os.Getenv("KAMEL_INSTALL_REGISTRY")
// need to add last release version
releaseVersion := os.Getenv("KAMEL_K_TEST_RELEASE_VERSION")
+   // if the last released version chart is not present skip the test
+   releaseChart := fmt.Sprintf("../../../docs/charts/camel-k-%s.tgz", 
releaseVersion)
+   if _, err := os.Stat(releaseChart); errors.Is(err, os.ErrNotExist) {
+   t.Skip("last release version chart not found: skipping")
+   return
+   }
+
customImage := fmt.Sprintf("%s/apache/camel-k", KAMEL_INSTALL_REGISTRY)
 
os.Setenv("CAMEL_K_TEST_MAKE_DIR", "../../../")
@@ -57,7 +65,7 @@ func TestHelmOperatorUpgrade(t *testing.T) {
"helm",
"install",
"camel-k",
-   
fmt.Sprintf("../../../docs/charts/camel-k-%s.tgz", releaseVersion),
+   releaseChart,
"--set",

fmt.Sprintf("platform.build.registry.address=%s", KAMEL_INSTALL_REGISTRY),
"--set",



(camel) branch regen_bot updated (2cbcb40ff75 -> 0870a33ab2d)

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

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


from 2cbcb40ff75 CAMEL-19991: Jetty and SB upgrades
 add 0870a33ab2d CAMEL-19991: Jetty and SB upgrades

No new revisions were added by this update.

Summary of changes:
 docs/components/modules/ROOT/examples/json/jetty.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



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

2023-12-05 Thread via GitHub


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

   The 
[quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) 
branch build has failed:
   
   * Build ID: 7095283279-1321-baf9b7fd-d3fa-4e2a-a7c3-9beaf20ef507
   * Camel Quarkus Commit: 3e7347d31a20ca5fd0eaa4c8fe1876f1c3e697f2
   
   * Quarkus Main Commit: 95f41e5057778e98c30f67e95160e515f7ad40bd
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/7095283279


-- 
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-20186: camel-jbang - dependency update (#12313)

2023-12-05 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 792daa048f6 CAMEL-20186: camel-jbang - dependency update (#12313)
792daa048f6 is described below

commit 792daa048f6d142e88a607135b77e06511e6b05a
Author: Claus Ibsen 
AuthorDate: Tue Dec 5 09:48:55 2023 +0100

CAMEL-20186: camel-jbang - dependency update (#12313)
---
 .../modules/ROOT/pages/camel-jbang.adoc|  18 +++
 .../dsl/jbang/core/commands/CamelJBangMain.java|   3 +-
 .../dsl/jbang/core/commands/DependencyCopy.java|   2 +-
 .../dsl/jbang/core/commands/DependencyList.java|   5 +-
 .../dsl/jbang/core/commands/DependencyUpdate.java  | 125 +
 5 files changed, 149 insertions(+), 4 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index debd93fb05e..fc9e5a96e25 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -2063,6 +2063,8 @@ public class foo extends EndpointRouteBuilder {
 }
 
 
+TIP: You can use `camel dependency update --source=foo.java` to update the 
dependencies.
+
 Notice how we in the top of the file specify 
https://www.jbang.dev/documentation/guide/latest/dependencies.html[JBang 
dependencies] we want JBang to know and prepare for the IDE of choice.
 The first `//DEPS` is the `@pom` which set up the Camel version to use.
 The following `//DEPS` declares the Camel component we use.
@@ -2076,6 +2078,22 @@ $ jbang edit -b foo.java
 
 You can find this example at: 
https://github.com/apache/camel-kamelets-examples/tree/main/jbang/jbang-edit
 
+ Updating dependencies in source code
+
+When working with Java source code, then you can keep the JBang dependencies 
up-to-date using the following command:
+
+[source,bash]
+
+$ camel dependency update --source=foo.java
+
+
+TIP: You can use `--clean` to not keep any existing dependencies and generate 
a clean fresh list.
+
+This will then automatic insert or update the JBang depencies (`//DEPS`) in 
the top of the source file.
+
+You may want to use this for making it easier to load the source into an IDE 
editor to do coding.
+See previous section for more details.
+
 
  Camel route debugging using VSCode or IDEA editors
 
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
index c0806c1baa7..c5a22e8c30c 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
@@ -134,7 +134,8 @@ public class CamelJBangMain implements Callable {
 .addSubcommand("gc", new CommandLine(new 
CamelGCAction(main
 .addSubcommand("dependency", new CommandLine(new 
DependencyCommand(main))
 .addSubcommand("list", new CommandLine(new 
DependencyList(main)))
-.addSubcommand("copy", new CommandLine(new 
DependencyCopy(main
+.addSubcommand("copy", new CommandLine(new 
DependencyCopy(main)))
+.addSubcommand("update", new CommandLine(new 
DependencyUpdate(main
 .addSubcommand("generate", new CommandLine(new 
CodeGenerator(main))
 .addSubcommand("rest", new CommandLine(new 
CodeRestGenerator(main
 .addSubcommand("sbom", new CommandLine(new 
SBOMGenerator(main)))
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyCopy.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyCopy.java
index e27ded4c1ff..395b9a79a6b 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyCopy.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyCopy.java
@@ -66,7 +66,7 @@ public class DependencyCopy extends DependencyList {
 }
 
 @Override
-protected void outputGav(MavenGav gav, int index) {
+protected void outputGav(MavenGav gav, int index, int total) {
 try {
 List artifacts = getDownloader().resolveArtifacts(
 List.of(gav.toString()), Set.of(), true, 
gav.getVersion().contains("SNAPSHOT"));
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyList.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/comman

Re: [PR] feat(install): Separate namespaced and descoped rbacs [camel-k]

2023-12-05 Thread via GitHub


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

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


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

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

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



(camel) branch dependabot/maven/jetty-version-12.0.4 deleted (was 94780277042)

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

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


 was 94780277042 Bump jetty-version from 12.0.3 to 12.0.4

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



(camel) branch main updated: Bump jetty-version from 12.0.3 to 12.0.4 (#12311)

2023-12-05 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 b266dcc8656 Bump jetty-version from 12.0.3 to 12.0.4 (#12311)
b266dcc8656 is described below

commit b266dcc865614e638ddabf1e68b4ddae7666eea9
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Tue Dec 5 09:49:36 2023 +0100

Bump jetty-version from 12.0.3 to 12.0.4 (#12311)

Bumps `jetty-version` from 12.0.3 to 12.0.4.

Updates `org.eclipse.jetty.ee10:jetty-ee10-webapp` from 12.0.3 to 12.0.4

Updates `org.eclipse.jetty.ee10:jetty-ee10-servlet` from 12.0.3 to 12.0.4

Updates `org.eclipse.jetty:jetty-server` from 12.0.3 to 12.0.4

Updates 
`org.eclipse.jetty.ee10.websocket:jetty-ee10-websocket-jakarta-server` from 
12.0.3 to 12.0.4

Updates `org.eclipse.jetty.websocket:jetty-websocket-jetty-server` from 
12.0.3 to 12.0.4

Updates `org.eclipse.jetty:jetty-security` from 12.0.3 to 12.0.4

Updates `org.eclipse.jetty.ee10:jetty-ee10-servlets` from 12.0.3 to 12.0.4

Updates `org.eclipse.jetty:jetty-client` from 12.0.3 to 12.0.4

Updates `org.eclipse.jetty:jetty-jmx` from 12.0.3 to 12.0.4

Updates `org.eclipse.jetty:jetty-util` from 12.0.3 to 12.0.4

Updates `org.eclipse.jetty.http2:jetty-http2-client` from 12.0.3 to 12.0.4

Updates `org.eclipse.jetty.http2:jetty-http2-client-transport` from 12.0.3 
to 12.0.4

Updates `org.eclipse.jetty:jetty-util-ajax` from 12.0.3 to 12.0.4

Updates `org.eclipse.jetty:jetty-io` from 12.0.3 to 12.0.4

Updates `org.eclipse.jetty:jetty-proxy` from 12.0.3 to 12.0.4

Updates `org.eclipse.jetty.ee9:jetty-ee9-servlet` from 12.0.3 to 12.0.4

---
updated-dependencies:
- dependency-name: org.eclipse.jetty.ee10:jetty-ee10-webapp
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty.ee10:jetty-ee10-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: 
org.eclipse.jetty.ee10.websocket:jetty-ee10-websocket-jakarta-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty.websocket:jetty-websocket-jetty-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-security
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty.ee10:jetty-ee10-servlets
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-jmx
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-util
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty.http2:jetty-http2-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty.http2:jetty-http2-client-transport
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-util-ajax
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-io
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-proxy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty.ee9:jetty-ee9-servlet
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

diff --git a/parent/pom.xml b/parent/pom.xml
index 95253b66b05..c9f139f571b 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -256,7 +256,7 @@
 2.0
 5.0.2
 0.7.5
-12.0.3
+12.0.4
 ${jetty-version}
 org.eclipse.jetty
 1.5.4



(camel-kamelets-examples) branch main updated: Update

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 9ecf68b  Update
9ecf68b is described below

commit 9ecf68b9f43774c14e253b45aabd7d503dc2fa0e
Author: Claus Ibsen 
AuthorDate: Tue Dec 5 09:48:41 2023 +0100

Update
---
 jbang/jbang-edit/README.adoc | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/jbang/jbang-edit/README.adoc b/jbang/jbang-edit/README.adoc
index a7830f0..8569367 100644
--- a/jbang/jbang-edit/README.adoc
+++ b/jbang/jbang-edit/README.adoc
@@ -53,6 +53,13 @@ $ jbang edit -b foo.java
 
 JBang will then prepare for the project and ask you which IDE to use.
 
+You can let Camel help keep the dependeices updated by running:
+
+[source,sh]
+
+$ camel dependency update --source=foo.java
+
+
 
 === Help and contributions
 



Re: [PR] CAMEL-20186: camel-jbang - dependency update [camel]

2023-12-05 Thread via GitHub


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


-- 
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 dep-upd deleted (was 6890b74d203)

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

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


 was 6890b74d203 CAMEL-20186: camel-jbang - dependency update

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



Re: [PR] Bump jetty-version from 12.0.3 to 12.0.4 [camel]

2023-12-05 Thread via GitHub


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


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

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

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



Re: [PR] Bump jetty-version from 12.0.3 to 12.0.4 [camel]

2023-12-05 Thread via GitHub


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

   okay fixing and testing this locally


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

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

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



(camel) branch dependabot/maven/jetcd-version-0.7.6 updated (527cd1f0cb8 -> 14faa1f2d85)

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

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


omit 527cd1f0cb8 Bump jetcd-version from 0.7.5 to 0.7.6
 add eccc0d6296a CAMEL-20186: camel-jbang - dependency list to output in 
jbang style.
 add 34d1b818272 CAMEL-20123 reading docker image names from .properties 
files
 add 38b360823bc CAMEL-20123 fix compilation
 add 2cbcb40ff75 CAMEL-19991: Jetty and SB upgrades
 add 0870a33ab2d CAMEL-19991: Jetty and SB upgrades
 add 84a67bba53e Bump com.hierynomus:smbj from 0.12.2 to 0.13.0 (#12312)
 add 792daa048f6 CAMEL-20186: camel-jbang - dependency update (#12313)
 add b266dcc8656 Bump jetty-version from 12.0.3 to 12.0.4 (#12311)
 new 14faa1f2d85 Bump jetcd-version from 0.7.5 to 0.7.6

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   (527cd1f0cb8)
\
 N -- N -- N   refs/heads/dependabot/maven/jetcd-version-0.7.6 
(14faa1f2d85)

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:
 .../modules/ROOT/examples/json/jetty.json  |   2 +-
 .../modules/ROOT/pages/camel-jbang.adoc|  18 ++
 .../component/ComponentsBuilderFactory.java|   2 +-
 .../dsl/JettyComponentBuilderFactory.java  |   8 +-
 .../builder/endpoint/EndpointBuilderFactory.java   |   2 +-
 .../camel/builder/endpoint/EndpointBuilders.java   |   2 +-
 .../builder/endpoint/StaticEndpointBuilders.java   |  12 +-
 ...java => JettyHttp12EndpointBuilderFactory.java} | 196 ++---
 .../dsl/jbang/core/commands/CamelJBangMain.java|   3 +-
 .../dsl/jbang/core/commands/DependencyCopy.java|   2 +-
 .../dsl/jbang/core/commands/DependencyList.java|  22 ++-
 .../dsl/jbang/core/commands/DependencyUpdate.java  | 125 +
 parent/pom.xml |   4 +-
 .../services/ArangoDBLocalContainerService.java|   3 +-
 .../infra/arangodb/services/ArangoDbContainer.java |   5 +-
 .../src/test/resources/container.properties|  18 ++
 .../test/infra/aws2/services/AWSContainer.java |  19 +-
 .../aws2/services/AWSLocalContainerService.java|   9 +-
 .../src/test/resources/container.properties|  18 ++
 .../azure/common/services/AzureStorageService.java |   3 +-
 .../azure/common/services/AzuriteContainer.java|   8 +-
 .../src/test/resources/container.properties|  18 ++
 .../services/CassandraLocalContainerService.java   |   6 +-
 .../src/test/resources/container.properties|  18 ++
 .../chatscript/common/ChatScriptProperties.java|   1 +
 .../services/ChatScriptLocalContainerService.java  |   6 +-
 .../src/test/resources/container.properties|  18 ++
 .../test/infra/common/LocalPropertyResolver.java   |  51 ++
 .../services/ConsulLocalContainerService.java  |   6 +-
 .../src/test/resources/container.properties|  18 ++
 .../services/CouchbaseLocalContainerService.java   |   6 +-
 .../src/test/resources/container.properties|  18 ++
 .../services/CouchDbLocalContainerService.java |   6 +-
 .../src/test/resources/container.properties|  18 ++
 .../ElasticSearchLocalContainerService.java|  23 +--
 .../src/test/resources/container.properties|  17 ++
 .../etcd3/services/Etcd3LocalContainerService.java |  12 +-
 .../src/test/resources/container.properties|  17 ++
 .../fhir/services/FhirLocalContainerService.java   |  10 +-
 .../src/test/resources/container.properties|  17 ++
 .../GooglePubSubLocalContainerService.java |   6 +-
 .../src/test/resources/container.properties|  17 ++
 .../HashicorpVaultLocalContainerService.java   |  26 +--
 .../src/test/resources/container.properties|  17 ++
 .../services/InfinispanLocalContainerService.java  |  10 +-
 .../src/test/resources/container.properties|  17 ++
 .../test/infra/kafka/common/KafkaProperties.java   |   4 +
 .../services/ContainerLocalAuthKafkaService.java   |   4 +-
 .../kafka/services/ContainerLocalKafkaService.java |  15 +-
 .../RedpandaTransactionsEnabledContainer.java  |   9 +-
 .../infra/kafka/services/StrimziContainer.ja

(camel) 01/01: Bump jetcd-version from 0.7.5 to 0.7.6

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

github-bot pushed a commit to branch dependabot/maven/jetcd-version-0.7.6
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 14faa1f2d8510eb594a25b656ec54f00bb8afc4a
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Tue Dec 5 08:53:43 2023 +

Bump jetcd-version from 0.7.5 to 0.7.6

Bumps `jetcd-version` from 0.7.5 to 0.7.6.

Updates `io.etcd:jetcd-launcher` from 0.7.5 to 0.7.6
- [Release notes](https://github.com/etcd-io/jetcd/releases)
- [Changelog](https://github.com/etcd-io/jetcd/blob/main/CHANGELOG.md)
- 
[Commits](https://github.com/etcd-io/jetcd/compare/jetcd-0.7.5...jetcd-0.7.6)

Updates `io.etcd:jetcd-core` from 0.7.5 to 0.7.6
- [Release notes](https://github.com/etcd-io/jetcd/releases)
- [Changelog](https://github.com/etcd-io/jetcd/blob/main/CHANGELOG.md)
- 
[Commits](https://github.com/etcd-io/jetcd/compare/jetcd-0.7.5...jetcd-0.7.6)

---
updated-dependencies:
- dependency-name: io.etcd:jetcd-launcher
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.etcd:jetcd-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

diff --git a/parent/pom.xml b/parent/pom.xml
index c9f139f571b..a52e03d67a5 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -255,7 +255,7 @@
 1.1.1
 2.0
 5.0.2
-0.7.5
+0.7.6
 12.0.4
 ${jetty-version}
 org.eclipse.jetty



(camel) branch regen_bot updated (0870a33ab2d -> 792daa048f6)

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

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


from 0870a33ab2d CAMEL-19991: Jetty and SB upgrades
 add 84a67bba53e Bump com.hierynomus:smbj from 0.12.2 to 0.13.0 (#12312)
 add 792daa048f6 CAMEL-20186: camel-jbang - dependency update (#12313)

No new revisions were added by this update.

Summary of changes:
 .../modules/ROOT/pages/camel-jbang.adoc|  18 +++
 .../dsl/jbang/core/commands/CamelJBangMain.java|   3 +-
 .../dsl/jbang/core/commands/DependencyCopy.java|   2 +-
 .../dsl/jbang/core/commands/DependencyList.java|   5 +-
 .../dsl/jbang/core/commands/DependencyUpdate.java  | 125 +
 parent/pom.xml |   2 +-
 6 files changed, 150 insertions(+), 5 deletions(-)
 create mode 100644 
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/DependencyUpdate.java



(camel) branch main updated: Bump jetty-version from 12.0.3 to 12.0.4 (#12311)

2023-12-05 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 72b6c54c30a Bump jetty-version from 12.0.3 to 12.0.4 (#12311)
72b6c54c30a is described below

commit 72b6c54c30ad0274160fa656699a618e1e0dea48
Author: Claus Ibsen 
AuthorDate: Tue Dec 5 09:52:00 2023 +0100

Bump jetty-version from 12.0.3 to 12.0.4 (#12311)
---
 .../main/java/org/apache/camel/component/jetty/JettyHttpComponent.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
 
b/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
index 81838497c2d..9503776bd3a 100644
--- 
a/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
+++ 
b/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
@@ -1292,7 +1292,8 @@ public abstract class JettyHttpComponent extends 
HttpCommonComponent
 ErrorHandler eh = new ErrorHandler() {
 @Override
 public boolean handle(
-Request baseRequest, Response response, Callback 
callback) {
+Request baseRequest, Response response, Callback 
callback)
+throws Exception {
 String msg = HttpStatus.getMessage(response.getStatus());
 Object timeout = 
baseRequest.getAttribute(CamelContinuationServlet.TIMEOUT_ERROR);
 if (Boolean.TRUE.equals(timeout)) {



Re: [PR] CAMEL-20123: Externalize container info in camel-test-infra [camel]

2023-12-05 Thread via GitHub


oscerd commented on code in PR #12309:
URL: https://github.com/apache/camel/pull/12309#discussion_r1415169701


##
test-infra/camel-test-infra-aws-v2/src/test/resources/container.properties:
##
@@ -0,0 +1,18 @@
+## ---
+## 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.
+## ---
+## tested against 2.1.2, 2.2.0 & 2.3.1
+aws.container=localstack/localstack:2.3.2

Review Comment:
   This is wrong.



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

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

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



Re: [PR] Upgrade Lucene to version 9.9.0 [camel]

2023-12-05 Thread via GitHub


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


-- 
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 (72b6c54c30a -> dc99c535ea9)

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

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


from 72b6c54c30a Bump jetty-version from 12.0.3 to 12.0.4 (#12311)
 add dc99c535ea9 Upgrade Lucene to version 9.9.0 (#12314)

No new revisions were added by this update.

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



(camel) branch lucene-9.9.0 deleted (was 6cc56af4047)

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

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


 was 6cc56af4047 Upgrade Lucene to version 9.9.0

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



(camel) branch regen_bot updated (792daa048f6 -> 72b6c54c30a)

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

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


from 792daa048f6 CAMEL-20186: camel-jbang - dependency update (#12313)
 add b266dcc8656 Bump jetty-version from 12.0.3 to 12.0.4 (#12311)
 add 72b6c54c30a Bump jetty-version from 12.0.3 to 12.0.4 (#12311)

No new revisions were added by this update.

Summary of changes:
 .../main/java/org/apache/camel/component/jetty/JettyHttpComponent.java | 3 ++-
 parent/pom.xml | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)



(camel) branch regen_bot updated (72b6c54c30a -> dc99c535ea9)

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

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


from 72b6c54c30a Bump jetty-version from 12.0.3 to 12.0.4 (#12311)
 add dc99c535ea9 Upgrade Lucene to version 9.9.0 (#12314)

No new revisions were added by this update.

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



Re: [PR] CAMEL-20123: Externalize container info in camel-test-infra [camel]

2023-12-05 Thread via GitHub


kulagaIA commented on code in PR #12309:
URL: https://github.com/apache/camel/pull/12309#discussion_r1415188459


##
test-infra/camel-test-infra-aws-v2/src/test/resources/container.properties:
##
@@ -0,0 +1,18 @@
+## ---
+## 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.
+## ---
+## tested against 2.1.2, 2.2.0 & 2.3.1
+aws.container=localstack/localstack:2.3.2

Review Comment:
   You mean there should be localstack/localstack:3.0.0 ?



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

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

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



(camel) branch localstack-3.0.2 created (now d6db1fd2295)

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

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


  at d6db1fd2295 Regen and upgrade to localstack 3.0.2

This branch includes the following new commits:

 new d6db1fd2295 Regen and upgrade to localstack 3.0.2

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




Re: [PR] Regen and upgrade to localstack 3.0.2 [camel]

2023-12-05 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20123: Externalize container info in camel-test-infra [camel]

2023-12-05 Thread via GitHub


oscerd commented on code in PR #12309:
URL: https://github.com/apache/camel/pull/12309#discussion_r1415199319


##
test-infra/camel-test-infra-aws-v2/src/test/resources/container.properties:
##
@@ -0,0 +1,18 @@
+## ---
+## 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.
+## ---
+## tested against 2.1.2, 2.2.0 & 2.3.1
+aws.container=localstack/localstack:2.3.2

Review Comment:
   Yes, otherwise the SQS tests will fail.
   https://github.com/apache/camel/pull/12315 
   
   I fixed with this PR and updated to 3.0.2



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

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

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



(camel) 01/01: Regen and upgrade to localstack 3.0.2

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

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

commit d6db1fd2295687dd8666b13298085c8cb37f0d4d
Author: Andrea Cosentino 
AuthorDate: Tue Dec 5 10:12:28 2023 +0100

Regen and upgrade to localstack 3.0.2

Signed-off-by: Andrea Cosentino 
---
 .../component/aws/config/AWSConfigProducer.java|  3 +-
 .../test/infra/aws2/services/AWSContainer.java | 12 ++---
 .../aws2/services/AWSLocalContainerService.java|  6 +--
 .../src/test/resources/container.properties|  4 +-
 .../ElasticSearchLocalContainerService.java| 17 +++
 .../etcd3/services/Etcd3LocalContainerService.java |  6 +--
 .../fhir/services/FhirLocalContainerService.java   |  4 +-
 .../HashicorpVaultLocalContainerService.java   | 54 +++---
 .../services/InfinispanLocalContainerService.java  |  4 +-
 .../services/ContainerLocalAuthKafkaService.java   |  2 +-
 .../minio/services/MinioLocalContainerService.java |  4 +-
 .../services/OpenSearchLocalContainerService.java  |  7 +--
 .../services/PostgresLocalContainerService.java|  3 +-
 .../services/PulsarLocalContainerService.java  |  4 +-
 .../infra/rocketmq/services/RocketMQContainer.java |  6 +--
 .../infra/xmpp/services/XmppServerContainer.java   |  8 ++--
 16 files changed, 74 insertions(+), 70 deletions(-)

diff --git 
a/components/camel-aws/camel-aws-config/src/main/java/org/apache/camel/component/aws/config/AWSConfigProducer.java
 
b/components/camel-aws/camel-aws-config/src/main/java/org/apache/camel/component/aws/config/AWSConfigProducer.java
index 317be5b3bf6..66f72d11682 100644
--- 
a/components/camel-aws/camel-aws-config/src/main/java/org/apache/camel/component/aws/config/AWSConfigProducer.java
+++ 
b/components/camel-aws/camel-aws-config/src/main/java/org/apache/camel/component/aws/config/AWSConfigProducer.java
@@ -275,7 +275,8 @@ public class AWSConfigProducer extends DefaultProducer {
 DeleteConformancePackRequest request = 
(DeleteConformancePackRequest) payload;
 result = configClient.deleteConformancePack(request);
 } catch (AwsServiceException ase) {
-LOG.trace("Remove Conformance Pack rule command returned 
the error code {}", ase.awsErrorDetails().errorCode());
+LOG.trace("Remove Conformance Pack rule command returned 
the error code {}",
+ase.awsErrorDetails().errorCode());
 throw ase;
 }
 Message message = getMessageForResponse(exchange);
diff --git 
a/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java
 
b/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java
index 54f267e14ff..c278c02abd9 100644
--- 
a/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java
+++ 
b/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java
@@ -17,6 +17,11 @@
 
 package org.apache.camel.test.infra.aws2.services;
 
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.Arrays;
+import java.util.stream.Collectors;
+
 import org.apache.camel.test.infra.aws.common.AWSProperties;
 import org.apache.camel.test.infra.aws2.common.TestAWSCredentialsProvider;
 import org.apache.camel.test.infra.common.LocalPropertyResolver;
@@ -26,18 +31,13 @@ import org.testcontainers.containers.GenericContainer;
 import org.testcontainers.containers.wait.strategy.Wait;
 import software.amazon.awssdk.auth.credentials.AwsCredentialsProvider;
 
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.util.Arrays;
-import java.util.stream.Collectors;
-
 /*
  The reason we are not using LocalStack containers here is because they bundle 
AWS SDK v1. They would
  be added to the classpath during the test and, potentially, cause errors or 
cause the code to not
  behave as in runtime.
  */
 public class AWSContainer extends GenericContainer {
-
+
 private static final Logger LOG = 
LoggerFactory.getLogger(AWSLocalContainerService.class);
 private static final int SERVICE_PORT = 4566;
 
diff --git 
a/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSLocalContainerService.java
 
b/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSLocalContainerService.java
index 9828430c088..cc38e0752d6 100644
--- 
a/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSLocalContainerService.java
+++ 
b/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSLocalContainerService.java
@@ -17,6 +17,9 @@
 
 package org.apache.camel.test.infra.aws2.services;

[PR] Regen and upgrade to localstack 3.0.2 [camel]

2023-12-05 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20123: Externalize container info in camel-test-infra [camel]

2023-12-05 Thread via GitHub


kulagaIA commented on code in PR #12309:
URL: https://github.com/apache/camel/pull/12309#discussion_r1415200859


##
test-infra/camel-test-infra-aws-v2/src/test/resources/container.properties:
##
@@ -0,0 +1,18 @@
+## ---
+## 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.
+## ---
+## tested against 2.1.2, 2.2.0 & 2.3.1
+aws.container=localstack/localstack:2.3.2

Review Comment:
   Thank you!



-- 
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(deps): bump knative.dev/serving from 0.38.2 to 0.39.2 [camel-k]

2023-12-05 Thread via GitHub


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


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

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

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



(camel-k) branch dependabot/go_modules/knative.dev/serving-0.39.2 deleted (was 6192905ef)

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

pcongiusti pushed a change to branch 
dependabot/go_modules/knative.dev/serving-0.39.2
in repository https://gitbox.apache.org/repos/asf/camel-k.git


 was 6192905ef chore(deps): bump knative.dev/serving from 0.38.2 to 0.39.2

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



(camel-k) branch main updated: chore(deps): bump knative.dev/serving from 0.38.2 to 0.39.2

2023-12-05 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 44cf53270 chore(deps): bump knative.dev/serving from 0.38.2 to 0.39.2
44cf53270 is described below

commit 44cf53270d8b71d1e0cd24b5cdb3ba0a35f5d988
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon Dec 4 09:28:28 2023 +

chore(deps): bump knative.dev/serving from 0.38.2 to 0.39.2

Bumps [knative.dev/serving](https://github.com/knative/serving) from 0.38.2 
to 0.39.2.
- [Release notes](https://github.com/knative/serving/releases)
- [Commits](https://github.com/knative/serving/compare/v0.38.2...v0.39.2)

---
updated-dependencies:
- dependency-name: knative.dev/serving
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 
---
 go.mod |  39 -
 go.sum | 104 +++--
 2 files changed, 81 insertions(+), 62 deletions(-)

diff --git a/go.mod b/go.mod
index 093add9d9..29a2f5cbc 100644
--- a/go.mod
+++ b/go.mod
@@ -43,25 +43,25 @@ require (
golang.org/x/text v0.14.0
golang.org/x/time v0.5.0
gopkg.in/yaml.v2 v2.4.0
-   k8s.io/api v0.27.4
-   k8s.io/apiextensions-apiserver v0.27.4
-   k8s.io/apimachinery v0.27.4
+   k8s.io/api v0.27.6
+   k8s.io/apiextensions-apiserver v0.27.6
+   k8s.io/apimachinery v0.27.6
k8s.io/cli-runtime v0.27.4
-   k8s.io/client-go v0.27.4
+   k8s.io/client-go v0.27.6
k8s.io/gengo v0.0.0-20221011193443-fad74ee6edd9
k8s.io/klog/v2 v2.110.1
k8s.io/kubectl v0.27.4
k8s.io/utils v0.0.0-20230505201702-9f6742963106
knative.dev/eventing v0.38.5
-   knative.dev/pkg v0.0.0-20231011193800-bd99f2f98be7
-   knative.dev/serving v0.38.2
+   knative.dev/pkg v0.0.0-20231023151236-29775d7c9e5c
+   knative.dev/serving v0.39.2
sigs.k8s.io/controller-runtime v0.15.2
sigs.k8s.io/structured-merge-diff/v4 v4.4.1
 )
 
 require (
contrib.go.opencensus.io/exporter/ocagent 
v0.7.1-0.20200907061046-05415f1de66d // indirect
-   contrib.go.opencensus.io/exporter/prometheus v0.4.0 // indirect
+   contrib.go.opencensus.io/exporter/prometheus v0.4.2 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // 
indirect
github.com/antlr/antlr4/runtime/Go/antlr v1.4.10 // indirect
github.com/beorn7/perks v1.0.1 // indirect
@@ -79,7 +79,7 @@ require (
github.com/docker/docker v24.0.7+incompatible // indirect
github.com/docker/docker-credential-helpers v0.7.0 // indirect
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
-   github.com/evanphx/json-patch/v5 v5.6.0 // indirect
+   github.com/evanphx/json-patch/v5 v5.7.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/go-logr/zapr v1.2.4 // indirect
@@ -95,7 +95,7 @@ require (
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect
-   github.com/hashicorp/golang-lru v0.5.4 // indirect
+   github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
@@ -116,7 +116,7 @@ require (
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // 
indirect
github.com/prometheus/procfs v0.11.1 // indirect
-   github.com/prometheus/statsd_exporter v0.21.0 // indirect
+   github.com/prometheus/statsd_exporter v0.22.7 // indirect
github.com/rickb777/date v1.13.0 // indirect
github.com/rickb777/plural v1.2.1 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
@@ -128,27 +128,26 @@ require (
github.com/subosito/gotenv v1.6.0 // indirect
github.com/vbatts/tar-split v0.11.3 // indirect
go.opencensus.io v0.24.0 // indirect
-   go.uber.org/atomic v1.9.0 // indirect
golang.org/x/crypto v0.16.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
-   golang.org/x/mod v0.12.0 // indirect
+   golang.org/x/mod v0.13.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.15.0 // indirect
-   golang.org/x/tools v0.13.0 // indirect
-   gomodules.xyz/jsonpatch/v2 v2.3.0 // indirect
-   google.golang.org/api v0.143.0 // indirect
+   golang.org/x/tools v0.14.0 // indirect
+   gomodules.xyz/

Re: [PR] feat: import external Camel applications [camel-k]

2023-12-05 Thread via GitHub


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

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


-- 
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] Regen and upgrade to localstack 3.0.2 [camel]

2023-12-05 Thread via GitHub


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

   /component-test aws


-- 
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(ci): kubernetes 1.27.7 [camel-k]

2023-12-05 Thread via GitHub


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

   Closes #4861
   
   
   
   
   
   
   
   
   **Release Note**
   ```release-note
   chore(ci): kubernetes 1.27.7
   ```
   


-- 
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] Regen and upgrade to localstack 3.0.2 [camel]

2023-12-05 Thread via GitHub


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

   :robot: The Apache Camel test robot will run the tests for you :+1:


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

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

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



Re: [PR] Add blog post about Camel 4 data types [camel-website]

2023-12-05 Thread via GitHub


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

   πŸš€ Preview is available at https://pr-1102--camel.netlify.app


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

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

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



Re: [PR] Add blog post about Camel 4 data types [camel-website]

2023-12-05 Thread via GitHub


christophd merged PR #1102:
URL: https://github.com/apache/camel-website/pull/1102


-- 
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: Add blog post about Camel 4 data types

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 224de070 Add blog post about Camel 4 data types
224de070 is described below

commit 224de070c7f4e90d205372fa0bca4c0bb7503ac4
Author: Christoph Deppisch 
AuthorDate: Mon Dec 4 16:52:13 2023 +0100

Add blog post about Camel 4 data types
---
 content/blog/2023/12/camel-data-types/featured.png | Bin 0 -> 447535 bytes
 content/blog/2023/12/camel-data-types/index.md | 492 +
 2 files changed, 492 insertions(+)

diff --git a/content/blog/2023/12/camel-data-types/featured.png 
b/content/blog/2023/12/camel-data-types/featured.png
new file mode 100644
index ..1c764889
Binary files /dev/null and b/content/blog/2023/12/camel-data-types/featured.png 
differ
diff --git a/content/blog/2023/12/camel-data-types/index.md 
b/content/blog/2023/12/camel-data-types/index.md
new file mode 100644
index ..196081bf
--- /dev/null
+++ b/content/blog/2023/12/camel-data-types/index.md
@@ -0,0 +1,492 @@
+---
+title: "Camel 4 Data Types"
+date: 2023-12-04
+draft: false
+authors: [christophd]
+categories: ["Howtos", "Transformation"]
+preview: "Boosting the interoperability of Camel routes and Kamelets with data 
type transformations"
+---
+
+Since Camel 4, users are able to apply data types to their individual Camel 
routes in order to transform the processed message content in a declarative way.
+The data type functionality has been added on top of the well-known 
[Transformer EIP](/manual/transformer.html) that is a part of Apache Camel 
since the beginning.
+
+This post gives a short introduction to the concept of data types and 
continues with several examples that show how to use those data types in Camel 
for instance as a form of Camel route contracts.
+The post closes with the usage of data types in Pipe definitions to specify 
the input/output behavior of Kamelets.
+
+# How to use data types
+
+With the Camel version 4, users can now declare data types and do the 
following data type specific transformations in a route:
+
+```java
+public class DemoRoute extends EndpointRouteBuilder {
+@Override
+public void configure() throws Exception {
+transformer().name("base64") // (1)
+.withDataFormat(dataFormat().base64().end());
+DataType base64 = new DataType("base64"); // (2)
+
+
+from(timer("tick"))
+.setBody()
+.constant("Camel rocks!")
+.transform(base64) // (3)
+.to(log("info"));
+}
+}
+```
+
+1. Transformer declaration with a name and an implementation (e.g. data format 
based, endpoint uri based, custom Java class, …)
+2. Data Type declaration matching a transformer name
+3. Transform EIP using the Data Type
+
+The example route above forms a simple timer-to-log route with a constant 
plain text message body saying _"Camel rocks!"_.
+
+The route also declares a new DataType named _"base64"_ in combination with a 
respective transformer implementation that uses the existing Apache Camel 
_base64_ data format.
+Users of the transformer EIP can now use the data type as a target type in 
order to transform the message content to base64 encoding.
+
+This example should give you a good first impression on how to use data types 
in Camel.
+The next section adds custom data types to the picture.
+
+# Custom data types
+
+The previous example has been using an existing Camel data format 
implementation to perform the data transformation.
+Of course, you can also add custom transformer implementations and use them in 
combination with a data type.
+
+```java
+public class DemoRoute extends EndpointRouteBuilder {
+   @Override
+   public void configure() throws Exception {
+   transformer().name("uppercase")
+ .withJava(UppercaseTransformer.class); // (1)
+
+
+   from(timer("tick"))
+   .setBody()
+   .constant("Camel rocks!")
+   .transform(new DataType("uppercase")) // (2)
+   .to(log("info"));
+   }
+}
+```
+
+1. Directly reference the custom transformer implementation Java type
+2. Reference the data type by its name in a transform EIP
+
+The custom UppercaseTransformer Java class extends the Transformer SPI and is 
able to access the Message object that is being processed by the route.
+Also, it gets access to the data type from/to in case you want to apply very 
specific transformations from one data type into another.
+
+```java
+@DataTypeTransformer(name = "uppercase")
+public class UppercaseTransformer extends Transformer {
+   @Override
+   public void transform(Message message,
+ DataType from,
+ DataType to) throws Exception {
+  message.setBody(message.getBody(String.class)
+ .toUp

Re: [I] Improve cross-namespace check when referencing Kamelets in Pipes [camel-k]

2023-12-05 Thread via GitHub


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

   I've just double checked this and it works as expected. Installing the 
operator (in global mode) in a namespace (ie, default) and running the 
Integration in a different namespace (ie, test), it manages to run the 
integration correctly. Also, it reports the condition accordingly:
   ```
   - firstTruthyTime: "2023-12-05T09:29:33Z"
 lastTransitionTime: "2023-12-05T09:29:33Z"
 lastUpdateTime: "2023-12-05T09:29:33Z"
 message: kamelets [log-sink,timer-source] found in 
(Kubernetes[namespace=test],
   Kubernetes[namespace=default], Empty[]) repositories
 reason: KameletsAvailable
 status: "True"
 type: KameletsAvailable
   ```
   Can you please provide the exact steps in which the issue reported here is 
failing?


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

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

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



[PR] CAMEL-20181: camel-openapi-java - refactor tests to support both Open… [camel]

2023-12-05 Thread via GitHub


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

   …API 3.0 and 3.1
   
   # 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-20181: camel-openapi-java - refactor tests to support both Open… [camel]

2023-12-05 Thread via GitHub


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

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


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

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

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



Re: [I] Improve cross-namespace check when referencing Kamelets in Pipes [camel-k]

2023-12-05 Thread via GitHub


christophd commented on issue #4961:
URL: https://github.com/apache/camel-k/issues/4961#issuecomment-1840387028

   You should be able to reproduce with this Pipe:
   
   ```yaml
   apiVersion: camel.apache.org/v1
   kind: Pipe
   metadata:
 name: timer-to-log
   spec:
 source:
   ref:
 kind: Kamelet
 namespace: default
 apiVersion: camel.apache.org/v1
 name: timer-source
   properties:
 message: "Hello from Camel K!"
 sink:
   ref:
 kind: Kamelet
 namespace: default
 apiVersion: camel.apache.org/v1
 name: log-sink
   ```
   
   It is because the reference to the Kamelets specifies the 'default' 
namespace (which is the global operator namespace). When you run that Pipe from 
`test` namespace it should fail because of the check.


-- 
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.1.x]: Upgrade helm procedure test [camel-k]

2023-12-05 Thread via GitHub


gansheer commented on PR #4947:
URL: https://github.com/apache/camel-k/pull/4947#issuecomment-1840392902

   @squakez @oscerd can you launch the falling test suite please πŸ™ ?


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

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

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



Re: [PR] feat: import external Camel applications [camel-k]

2023-12-05 Thread via GitHub


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

   An additional comment which may be useful in the future. Before reaching 
this state, I've worked on a few experiments. The result of them may return 
useful eventually.
   
   The first experiment was to let the operator assume the control of the 
managed fields of a Deployment: 
https://github.com/apache/camel-k/commit/1e4a5d6fde8aab49121ff666ef355b904279#diff-de2d026ce0dc415e68ee971f300e7320de019cc68c5171cf76425859587f1a85
 - this solution was discarded because it clearly overlap the external 
deployment procedure (ie, triggering a new deployment).
   
   The second one had the same problem (overlapping external deployment): 
https://github.com/squakez/camel-k/tree/feat/it_import_delete_deploy - in this 
case we were deleting the deployment, in order to let the operator create and 
manage one from scratch.
   
   Although they are aggressive approaches, they may be used eventually in a 
sort of "dry-run" operation to let the user decide if a given deployment can be 
substituted with a managed Integration (at the price of forcefully deleting the 
original deployment).


-- 
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] Dependency convergence check error `org.mvnpm.at.lit-labs:ssr-dom-shim` [camel-quarkus]

2023-12-05 Thread via GitHub


jamesnetherton closed issue #5584: Dependency convergence check error 
`org.mvnpm.at.lit-labs:ssr-dom-shim`
URL: https://github.com/apache/camel-quarkus/issues/5584


-- 
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] Dependency convergence check error `org.mvnpm.at.lit-labs:ssr-dom-shim` [camel-quarkus]

2023-12-05 Thread via GitHub


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

   Seems this is an issue with my local environment. Some how Maven 3.8.x was 
on the `PATH`. These errors dont occur with 3.9.x.


-- 
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-20188: camel-yaml-dsl - Schema has a lot of inheritErrorHandler that should be removed

2023-12-05 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 10b09335df9 CAMEL-20188: camel-yaml-dsl - Schema has a lot of 
inheritErrorHandler that should be removed
10b09335df9 is described below

commit 10b09335df9d34a5880bd918197adeb18634084f
Author: Claus Ibsen 
AuthorDate: Tue Dec 5 10:48:55 2023 +0100

CAMEL-20188: camel-yaml-dsl - Schema has a lot of inheritErrorHandler that 
should be removed
---
 .../ROOT/pages/camel-4x-upgrade-guide-4_3.adoc |   6 +-
 .../maven/dsl/yaml/GenerateYamlSchemaMojo.java |  19 ++
 .../generated/resources/schema/camelYamlDsl.json   | 201 -
 3 files changed, 24 insertions(+), 202 deletions(-)

diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_3.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_3.adoc
index cd0bc5e21e8..9dd7f030fc7 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_3.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_3.adoc
@@ -63,7 +63,6 @@ The context and route consoles has changed some values in 
their JSon output data
 
 The values are also changed from String ago to timestamp in millis.For example 
old value `3m5s` is now `1701599263337`.
 
-
 === camel-jbang
 
 The `camel transform` command has been renamed to `camel transform route` as 
this command is used for transforming
@@ -85,3 +84,8 @@ the behavior described in the documentation.
 When using the `AsyncCommitManager` then the offset will be committed so that 
the payload is continually retried. This was
 the behavior described in the documentation.
 
+=== camel-yaml-dsl
+
+The `camelYamlDsl.json` Schema file has removed `inheritErrorHandler` option 
for all EIPs where it was not applicable.
+This option is only intended for the Load Balancer EIP. This makes the YAML 
schema in-line with the XML DSL schema.
+
diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl-maven-plugin/src/main/java/org/apache/camel/maven/dsl/yaml/GenerateYamlSchemaMojo.java
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl-maven-plugin/src/main/java/org/apache/camel/maven/dsl/yaml/GenerateYamlSchemaMojo.java
index b1c8f364f3e..25db4268dfa 100644
--- 
a/dsl/camel-yaml-dsl/camel-yaml-dsl-maven-plugin/src/main/java/org/apache/camel/maven/dsl/yaml/GenerateYamlSchemaMojo.java
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl-maven-plugin/src/main/java/org/apache/camel/maven/dsl/yaml/GenerateYamlSchemaMojo.java
@@ -27,6 +27,7 @@ import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.Optional;
 import java.util.Set;
 import java.util.TreeMap;
 import java.util.TreeSet;
@@ -281,6 +282,24 @@ public class GenerateYamlSchemaMojo extends 
GenerateYamlSupportMojo {
 // this is an internal name
 continue;
 }
+// we want to skip inheritErrorHandler which is only applicable 
for the load-balancer
+boolean skip = false;
+if (propertyName.equals("inherit-error-handler")) {
+skip = true;
+Optional av = annotationValue(info, 
YAML_TYPE_ANNOTATION, "nodes");
+if (av.isPresent()) {
+String[] sn = av.get().asStringArray();
+for (String n : sn) {
+if ("load-balance".equals(n) || 
"loadBalance".equals(n)) {
+skip = false;
+break;
+}
+}
+}
+}
+if (skip) {
+continue;
+}
 
 var finalObjectDefinition = objectDefinition;
 if (isInOneOf) {
diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
index 1447e89ffa1..85be73e4872 100644
--- 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
@@ -468,9 +468,6 @@
 "title" : "Ignore Invalid Correlation Keys",
 "description" : "If a correlation key cannot be successfully 
evaluated it will be ignored by logging a DEBUG and then just ignore the 
incoming Exchange."
   },
-  "inheritErrorHandler" : {
-"type" : "boolean"
-  },
   "optimisticLockRetryPolicy" : {
 "title" : "Optimistic Lock Retry Policy",
 "description" : "Allows to configure retry settings when using 
optimistic locking.",
@@ -529,9 +526,6 @@
   "title" : "Id",
   "description" : "Sets the id of this node"
 },
-"inheritErrorHandler" : {
-

Re: [I] Improve cross-namespace check when referencing Kamelets in Pipes [camel-k]

2023-12-05 Thread via GitHub


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

   Got it. Yeah, the problem is the declaration of the namespace. You need to 
use the Kamelets as if they were local to the namespace, the global operator 
will be able to look into its own namespace and make it work. I think it was 
the way this feature was designed, however it's not document anywhere 
apparently.
   
   The above would work using:
   ```
   apiVersion: camel.apache.org/v1
   kind: Pipe
   metadata:
 name: timer-to-log
   spec:
 source:
   ref:
 kind: Kamelet
 namespace: test
 apiVersion: camel.apache.org/v1
 name: timer-source
   properties:
 message: "Hello from Camel K!"
 sink:
   ref:
 kind: Kamelet
 namespace: test
 apiVersion: camel.apache.org/v1
 name: log-sink
   ```


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

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

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



(camel) branch regen_bot updated (dc99c535ea9 -> 10b09335df9)

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

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


from dc99c535ea9 Upgrade Lucene to version 9.9.0 (#12314)
 add 10b09335df9 CAMEL-20188: camel-yaml-dsl - Schema has a lot of 
inheritErrorHandler that should be removed

No new revisions were added by this update.

Summary of changes:
 .../ROOT/pages/camel-4x-upgrade-guide-4_3.adoc |   6 +-
 .../maven/dsl/yaml/GenerateYamlSchemaMojo.java |  19 ++
 .../generated/resources/schema/camelYamlDsl.json   | 201 -
 3 files changed, 24 insertions(+), 202 deletions(-)



Re: [PR] CAMEL-20181: camel-openapi-java - refactor tests to support both Open… [camel]

2023-12-05 Thread via GitHub


zhfeng commented on PR #12316:
URL: https://github.com/apache/camel/pull/12316#issuecomment-1840413489

   /component-test camel-openapi-java


-- 
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.1.x]: Upgrade helm procedure test [camel-k]

2023-12-05 Thread via GitHub


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

   > @squakez @oscerd can you launch the falling test suite please πŸ™ ?
   
   We have many builds on going in parallel. I'll launch this again once there 
is less traffic.


-- 
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-20181: camel-openapi-java - refactor tests to support both Open… [camel]

2023-12-05 Thread via GitHub


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

   :robot: The Apache Camel test robot will run the tests for you :+1:


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

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

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



Re: [PR] Regen and upgrade to localstack 3.0.2 [camel]

2023-12-05 Thread via GitHub


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


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

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

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



(camel) branch main updated: Regen and upgrade to localstack 3.0.2 (#12315)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 05b5783767e Regen and upgrade to localstack 3.0.2 (#12315)
05b5783767e is described below

commit 05b5783767ef0fcd22c9996e0ae4b868f76c
Author: Andrea Cosentino 
AuthorDate: Tue Dec 5 10:58:19 2023 +0100

Regen and upgrade to localstack 3.0.2 (#12315)

Signed-off-by: Andrea Cosentino 
---
 .../component/aws/config/AWSConfigProducer.java|  3 +-
 .../test/infra/aws2/services/AWSContainer.java | 12 ++---
 .../aws2/services/AWSLocalContainerService.java|  6 +--
 .../src/test/resources/container.properties|  4 +-
 .../ElasticSearchLocalContainerService.java| 17 +++
 .../etcd3/services/Etcd3LocalContainerService.java |  6 +--
 .../fhir/services/FhirLocalContainerService.java   |  4 +-
 .../HashicorpVaultLocalContainerService.java   | 54 +++---
 .../services/InfinispanLocalContainerService.java  |  4 +-
 .../services/ContainerLocalAuthKafkaService.java   |  2 +-
 .../minio/services/MinioLocalContainerService.java |  4 +-
 .../services/OpenSearchLocalContainerService.java  |  7 +--
 .../services/PostgresLocalContainerService.java|  3 +-
 .../services/PulsarLocalContainerService.java  |  4 +-
 .../infra/rocketmq/services/RocketMQContainer.java |  6 +--
 .../infra/xmpp/services/XmppServerContainer.java   |  8 ++--
 16 files changed, 74 insertions(+), 70 deletions(-)

diff --git 
a/components/camel-aws/camel-aws-config/src/main/java/org/apache/camel/component/aws/config/AWSConfigProducer.java
 
b/components/camel-aws/camel-aws-config/src/main/java/org/apache/camel/component/aws/config/AWSConfigProducer.java
index 317be5b3bf6..66f72d11682 100644
--- 
a/components/camel-aws/camel-aws-config/src/main/java/org/apache/camel/component/aws/config/AWSConfigProducer.java
+++ 
b/components/camel-aws/camel-aws-config/src/main/java/org/apache/camel/component/aws/config/AWSConfigProducer.java
@@ -275,7 +275,8 @@ public class AWSConfigProducer extends DefaultProducer {
 DeleteConformancePackRequest request = 
(DeleteConformancePackRequest) payload;
 result = configClient.deleteConformancePack(request);
 } catch (AwsServiceException ase) {
-LOG.trace("Remove Conformance Pack rule command returned 
the error code {}", ase.awsErrorDetails().errorCode());
+LOG.trace("Remove Conformance Pack rule command returned 
the error code {}",
+ase.awsErrorDetails().errorCode());
 throw ase;
 }
 Message message = getMessageForResponse(exchange);
diff --git 
a/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java
 
b/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java
index 54f267e14ff..c278c02abd9 100644
--- 
a/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java
+++ 
b/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSContainer.java
@@ -17,6 +17,11 @@
 
 package org.apache.camel.test.infra.aws2.services;
 
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.Arrays;
+import java.util.stream.Collectors;
+
 import org.apache.camel.test.infra.aws.common.AWSProperties;
 import org.apache.camel.test.infra.aws2.common.TestAWSCredentialsProvider;
 import org.apache.camel.test.infra.common.LocalPropertyResolver;
@@ -26,18 +31,13 @@ import org.testcontainers.containers.GenericContainer;
 import org.testcontainers.containers.wait.strategy.Wait;
 import software.amazon.awssdk.auth.credentials.AwsCredentialsProvider;
 
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.util.Arrays;
-import java.util.stream.Collectors;
-
 /*
  The reason we are not using LocalStack containers here is because they bundle 
AWS SDK v1. They would
  be added to the classpath during the test and, potentially, cause errors or 
cause the code to not
  behave as in runtime.
  */
 public class AWSContainer extends GenericContainer {
-
+
 private static final Logger LOG = 
LoggerFactory.getLogger(AWSLocalContainerService.class);
 private static final int SERVICE_PORT = 4566;
 
diff --git 
a/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSLocalContainerService.java
 
b/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSLocalContainerService.java
index 9828430c088..cc38e0752d6 100644
--- 
a/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSLocalContainerService.java
+++ 
b/test-infra/camel-test-infra

[PR] Auto update Antora graalvm-docs-version attribute [camel-quarkus]

2023-12-05 Thread via GitHub


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

   (no comment)


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

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

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



(camel) branch regen_bot updated (10b09335df9 -> 05b5783767e)

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

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


from 10b09335df9 CAMEL-20188: camel-yaml-dsl - Schema has a lot of 
inheritErrorHandler that should be removed
 add 05b5783767e Regen and upgrade to localstack 3.0.2 (#12315)

No new revisions were added by this update.

Summary of changes:
 .../component/aws/config/AWSConfigProducer.java|  3 +-
 .../test/infra/aws2/services/AWSContainer.java | 12 ++---
 .../aws2/services/AWSLocalContainerService.java|  6 +--
 .../src/test/resources/container.properties|  4 +-
 .../ElasticSearchLocalContainerService.java| 17 +++
 .../etcd3/services/Etcd3LocalContainerService.java |  6 +--
 .../fhir/services/FhirLocalContainerService.java   |  4 +-
 .../HashicorpVaultLocalContainerService.java   | 54 +++---
 .../services/InfinispanLocalContainerService.java  |  4 +-
 .../services/ContainerLocalAuthKafkaService.java   |  2 +-
 .../minio/services/MinioLocalContainerService.java |  4 +-
 .../services/OpenSearchLocalContainerService.java  |  7 +--
 .../services/PostgresLocalContainerService.java|  3 +-
 .../services/PulsarLocalContainerService.java  |  4 +-
 .../infra/rocketmq/services/RocketMQContainer.java |  6 +--
 .../infra/xmpp/services/XmppServerContainer.java   |  8 ++--
 16 files changed, 74 insertions(+), 70 deletions(-)



Re: [I] Improve cross-namespace check when referencing Kamelets in Pipes [camel-k]

2023-12-05 Thread via GitHub


christophd commented on issue #4961:
URL: https://github.com/apache/camel-k/issues/4961#issuecomment-1840439832

   I really wonder though why there is a namespace option on the Kamelet ref at 
all. Both valid values (the user namespace and the operator namespace) are 
already covered by the operator logic when the namespace is not given, because 
the operator searches for the Kamelet in the user namespace first and then 
searches its own namespace as a fallback if I am correct


-- 
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-pub) branch asf-site updated (46a51c3c7 -> 3d362c10e)

2023-12-05 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 46a51c3c7 Website updated to 41e89716770901c1230da143a325e0599f10daea
 discard d0620550c Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new c13f76c20 Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new 3d362c10e Website updated to 224de070c7f4e90d205372fa0bca4c0bb7503ac4

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   (46a51c3c7)
\
 N -- N -- N   refs/heads/asf-site (3d362c10e)

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  |   44 +-
 .well-known/security.txt   |2 +-
 .../2023/11/camel-quarkus-release-3.6.0/index.html |2 +-
 blog/2023/12/camel-data-types/featured.png |  Bin 0 -> 447535 bytes
 ...3c94e7cd_447535_800x0_resize_q95_gaussian_3.png |  Bin 0 -> 453781 bytes
 blog/2023/12/camel-data-types/index.html   |  262 +
 blog/index.html|2 +-
 blog/index.xml |   12 +-
 blog/page/10/index.html|2 +-
 blog/page/100/index.html   |2 +-
 blog/page/101/index.html   |2 +-
 blog/page/102/index.html   |2 +-
 blog/page/103/index.html   |2 +-
 blog/page/104/index.html   |2 +-
 blog/page/105/index.html   |2 +-
 blog/page/106/index.html   |2 +-
 blog/page/{97 => 107}/index.html   |2 +-
 blog/page/11/index.html|2 +-
 blog/page/12/index.html|2 +-
 blog/page/13/index.html|2 +-
 blog/page/14/index.html|2 +-
 blog/page/15/index.html|2 +-
 blog/page/16/index.html|2 +-
 blog/page/17/index.html|2 +-
 blog/page/18/index.html|2 +-
 blog/page/19/index.html|2 +-
 blog/page/2/index.html |2 +-
 blog/page/20/index.html|2 +-
 blog/page/21/index.html|2 +-
 blog/page/22/index.html|2 +-
 blog/page/23/index.html|2 +-
 blog/page/24/index.html|2 +-
 blog/page/25/index.html|2 +-
 blog/page/26/index.html|2 +-
 blog/page/27/index.html|2 +-
 blog/page/28/index.html|2 +-
 blog/page/29/index.html|2 +-
 blog/page/3/index.html |2 +-
 blog/page/30/index.html|2 +-
 blog/page/31/index.html|2 +-
 blog/page/32/index.html|2 +-
 blog/page/33/index.html|2 +-
 blog/page/34/index.html|2 +-
 blog/page/35/index.html|2 +-
 blog/page/36/index.html|2 +-
 blog/page/37/index.html|2 +-
 blog/page/38/index.html|2 +-
 blog/page/39/index.html|2 +-
 blog/page/4/index.html |2 +-
 blog/page/40/index.html|2 +-
 blog/page/41/index.html|2 +-
 blog/page/42/index.html|2 +-
 blog/page/43/index.html|2 +-
 blog/page/44/index.html|2 +-
 blog/page/45/index.html|2 +-
 blog/page/46/index.html|2 +-
 blog/page/47/index.html  

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

2023-12-05 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"}



Re: [PR] [Backport 2.1.x]: Upgrade helm procedure test [camel-k]

2023-12-05 Thread via GitHub


gansheer commented on PR #4947:
URL: https://github.com/apache/camel-k/pull/4947#issuecomment-1840470782

   > We have many builds on going in parallel. I'll launch this again once 
there is less traffic.
   
   Yes, I saw, no worries. It was to give you the priority of rerun for my 
opened PRs :sweat_smile: 


-- 
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-20185 created (now 7f9c8085548)

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

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


  at 7f9c8085548 CAMEL-20185 - Kubernetes CronJob Component - Added to kit

This branch includes the following new commits:

 new ea98237a970 CAMEL-20185 - Kubernetes CronJob Component
 new 7c2a1b1548c CAMEL-20185 - Kubernetes CronJob Component - Docs
 new 7f9c8085548 CAMEL-20185 - Kubernetes CronJob Component - Added to kit

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.




(camel) 02/03: CAMEL-20185 - Kubernetes CronJob Component - Docs

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

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

commit 7c2a1b1548c0c10ba6a33e7cab57fb419cd73c38
Author: Andrea Cosentino 
AuthorDate: Tue Dec 5 11:57:44 2023 +0100

CAMEL-20185 - Kubernetes CronJob Component - Docs

Signed-off-by: Andrea Cosentino 
---
 .../main/docs/kubernetes-cronjob-component.adoc| 46 ++
 1 file changed, 46 insertions(+)

diff --git 
a/components/camel-kubernetes/src/main/docs/kubernetes-cronjob-component.adoc 
b/components/camel-kubernetes/src/main/docs/kubernetes-cronjob-component.adoc
new file mode 100644
index 000..2981a00b6a8
--- /dev/null
+++ 
b/components/camel-kubernetes/src/main/docs/kubernetes-cronjob-component.adoc
@@ -0,0 +1,46 @@
+= Kubernetes Cronjob Component
+:doctitle: Kubernetes Cronjob
+:shortname: kubernetes-cronjob
+:artifactid: camel-kubernetes
+:description: Perform operations on Kubernetes CronJob.
+:since: 4.3
+:supportlevel: Preview
+:tabs-sync-option:
+:component-header: Both producer and consumer are supported
+//Manually maintained attributes
+:group: Kubernetes
+:camel-spring-boot-name: kubernetes
+
+*Since Camel {since}*
+
+*{component-header}*
+
+The Kubernetes CronJob component is one of 
xref:kubernetes-summary.adoc[Kubernetes Components] which
+provides a producer to execute kubernetes CronJob operations and a consumer to 
consume events related to CronJob objects.
+
+
+// component-configure options: START
+
+// component-configure options: END
+
+// component options: START
+include::partial$component-configure-options.adoc[]
+include::partial$component-endpoint-options.adoc[]
+// component options: END
+
+// endpoint options: START
+
+// endpoint options: END
+
+// component headers: START
+include::partial$component-endpoint-headers.adoc[]
+// component headers: END
+
+== Supported producer operation
+
+- listCronJob
+- listCronJobByLabels
+- getCronJob
+- createCronJob
+- updateCronJob
+- deleteCronJob



(camel) 03/03: CAMEL-20185 - Kubernetes CronJob Component - Added to kit

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

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

commit 7f9c8085548d0a5a46a4ddfd56f0c719906c7bdb
Author: Andrea Cosentino 
AuthorDate: Tue Dec 5 12:05:03 2023 +0100

CAMEL-20185 - Kubernetes CronJob Component - Added to kit

Signed-off-by: Andrea Cosentino 
---
 .../org/apache/camel/catalog/components.properties |  1 +
 .../catalog/components/kubernetes-cronjob.json | 72 ++
 .../org/apache/camel/main/components.properties|  1 +
 .../camel-component-known-dependencies.properties  |  1 +
 4 files changed, 75 insertions(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
index 7bb48aca691..06d8ef4900e 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties
@@ -182,6 +182,7 @@ kafka
 kamelet
 knative
 kubernetes-config-maps
+kubernetes-cronjob
 kubernetes-custom-resources
 kubernetes-deployments
 kubernetes-events
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kubernetes-cronjob.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kubernetes-cronjob.json
new file mode 100644
index 000..2c2b6fb8bde
--- /dev/null
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kubernetes-cronjob.json
@@ -0,0 +1,72 @@
+{
+  "component": {
+"kind": "component",
+"name": "kubernetes-cronjob",
+"title": "Kubernetes Cronjob",
+"description": "Perform operations on Kubernetes CronJob.",
+"deprecated": false,
+"firstVersion": "4.3.0",
+"label": "container,cloud",
+"javaType": 
"org.apache.camel.component.kubernetes.cronjob.KubernetesCronJobComponent",
+"supportLevel": "Preview",
+"groupId": "org.apache.camel",
+"artifactId": "camel-kubernetes",
+"version": "4.3.0-SNAPSHOT",
+"scheme": "kubernetes-cronjob",
+"extendsScheme": "",
+"syntax": "kubernetes-cronjob:masterUrl",
+"async": false,
+"api": false,
+"consumerOnly": false,
+"producerOnly": false,
+"lenientProperties": false
+  },
+  "componentProperties": {
+"kubernetesClient": { "index": 0, "kind": "property", "displayName": 
"Kubernetes Client", "group": "common", "label": "", "required": false, "type": 
"object", "javaType": "io.fabric8.kubernetes.client.KubernetesClient", 
"deprecated": false, "autowired": true, "secret": false, "description": "To use 
an existing kubernetes client." },
+"bridgeErrorHandler": { "index": 1, "kind": "property", "displayName": 
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Allows for bridging the consumer to the Camel routing Error Handler, which 
mean any exceptions (if possible) occurred while the Camel consumer is trying 
to pickup incoming messages, or the like [...]
+"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 [...]
+"autowiredEnabled": { "index": 3, "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 [...]
+  },
+  "headers": {
+"CamelKubernetesOperation": { "index": 0, "kind": "header", "displayName": 
"", "group": "producer", "label": "producer", "required": false, "javaType": 
"String", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "The Producer operation", "constantName": 
"org.apache.camel.component.kubernetes.KubernetesConstants#KUBERNETES_OPERATION"
 },
+"CamelKubernetesCronJobLabels": { "index": 1, "kind": "header", 
"displayName": "", "group": "producer", "label": "producer", "required": false, 
"javaType": "Map", "deprecated": false, "deprecationNote": "", 
"a

(camel) 01/03: CAMEL-20185 - Kubernetes CronJob Component

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

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

commit ea98237a97050c645cb7a1478137f9020d1715e2
Author: Andrea Cosentino 
AuthorDate: Tue Dec 5 11:53:18 2023 +0100

CAMEL-20185 - Kubernetes CronJob Component

Signed-off-by: Andrea Cosentino 
---
 .../KubernetesCronJobComponentConfigurer.java  |  72 +++
 .../KubernetesCronJobEndpointConfigurer.java   | 229 +
 .../KubernetesCronJobEndpointUriFactory.java   | 114 ++
 .../services/org/apache/camel/component.properties |   2 +-
 .../org/apache/camel/component/kubernetes-cronjob  |   2 +
 .../camel/configurer/kubernetes-cronjob-component  |   2 +
 .../camel/configurer/kubernetes-cronjob-endpoint   |   2 +
 .../camel/urifactory/kubernetes-cronjob-endpoint   |   2 +
 .../kubernetes/cronjob/kubernetes-cronjob.json |  72 +++
 .../component/kubernetes/KubernetesConstants.java  |  11 +
 .../component/kubernetes/KubernetesOperations.java |  10 +-
 .../cronjob/KubernetesCronJobComponent.java|  30 +++
 .../cronjob/KubernetesCronJobEndpoint.java |  52 +
 .../cronjob/KubernetesCronJobProducer.java | 183 
 .../producer/KubernetesCronJobProducerTest.java| 174 
 15 files changed, 955 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-kubernetes/src/generated/java/org/apache/camel/component/kubernetes/cronjob/KubernetesCronJobComponentConfigurer.java
 
b/components/camel-kubernetes/src/generated/java/org/apache/camel/component/kubernetes/cronjob/KubernetesCronJobComponentConfigurer.java
new file mode 100644
index 000..12cd5e1fb7e
--- /dev/null
+++ 
b/components/camel-kubernetes/src/generated/java/org/apache/camel/component/kubernetes/cronjob/KubernetesCronJobComponentConfigurer.java
@@ -0,0 +1,72 @@
+/* Generated by camel build tools - do NOT edit this file! */
+package org.apache.camel.component.kubernetes.cronjob;
+
+import java.util.Map;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
+import org.apache.camel.spi.PropertyConfigurerGetter;
+import org.apache.camel.spi.ConfigurerStrategy;
+import org.apache.camel.spi.GeneratedPropertyConfigurer;
+import org.apache.camel.util.CaseInsensitiveMap;
+import org.apache.camel.support.component.PropertyConfigurerSupport;
+
+/**
+ * Generated by camel build tools - do NOT edit this file!
+ */
+@SuppressWarnings("unchecked")
+public class KubernetesCronJobComponentConfigurer extends 
PropertyConfigurerSupport implements GeneratedPropertyConfigurer, 
PropertyConfigurerGetter {
+
+@Override
+public boolean configure(CamelContext camelContext, Object obj, String 
name, Object value, boolean ignoreCase) {
+KubernetesCronJobComponent target = (KubernetesCronJobComponent) obj;
+switch (ignoreCase ? name.toLowerCase() : name) {
+case "autowiredenabled":
+case "autowiredEnabled": 
target.setAutowiredEnabled(property(camelContext, boolean.class, value)); 
return true;
+case "bridgeerrorhandler":
+case "bridgeErrorHandler": 
target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); 
return true;
+case "kubernetesclient":
+case "kubernetesClient": 
target.setKubernetesClient(property(camelContext, 
io.fabric8.kubernetes.client.KubernetesClient.class, value)); return true;
+case "lazystartproducer":
+case "lazyStartProducer": 
target.setLazyStartProducer(property(camelContext, boolean.class, value)); 
return true;
+default: return false;
+}
+}
+
+@Override
+public String[] getAutowiredNames() {
+return new String[]{"kubernetesClient"};
+}
+
+@Override
+public Class getOptionType(String name, boolean ignoreCase) {
+switch (ignoreCase ? name.toLowerCase() : name) {
+case "autowiredenabled":
+case "autowiredEnabled": return boolean.class;
+case "bridgeerrorhandler":
+case "bridgeErrorHandler": return boolean.class;
+case "kubernetesclient":
+case "kubernetesClient": return 
io.fabric8.kubernetes.client.KubernetesClient.class;
+case "lazystartproducer":
+case "lazyStartProducer": return boolean.class;
+default: return null;
+}
+}
+
+@Override
+public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
+KubernetesCronJobComponent target = (KubernetesCronJobComponent) obj;
+switch (ignoreCase ? name.toLowerCase() : name) {
+case "autowiredenabled":
+case "autowiredEnabled": return target.isAutowiredEnabled();
+case "bridgeerrorhandler":
+case "bridgeErrorHandler": return target.isBridgeErrorHandler();
+case "kubernetesclient":
+case "kubernetesClient": return target.getKubernetesClient();
+   

[PR] CAMEL-20185 - Kubernetes CronJob Component [camel]

2023-12-05 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20185 - Kubernetes CronJob Component [camel]

2023-12-05 Thread via GitHub


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

   /component-test kubernetes


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

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

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



Re: [PR] CAMEL-20185 - Kubernetes CronJob Component [camel]

2023-12-05 Thread via GitHub


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

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


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

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

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



Re: [PR] CAMEL-20185 - Kubernetes CronJob Component [camel]

2023-12-05 Thread via GitHub


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

   :robot: The Apache Camel test robot will run the tests for you :+1:


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

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

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



Re: [PR] CAMEL-20181: camel-openapi-java - refactor tests to support both Open… [camel]

2023-12-05 Thread via GitHub


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


-- 
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 (05b5783767e -> 45013eb6f8d)

2023-12-05 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 05b5783767e Regen and upgrade to localstack 3.0.2 (#12315)
 add 45013eb6f8d CAMEL-20181: camel-openapi-java - refactor tests to 
support both OpenAPI 3.0 and 3.1 (#12316)

No new revisions were added by this update.

Summary of changes:
 components/camel-openapi-java/pom.xml  |   4 +
 .../java/org/apache/camel/openapi/BeanConfig.java  |  42 ++-
 .../java/org/apache/camel/openapi/OpenAPI3to2.java |   2 +-
 .../apache/camel/openapi/RestOpenApiReader.java|  12 +-
 .../apache/camel/openapi/RestOpenApiSupport.java   | 125 ++---
 .../org/apache/camel/openapi/ComplexTypesTest.java | 118 +--
 .../RestOpenApiDefaultProducesConsumesTest.java|  14 +--
 .../camel/openapi/RestOpenApiLicenseInfoTest.java  |   2 +-
 ...estOpenApiModelApiSecurityRequirementsTest.java |  12 +-
 .../RestOpenApiReaderApiDocsOverrideTest.java  |  39 ++-
 .../openapi/RestOpenApiReaderApiDocsTest.java  |  48 +++-
 .../openapi/RestOpenApiReaderContextPathTest.java  |  14 ++-
 .../openapi/RestOpenApiReaderDayOfWeekTest.java|  54 +++--
 .../openapi/RestOpenApiReaderDisabledTest.java |  13 ++-
 ...RestOpenApiReaderEnableVendorExtensionTest.java |  52 +++--
 .../RestOpenApiReaderFileResponseModelTest.java|  40 +++
 .../RestOpenApiReaderModelApiSecurityTest.java |  14 ++-
 .../RestOpenApiReaderModelBookOrderTest.java   |  13 ++-
 .../camel/openapi/RestOpenApiReaderModelTest.java  |  18 ++-
 .../RestOpenApiReaderOverrideHostApiDocsTest.java  |  70 +---
 .../RestOpenApiReaderPropertyPlaceholderTest.java  |  21 ++--
 .../camel/openapi/RestOpenApiReaderTest.java   |  18 +--
 .../openapi/RestOpenApiV2SecuritySchemesTest.java  |   2 +-
 .../openapi/RestOpenApiV3SecuritySchemesTest.java  |  10 +-
 .../apache/camel/openapi/RestOpenApiV3XOfTest.java |  33 +++---
 ...pringRestOpenApiReaderModelApiSecurityTest.java |   5 +-
 ...t.json => V20SchemaForComplexTypesRequest.json} |   0
 ...orComplexTypesRequestWithSchemaAnnotation.json} |   0
 json => V20SchemaForComplexTypesResponse.json} |   0
 ...rComplexTypesResponseWithSchemaAnnotation.json} |   0
 ...t.json => V30SchemaForComplexTypesRequest.json} |   0
 ...orComplexTypesRequestWithSchemaAnnotation.json} |   0
 json => V30SchemaForComplexTypesResponse.json} |   0
 ...rComplexTypesResponseWithSchemaAnnotation.json} |   0
 ...t.json => V31SchemaForComplexTypesRequest.json} |   4 +-
 ...orComplexTypesRequestWithSchemaAnnotation.json} |   2 +-
 json => V31SchemaForComplexTypesResponse.json} |   4 +-
 ...rComplexTypesResponseWithSchemaAnnotation.json} |   2 +-
 38 files changed, 346 insertions(+), 461 deletions(-)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesRequest.json
 => V20SchemaForComplexTypesRequest.json} (100%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesRequestWithSchemaAnnotation.json
 => V20SchemaForComplexTypesRequestWithSchemaAnnotation.json} (100%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesResponse.json
 => V20SchemaForComplexTypesResponse.json} (100%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesResponseWithSchemaAnnotation.json
 => V20SchemaForComplexTypesResponseWithSchemaAnnotation.json} (100%)
 copy 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequest.json
 => V30SchemaForComplexTypesRequest.json} (100%)
 copy 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequestWithSchemaAnnotation.json
 => V30SchemaForComplexTypesRequestWithSchemaAnnotation.json} (100%)
 copy 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesResponse.json
 => V30SchemaForComplexTypesResponse.json} (100%)
 copy 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesResponseWithSchemaAnnotation.json
 => V30SchemaForComplexTypesResponseWithSchemaAnnotation.json} (100%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequest.json
 => V31SchemaForComplexTypesRequest.json} (99%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequestWithSchemaAnnotation.json
 => V31SchemaForComplexTypesRequestWithSchemaAnnotation.json} (100%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesResponse.json
 => V31SchemaForComplexTypesResponse.json} (99%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/o

Re: [PR] CAMEL-20185 - Kubernetes CronJob Component [camel]

2023-12-05 Thread via GitHub


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


##
components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/cronjob/KubernetesCronJobProducer.java:
##
@@ -0,0 +1,183 @@
+/*
+ * 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.kubernetes.cronjob;
+
+import java.util.Map;
+import java.util.function.Function;
+
+import io.fabric8.kubernetes.api.model.batch.v1.*;
+import io.fabric8.kubernetes.client.dsl.MixedOperation;
+import io.fabric8.kubernetes.client.dsl.Resource;
+import org.apache.camel.Exchange;
+import org.apache.camel.component.kubernetes.AbstractKubernetesEndpoint;
+import org.apache.camel.component.kubernetes.KubernetesConstants;
+import org.apache.camel.component.kubernetes.KubernetesOperations;
+import org.apache.camel.support.DefaultProducer;
+import org.apache.camel.support.MessageHelper;
+import org.apache.camel.util.ObjectHelper;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import static 
org.apache.camel.component.kubernetes.KubernetesHelper.prepareOutboundMessage;
+
+public class KubernetesCronJobProducer extends DefaultProducer {
+
+private static final Logger LOG = 
LoggerFactory.getLogger(KubernetesCronJobProducer.class);
+
+public KubernetesCronJobProducer(AbstractKubernetesEndpoint endpoint) {
+super(endpoint);
+}
+
+@Override
+public AbstractKubernetesEndpoint getEndpoint() {
+return (AbstractKubernetesEndpoint) super.getEndpoint();
+}
+
+@Override
+public void process(Exchange exchange) throws Exception {
+String operation;
+
+if 
(ObjectHelper.isEmpty(getEndpoint().getKubernetesConfiguration().getOperation()))
 {
+operation = 
exchange.getIn().getHeader(KubernetesConstants.KUBERNETES_OPERATION, 
String.class);
+} else {
+operation = 
getEndpoint().getKubernetesConfiguration().getOperation();
+}
+
+switch (operation) {
+
+case KubernetesOperations.LIST_CRON_JOB_OPERATION:
+doList(exchange);
+break;
+
+case KubernetesOperations.LIST_CRON_JOB_BY_LABELS_OPERATION:
+doListCronJobByLabel(exchange);
+break;
+
+case KubernetesOperations.GET_CRON_JOB_OPERATION:
+doGetCronJob(exchange);
+break;
+
+case KubernetesOperations.CREATE_CRON_JOB_OPERATION:
+doCreateCronJob(exchange);
+break;
+
+case KubernetesOperations.UPDATE_CRON_JOB_OPERATION:
+doUpdateCronJob(exchange);
+break;
+
+case KubernetesOperations.DELETE_CRON_JOB_OPERATION:
+doDeleteCronJob(exchange);
+break;
+
+default:
+throw new IllegalArgumentException("Unsupported operation " + 
operation);
+}
+}
+
+protected void doList(Exchange exchange) {
+CronJobList cronJobList = 
getEndpoint().getKubernetesClient().batch().v1().cronjobs().list();
+
+prepareOutboundMessage(exchange, cronJobList.getItems());
+}
+
+protected void doListCronJobByLabel(Exchange exchange) {
+Map labels = 
exchange.getIn().getHeader(KubernetesConstants.KUBERNETES_CRON_JOB_LABELS, 
Map.class);
+if (ObjectHelper.isEmpty(labels)) {
+LOG.error("List CronJob by labels require specify a labels set");
+throw new IllegalArgumentException("Cron Job by labels require 
specify a labels set");
+}
+
+MixedOperation> cronJobs
+= getEndpoint().getKubernetesClient().batch().v1().cronjobs();
+
+CronJobList jobList = cronJobs.withLabels(labels).list();
+
+prepareOutboundMessage(exchange, jobList.getItems());
+}
+
+protected void doGetCronJob(Exchange exchange) {
+String cronjobName = 
exchange.getIn().getHeader(KubernetesConstants.KUBERNETES_CRON_JOB_NAME, 
String.class);
+String namespaceName = 
exchange.getIn().getHeader(KubernetesConstants.KUBERNETES_NAMESPACE_NAME, 
String.class);
+if (ObjectHelper.isEmpty(cronjobName)) {

(camel) branch regen_bot updated (05b5783767e -> 45013eb6f8d)

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

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


from 05b5783767e Regen and upgrade to localstack 3.0.2 (#12315)
 add 45013eb6f8d CAMEL-20181: camel-openapi-java - refactor tests to 
support both OpenAPI 3.0 and 3.1 (#12316)

No new revisions were added by this update.

Summary of changes:
 components/camel-openapi-java/pom.xml  |   4 +
 .../java/org/apache/camel/openapi/BeanConfig.java  |  42 ++-
 .../java/org/apache/camel/openapi/OpenAPI3to2.java |   2 +-
 .../apache/camel/openapi/RestOpenApiReader.java|  12 +-
 .../apache/camel/openapi/RestOpenApiSupport.java   | 125 ++---
 .../org/apache/camel/openapi/ComplexTypesTest.java | 118 +--
 .../RestOpenApiDefaultProducesConsumesTest.java|  14 +--
 .../camel/openapi/RestOpenApiLicenseInfoTest.java  |   2 +-
 ...estOpenApiModelApiSecurityRequirementsTest.java |  12 +-
 .../RestOpenApiReaderApiDocsOverrideTest.java  |  39 ++-
 .../openapi/RestOpenApiReaderApiDocsTest.java  |  48 +++-
 .../openapi/RestOpenApiReaderContextPathTest.java  |  14 ++-
 .../openapi/RestOpenApiReaderDayOfWeekTest.java|  54 +++--
 .../openapi/RestOpenApiReaderDisabledTest.java |  13 ++-
 ...RestOpenApiReaderEnableVendorExtensionTest.java |  52 +++--
 .../RestOpenApiReaderFileResponseModelTest.java|  40 +++
 .../RestOpenApiReaderModelApiSecurityTest.java |  14 ++-
 .../RestOpenApiReaderModelBookOrderTest.java   |  13 ++-
 .../camel/openapi/RestOpenApiReaderModelTest.java  |  18 ++-
 .../RestOpenApiReaderOverrideHostApiDocsTest.java  |  70 +---
 .../RestOpenApiReaderPropertyPlaceholderTest.java  |  21 ++--
 .../camel/openapi/RestOpenApiReaderTest.java   |  18 +--
 .../openapi/RestOpenApiV2SecuritySchemesTest.java  |   2 +-
 .../openapi/RestOpenApiV3SecuritySchemesTest.java  |  10 +-
 .../apache/camel/openapi/RestOpenApiV3XOfTest.java |  33 +++---
 ...pringRestOpenApiReaderModelApiSecurityTest.java |   5 +-
 ...t.json => V20SchemaForComplexTypesRequest.json} |   0
 ...orComplexTypesRequestWithSchemaAnnotation.json} |   0
 json => V20SchemaForComplexTypesResponse.json} |   0
 ...rComplexTypesResponseWithSchemaAnnotation.json} |   0
 ...t.json => V30SchemaForComplexTypesRequest.json} |   0
 ...orComplexTypesRequestWithSchemaAnnotation.json} |   0
 json => V30SchemaForComplexTypesResponse.json} |   0
 ...rComplexTypesResponseWithSchemaAnnotation.json} |   0
 ...t.json => V31SchemaForComplexTypesRequest.json} |   4 +-
 ...orComplexTypesRequestWithSchemaAnnotation.json} |   2 +-
 json => V31SchemaForComplexTypesResponse.json} |   4 +-
 ...rComplexTypesResponseWithSchemaAnnotation.json} |   2 +-
 38 files changed, 346 insertions(+), 461 deletions(-)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesRequest.json
 => V20SchemaForComplexTypesRequest.json} (100%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesRequestWithSchemaAnnotation.json
 => V20SchemaForComplexTypesRequestWithSchemaAnnotation.json} (100%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesResponse.json
 => V20SchemaForComplexTypesResponse.json} (100%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V2SchemaForComplexTypesResponseWithSchemaAnnotation.json
 => V20SchemaForComplexTypesResponseWithSchemaAnnotation.json} (100%)
 copy 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequest.json
 => V30SchemaForComplexTypesRequest.json} (100%)
 copy 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequestWithSchemaAnnotation.json
 => V30SchemaForComplexTypesRequestWithSchemaAnnotation.json} (100%)
 copy 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesResponse.json
 => V30SchemaForComplexTypesResponse.json} (100%)
 copy 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesResponseWithSchemaAnnotation.json
 => V30SchemaForComplexTypesResponseWithSchemaAnnotation.json} (100%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequest.json
 => V31SchemaForComplexTypesRequest.json} (99%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesRequestWithSchemaAnnotation.json
 => V31SchemaForComplexTypesRequestWithSchemaAnnotation.json} (100%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/camel/openapi/{V3SchemaForComplexTypesResponse.json
 => V31SchemaForComplexTypesResponse.json} (99%)
 rename 
components/camel-openapi-java/src/test/resources/org/apache/c

[PR] fix(build): don't override user provided resources [camel-k]

2023-12-05 Thread via GitHub


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

   Closes #4956
   
   
   
   
   
   
   
   
   **Release Note**
   ```release-note
   fix(build): don't override user provided resources
   ```
   


-- 
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-20185 - Kubernetes CronJob Component [camel]

2023-12-05 Thread via GitHub


oscerd commented on code in PR #12317:
URL: https://github.com/apache/camel/pull/12317#discussion_r1415397551


##
components/camel-kubernetes/src/main/docs/kubernetes-cronjob-component.adoc:
##
@@ -0,0 +1,46 @@
+= Kubernetes Cronjob Component
+:doctitle: Kubernetes Cronjob
+:shortname: kubernetes-cronjob
+:artifactid: camel-kubernetes
+:description: Perform operations on Kubernetes CronJob.
+:since: 4.3
+:supportlevel: Preview
+:tabs-sync-option:
+:component-header: Both producer and consumer are supported
+//Manually maintained attributes
+:group: Kubernetes
+:camel-spring-boot-name: kubernetes
+
+*Since Camel {since}*
+
+*{component-header}*
+
+The Kubernetes CronJob component is one of 
xref:kubernetes-summary.adoc[Kubernetes Components] which

Review Comment:
   I guess it's a copy paste and it's wrong even in other places. I'll check.



-- 
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-20185 - Kubernetes CronJob Component [camel]

2023-12-05 Thread via GitHub


oscerd commented on code in PR #12317:
URL: https://github.com/apache/camel/pull/12317#discussion_r1415397842


##
components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/cronjob/KubernetesCronJobProducer.java:
##
@@ -0,0 +1,183 @@
+/*
+ * 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.kubernetes.cronjob;
+
+import java.util.Map;
+import java.util.function.Function;
+
+import io.fabric8.kubernetes.api.model.batch.v1.*;
+import io.fabric8.kubernetes.client.dsl.MixedOperation;
+import io.fabric8.kubernetes.client.dsl.Resource;
+import org.apache.camel.Exchange;
+import org.apache.camel.component.kubernetes.AbstractKubernetesEndpoint;
+import org.apache.camel.component.kubernetes.KubernetesConstants;
+import org.apache.camel.component.kubernetes.KubernetesOperations;
+import org.apache.camel.support.DefaultProducer;
+import org.apache.camel.support.MessageHelper;
+import org.apache.camel.util.ObjectHelper;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import static 
org.apache.camel.component.kubernetes.KubernetesHelper.prepareOutboundMessage;
+
+public class KubernetesCronJobProducer extends DefaultProducer {
+
+private static final Logger LOG = 
LoggerFactory.getLogger(KubernetesCronJobProducer.class);
+
+public KubernetesCronJobProducer(AbstractKubernetesEndpoint endpoint) {
+super(endpoint);
+}
+
+@Override
+public AbstractKubernetesEndpoint getEndpoint() {
+return (AbstractKubernetesEndpoint) super.getEndpoint();
+}
+
+@Override
+public void process(Exchange exchange) throws Exception {
+String operation;
+
+if 
(ObjectHelper.isEmpty(getEndpoint().getKubernetesConfiguration().getOperation()))
 {
+operation = 
exchange.getIn().getHeader(KubernetesConstants.KUBERNETES_OPERATION, 
String.class);
+} else {
+operation = 
getEndpoint().getKubernetesConfiguration().getOperation();
+}
+
+switch (operation) {
+
+case KubernetesOperations.LIST_CRON_JOB_OPERATION:
+doList(exchange);
+break;
+
+case KubernetesOperations.LIST_CRON_JOB_BY_LABELS_OPERATION:
+doListCronJobByLabel(exchange);
+break;
+
+case KubernetesOperations.GET_CRON_JOB_OPERATION:
+doGetCronJob(exchange);
+break;
+
+case KubernetesOperations.CREATE_CRON_JOB_OPERATION:
+doCreateCronJob(exchange);
+break;
+
+case KubernetesOperations.UPDATE_CRON_JOB_OPERATION:
+doUpdateCronJob(exchange);
+break;
+
+case KubernetesOperations.DELETE_CRON_JOB_OPERATION:
+doDeleteCronJob(exchange);
+break;
+
+default:
+throw new IllegalArgumentException("Unsupported operation " + 
operation);
+}
+}
+
+protected void doList(Exchange exchange) {
+CronJobList cronJobList = 
getEndpoint().getKubernetesClient().batch().v1().cronjobs().list();
+
+prepareOutboundMessage(exchange, cronJobList.getItems());
+}
+
+protected void doListCronJobByLabel(Exchange exchange) {
+Map labels = 
exchange.getIn().getHeader(KubernetesConstants.KUBERNETES_CRON_JOB_LABELS, 
Map.class);
+if (ObjectHelper.isEmpty(labels)) {
+LOG.error("List CronJob by labels require specify a labels set");
+throw new IllegalArgumentException("Cron Job by labels require 
specify a labels set");
+}
+
+MixedOperation> cronJobs
+= getEndpoint().getKubernetesClient().batch().v1().cronjobs();
+
+CronJobList jobList = cronJobs.withLabels(labels).list();
+
+prepareOutboundMessage(exchange, jobList.getItems());
+}
+
+protected void doGetCronJob(Exchange exchange) {
+String cronjobName = 
exchange.getIn().getHeader(KubernetesConstants.KUBERNETES_CRON_JOB_NAME, 
String.class);
+String namespaceName = 
exchange.getIn().getHeader(KubernetesConstants.KUBERNETES_NAMESPACE_NAME, 
String.class);
+if (ObjectHelper.isEmpty(cronjobName)) {
+ 

Re: [PR] CAMEL-20185 - Kubernetes CronJob Component [camel]

2023-12-05 Thread via GitHub


oscerd commented on code in PR #12317:
URL: https://github.com/apache/camel/pull/12317#discussion_r1415399705


##
components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/cronjob/KubernetesCronJobEndpoint.java:
##
@@ -0,0 +1,52 @@
+/*
+ * 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.kubernetes.cronjob;
+
+import org.apache.camel.Category;
+import org.apache.camel.Consumer;
+import org.apache.camel.Processor;
+import org.apache.camel.Producer;
+import org.apache.camel.component.kubernetes.AbstractKubernetesEndpoint;
+import org.apache.camel.component.kubernetes.KubernetesConfiguration;
+import org.apache.camel.component.kubernetes.KubernetesConstants;
+import org.apache.camel.spi.UriEndpoint;
+
+import static 
org.apache.camel.component.kubernetes.KubernetesConstants.SCHEME_CRON_JOB;
+
+/**
+ * Perform operations on Kubernetes CronJob.
+ */
+@UriEndpoint(firstVersion = "4.3.0", scheme = SCHEME_CRON_JOB, title = 
"Kubernetes Cronjob",

Review Comment:
   there is no consumer



-- 
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-20185 - Kubernetes CronJob Component [camel]

2023-12-05 Thread via GitHub


oscerd commented on code in PR #12317:
URL: https://github.com/apache/camel/pull/12317#discussion_r1415401244


##
components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/cronjob/KubernetesCronJobEndpoint.java:
##
@@ -0,0 +1,52 @@
+/*
+ * 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.kubernetes.cronjob;
+
+import org.apache.camel.Category;
+import org.apache.camel.Consumer;
+import org.apache.camel.Processor;
+import org.apache.camel.Producer;
+import org.apache.camel.component.kubernetes.AbstractKubernetesEndpoint;
+import org.apache.camel.component.kubernetes.KubernetesConfiguration;
+import org.apache.camel.component.kubernetes.KubernetesConstants;
+import org.apache.camel.spi.UriEndpoint;
+
+import static 
org.apache.camel.component.kubernetes.KubernetesConstants.SCHEME_CRON_JOB;
+
+/**
+ * Perform operations on Kubernetes CronJob.
+ */
+@UriEndpoint(firstVersion = "4.3.0", scheme = SCHEME_CRON_JOB, title = 
"Kubernetes Cronjob",

Review Comment:
   so it's false.



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