[PR] [Backport 2.1.x]: chore(ci): upgrade release-action action [camel-k]

2024-02-28 Thread via GitHub


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

   Backport from #5182
   
   
   
   
   
   
   **Release Note**
   ```release-note
   chore(ci): upgrade release-action action
   ```
   


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

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

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



[PR] [Backport 2.2.x]: chore(ci): upgrade release-action action [camel-k]

2024-02-28 Thread via GitHub


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

   Backport from #5182
   
   
   
   
   
   
   
   
   **Release Note**
   ```release-note
   chore(ci): upgrade release-action action
   ```
   


-- 
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] Remove xerces:xercesImpl from the BOM [camel-quarkus]

2024-02-28 Thread via GitHub


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

   I think xerces being in the BOM is a relic from the past that's no longer 
required.


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

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

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



Re: [PR] Bump com.cedarsoftware:java-util from 2.4.0 to 2.4.2 [camel]

2024-02-28 Thread via GitHub


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

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


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

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

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



(camel) branch dependabot/maven/com.cedarsoftware-java-util-2.4.2 created (now 4257a0bc1f0)

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

github-bot pushed a change to branch 
dependabot/maven/com.cedarsoftware-java-util-2.4.2
in repository https://gitbox.apache.org/repos/asf/camel.git


  at 4257a0bc1f0 Bump com.cedarsoftware:java-util from 2.4.0 to 2.4.2

No new revisions were added by this update.



[PR] Bump com.cedarsoftware:java-util from 2.4.0 to 2.4.2 [camel]

2024-02-28 Thread via GitHub


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

   Bumps [com.cedarsoftware:java-util](https://github.com/jdereg/java-util) 
from 2.4.0 to 2.4.2.
   
   Changelog
   Sourced from https://github.com/jdereg/java-util/blob/master/changelog.md";>com.cedarsoftware:java-util's
 changelog.
   
   
   2.4.2
   
   Fixed compatibility issues with StringUtilities. Method 
parameters changed from String to CharSequence broke backward compatibility.  
Linked jars are bound to method signature at compile time, not at runtime. 
Added both methods where needed.  Removed methods with "Not" in the 
name.
   Fixed compatibility issue with FastByteArrayOutputStream. 
The .getBuffer() API was removed in favor of toByteArray(). Now 
both methods exist, leaving getBuffer() for backward 
compatibility.
   The Converter "Everything" test updated to track which pairs 
are tested (fowarded or reverse) and then outputs in order what tests 
combinations are left to write.
   
   
   2.4.1
   
   Converter has had significant expansion in the types that 
it can convert between, about 670 combinations.  In addition, you can add your 
own conversions to it as well. Call the 
Converter.getSupportedConversions() to see all the combinations 
supported.  Also, you can use Converter instance-based now, 
allowing it to have different conversion tables if needed.
   DateUtilities has had performance improvements (> 35%), 
and adds a new .parseDate() API that allows it to return a 
ZonedDateTime. See the updated Javadoc on the class for a complete 
description of all the formats it supports.  Normally, you do not need to use 
this class directly, as you can use Converter to convert between 
Dates, Calendars, and the new Temporal classes like 
ZonedDateTime, Duration, Instance, as 
well as Strings.
   FastByteArrayOutputStream updated to match 
ByteArrayOutputStream API. This means that 
.getBuffer() is .toByteArray() and 
.clear() is now .reset().
   FastByteArrayInputStream added.  Matches 
ByteArrayInputStream API.
   Bug fix: SafeSimpleDateFormat to properly format dates 
having years with fewer than four digits.
   Bug fix: SafeSimpleDateFormat .toString(), .hashCode(), and .equals() 
now delegate to the contain SimpleDataFormat instance.  We recommend using the 
newer DateTimeFormatter, however, this class works well for Java 1.8+ if 
needed.
   
   
   
   
   
   
   Commits
   
   https://github.com/jdereg/java-util/commit/7ccfe74e22f421f6bda9abf0f161ab9fb436420b";>7ccfe74
 Update README.md
   https://github.com/jdereg/java-util/commit/68378f99cb1ff570aafee45ddd975ff41049b336";>68378f9
 updated version info.
   https://github.com/jdereg/java-util/commit/e8a061ea9a323763bb886f746b39e52bc07f009d";>e8a061e
 * Fixed compatibility issues with StringUtilities. Method 
parameters change...
   https://github.com/jdereg/java-util/commit/46a05b1d449ee396728f5a347929435b3287430e";>46a05b1
 Everything tests for converter now captures which pairs have been tested 
(for...
   https://github.com/jdereg/java-util/commit/d1d89bbc7873e1b7b0686d8f7b650f800c74ede5";>d1d89bb
 Update README.md
   https://github.com/jdereg/java-util/commit/3deb45f9111f5494b54ab1e01d2f9ceefbd761c2";>3deb45f
 Added more conversions for AtomicLong, Long, and Duration.  Prepared for 
rele...
   https://github.com/jdereg/java-util/commit/bdb6227b90fca3e1806680d342cbbe94e4b12a56";>bdb6227
 Double, BigDecimal, and BigInteger completed in terms of conversions of 
tempo...
   https://github.com/jdereg/java-util/commit/05e240eb2ba68496b0dffbc9f713450b4e83cc4c";>05e240e
 More Converter tests.  More succinct way of setting up date-times using 
Instant.
   https://github.com/jdereg/java-util/commit/474baae76406d066e2a49fdf5502122a6d0a9f63";>474baae
 BigDecimal to/from Duration, BigDecimal to/from Instant - code and tests.
   https://github.com/jdereg/java-util/commit/0e2dd2aa71a8c40f68d39a1b1e058b0b240be1bc";>0e2dd2a
 BigDecimal and BigInteger working correctly with java.sql.Date
   Additional commits viewable in https://github.com/jdereg/java-util/compare/2.4.0...2.4.2";>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.cedarsoftware:java-util&package-manager=maven&previous-version=2.4.0&new-version=2.4.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits

Re: [PR] Bump logback-version from 1.5.0 to 1.5.1 [camel]

2024-02-28 Thread via GitHub


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

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


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

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

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



(camel) branch dependabot/maven/logback-version-1.5.1 created (now 28f28faffb8)

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

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


  at 28f28faffb8 Bump logback-version from 1.5.0 to 1.5.1

No new revisions were added by this update.



[PR] Bump logback-version from 1.5.0 to 1.5.1 [camel]

2024-02-28 Thread via GitHub


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

   Bumps `logback-version` from 1.5.0 to 1.5.1.
   Updates `ch.qos.logback:logback-classic` from 1.5.0 to 1.5.1
   
   Commits
   
   https://github.com/qos-ch/logback/commit/88fd31c639ba6cad5e8c11bf980690f04e27eb1e";>88fd31c
 prepare release 1.5.1
   https://github.com/qos-ch/logback/commit/231e9bdcb3bf9e79fd028a4ca89fa8616d9d7551";>231e9bd
 more internal changes and refactorings
   https://github.com/qos-ch/logback/commit/8f3a30422fbec60715aa14abc5321bc5c76e9b5d";>8f3a304
 more fine tuning of propertyModelHandler and co
   https://github.com/qos-ch/logback/commit/a21c6b3593463c3a9144bd37ada7ca335e848ad8";>a21c6b3
 introduce ContextAwarePropertyContainer, corresponding refactorings
   https://github.com/qos-ch/logback/commit/26b9106f96b3065205e7b3bda419976e76a1ec9a";>26b9106
 refactoring Property* related code
   https://github.com/qos-ch/logback/commit/6dc07a29a0699bd2f9a081215b1f5a01d4981235";>6dc07a2
 added LevelUtil
   https://github.com/qos-ch/logback/commit/9c65d2ddbf7dbfced3f1496719d6de39ace488a2";>9c65d2d
 use release flag for the compiler-plugin
   https://github.com/qos-ch/logback/commit/057ab677df86302246a48320948e08f43a0563c3";>057ab67
 mark some methods public, more defensive code
   https://github.com/qos-ch/logback/commit/1e1c2a7f12f13de27b1d723a28c97a0a085174a6";>1e1c2a7
 move 'capitalizeFirstLetter' method to StringUtil
   https://github.com/qos-ch/logback/commit/097da9dd54c8cb144c0a32b02c6e787f5a278166";>097da9d
 allow MDCAdapter to to be overriden in LogbackContext.setMDCAdapter
   Additional commits viewable in https://github.com/qos-ch/logback/compare/v_1.5.0...v_1.5.1";>compare 
view
   
   
   
   
   Updates `ch.qos.logback:logback-core` from 1.5.0 to 1.5.1
   
   Commits
   
   https://github.com/qos-ch/logback/commit/88fd31c639ba6cad5e8c11bf980690f04e27eb1e";>88fd31c
 prepare release 1.5.1
   https://github.com/qos-ch/logback/commit/231e9bdcb3bf9e79fd028a4ca89fa8616d9d7551";>231e9bd
 more internal changes and refactorings
   https://github.com/qos-ch/logback/commit/8f3a30422fbec60715aa14abc5321bc5c76e9b5d";>8f3a304
 more fine tuning of propertyModelHandler and co
   https://github.com/qos-ch/logback/commit/a21c6b3593463c3a9144bd37ada7ca335e848ad8";>a21c6b3
 introduce ContextAwarePropertyContainer, corresponding refactorings
   https://github.com/qos-ch/logback/commit/26b9106f96b3065205e7b3bda419976e76a1ec9a";>26b9106
 refactoring Property* related code
   https://github.com/qos-ch/logback/commit/6dc07a29a0699bd2f9a081215b1f5a01d4981235";>6dc07a2
 added LevelUtil
   https://github.com/qos-ch/logback/commit/9c65d2ddbf7dbfced3f1496719d6de39ace488a2";>9c65d2d
 use release flag for the compiler-plugin
   https://github.com/qos-ch/logback/commit/057ab677df86302246a48320948e08f43a0563c3";>057ab67
 mark some methods public, more defensive code
   https://github.com/qos-ch/logback/commit/1e1c2a7f12f13de27b1d723a28c97a0a085174a6";>1e1c2a7
 move 'capitalizeFirstLetter' method to StringUtil
   https://github.com/qos-ch/logback/commit/097da9dd54c8cb144c0a32b02c6e787f5a278166";>097da9d
 allow MDCAdapter to to be overriden in LogbackContext.setMDCAdapter
   Additional commits viewable in https://github.com/qos-ch/logback/compare/v_1.5.0...v_1.5.1";>compare 
view
   
   
   
   
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


--

Re: [PR] chore(ci): upgrade release-action action [camel-k]

2024-02-28 Thread via GitHub


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

   @gansheer please, backport to release-2.1 and release-2.2 as the action is 
now failing on those branches. Thanks.


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

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

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



Re: [PR] Clean up camel-k extension leftovers [camel-quarkus]

2024-02-28 Thread via GitHub


jamesnetherton commented on code in PR #5802:
URL: https://github.com/apache/camel-quarkus/pull/5802#discussion_r1507119401


##
integration-tests/camel-k-runtime-shutdown/pom.xml:
##
@@ -0,0 +1,304 @@
+
+
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+
+org.apache.camel.quarkus
+camel-quarkus-build-parent-it
+3.9.0-SNAPSHOT
+../../poms/build-parent-it/pom.xml
+
+4.0.0
+
+
camel-quarkus-integration-test-camel-k-runtime-shutdown
+Camel Quarkus :: Integration Tests :: Camel K Runtime Shutdown
+Integration tests for Camel Quarkus K Runtime Shutdown 
extension
+
+
+
${project.build.directory}/quarkus-app/quarkus-run.jar

Review Comment:
   Since the runnable JAR is never packaged in the platform build, we'll need 
to exclude these tests there.
   
   You can exclude the test module here:
   
   
https://github.com/apache/camel-quarkus/blob/main/tooling/test-list/pom.xml#L57
   
   



##
integration-tests/camel-k-runtime-shutdown/pom.xml:
##
@@ -0,0 +1,304 @@
+
+
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+
+org.apache.camel.quarkus
+camel-quarkus-build-parent-it
+3.9.0-SNAPSHOT
+../../poms/build-parent-it/pom.xml
+
+4.0.0
+
+
camel-quarkus-integration-test-camel-k-runtime-shutdown
+Camel Quarkus :: Integration Tests :: Camel K Runtime Shutdown
+Integration tests for Camel Quarkus K Runtime Shutdown 
extension
+
+
+
${project.build.directory}/quarkus-app/quarkus-run.jar
+
+
+
+
+org.apache.camel.quarkus
+camel-quarkus-camel-k
+
+
+org.apache.camel.quarkus
+camel-quarkus-yaml-dsl
+
+
+org.apache.camel.quarkus
+camel-quarkus-timer
+
+
+org.apache.camel.quarkus
+camel-quarkus-log
+
+
+org.apache.camel.quarkus
+camel-quarkus-direct
+
+
+
+io.quarkus
+quarkus-jsonb
+
+
+io.quarkus
+quarkus-resteasy
+
+
+io.quarkus
+quarkus-resteasy-jsonb
+
+
+
+
+io.quarkus
+quarkus-junit5
+test
+
+
+io.rest-assured
+rest-assured
+test
+
+
+org.assertj
+assertj-core
+test
+
+
+org.apache.camel.quarkus
+
camel-quarkus-integration-tests-process-executor-support
+test
+
+
+
+
+
+
+full
+
+
+!quickly
+
+
+
+
+
+
+org.apache.maven.plugins
+maven-surefire-plugin
+
+
+default-test
+
+test
+
+integration-test
+
+
+
${quarkus.runner.jar}
+
+
+
+
+
+
+
+
+
+
+native
+
+
+native
+
+
+
+native
+
${project.build.directory}/${project.artifactId}-${project.version}-native-image-source-jar/${project.artifactId}-${project.version}-runner.jar
+
+
+
+
+org.apache.maven.plugins
+maven-failsafe-plugin
+
+
+
+integration-test
+verify
+
+
+
+
${project.build.directory}/${project.artifactId}-${project.version}-runner
+
+
+
+
+
+
+
+
+
+  

Re: [PR] Install operator/base image according to the target architecture [camel-k]

2024-02-28 Thread via GitHub


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


##
pkg/cmd/install.go:
##
@@ -414,6 +415,24 @@ func (o *installCmdOptions) setupOperator(
platformName)
}
 
+   // Choose an architecture specific operator/base image when not already 
given explicitly
+   //
+   arch, err := kubernetes.NodeArchLookup(o.Context, c)

Review Comment:
   Adding any code it means maintenance burden in the long run to the people 
maintaining the project. We must be careful to add only whatever is meant to be 
supported. We have a procedure to install the ARM based architecture [1] and 
beside that the final solution has been already identified and provided in a 
comment above as well.
   
   [1] 
https://camel.apache.org/camel-k/2.2.x/installation/advanced/multi-architecture.html



-- 
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 aws-java-sdk2-version from 2.24.11 to 2.24.13 [camel]

2024-02-28 Thread via GitHub


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

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


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

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

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



[PR] Bump aws-java-sdk2-version from 2.24.11 to 2.24.13 [camel]

2024-02-28 Thread via GitHub


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

   Bumps `aws-java-sdk2-version` from 2.24.11 to 2.24.13.
   Updates `software.amazon.awssdk:sqs` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:kinesis` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:s3` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:sns` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:cloudwatch` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:ec2` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:eventbridge` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:iam` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:kms` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:lambda` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:secretsmanager` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:sts` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:dynamodb` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:config` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:apache-client` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:athena` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:bedrock` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:bedrockruntime` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:cloudtrail` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:ecs` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:eks` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:netty-nio-client` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:firehose` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:kafka` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:mq` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:redshiftdata` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:ses` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:sfn` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:timestreamquery` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:timestreamwrite` from 2.24.11 to 2.24.13
   
   Updates `software.amazon.awssdk:translate` from 2.24.11 to 2.24.13
   
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


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

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

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



(camel) branch dependabot/maven/aws-java-sdk2-version-2.24.13 created (now 4184a796761)

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

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


  at 4184a796761 Bump aws-java-sdk2-version from 2.24.11 to 2.24.13

No new revisions were added by this update.



Re: [I] Add missing functionalities and resolve possible discrepancies [camel-k]

2024-02-28 Thread via GitHub


lburgazzoli commented on issue #4951:
URL: https://github.com/apache/camel-k/issues/4951#issuecomment-1970544789

   still relevant


-- 
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] Add missing fields on IntegrationPlatform custom resource to support platform controller operator [camel-k]

2024-02-28 Thread via GitHub


lburgazzoli commented on issue #4949:
URL: https://github.com/apache/camel-k/issues/4949#issuecomment-1970544514

   still relevant


-- 
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] Add missing fields on IntegrationPlatform custom resource to support platform controller operator [camel-k]

2024-02-28 Thread via GitHub


lburgazzoli commented on issue #4949:
URL: https://github.com/apache/camel-k/issues/4949#issuecomment-1970544366

   still relevant


-- 
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] Make the platform controller operator instantiate the camel k operator [camel-k]

2024-02-28 Thread via GitHub


lburgazzoli commented on issue #4950:
URL: https://github.com/apache/camel-k/issues/4950#issuecomment-1970544132

   still relevant


-- 
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] Clean up camel-k extension leftovers [camel-quarkus]

2024-02-28 Thread via GitHub


lburgazzoli commented on PR #5802:
URL: https://github.com/apache/camel-quarkus/pull/5802#issuecomment-1970543303

   > Any idea if these Groovy bits are still required (I'm assuming they are 
for Groovy support)?
   > 
   > 
[`main`/poms/bom/pom.xml#L6599-L6623](https://github.com/apache/camel-quarkus/blob/main/poms/bom/pom.xml?rgh-link-date=2024-02-28T16%3A08%3A47Z#L6599-L6623)
   
   it looks like removing them does not cause any issue. Since the camel-k now 
leverages camel-groovy from core/quarkus, I guess they are not more needed.
   
   
   > 
   > Also is this test related stuff is still needed?
   > 
   > 
[`main`/poms/bom-test/pom.xml#L135-L144](https://github.com/apache/camel-quarkus/blob/main/poms/bom-test/pom.xml?rgh-link-date=2024-02-28T16%3A08%3A47Z#L135-L144)
   
   Those were not needed


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

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

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



(camel) branch main updated: Add new camel-quarkus release

2024-02-28 Thread gnodet
This is an automated email from the ASF dual-hosted git repository.

gnodet 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 cab567fcc79 Add new camel-quarkus release
cab567fcc79 is described below

commit cab567fcc797cf3349fb3582e4c6a56373932d8f
Author: Guillaume Nodet 
AuthorDate: Thu Feb 29 08:07:21 2024 +0100

Add new camel-quarkus release
---
 .../org/apache/camel/catalog/releases/camel-quarkus-releases.json| 5 +
 1 file changed, 5 insertions(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json
index 48061f0b9d6..0fd976c5256 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json
@@ -225,5 +225,10 @@
 "version": "3.7.0",
 "date": "2024-01-31",
 "jdk": "17"
+},
+{
+"version": "3.8.0",
+"date": "2024-02-28",
+"jdk": "17,21"
 }
 ]



Re: [PR] Bump jooq-version from 3.19.4 to 3.19.5 [camel]

2024-02-28 Thread via GitHub


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

   :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] Bump jooq-version from 3.19.4 to 3.19.5 [camel]

2024-02-28 Thread via GitHub


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

   /component-test jooq


-- 
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 com.github.mwiede:jsch from 0.2.16 to 0.2.17 [camel]

2024-02-28 Thread via GitHub


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

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


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

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

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



(camel) branch dependabot/maven/com.github.mwiede-jsch-0.2.17 created (now ffdc1458642)

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

github-bot pushed a change to branch 
dependabot/maven/com.github.mwiede-jsch-0.2.17
in repository https://gitbox.apache.org/repos/asf/camel.git


  at ffdc1458642 Bump com.github.mwiede:jsch from 0.2.16 to 0.2.17

No new revisions were added by this update.



[PR] Bump com.github.mwiede:jsch from 0.2.16 to 0.2.17 [camel]

2024-02-28 Thread via GitHub


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

   Bumps [com.github.mwiede:jsch](https://github.com/mwiede/jsch) from 0.2.16 
to 0.2.17.
   
   Commits
   
   https://github.com/mwiede/jsch/commit/1d214a4a013b6a480e0a2ea01072b38828cadebe";>1d214a4
 [maven-release-plugin] prepare release jsch-0.2.17
   https://github.com/mwiede/jsch/commit/966e7fd55e443939b80134f17cb117b3ca642561";>966e7fd
 Merge pull request https://redirect.github.com/mwiede/jsch/issues/510";>#510 from 
mwiede/dependabot/maven/log4j.version-2.23.0
   https://github.com/mwiede/jsch/commit/f5d0557a3a7e1b006de2e0f0a58794f142d33bf9";>f5d0557
 Merge pull request https://redirect.github.com/mwiede/jsch/issues/509";>#509 from 
mwiede/dependabot/maven/org.testcontainers-junit...
   https://github.com/mwiede/jsch/commit/f8796f10db1e956a57c0135be90a7ee421881c08";>f8796f1
 Bump log4j.version from 2.22.1 to 2.23.0
   https://github.com/mwiede/jsch/commit/e790d37af9764720811ef4713c3f900ac2d9449b";>e790d37
 Bump org.testcontainers:junit-jupiter from 1.19.5 to 1.19.6
   https://github.com/mwiede/jsch/commit/260e72a9de838b1833c4083f12e11762e3147fa6";>260e72a
 Merge pull request https://redirect.github.com/mwiede/jsch/issues/504";>#504 from 
mwiede/dependabot/maven/junixsocket.version-2.9.0
   https://github.com/mwiede/jsch/commit/95d5f8c80f5e3ef1fd54fdbd261a6420f9408529";>95d5f8c
 Merge pull request https://redirect.github.com/mwiede/jsch/issues/505";>#505 from 
mwiede/dependabot/maven/errorprone.version-2.25.0
   https://github.com/mwiede/jsch/commit/36116975bb4297e25a6e8c9ee954f62e2d76a1ed";>3611697
 Bump errorprone.version from 2.24.1 to 2.25.0
   https://github.com/mwiede/jsch/commit/fa2b4d562ee02fa384f5136ec850f65a457ff7c7";>fa2b4d5
 Bump junixsocket.version from 2.8.3 to 2.9.0
   https://github.com/mwiede/jsch/commit/02aa7a1b9c0f9b1548b0a3d6352f83e211c55245";>02aa7a1
 Merge pull request https://redirect.github.com/mwiede/jsch/issues/501";>#501 from 
mwiede/dependabot/maven/org.testcontainers-junit...
   Additional commits viewable in https://github.com/mwiede/jsch/compare/jsch-0.2.16...jsch-0.2.17";>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.github.mwiede:jsch&package-manager=maven&previous-version=0.2.16&new-version=0.2.17)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


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

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

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



Re: [PR] Bump jooq-version from 3.19.4 to 3.19.5 [camel]

2024-02-28 Thread via GitHub


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

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


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

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

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



(camel) branch dependabot/maven/jooq-version-3.19.5 created (now eb918287636)

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

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


  at eb918287636 Bump jooq-version from 3.19.4 to 3.19.5

No new revisions were added by this update.



[PR] Bump jooq-version from 3.19.4 to 3.19.5 [camel]

2024-02-28 Thread via GitHub


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

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


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

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

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



Re: [PR] Bump org.apache.shiro:shiro-core from 1.13.0 to 2.0.0 [camel]

2024-02-28 Thread via GitHub


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

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


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

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

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



[PR] Bump org.apache.shiro:shiro-core from 1.13.0 to 2.0.0 [camel]

2024-02-28 Thread via GitHub


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

   Bumps [org.apache.shiro:shiro-core](https://github.com/apache/shiro) from 
1.13.0 to 2.0.0.
   
   Release notes
   Sourced from https://github.com/apache/shiro/releases";>org.apache.shiro:shiro-core's 
releases.
   
   Apache Shiro 2.0.0
   What's new Highlights
   
   Java 11 is the minimum supported JVM version
   Jakarta EE 10 support (Java/Jakarta EE 8 is also supported)
   New Jakarta EE integration module (see https://shiro.apache.org/jakarta-ee.html";>Jakarta EE Integration for 
more information)
   SpringBoot 3.x support (SpringBoot 2.x is also supported)
   Automatic form resubmission when session expired (Jakarta EE only)
   
   What's Changed
   
   [SHIRO-762] Mark SecurityUtils.securityManager as volatile 
by https://github.com/boris-petrov";>@​boris-petrov in 
https://redirect.github.com/apache/shiro/pull/218";>apache/shiro#218
   [SHIRO-765] Upgrade to Apache Pom Parent 23 by https://github.com/fpapon";>@​fpapon in https://redirect.github.com/apache/shiro/pull/222";>apache/shiro#222
   [SHIRO-766] ignore exception on invalid cookies. by https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/225";>apache/shiro#225
   [SHIRO-764] Add IpFilter for restricting access IP ranges by https://github.com/mookkiah";>@​mookkiah in https://redirect.github.com/apache/shiro/pull/219";>apache/shiro#219
   SHIRO-708 - Remove deprecated shiro-cas module by https://github.com/coheigea";>@​coheigea in https://redirect.github.com/apache/shiro/pull/152";>apache/shiro#152
   [SHIRO-770] Remove base64 implementation, keep UTF-8 codec by default. 
by https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/224";>apache/shiro#224
   [SHIRO-750] update jax-rs dependency to jakarta. Non-Breaking change. by 
https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/207";>apache/shiro#207
   [SHIRO-750] update jax-rs dependency to jakarta. by https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/226";>apache/shiro#226
   Remove CI profile for 2.0.0 by https://github.com/fpapon";>@​fpapon in https://redirect.github.com/apache/shiro/pull/229";>apache/shiro#229
   [SHIRO-770] Fix test regression introduced by SHIRO-770. by https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/228";>apache/shiro#228
   [SHIRO-772] Remove PowerMock from EnvironmentLoaderServiceTest.java. by 
https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/230";>apache/shiro#230
   [SHIRO-773] update groovy for JDK14 builds. by https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/231";>apache/shiro#231
   [SHIRO-775] Excessive logging in jetty ContainerITs by https://github.com/fpapon";>@​fpapon in https://redirect.github.com/apache/shiro/pull/233";>apache/shiro#233
   [SHIRO-771] Add additional build jobs with various JDKs. by https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/227";>apache/shiro#227
   (doc) Committer Update by https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/221";>apache/shiro#221
   [SHIRO-774] remove ignored prerequisites by https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/234";>apache/shiro#234
   [SHIRO-777] remove powermock. by https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/235";>apache/shiro#235
   [SHIRO-768] Remove the shiro-all module by https://github.com/fpapon";>@​fpapon in https://redirect.github.com/apache/shiro/pull/232";>apache/shiro#232
   [SHIRO-679] Shiro modules have split packages by https://github.com/fpapon";>@​fpapon in https://redirect.github.com/apache/shiro/pull/236";>apache/shiro#236
   [SHIRO-776] Update JUnit by https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/237";>apache/shiro#237
   (DOC) - Fix the annotation of setCredentialsMatcher method in 
AuthenticatingR… by https://github.com/ramostear";>@​ramostear in https://redirect.github.com/apache/shiro/pull/238";>apache/shiro#238
   [SHIRO-761] Bad OSGi import for javax.annotation in shiro-guice by https://github.com/fpapon";>@​fpapon in https://redirect.github.com/apache/shiro/pull/243";>apache/shiro#243
   [SHIRO-551] Implement toString() for DelegatingSubject.java. by https://github.com/bmarwell";>@​bmarwell in https://redirect.github.com/apache/shiro/pull/220";>apache/shiro#220
   [SHIRO-784] Fixed issue where no custom filters are defined in spring 
(non-boot) apps by https://github.com/bdemers";>@​bdemers in https://redirect.github.com/apache/shiro/pull/244";>apache/shiro#244
   [SHIRO-778] onInit method on AuthenticatingRealm is called twice by https://github.com/fpapon";>@​fpapon in https://redirect.git

(camel) branch dependabot/maven/org.apache.shiro-shiro-core-2.0.0 created (now fe5d7afc186)

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

github-bot pushed a change to branch 
dependabot/maven/org.apache.shiro-shiro-core-2.0.0
in repository https://gitbox.apache.org/repos/asf/camel.git


  at fe5d7afc186 Bump org.apache.shiro:shiro-core from 1.13.0 to 2.0.0

No new revisions were added by this update.



svn commit: r67631 - in /dev/camel/camel-karavan/4.4.0: ./ camel-karavan-4.4.0.zip camel-karavan-4.4.0.zip.asc camel-karavan-4.4.0.zip.sha512

2024-02-28 Thread marat
Author: marat
Date: Thu Feb 29 02:38:51 2024
New Revision: 67631

Log:
Import camel-karavan release

Added:
dev/camel/camel-karavan/4.4.0/
dev/camel/camel-karavan/4.4.0/camel-karavan-4.4.0.zip   (with props)
dev/camel/camel-karavan/4.4.0/camel-karavan-4.4.0.zip.asc
dev/camel/camel-karavan/4.4.0/camel-karavan-4.4.0.zip.sha512

Added: dev/camel/camel-karavan/4.4.0/camel-karavan-4.4.0.zip
==
Binary file - no diff available.

Propchange: dev/camel/camel-karavan/4.4.0/camel-karavan-4.4.0.zip
--
svn:mime-type = application/octet-stream

Added: dev/camel/camel-karavan/4.4.0/camel-karavan-4.4.0.zip.asc
==
--- dev/camel/camel-karavan/4.4.0/camel-karavan-4.4.0.zip.asc (added)
+++ dev/camel/camel-karavan/4.4.0/camel-karavan-4.4.0.zip.asc Thu Feb 29 
02:38:51 2024
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCAAdFiEE7hC6duO+UDoHt1ULCeTRn4/SWEgFAmXf7YsACgkQCeTRn4/S
+WEiN0xAA2Bs7QQqiGZqm2EqavpKcFTiOqYZkIyWDLpk5qMOeg+NNnPrebl/xR956
+0323YlVSmuKboreIqHf0ANWbPsYS/Mb8D4LA6KxkNPBVOy/9FsW0BZLiI1F+V+d6
+XU9JV0hqHvyKcX8Vhr4S4FR+pSWZXvRkwCk9nziDAhYTmP2eXdOlyzQ8FpPi1w90
+o77BeEV+VYX/uvtdO3WsBDitsdZOF064F9TXaVZzWAY/pN3fYPyEmEHcV6GWHSnW
+Futt4thNTHsqwBaMJvu4GxoBNaLjjjretw7cu/m9gnFcNXdKS/F8Vw81yRQu1cnJ
+Qc/ByHJTDsWWiGtMsHGNUxxWsCEX+lP+S5qHFefUatyckNb+hvnNXnjqef4Deuvs
+BB2N6mYHHe4VLWXCRXw3K0UAtDPGQs+pQHlCc2JXQuak5KiZFqAuXRqU+ke1QwlO
+zkgHkTcZmVFYSZbFsvJWn++g+/6dLG77OtxGx3X9GfWlycpSMfBe/QUgu9z6V6ja
+ZjL0M3/hkRiFcy8vy2BrAwqWRVHOJfeE/i7t8fbPDN1pcRRHwRLV/eS1lwcCV0DT
+QmmiCBfBNHOq3QFSZ9d4MP9RValCYrPGRZQyhXJB0r+Wx8b5nD0olc3WbARES5Kz
+EY4YHcxIaVxIcLdt1MUHnJ6umkRuHGZXUTZS14seoEq1dm2rnTk=
+=ORNl
+-END PGP SIGNATURE-

Added: dev/camel/camel-karavan/4.4.0/camel-karavan-4.4.0.zip.sha512
==
--- dev/camel/camel-karavan/4.4.0/camel-karavan-4.4.0.zip.sha512 (added)
+++ dev/camel/camel-karavan/4.4.0/camel-karavan-4.4.0.zip.sha512 Thu Feb 29 
02:38:51 2024
@@ -0,0 +1,3 @@
+camel-karavan-4.4.0.zip: 6B102459 A762CF2E F7D4F5D0 2154C9C4 14CFC576 5B9D1AE1
+ C2FAF019 EADB2A87 5A2B869E 5FCFD0AD 9C956318 1FF73B19
+ 2245AF79 CA760630 647748B0 6A6A6811




(camel-karavan) tag 4.4.0 created (now eaf73233)

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

marat pushed a change to tag 4.4.0
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


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



Re: [I] User should be able to limit resources for integration containers in docker [camel-karavan]

2024-02-28 Thread via GitHub


mgubaidullin closed issue #1052: User should be able to limit resources for 
integration containers in docker
URL: https://github.com/apache/camel-karavan/issues/1052


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

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

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



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

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

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


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

commit 6521fd28cf38dcd559f697df737a6dd2b0f52216
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Feb 29 01:07:18 2024 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index fa17f162a..8c68d1d5f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@
 
 **Closed issues:**
 
+- Get environment variable value is empty in properties file 
[\#5178](https://github.com/apache/camel-k/issues/5178)
 - Debug Integrations failing 
[\#5161](https://github.com/apache/camel-k/issues/5161)
 - Performance regression due to configmap/secrets whole cluster watch 
[\#5143](https://github.com/apache/camel-k/issues/5143)
 - camel-jackson configure configure "autoDiscoverObjectMapper" property for 
non-spring boot application 
[\#5140](https://github.com/apache/camel-k/issues/5140)



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

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

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


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

commit b2b0e3a0e6d86ed05ea1f2d33d7021d1e1014b3f
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Feb 29 00:24:59 2024 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index fa17f162a..8c68d1d5f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@
 
 **Closed issues:**
 
+- Get environment variable value is empty in properties file 
[\#5178](https://github.com/apache/camel-k/issues/5178)
 - Debug Integrations failing 
[\#5161](https://github.com/apache/camel-k/issues/5161)
 - Performance regression due to configmap/secrets whole cluster watch 
[\#5143](https://github.com/apache/camel-k/issues/5143)
 - camel-jackson configure configure "autoDiscoverObjectMapper" property for 
non-spring boot application 
[\#5140](https://github.com/apache/camel-k/issues/5140)



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

2024-02-28 Thread via GitHub


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

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


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

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

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



Re: [I] Add missing fields on IntegrationPlatform custom resource to support platform controller operator [camel-k]

2024-02-28 Thread via GitHub


github-actions[bot] commented on issue #4949:
URL: https://github.com/apache/camel-k/issues/4949#issuecomment-1970150081

   This issue has been automatically marked as stale due to 90 days of 
inactivity.
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply 
write any comment.
   Thanks for your contributions!


-- 
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] Make the platform controller operator instantiate the camel k operator [camel-k]

2024-02-28 Thread via GitHub


github-actions[bot] commented on issue #4950:
URL: https://github.com/apache/camel-k/issues/4950#issuecomment-1970150050

   This issue has been automatically marked as stale due to 90 days of 
inactivity.
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply 
write any comment.
   Thanks for your contributions!


-- 
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] Add missing functionalities and resolve possible discrepancies [camel-k]

2024-02-28 Thread via GitHub


github-actions[bot] commented on issue #4951:
URL: https://github.com/apache/camel-k/issues/4951#issuecomment-1970150019

   This issue has been automatically marked as stale due to 90 days of 
inactivity.
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply 
write any comment.
   Thanks for your contributions!


-- 
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] Refactor code generators [camel]

2024-02-28 Thread via GitHub


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

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


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

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

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



[PR] Refactor code generators [camel]

2024-02-28 Thread via GitHub


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

   - **Add missing generated annotations and message**
   - **Regen**
   - **Switch to velocity for converter loaders**
   - **Regen**
   


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

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

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



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

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

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


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

commit d45d039d799d6c8931b637ac890666144e065984
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Feb 28 23:45:29 2024 +

chore: nightly automatic updates
---
 CHANGELOG.md |   8 +
 coverage.out | 791 +++
 2 files changed, 424 insertions(+), 375 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index a742b7d59..701518f4a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@
 
 **Closed issues:**
 
+- Get environment variable value is empty in properties file 
[\#5178](https://github.com/apache/camel-k/issues/5178)
 - Debug Integrations failing 
[\#5161](https://github.com/apache/camel-k/issues/5161)
 - Performance regression due to configmap/secrets whole cluster watch 
[\#5143](https://github.com/apache/camel-k/issues/5143)
 - camel-jackson configure configure "autoDiscoverObjectMapper" property for 
non-spring boot application 
[\#5140](https://github.com/apache/camel-k/issues/5140)
@@ -45,10 +46,15 @@
 
 **Merged pull requests:**
 
+- chore\(deps\): bump github.com/prometheus/client\_golang from 1.18.0 to 
1.19.0 [\#5193](https://github.com/apache/camel-k/pull/5193) 
([dependabot[bot]](https://github.com/apps/dependabot))
 - update quarkus-native.adoc 
[\#5190](https://github.com/apache/camel-k/pull/5190) 
([bvahdat](https://github.com/bvahdat))
+- chore: use constants for config types 
[\#5189](https://github.com/apache/camel-k/pull/5189) 
([squakez](https://github.com/squakez))
+- fix\(builder\): strenghten matching dependencies heuristic 
[\#5187](https://github.com/apache/camel-k/pull/5187) 
([squakez](https://github.com/squakez))
 - chore\(knative\): configure via properties 
[\#5186](https://github.com/apache/camel-k/pull/5186) 
([squakez](https://github.com/squakez))
 - chore\(cmd\): deprecate -d file feature 
[\#5185](https://github.com/apache/camel-k/pull/5185) 
([squakez](https://github.com/squakez))
 - fix\(trait\): service binding 
[\#5184](https://github.com/apache/camel-k/pull/5184) 
([squakez](https://github.com/squakez))
+- chore\(ci\): upgrade release-action action 
[\#5182](https://github.com/apache/camel-k/pull/5182) 
([gansheer](https://github.com/gansheer))
+- fix\(ctrl\): address changes during phase transition 
[\#5180](https://github.com/apache/camel-k/pull/5180) 
([squakez](https://github.com/squakez))
 - chore\(deps\): bump github.com/prometheus/common from 0.47.0 to 0.48.0 
[\#5177](https://github.com/apache/camel-k/pull/5177) 
([dependabot[bot]](https://github.com/apps/dependabot))
 - fix\(ctrl\): calculate digest on spec traits 
[\#5176](https://github.com/apache/camel-k/pull/5176) 
([squakez](https://github.com/squakez))
 - chore\(deps\): bump go.uber.org/zap from 1.26.0 to 1.27.0 
[\#5171](https://github.com/apache/camel-k/pull/5171) 
([dependabot[bot]](https://github.com/apps/dependabot))
@@ -59,6 +65,7 @@
 - chore\(deps\): bump github.com/prometheus/client\_model from 0.5.0 to 0.6.0 
[\#5162](https://github.com/apache/camel-k/pull/5162) 
([dependabot[bot]](https://github.com/apps/dependabot))
 - feat\(ci\): go:embed usage 
[\#5160](https://github.com/apache/camel-k/pull/5160) 
([squakez](https://github.com/squakez))
 - chore\(deps\): bump github.com/prometheus/common from 0.46.0 to 0.47.0 
[\#5159](https://github.com/apache/camel-k/pull/5159) 
([dependabot[bot]](https://github.com/apps/dependabot))
+- feat\(build\): Add Build waiting condition 
[\#5157](https://github.com/apache/camel-k/pull/5157) 
([gansheer](https://github.com/gansheer))
 - Reduce write to hash, prepare string from secret, configmap 
[\#5155](https://github.com/apache/camel-k/pull/5155) 
([lfabriko](https://github.com/lfabriko))
 - feat\(traits\): persist generated status 
[\#5153](https://github.com/apache/camel-k/pull/5153) 
([squakez](https://github.com/squakez))
 - fix\(core\): Externally built Integrations run command configuration from 
jvm trait [\#5151](https://github.com/apache/camel-k/pull/5151) 
([gansheer](https://github.com/gansheer))
@@ -68,6 +75,7 @@
 - fix\(test\): add apache-snapshot repository as the test may run agains a 
camel-k-runtime snaphost release 
[\#5147](https://github.com/apache/camel-k/pull/5147) 
([claudio4j](https://github.com/claudio4j))
 - fix\(controller\): filter confimap/secret watches 
[\#5144](https://github.com/apache/camel-k/pull/5144) 
([squakez](https://github.com/squakez))
 - chore\(e2e-tests\): Improve E2E tests 
[\#5139](https://github.com/apache/camel-k/pull/5139) 
([christophd](https://github.com/christophd))
+- fix\(\#5097\): Remove secondary IntegrationPlatform in favor of using 
IntegrationProfile [\#5138](h

(camel-karavan) branch main updated: Update DEV.md (#1150)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new eaf73233 Update DEV.md (#1150)
eaf73233 is described below

commit eaf73233b172c69182c50c51473df36ecfec3ced
Author: Praval jindal <94207665+praval...@users.noreply.github.com>
AuthorDate: Thu Feb 29 03:08:09 2024 +0530

Update DEV.md (#1150)

I've updated the path correctly. Previously, I was working with Karavan 
version 4.3.0 and following the instructions from the development guide of 
version 4.3.1, which led to the mistake. I apologize for the error.
---
 docs/DEV.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/DEV.md b/docs/DEV.md
index f022f107..c092ffa0 100644
--- a/docs/DEV.md
+++ b/docs/DEV.md
@@ -55,9 +55,9 @@ Docker Engine 24+
 1. Make the following change in package.json line 5-12 (needed only for 
Windows)
 ```
   "scripts": {
-"copy-designer": "xcopy 
..\\..\\..\\..\\..\\karavan-designer\\src\\designer src\\designer /E/H/Y",
-"copy-knowledgebase": "xcopy 
..\\..\\..\\..\\..\\karavan-designer\\src\\knowledgebase src\\knowledgebase 
/E/H/Y",
-"copy-topology": "xcopy 
..\\..\\..\\..\\..\\karavan-designer\\src\\topology src\\topology /E/H/Y",
+"copy-designer": "xcopy ..\\..\\..\\..\\karavan-designer\\src\\designer 
src\\designer /E/H/Y",
+"copy-knowledgebase": "xcopy 
..\\..\\..\\..\\karavan-designer\\src\\knowledgebase src\\knowledgebase /E/H/Y",
+"copy-topology": "xcopy ..\\..\\..\\..\\karavan-designer\\src\\topology 
src\\topology /E/H/Y",
 "copy-code": " npm run copy-designer &&  npm run copy-knowledgebase &&  
npm run copy-topology",
 "start": "set PORT=3003 && npm run copy-code && react-scripts start",
 "build": "npm run copy-code && DISABLE_ESLINT_PLUGIN=true react-scripts 
build"



Re: [PR] Update DEV.md [camel-karavan]

2024-02-28 Thread via GitHub


mgubaidullin merged PR #1150:
URL: https://github.com/apache/camel-karavan/pull/1150


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

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

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



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

2024-02-28 Thread Apache Infrastructure


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



(camel-quarkus) branch main updated: Manage software.amazon.awssdk:endpoints-spi

2024-02-28 Thread ppalaga
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new 4c4f79b52d Manage software.amazon.awssdk:endpoints-spi
4c4f79b52d is described below

commit 4c4f79b52da030a88b9769345515efd1ed29cec1
Author: Peter Palaga 
AuthorDate: Wed Feb 28 20:04:59 2024 +0100

Manage software.amazon.awssdk:endpoints-spi
---
 poms/bom/pom.xml  | 5 +
 poms/bom/src/main/generated/flattened-full-pom.xml| 5 +
 poms/bom/src/main/generated/flattened-reduced-pom.xml | 5 +
 poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 5 +
 4 files changed, 20 insertions(+)

diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml
index 7c6be019a4..23a9a75125 100644
--- a/poms/bom/pom.xml
+++ b/poms/bom/pom.xml
@@ -7038,6 +7038,11 @@
 jedis
 ${jedis-client.version}
 
+
+software.amazon.awssdk
+endpoints-spi
+${awssdk.version}
+
 
 software.amazon.awssdk
 http-auth-aws
diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml 
b/poms/bom/src/main/generated/flattened-full-pom.xml
index b5b4f42519..834a19e390 100644
--- a/poms/bom/src/main/generated/flattened-full-pom.xml
+++ b/poms/bom/src/main/generated/flattened-full-pom.xml
@@ -6961,6 +6961,11 @@
 jedis
 5.1.0
   
+  
+software.amazon.awssdk
+endpoints-spi
+2.24.9
+  
   
 software.amazon.awssdk
 http-auth-aws
diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml 
b/poms/bom/src/main/generated/flattened-reduced-pom.xml
index 70ea0b32c0..40962381f8 100644
--- a/poms/bom/src/main/generated/flattened-reduced-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml
@@ -6841,6 +6841,11 @@
 jedis
 5.1.0
   
+  
+software.amazon.awssdk
+endpoints-spi
+2.24.9
+  
   
 software.amazon.awssdk
 http-auth-aws
diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml 
b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
index fce258da45..f764381d2d 100644
--- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
+++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml
@@ -6841,6 +6841,11 @@
 jedis
 5.1.0
   
+  
+software.amazon.awssdk
+endpoints-spi
+2.24.9
+  
   
 software.amazon.awssdk
 http-auth-aws



Re: [PR] Manage software.amazon.awssdk:endpoints-spi [camel-quarkus]

2024-02-28 Thread via GitHub


ppalaga merged PR #5821:
URL: https://github.com/apache/camel-quarkus/pull/5821


-- 
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] Merge Camel quarkus main to main for 3.8.1 quarkus platform release [camel-quarkus-examples]

2024-02-28 Thread via GitHub


aldettinger opened a new pull request, #200:
URL: https://github.com/apache/camel-quarkus-examples/pull/200

   Note that the `main` branch points at the latest stable Camel Quarkus 
release.
   Pull requests should be generally send against the `camel-quarkus-main` 
branch pointing at the current Camel Quarkus SNAPSHOT.


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

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

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



(camel-website) branch regen_bot updated (5821f692 -> 8037e95c)

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

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


from 5821f692 chore: update cache
 add 8037e95c Camel Quarkus 3.8.0 announcement blog post

No new revisions were added by this update.

Summary of changes:
 antora-playbook-snippets/antora-playbook.yml   |   2 +-
 .../camel-featured.jpeg| Bin
 .../2024/02/camel-quarkus-release-3.8.0/index.md   |  24 +
 content/releases/q/release-3.8.0.md|  12 +++
 4 files changed, 37 insertions(+), 1 deletion(-)
 copy content/blog/{2021/03/camel-quarkus-release-1.8.0 => 
2024/02/camel-quarkus-release-3.8.0}/camel-featured.jpeg (100%)
 create mode 100644 content/blog/2024/02/camel-quarkus-release-3.8.0/index.md
 create mode 100644 content/releases/q/release-3.8.0.md



(camel-website) branch main updated: Camel Quarkus 3.8.0 announcement blog post

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

aldettinger 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 8037e95c Camel Quarkus 3.8.0 announcement blog post
8037e95c is described below

commit 8037e95c99922fe14fb76baf6da0f1f9a73907ee
Author: aldettinger 
AuthorDate: Wed Feb 28 15:58:13 2024 +0100

Camel Quarkus 3.8.0 announcement blog post
---
 antora-playbook-snippets/antora-playbook.yml   |   2 +-
 .../camel-featured.jpeg| Bin 0 -> 625206 bytes
 .../2024/02/camel-quarkus-release-3.8.0/index.md   |  24 +
 content/releases/q/release-3.8.0.md|  12 +++
 4 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/antora-playbook-snippets/antora-playbook.yml 
b/antora-playbook-snippets/antora-playbook.yml
index 74c26a57..42783d8d 100644
--- a/antora-playbook-snippets/antora-playbook.yml
+++ b/antora-playbook-snippets/antora-playbook.yml
@@ -51,7 +51,7 @@ content:
 - url: https://github.com/apache/camel-quarkus.git
   branches:
 - main
-- 3.7.x
+- 3.8.x
 - 3.2.x
   start_path: docs
 
diff --git 
a/content/blog/2024/02/camel-quarkus-release-3.8.0/camel-featured.jpeg 
b/content/blog/2024/02/camel-quarkus-release-3.8.0/camel-featured.jpeg
new file mode 100644
index ..36c23a02
Binary files /dev/null and 
b/content/blog/2024/02/camel-quarkus-release-3.8.0/camel-featured.jpeg differ
diff --git a/content/blog/2024/02/camel-quarkus-release-3.8.0/index.md 
b/content/blog/2024/02/camel-quarkus-release-3.8.0/index.md
new file mode 100644
index ..1d9484ae
--- /dev/null
+++ b/content/blog/2024/02/camel-quarkus-release-3.8.0/index.md
@@ -0,0 +1,24 @@
+---
+title: "Camel Quarkus 3.8.0 Released"
+date: 2024-02-28
+authors: ["aldettinger"]
+categories: ["Releases", "Camel Quarkus"]
+preview: "Camel Quarkus 3.8.0 Released"
+summary: "Camel Quarkus 3.8.0 release"
+---
+
+Image by https://www.flickr.com/photos/lanzen/5984113332";>Anders Lanzen https://creativecommons.org/licenses/by-nc-sa/2.0";>CC BY-NC-SA 
2.0
+
+We are pleased to announce the 3.8.0 release of Camel Quarkus. It aligns with 
the Camel 4.4.0 and Quarkus 3.8.0 releases.
+
+For more information, please check the [Release notes](/releases/q-3.8.0/).
+
+## Camel 4.4.0
+
+Please refer to the [Camel 4.4.0 announcement](/blog/2024/02/RELEASE-4.4.0/) 
for more details. There's more information in the "what's new" [blog 
post](/blog/2024/02/camel44-whatsnew/).
+
+## Quarkus 3.8.0
+
+Please refer to the [Quarkus 
3.8.0](https://github.com/quarkusio/quarkus/releases/tag/3.8.0) release notes.
+
+Many thanks to all contributors and issue reporters!
diff --git a/content/releases/q/release-3.8.0.md 
b/content/releases/q/release-3.8.0.md
new file mode 100644
index ..7bd7be94
--- /dev/null
+++ b/content/releases/q/release-3.8.0.md
@@ -0,0 +1,12 @@
+---
+url: "/releases/q-3.8.0/"
+date: 2024-02-28
+type: release-note
+version: 3.8.0
+title: "Camel Quarkus release 3.8.0"
+preview: ""
+changelog: ""
+category: "camel-quarkus"
+milestone: 54
+jdk: [17, 21]
+---
\ No newline at end of file



Re: [PR] Camel Quarkus 3.8.0 announcement blog post [camel-website]

2024-02-28 Thread via GitHub


aldettinger merged PR #1155:
URL: https://github.com/apache/camel-website/pull/1155


-- 
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-runtime) branch dependabot/maven/com.google.cloud.tools-jib-maven-plugin-3.4.1 created (now 19181428)

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

github-bot pushed a change to branch 
dependabot/maven/com.google.cloud.tools-jib-maven-plugin-3.4.1
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


  at 19181428 build(deps): bump com.google.cloud.tools:jib-maven-plugin

No new revisions were added by this update.



(camel-k-runtime) branch dependabot/maven/quarkus-platform-version-3.8.1 created (now d5f6ef23)

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

github-bot pushed a change to branch 
dependabot/maven/quarkus-platform-version-3.8.1
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


  at d5f6ef23 build(deps): bump quarkus-platform-version from 3.6.0 to 3.8.1

No new revisions were added by this update.



[PR] build(deps): bump com.google.cloud.tools:jib-maven-plugin from 3.4.0 to 3.4.1 [camel-k-runtime]

2024-02-28 Thread via GitHub


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

   Bumps 
[com.google.cloud.tools:jib-maven-plugin](https://github.com/GoogleContainerTools/jib)
 from 3.4.0 to 3.4.1.
   
   Commits
   
   See full diff in https://github.com/GoogleContainerTools/jib/commits";>compare view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.cloud.tools:jib-maven-plugin&package-manager=maven&previous-version=3.4.0&new-version=3.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


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

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

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



[PR] build(deps): bump quarkus-platform-version from 3.6.0 to 3.8.1 [camel-k-runtime]

2024-02-28 Thread via GitHub


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

   Bumps `quarkus-platform-version` from 3.6.0 to 3.8.1.
   Updates `io.quarkus.platform:quarkus-camel-bom` from 3.6.0 to 3.8.1
   
   Commits
   
   https://github.com/quarkusio/quarkus-platform/commit/68d8e2991fc569ca61a046aa71db2de4b129e0f8";>68d8e29
 [maven-release-plugin] prepare release 3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/7976b3dd607677a3ad3fd77b1ad3e9251a9f2695";>7976b3d
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1131";>#1131
 from gsmet/quarkus-3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/bd3ed08a4f9662486992be0ddbd76ef03f1ed3ab";>bd3ed08
 Upgrade to Quarkus 3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/3fa71db9ecef386fe7b9e300775e2366aeceafe1";>3fa71db
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1130";>#1130
 from vsevel/feature/vault_3.5.0
   https://github.com/quarkusio/quarkus-platform/commit/d33c5bec4eb500b9d388a12bea86b536860e3b5e";>d33c5be
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1129";>#1129
 from aldettinger/main
   https://github.com/quarkusio/quarkus-platform/commit/a641fb467a2266bcec0a9d4e7d0e9d76bfe667c9";>a641fb4
 Upgrade to Camel Quarkus 3.8.0
   https://github.com/quarkusio/quarkus-platform/commit/33207b7a1c7ee70b5356c43c70eccac548bf9631";>33207b7
 Vault 3.5.0
   https://github.com/quarkusio/quarkus-platform/commit/5948661cd64deb11dfa76ad4b0b2141ae1f303c4";>5948661
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1128";>#1128
 from scrocquesel/update-amz
   https://github.com/quarkusio/quarkus-platform/commit/f9c76f9cb4c1a3b1fec64b621db90018f07e3afe";>f9c76f9
 Update Quarkus Amazon Services to 2.12.1
   https://github.com/quarkusio/quarkus-platform/commit/e4d53a5295aa4e32d9ae520f8653f9a8860f0394";>e4d53a5
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1127";>#1127
 from JiriOndrusek/upgrade-qcxf-3.8.0
   Additional commits viewable in https://github.com/quarkusio/quarkus-platform/compare/3.6.0...3.8.1";>compare
 view
   
   
   
   
   Updates `io.quarkus.platform:quarkus-bom` from 3.6.0 to 3.8.1
   
   Commits
   
   https://github.com/quarkusio/quarkus-platform/commit/68d8e2991fc569ca61a046aa71db2de4b129e0f8";>68d8e29
 [maven-release-plugin] prepare release 3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/7976b3dd607677a3ad3fd77b1ad3e9251a9f2695";>7976b3d
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1131";>#1131
 from gsmet/quarkus-3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/bd3ed08a4f9662486992be0ddbd76ef03f1ed3ab";>bd3ed08
 Upgrade to Quarkus 3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/3fa71db9ecef386fe7b9e300775e2366aeceafe1";>3fa71db
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1130";>#1130
 from vsevel/feature/vault_3.5.0
   https://github.com/quarkusio/quarkus-platform/commit/d33c5bec4eb500b9d388a12bea86b536860e3b5e";>d33c5be
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1129";>#1129
 from aldettinger/main
   https://github.com/quarkusio/quarkus-platform/commit/a641fb467a2266bcec0a9d4e7d0e9d76bfe667c9";>a641fb4
 Upgrade to Camel Quarkus 3.8.0
   https://github.com/quarkusio/quarkus-platform/commit/33207b7a1c7ee70b5356c43c70eccac548bf9631";>33207b7
 Vault 3.5.0
   https://github.com/quarkusio/quarkus-platform/commit/5948661cd64deb11dfa76ad4b0b2141ae1f303c4";>5948661
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1128";>#1128
 from scrocquesel/update-amz
   https://github.com/quarkusio/quarkus-platform/commit/f9c76f9cb4c1a3b1fec64b621db90018f07e3afe";>f9c76f9
 Update Quarkus Amazon Services to 2.12.1
   https://github.com/quarkusio/quarkus-platform/commit/e4d53a5295aa4e32d9ae520f8653f9a8860f0394";>e4d53a5
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1127";>#1127
 from JiriOndrusek/upgrade-qcxf-3.8.0
   Additional commits viewable in https://github.com/quarkusio/quarkus-platform/compare/3.6.0...3.8.1";>compare
 view
   
   
   
   
   Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.6.0 to 3.8.1
   
   Commits
   
   https://github.com/quarkusio/quarkus-platform/commit/68d8e2991fc569ca61a046aa71db2de4b129e0f8";>68d8e29
 [maven-release-plugin] prepare release 3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/7976b3dd607677a3ad3fd77b1ad3e9251a9f2695";>7976b3d
 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1131";>#1131
 from gsmet/quarkus-3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/bd3ed08a4f9662486992be0ddbd76ef03f1ed3ab";>bd3ed08
 Upgrade to Quarkus 3.8.1
   https://github.com/quarkusio/quarkus-platform/commit/3fa71db9ecef386fe7b9e

(camel-k-runtime) branch dependabot/maven/quarkus-platform-version-3.7.4 deleted (was e5a618e7)

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

github-bot pushed a change to branch 
dependabot/maven/quarkus-platform-version-3.7.4
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


 was e5a618e7 build(deps): bump quarkus-platform-version from 3.6.0 to 3.7.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.



Re: [PR] build(deps): bump quarkus-platform-version from 3.6.0 to 3.7.4 [camel-k-runtime]

2024-02-28 Thread via GitHub


dependabot[bot] closed pull request #1174: build(deps): bump 
quarkus-platform-version from 3.6.0 to 3.7.4
URL: https://github.com/apache/camel-k-runtime/pull/1174


-- 
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] build(deps): bump quarkus-platform-version from 3.6.0 to 3.7.4 [camel-k-runtime]

2024-02-28 Thread via GitHub


dependabot[bot] commented on PR #1174:
URL: https://github.com/apache/camel-k-runtime/pull/1174#issuecomment-1969827965

   Superseded by #1176.


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

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

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



(camel-karavan) branch main updated: Upgrade to latest distroless image

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 35bd2d3e Upgrade to latest distroless image
35bd2d3e is described below

commit 35bd2d3e49aa7434a06603aba8085ff2f0cad2b5
Author: Marat Gubaidullin 
AuthorDate: Wed Feb 28 15:12:43 2024 -0500

Upgrade to latest distroless image
---
 karavan-app/src/main/resources/snippets/docker-application.properties   | 2 +-
 .../src/main/resources/snippets/kubernetes-application.properties   | 2 +-
 .../src/main/resources/snippets/openshift-application.properties| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/karavan-app/src/main/resources/snippets/docker-application.properties 
b/karavan-app/src/main/resources/snippets/docker-application.properties
index 78eab4dc..f75d90c4 100644
--- a/karavan-app/src/main/resources/snippets/docker-application.properties
+++ b/karavan-app/src/main/resources/snippets/docker-application.properties
@@ -20,4 +20,4 @@ camel.context.dev-console=true
 camel.health.enabled=true
 camel.health.exposure-level=full
 jkube.version=1.16.1
-jib.from.image=gcr.io/distroless/java17@sha256:85c2fa20773270fe6fecf576dd5a53f5bb8b914e57a463c533dac034c51862d9
+jib.from.image=gcr.io/distroless/java17@sha256:68e2373f7bef9486c08356bd9ffd3b40b56e6b9316c5f6885eb58b1d9093b43d
diff --git 
a/karavan-app/src/main/resources/snippets/kubernetes-application.properties 
b/karavan-app/src/main/resources/snippets/kubernetes-application.properties
index 13df9122..5dfe5444 100644
--- a/karavan-app/src/main/resources/snippets/kubernetes-application.properties
+++ b/karavan-app/src/main/resources/snippets/kubernetes-application.properties
@@ -20,7 +20,7 @@ camel.routecontroller.initialDelay=1000
 camel.routecontroller.threadPoolSize=3
 camel.context.dev-console=true
 label.runtime=app.kubernetes.io/runtime
-jib.from.image=gcr.io/distroless/java17@sha256:85c2fa20773270fe6fecf576dd5a53f5bb8b914e57a463c533dac034c51862d9
+jib.from.image=gcr.io/distroless/java17@sha256:68e2373f7bef9486c08356bd9ffd3b40b56e6b9316c5f6885eb58b1d9093b43d
 #jib.from.image=gcr.io/distroless/java17-debian11:nonroot-arm64
 jkube.version=1.16.1
 jkube.skip.build=true
diff --git 
a/karavan-app/src/main/resources/snippets/openshift-application.properties 
b/karavan-app/src/main/resources/snippets/openshift-application.properties
index 3461b6da..159d181f 100644
--- a/karavan-app/src/main/resources/snippets/openshift-application.properties
+++ b/karavan-app/src/main/resources/snippets/openshift-application.properties
@@ -20,7 +20,7 @@ camel.routecontroller.initialDelay=1000
 camel.routecontroller.threadPoolSize=3
 camel.context.dev-console=true
 label.runtime=app.openshift.io/runtime
-jib.from.image=gcr.io/distroless/java17@sha256:85c2fa20773270fe6fecf576dd5a53f5bb8b914e57a463c533dac034c51862d9
+jib.from.image=gcr.io/distroless/java17@sha256:68e2373f7bef9486c08356bd9ffd3b40b56e6b9316c5f6885eb58b1d9093b43d
 jkube.version=1.16.1
 jkube.skip.build=true
 jkube.namespace=default



(camel-karavan) branch main updated: Upgrade to Quarkus 3.8.1

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

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


The following commit(s) were added to refs/heads/main by this push:
 new c46a0e0d Upgrade to Quarkus 3.8.1
c46a0e0d is described below

commit c46a0e0da88c35daeb0da1eca41df016afa16877
Author: Marat Gubaidullin 
AuthorDate: Wed Feb 28 15:11:59 2024 -0500

Upgrade to Quarkus 3.8.1
---
 karavan-app/pom.xml  |  5 ++---
 .../main/resources/snippets/docker-application.properties|  2 +-
 .../resources/snippets/kubernetes-application.properties |  2 +-
 .../main/resources/snippets/openshift-application.properties |  2 +-
 karavan-vscode/CHANGELOG.md  |  3 ++-
 karavan-vscode/package.json  | 12 ++--
 6 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/karavan-app/pom.xml b/karavan-app/pom.xml
index 29990468..1f8ed850 100644
--- a/karavan-app/pom.xml
+++ b/karavan-app/pom.xml
@@ -33,14 +33,13 @@
 
UTF-8
 
quarkus-bom
 
io.quarkus.platform
-3.7.4
+3.8.1
 4.4.0
 4.4.0
 3.1.0
-3.0.6
+3.0.7
 2.3.4
 3.3.0
-
 3.3.5
 
 
diff --git 
a/karavan-app/src/main/resources/snippets/docker-application.properties 
b/karavan-app/src/main/resources/snippets/docker-application.properties
index 580af06f..78eab4dc 100644
--- a/karavan-app/src/main/resources/snippets/docker-application.properties
+++ b/karavan-app/src/main/resources/snippets/docker-application.properties
@@ -19,5 +19,5 @@ camel.routecontroller.threadPoolSize=3
 camel.context.dev-console=true
 camel.health.enabled=true
 camel.health.exposure-level=full
-jkube.version=1.16.0
+jkube.version=1.16.1
 
jib.from.image=gcr.io/distroless/java17@sha256:85c2fa20773270fe6fecf576dd5a53f5bb8b914e57a463c533dac034c51862d9
diff --git 
a/karavan-app/src/main/resources/snippets/kubernetes-application.properties 
b/karavan-app/src/main/resources/snippets/kubernetes-application.properties
index 09418d44..13df9122 100644
--- a/karavan-app/src/main/resources/snippets/kubernetes-application.properties
+++ b/karavan-app/src/main/resources/snippets/kubernetes-application.properties
@@ -22,7 +22,7 @@ camel.context.dev-console=true
 label.runtime=app.kubernetes.io/runtime
 
jib.from.image=gcr.io/distroless/java17@sha256:85c2fa20773270fe6fecf576dd5a53f5bb8b914e57a463c533dac034c51862d9
 #jib.from.image=gcr.io/distroless/java17-debian11:nonroot-arm64
-jkube.version=1.16.0
+jkube.version=1.16.1
 jkube.skip.build=true
 jkube.namespace=default
 jkube.imagePullPolicy=Always
diff --git 
a/karavan-app/src/main/resources/snippets/openshift-application.properties 
b/karavan-app/src/main/resources/snippets/openshift-application.properties
index d9e2f982..3461b6da 100644
--- a/karavan-app/src/main/resources/snippets/openshift-application.properties
+++ b/karavan-app/src/main/resources/snippets/openshift-application.properties
@@ -21,7 +21,7 @@ camel.routecontroller.threadPoolSize=3
 camel.context.dev-console=true
 label.runtime=app.openshift.io/runtime
 
jib.from.image=gcr.io/distroless/java17@sha256:85c2fa20773270fe6fecf576dd5a53f5bb8b914e57a463c533dac034c51862d9
-jkube.version=1.16.0
+jkube.version=1.16.1
 jkube.skip.build=true
 jkube.namespace=default
 jkube.imagePullPolicy=IfNotPresent
diff --git a/karavan-vscode/CHANGELOG.md b/karavan-vscode/CHANGELOG.md
index 3de3a92d..c063a954 100644
--- a/karavan-vscode/CHANGELOG.md
+++ b/karavan-vscode/CHANGELOG.md
@@ -4,8 +4,9 @@
 0. Camel 4.4.0
 1. Camel-main Runtime
 2. Kamelets 4.4.0
-3. Jkube 1.16.0
+3. Jkube 1.16.1
 4. JBang v0.114.0
+4. Quarkus 3.8.1
 
 ## 4.3.0
 0. Camel 4.3.0
diff --git a/karavan-vscode/package.json b/karavan-vscode/package.json
index 92e1499b..df953fdb 100644
--- a/karavan-vscode/package.json
+++ b/karavan-vscode/package.json
@@ -238,7 +238,7 @@
 "camel.karavan.project-description=$NAME",
 "camel.karavan.target=$TARGET",
 "camel.jbang.gav=$GAV",
-"camel.jbang.quarkusVersion=3.2.3.Final",
+"camel.jbang.quarkusVersion=3.8.1",
 "camel.jbang.runtime=$RUNTIME",
 "camel.jbang.exportDir=.export"
   ],
@@ -375,7 +375,7 @@
   },
   "default": [
 "# jkube properties",
-"jkube.version=1.16.0",
+"jkube.version=1.16.1",
 "jkube.build.strategy=s2i",
 "jkube.namespace=${NAMESPACE}",
 
"jkube.generator.name=image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/$NAME:${DATE}",
@@ -396,7 +396,7 @@
   },
   "default": [
 "# jkube properties",
-"jkube.version=1.16.0",
+"jkube.version=1.16.1",
 "jkube.build.strategy=s2i",
 "jkube.namespace=${NAMESPACE}",
 
"jkube.generator.name

Re: [PR] Install operator/base image according to the target architecture [camel-k]

2024-02-28 Thread via GitHub


tdiesler commented on code in PR #5200:
URL: https://github.com/apache/camel-k/pull/5200#discussion_r1506469368


##
pkg/cmd/install.go:
##
@@ -414,6 +415,24 @@ func (o *installCmdOptions) setupOperator(
platformName)
}
 
+   // Choose an architecture specific operator/base image when not already 
given explicitly
+   //
+   arch, err := kubernetes.NodeArchLookup(o.Context, c)

Review Comment:
   I assume that 
   
   ```
   kamel install 
   ```
   
   works, when you first come to this project. Folks (like me) try this out on 
their MacBook and we may never hear why they turned around after it didn't. 
This functionality can of course improve over time, For now however, the goal 
is to make it work for most.



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

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

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



(camel-karavan) branch main updated: Updated DevServices

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 1ef85bf8 Updated DevServices
1ef85bf8 is described below

commit 1ef85bf8c0950c5fef200ed954525779ed1800e7
Author: Marat Gubaidullin 
AuthorDate: Wed Feb 28 13:47:51 2024 -0500

Updated DevServices
---
 .../src/main/resources/services/devservices.yaml   | 29 ++
 1 file changed, 7 insertions(+), 22 deletions(-)

diff --git a/karavan-app/src/main/resources/services/devservices.yaml 
b/karavan-app/src/main/resources/services/devservices.yaml
index fac0a07e..5ae05c44 100644
--- a/karavan-app/src/main/resources/services/devservices.yaml
+++ b/karavan-app/src/main/resources/services/devservices.yaml
@@ -4,7 +4,7 @@ services:
 
   artemis:
 container_name: artemis
-image: quay.io/artemiscloud/activemq-artemis-broker:artemis.2.31.2
+image: quay.io/artemiscloud/activemq-artemis-broker:artemis.2.32.0
 ports:
   - "8161:8161"
   - "61616:61616"
@@ -13,31 +13,15 @@ services:
   AMQ_USER: artemis
   AMQ_PASSWORD: artemis
 
-  zookeeper:
-image: confluentinc/cp-zookeeper:latest
-environment:
-  ZOOKEEPER_CLIENT_PORT: 2181
-  ZOOKEEPER_TICK_TIME: 2000
-ports:
-  - 22181:2181
-
   kafka:
-image: confluentinc/cp-kafka:latest
-depends_on:
-  - zookeeper
+container_name: kafka
+image: apache/kafka:3.7.0
 ports:
-  - 29092:29092
-environment:
-  KAFKA_BROKER_ID: 1
-  AUTO_CREATE_TOPICS: true
-  KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
-  KAFKA_ADVERTISED_LISTENERS: 
PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092
-  KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: 
PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
-  KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
-  KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
+  - 9092:9092
 
   postgres:
-image: postgres:15.4
+container_name: postgres
+image: postgres:16.2
 restart: always
 environment:
   - POSTGRES_USER=postgres
@@ -46,6 +30,7 @@ services:
   - '5432:5432'
 
   adminer:
+container_name: adminer
 image: adminer:4.8.1-standalone
 restart: always
 ports:



(camel-quarkus) 02/02: jt400 mock coverage + native fixes

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

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

commit f80eb759e84d7ea403cfd2e7d4567f7b982bd154
Author: JiriOndrusek 
AuthorDate: Tue Feb 27 11:58:28 2024 +0100

jt400 mock coverage + native fixes
---
 .../component/jt400/deployment/Jt400Processor.java |  37 ++
 integration-tests/jt400/pom.xml|  33 +
 .../main/java/com/ibm/as400/access/MockAS400.java  |  61 +
 .../com/ibm/as400/access/MockAS400ImplRemote.java} |  23 ++--
 .../com/ibm/as400/access/MockAS400Server.java} |  27 ++--
 .../java/com/ibm/as400/access/MockDataStream.java} |  34 +++--
 .../com/ibm/as400/access/MockSocketContainer.java  |  77 +++
 .../com/ibm/as400/access/MockedResponses.java} |  27 ++--
 .../java/com/ibm/as400/access/ReplyDQCommon.java}  |  28 ++--
 .../com/ibm/as400/access/ReplyDQReadNormal.java|  54 
 .../access/ReplyDQRequestAttributesNormal.java}|  53 ++--
 .../java/com/ibm/as400/access/ReplyOk.java}|  11 +-
 .../com/ibm/as400/access/ReplyRCCallProgram.java   |  70 ++
 .../as400/access/ReplyRCExchangeAttributes.java}   |  21 ++-
 .../quarkus/component/jt400/it/Jt400Producers.java |  62 +
 .../quarkus/component/jt400/it/Jt400Resource.java  | 122 +-
 .../jt400/it/MockAS400ConnectionPool.java  |  71 +++
 .../src/main/resources/application.properties  |  17 +++
 .../jt400/it/{Jt400IT.java => Jt400MockIT.java}|   4 +-
 .../quarkus/component/jt400/it/Jt400MockTest.java  | 142 +
 20 files changed, 886 insertions(+), 88 deletions(-)

diff --git 
a/extensions/jt400/deployment/src/main/java/org/apache/camel/quarkus/component/jt400/deployment/Jt400Processor.java
 
b/extensions/jt400/deployment/src/main/java/org/apache/camel/quarkus/component/jt400/deployment/Jt400Processor.java
index 12d43daaa8..702d7e3983 100644
--- 
a/extensions/jt400/deployment/src/main/java/org/apache/camel/quarkus/component/jt400/deployment/Jt400Processor.java
+++ 
b/extensions/jt400/deployment/src/main/java/org/apache/camel/quarkus/component/jt400/deployment/Jt400Processor.java
@@ -18,16 +18,26 @@ package org.apache.camel.quarkus.component.jt400.deployment;
 
 import java.util.ArrayList;
 import java.util.List;
+import java.util.regex.Pattern;
 
+import com.ibm.as400.access.ConvTable;
+import com.ibm.as400.access.NLSImplNative;
+import io.quarkus.deployment.annotations.BuildProducer;
 import io.quarkus.deployment.annotations.BuildStep;
+import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
+import io.quarkus.deployment.builditem.IndexDependencyBuildItem;
+import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 import 
io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
+import org.jboss.jandex.DotName;
+import org.jboss.jandex.IndexView;
 import org.jboss.logging.Logger;
 
 class Jt400Processor {
 
 private static final Logger LOG = Logger.getLogger(Jt400Processor.class);
 private static final String FEATURE = "camel-jt400";
+private static final DotName CONV_TABLE_NAME = 
DotName.createSimple(ConvTable.class.getName());
 
 @BuildStep
 FeatureBuildItem feature() {
@@ -40,4 +50,31 @@ class Jt400Processor {
 items.add(new 
RuntimeInitializedClassBuildItem("com.ibm.as400.access.CredentialVault"));
 return items;
 }
+
+@BuildStep
+void reflectiveClasses(BuildProducer 
reflectiveClassesProducer,
+CombinedIndexBuildItem combinedIndex) {
+IndexView index = combinedIndex.getIndex();
+
+
reflectiveClassesProducer.produce(ReflectiveClassBuildItem.builder(NLSImplNative.class).build());
+
+Pattern pattern = Pattern.compile("com.ibm.as400.access.*Remote");
+index.getKnownClasses().stream()
+.filter(c -> pattern.matcher(c.name().toString()).matches())
+.map(c -> 
ReflectiveClassBuildItem.builder(c.name().toString()).build())
+.forEach(reflectiveClassesProducer::produce);
+
+combinedIndex.getIndex()
+.getAllKnownSubclasses(CONV_TABLE_NAME)
+.stream()
+.map(c -> 
ReflectiveClassBuildItem.builder(c.name().toString()).build())
+.forEach(reflectiveClassesProducer::produce);
+
+}
+
+@BuildStep
+IndexDependencyBuildItem registerDependencyForIndex() {
+return new IndexDependencyBuildItem("net.sf.jt400", "jt400", "java11");
+}
+
 }
diff --git a/integration-tests/jt400/pom.xml b/integration-tests/jt400/pom.xml
index 98ca32ac2a..b1eb5257ba 100644
--- a/integration-tests/jt400/pom.xml
+++ b/integration-tests/jt400/pom.xml
@@ -30,6 +30,22 @@
 Camel Quarkus :: Integration Tests :: JT400
 Integration tests for Camel Quarkus JT400 
extension
 
+
+  

(camel-quarkus) branch 3.8.x updated (92d0c2c84d -> f80eb759e8)

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

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


from 92d0c2c84d Upgrade quarkus-amazon-services to 2.12.1
 new 369096a685 Upgrade Quarkus to 3.8.1
 new f80eb759e8 jt400 mock coverage + native fixes

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:
 docs/antora.yml|   2 +-
 .../component/jt400/deployment/Jt400Processor.java |  37 ++
 integration-tests/jt400/pom.xml|  33 +
 .../main/java/com/ibm/as400/access/MockAS400.java} |  46 +++
 .../com/ibm/as400/access/MockAS400ImplRemote.java  |  16 +--
 .../java/com/ibm/as400/access/MockAS400Server.java |  20 +--
 .../java/com/ibm/as400/access/MockDataStream.java} |  26 ++--
 .../com/ibm/as400/access/MockSocketContainer.java  |  77 +++
 .../java/com/ibm/as400/access/MockedResponses.java |  22 +++-
 .../java/com/ibm/as400/access/ReplyDQCommon.java   |  23 ++--
 .../com/ibm/as400/access/ReplyDQReadNormal.java|  36 +++---
 .../access/ReplyDQRequestAttributesNormal.java |  44 ---
 .../main/java/com/ibm/as400/access/ReplyOk.java|  11 +-
 .../com/ibm/as400/access/ReplyRCCallProgram.java   |  70 ++
 .../as400/access/ReplyRCExchangeAttributes.java|  25 ++--
 .../quarkus/component/jt400/it/Jt400Producers.java |  36 +-
 .../quarkus/component/jt400/it/Jt400Resource.java  | 122 +-
 .../jt400/it/MockAS400ConnectionPool.java  |  71 +++
 .../src/main/resources/application.properties  |   2 +-
 .../jt400/it/{Jt400IT.java => Jt400MockIT.java}|   4 +-
 .../quarkus/component/jt400/it/Jt400MockTest.java  | 142 +
 .../quarkus/component/jt400/it/Jt400Test.java  |  33 -
 pom.xml|   2 +-
 23 files changed, 737 insertions(+), 163 deletions(-)
 copy 
integration-tests/{jaxb/src/main/java/org/apache/camel/quarkus/component/jaxb/it/model/pojo/PojoPerson.java
 => jt400/src/main/java/com/ibm/as400/access/MockAS400.java} (50%)
 copy 
extensions/jt400/runtime/src/main/java/com/ibm/as400/access/UnixSocketUser.java 
=> 
integration-tests/jt400/src/main/java/com/ibm/as400/access/MockAS400ImplRemote.java
 (68%)
 copy 
extensions/jt400/runtime/src/main/java/com/ibm/as400/access/UnixSocketUser.java 
=> 
integration-tests/jt400/src/main/java/com/ibm/as400/access/MockAS400Server.java 
(67%)
 copy 
integration-tests/{messaging/common/src/main/java/org/apache/camel/quarkus/component/messaging/it/util/scheme/ComponentScheme.java
 => jt400/src/main/java/com/ibm/as400/access/MockDataStream.java} (71%)
 create mode 100644 
integration-tests/jt400/src/main/java/com/ibm/as400/access/MockSocketContainer.java
 copy 
extensions/jt400/runtime/src/main/java/com/ibm/as400/access/NLSImplNative.java 
=> 
integration-tests/jt400/src/main/java/com/ibm/as400/access/MockedResponses.java 
(67%)
 copy 
extensions/jt400/runtime/src/main/java/com/ibm/as400/access/UnixSocketUser.java 
=> 
integration-tests/jt400/src/main/java/com/ibm/as400/access/ReplyDQCommon.java 
(66%)
 copy 
integration-test-groups/dataformats-json/json-jackson/src/main/java/org/apache/camel/quarkus/component/dataformats/json/jackson/model/TestPojo.java
 => 
integration-tests/jt400/src/main/java/com/ibm/as400/access/ReplyDQReadNormal.java
 (52%)
 copy 
integration-test-groups/dataformats-json/json-jackson/src/main/java/org/apache/camel/quarkus/component/dataformats/json/jackson/model/TestPojo.java
 => 
integration-tests/jt400/src/main/java/com/ibm/as400/access/ReplyDQRequestAttributesNormal.java
 (56%)
 copy 
extensions/jt400/runtime/src/main/java/com/ibm/as400/access/NLSImplNative.java 
=> integration-tests/jt400/src/main/java/com/ibm/as400/access/ReplyOk.java (83%)
 create mode 100644 
integration-tests/jt400/src/main/java/com/ibm/as400/access/ReplyRCCallProgram.java
 copy 
integration-test-groups/foundation/bean/src/main/java/org/apache/camel/quarkus/component/bean/Counter.java
 => 
integration-tests/jt400/src/main/java/com/ibm/as400/access/ReplyRCExchangeAttributes.java
 (70%)
 copy 
integration-test-groups/foundation/bean/src/main/java/org/apache/camel/quarkus/component/bean/method/Producers.java
 => 
integration-tests/jt400/src/main/java/org/apache/camel/quarkus/component/jt400/it/Jt400Producers.java
 (55%)
 create mode 100644 
integration-tests/jt400/src/main/java/org/apache/camel/quarkus/component/jt400/it/MockAS400ConnectionPool.java
 copy {integration-test-groups/foundation/dataset => 
integration-tests/jt400}/src/main/resources/application.properties (93%)
 rename 
integration-tests/jt400/src/test/java/org/apache/camel/quarkus/component/jt400/it/{Jt400IT.java
 => Jt400MockIT.java} (84%)

(camel-quarkus) 01/02: Upgrade Quarkus to 3.8.1

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

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

commit 369096a685d78abd568496ddc23db9a5230c10f0
Author: James Netherton 
AuthorDate: Wed Feb 28 13:34:00 2024 +

Upgrade Quarkus to 3.8.1
---
 docs/antora.yml | 2 +-
 pom.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/antora.yml b/docs/antora.yml
index 3f06cec0ac..0db87b5b6c 100644
--- a/docs/antora.yml
+++ b/docs/antora.yml
@@ -28,7 +28,7 @@ asciidoc:
 camel-version: 4.4.0 # replace ${camel.version}
 camel-docs-version: 4.4.x
 camel-quarkus-version: 3.8.1 # replace ${camel-quarkus.version}
-quarkus-version: 3.8.0 # replace ${quarkus.version}
+quarkus-version: 3.8.1 # replace ${quarkus.version}
 graalvm-version: 23.0.1 # replace ${graalvm.version}
 graalvm-docs-version: jdk21 # replace ${graalvm-docs.version}
 mapstruct-version: 1.5.5.Final # replace ${mapstruct.version}
diff --git a/pom.xml b/pom.xml
index 491887863b..dee7c3fc5e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,7 @@
 2.2.1
 
2.3.0
 2.0.2
-3.8.0
+3.8.1
 
4.0.0
 2.5.0
 



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

2024-02-28 Thread via GitHub


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


-- 
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-20452 - Azure Storage Datalake CloudEvent transformer (#13342)

2024-02-28 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 36bb6535c91 CAMEL-20452 - Azure Storage Datalake CloudEvent 
transformer (#13342)
36bb6535c91 is described below

commit 36bb6535c918e5922aaf2d94e7cf023707cfddb3
Author: Andrea Cosentino 
AuthorDate: Wed Feb 28 18:51:54 2024 +0100

CAMEL-20452 - Azure Storage Datalake CloudEvent transformer (#13342)

Signed-off-by: Andrea Cosentino 
---
 .../apache/camel/catalog/transformers.properties   |  1 +
 ...e-storage-datalake-application-cloudevents.json | 14 ++
 .../camel-azure-storage-datalake/pom.xml   |  8 
 .../org/apache/camel/transformer.properties|  7 +++
 .../azure-storage-datalake-application-cloudevents |  2 +
 ...e-storage-datalake-application-cloudevents.json | 14 ++
 .../DataLakeCloudEventDataTypeTransformer.java | 56 ++
 7 files changed, 102 insertions(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers.properties
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers.properties
index 3214c46dcb8..9e506ef6293 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers.properties
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers.properties
@@ -17,6 +17,7 @@ azure-eventhubs-application-cloudevents
 azure-files-application-cloudevents
 azure-servicebus-application-cloudevents
 azure-storage-blob-application-cloudevents
+azure-storage-datalake-application-cloudevents
 azure-storage-queue-application-cloudevents
 google-sheets-application-x-struct
 google-storage-application-cloudevents
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers/azure-storage-datalake-application-cloudevents.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers/azure-storage-datalake-application-cloudevents.json
new file mode 100644
index 000..262f8dcb378
--- /dev/null
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers/azure-storage-datalake-application-cloudevents.json
@@ -0,0 +1,14 @@
+{
+  "transformer": {
+"kind": "transformer",
+"name": "azure-storage-datalake:application-cloudevents",
+"title": "Azure Storage Datalake (Application Cloudevents)",
+"description": "Adds CloudEvent headers to the Camel message with Azure 
Data Lake consumer response details",
+"deprecated": false,
+"javaType": 
"org.apache.camel.component.azure.storage.datalake.transform.DataLakeCloudEventDataTypeTransformer",
+"groupId": "org.apache.camel",
+"artifactId": "camel-azure-storage-datalake",
+"version": "4.5.0-SNAPSHOT"
+  }
+}
+
diff --git a/components/camel-azure/camel-azure-storage-datalake/pom.xml 
b/components/camel-azure/camel-azure-storage-datalake/pom.xml
index 3a0e59e4744..624c7c6e86e 100644
--- a/components/camel-azure/camel-azure-storage-datalake/pom.xml
+++ b/components/camel-azure/camel-azure-storage-datalake/pom.xml
@@ -52,6 +52,14 @@
 commons-io
 ${commons-io-version}
 
+
+
+
+org.apache.camel
+camel-cloudevents
+provided
+true
+
 
 
 
diff --git 
a/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer.properties
 
b/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer.properties
new file mode 100644
index 000..0c6accd167b
--- /dev/null
+++ 
b/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer.properties
@@ -0,0 +1,7 @@
+# Generated by camel build tools - do NOT edit this file!
+transformers=azure-storage-datalake:application-cloudevents
+groupId=org.apache.camel
+artifactId=camel-azure-storage-datalake
+version=4.5.0-SNAPSHOT
+projectName=Camel :: Azure :: Storage Datalake
+projectDescription=Camel Azure Datalake Component
diff --git 
a/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer/azure-storage-datalake-application-cloudevents
 
b/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer/azure-storage-datalake-application-cloudevents
new file mode 100644
index 000..eaa956f3540
--- /dev/null
+++ 
b/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer/azure-storage-datalake-application-cloudevents
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do N

(camel) branch CAMEL-20452 deleted (was 19528df1b8f)

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

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


 was 19528df1b8f CAMEL-20452 - Azure Storage Datalake CloudEvent transformer

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] CAMEL-20452 - Azure Storage Datalake CloudEvent transformer [camel]

2024-02-28 Thread via GitHub


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


-- 
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-20452 - Azure Storage Datalake CloudEvent transformer [camel]

2024-02-28 Thread via GitHub


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

   :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-20452 - Azure Storage Datalake CloudEvent transformer [camel]

2024-02-28 Thread via GitHub


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

   :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-20452 - Azure Storage Datalake CloudEvent transformer [camel]

2024-02-28 Thread via GitHub


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

   /component-test azure


-- 
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-20452 - Azure Storage Datalake CloudEvent transformer [camel]

2024-02-28 Thread via GitHub


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

   :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] Install operator/base image according to the target architecture [camel-k]

2024-02-28 Thread via GitHub


claudio4j commented on PR #5200:
URL: https://github.com/apache/camel-k/pull/5200#issuecomment-1969509647

   Although this PR aims the client side, there is work to do on the image 
build side, to publish the multi-arch build in the manifest.


-- 
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-20452 - Azure Storage Datalake CloudEvent transformer [camel]

2024-02-28 Thread via GitHub


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

   :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-20452 - Azure Storage Datalake CloudEvent transformer [camel]

2024-02-28 Thread via GitHub


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

   /component-test azure


-- 
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-20452 - Azure Storage Datalake CloudEvent transformer [camel]

2024-02-28 Thread via GitHub


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

   :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] Install operator/base image according to the target architecture [camel-k]

2024-02-28 Thread via GitHub


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

   As mentioned in the PR, we should publish manifests accordingly to solve 
this issue: 
https://github.com/apache/camel-k/pull/5200#pullrequestreview-1906815706


-- 
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-20452 - Azure Storage Datalake CloudEvent transformer [camel]

2024-02-28 Thread via GitHub


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

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


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

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

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



(camel) branch CAMEL-20452 created (now 19528df1b8f)

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

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


  at 19528df1b8f CAMEL-20452 - Azure Storage Datalake CloudEvent transformer

This branch includes the following new commits:

 new 19528df1b8f CAMEL-20452 - Azure Storage Datalake CloudEvent transformer

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-20452 - Azure Storage Datalake CloudEvent transformer

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

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

commit 19528df1b8fe4440b1aaeac84e943f501a25b6de
Author: Andrea Cosentino 
AuthorDate: Wed Feb 28 18:23:41 2024 +0100

CAMEL-20452 - Azure Storage Datalake CloudEvent transformer

Signed-off-by: Andrea Cosentino 
---
 .../apache/camel/catalog/transformers.properties   |  1 +
 ...e-storage-datalake-application-cloudevents.json | 14 ++
 .../camel-azure-storage-datalake/pom.xml   |  8 
 .../org/apache/camel/transformer.properties|  7 +++
 .../azure-storage-datalake-application-cloudevents |  2 +
 ...e-storage-datalake-application-cloudevents.json | 14 ++
 .../DataLakeCloudEventDataTypeTransformer.java | 56 ++
 7 files changed, 102 insertions(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers.properties
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers.properties
index 3214c46dcb8..9e506ef6293 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers.properties
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers.properties
@@ -17,6 +17,7 @@ azure-eventhubs-application-cloudevents
 azure-files-application-cloudevents
 azure-servicebus-application-cloudevents
 azure-storage-blob-application-cloudevents
+azure-storage-datalake-application-cloudevents
 azure-storage-queue-application-cloudevents
 google-sheets-application-x-struct
 google-storage-application-cloudevents
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers/azure-storage-datalake-application-cloudevents.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers/azure-storage-datalake-application-cloudevents.json
new file mode 100644
index 000..262f8dcb378
--- /dev/null
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/transformers/azure-storage-datalake-application-cloudevents.json
@@ -0,0 +1,14 @@
+{
+  "transformer": {
+"kind": "transformer",
+"name": "azure-storage-datalake:application-cloudevents",
+"title": "Azure Storage Datalake (Application Cloudevents)",
+"description": "Adds CloudEvent headers to the Camel message with Azure 
Data Lake consumer response details",
+"deprecated": false,
+"javaType": 
"org.apache.camel.component.azure.storage.datalake.transform.DataLakeCloudEventDataTypeTransformer",
+"groupId": "org.apache.camel",
+"artifactId": "camel-azure-storage-datalake",
+"version": "4.5.0-SNAPSHOT"
+  }
+}
+
diff --git a/components/camel-azure/camel-azure-storage-datalake/pom.xml 
b/components/camel-azure/camel-azure-storage-datalake/pom.xml
index 3a0e59e4744..624c7c6e86e 100644
--- a/components/camel-azure/camel-azure-storage-datalake/pom.xml
+++ b/components/camel-azure/camel-azure-storage-datalake/pom.xml
@@ -52,6 +52,14 @@
 commons-io
 ${commons-io-version}
 
+
+
+
+org.apache.camel
+camel-cloudevents
+provided
+true
+
 
 
 
diff --git 
a/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer.properties
 
b/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer.properties
new file mode 100644
index 000..0c6accd167b
--- /dev/null
+++ 
b/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer.properties
@@ -0,0 +1,7 @@
+# Generated by camel build tools - do NOT edit this file!
+transformers=azure-storage-datalake:application-cloudevents
+groupId=org.apache.camel
+artifactId=camel-azure-storage-datalake
+version=4.5.0-SNAPSHOT
+projectName=Camel :: Azure :: Storage Datalake
+projectDescription=Camel Azure Datalake Component
diff --git 
a/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer/azure-storage-datalake-application-cloudevents
 
b/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer/azure-storage-datalake-application-cloudevents
new file mode 100644
index 000..eaa956f3540
--- /dev/null
+++ 
b/components/camel-azure/camel-azure-storage-datalake/src/generated/resources/META-INF/services/org/apache/camel/transformer/azure-storage-datalake-application-cloudevents
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.azure.storage.datalake.transform.DataLakeCloudEventDataTypeTransformer
diff --git 
a/components/camel-azure/camel-azure-storage-datalake/src/

Re: [PR] Install operator/base image according to the target architecture [camel-k]

2024-02-28 Thread via GitHub


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


##
pkg/cmd/install.go:
##
@@ -414,6 +415,24 @@ func (o *installCmdOptions) setupOperator(
platformName)
}
 
+   // Choose an architecture specific operator/base image when not already 
given explicitly
+   //
+   arch, err := kubernetes.NodeArchLookup(o.Context, c)

Review Comment:
   I don't think the CLI should inspect the node. You're assuming it has 
privileges that it should not have.



##
pkg/util/defaults/defaults.go:
##
@@ -44,5 +44,10 @@ const (
installDefaultKamelets = true
 )
 
+// Maps architecture variants for common base images
+var baseImageArchMapping = map[string]string{
+   "eclipse-temurin:17-arm64": 
"eclipse-temurin:17@sha256:a90cec83bb9b9ab19a63e377b20c3aa4e076b16c52d36e83c62c451b6d034e22",

Review Comment:
   We cannot hardcode this value. We need to drive this information from 
configuration as it happens for the other variables.



-- 
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] Clean up camel-k extension leftovers [camel-quarkus]

2024-02-28 Thread via GitHub


lburgazzoli commented on PR #5802:
URL: https://github.com/apache/camel-quarkus/pull/5802#issuecomment-1969463832

   > Any idea if these Groovy bits are still required (I'm assuming they are 
for Groovy support)?
   > 
   > 
[`main`/poms/bom/pom.xml#L6599-L6623](https://github.com/apache/camel-quarkus/blob/main/poms/bom/pom.xml?rgh-link-date=2024-02-28T16%3A08%3A47Z#L6599-L6623)
   > 
   > Also is this test related stuff is still needed?
   > 
   > 
[`main`/poms/bom-test/pom.xml#L135-L144](https://github.com/apache/camel-quarkus/blob/main/poms/bom-test/pom.xml?rgh-link-date=2024-02-28T16%3A08%3A47Z#L135-L144)
   
   Removed, let see
   


-- 
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(quarkus): build time properties into file [camel-k]

2024-02-28 Thread via GitHub


claudio4j commented on code in PR #5198:
URL: https://github.com/apache/camel-k/pull/5198#discussion_r1506305752


##
pkg/builder/quarkus.go:
##
@@ -261,6 +201,39 @@ func BuildQuarkusRunnerCommon(ctx context.Context, mc 
maven.Context, project mav
return nil
 }
 
+func computeApplicationProperties(appPropertiesPath string, 
applicationProperties map[string]string) error {
+   f, err := os.OpenFile(appPropertiesPath, os.O_RDWR|os.O_CREATE, 0666)
+   if err != nil {
+   return fmt.Errorf("failure while creating 
application.properties: %w", err)
+   }
+   if applicationProperties == nil {
+   // Default build time properties
+   applicationProperties = make(map[string]string)
+   }
+   // disable quarkus banner
+   applicationProperties["quarkus.banner.enabled"] = "false"
+   // required for to resolve data type transformers at runtime with 
service discovery
+   // the different Camel runtimes use different resource paths for the 
service lookup
+   
applicationProperties["quarkus.camel.service.discovery.include-patterns"] = 
"META-INF/services/org/apache/camel/datatype/converter/*,META-INF/services/org/apache/camel/datatype/transformer/*,META-INF/services/org/apache/camel/transformer/*"
+   // Workaround to prevent JS runtime errors, see 
https://github.com/apache/camel-quarkus/issues/5678
+   applicationProperties["quarkus.class-loading.parent-first-artifacts"] = 
"org.graalvm.regex:regex"
+   defer f.Close()
+   // Fill with properties coming from user configuration
+   for k, v := range applicationProperties {
+   if _, err := f.WriteString(fmt.Sprintf("%s=%s\n", k, v)); err 
!= nil {
+   return err
+   }
+   }
+   if err := f.Sync(); err != nil {
+   return err
+   }
+   w := bufio.NewWriter(f)

Review Comment:
   my knowledge of IO may be outdated, but I am curious why the buffered writer 
is created after the content was already written and synced to the file ? 



-- 
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] Review integration digest computation and projection to the integration container as env var [camel-k]

2024-02-28 Thread via GitHub


lburgazzoli commented on issue #5192:
URL: https://github.com/apache/camel-k/issues/5192#issuecomment-1969457828

   The `CAMEL_K_DIGEST` env var was added to force the re-deploy of the pod in 
case of a config map changes, like if only change the flow in an `Integration`, 
then the pod won't actually change, only the config map will so we had to add 
this variable to be sure the latest routes are taken into account


-- 
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-20095 : add langchain component [camel]

2024-02-28 Thread via GitHub


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


##
components/camel-ai/camel-langchain/src/main/java/org/apache/camel/component/langchain/LangchainProducer.java:
##
@@ -0,0 +1,140 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.langchain;
+
+import java.util.Map;
+
+import dev.langchain4j.data.message.ChatMessageType;
+import dev.langchain4j.model.chat.ChatLanguageModel;
+import org.apache.camel.Exchange;
+import org.apache.camel.component.langchain.service.Langchain4jChatHandler;
+import org.apache.camel.support.DefaultProducer;
+import org.apache.camel.util.ObjectHelper;
+
+import static 
org.apache.camel.component.langchain.Langchain4jConstants.ENDPOINT_TYPE_CHAT;
+import static 
org.apache.camel.component.langchain.LangchainChatOperations.CHAT_MULTIPLE_MESSAGES;
+import static 
org.apache.camel.component.langchain.LangchainChatOperations.CHAT_SINGLE_MESSAGE;
+import static 
org.apache.camel.component.langchain.LangchainChatOperations.CHAT_SINGLE_MESSAGE_WITH_PROMPT;
+
+public class LangchainProducer extends DefaultProducer {
+
+private LangchainEndpoint endpoint;
+
+private ChatLanguageModel chatLanguageModel;
+
+private Langchain4jChatHandler langchain4jChatHandler;
+
+public LangchainProducer(LangchainEndpoint endpoint) {
+super(endpoint);
+this.endpoint = endpoint;
+}
+
+@Override
+public void process(Exchange exchange) throws Exception {
+var endpointType = this.endpoint.getType();
+if (ENDPOINT_TYPE_CHAT.equals(endpointType)) {
+processChat(exchange);
+}
+
+}
+
+private void processChat(Exchange exchange) {
+var operation = this.endpoint.getChatOperation();
+// make sure operation is not null
+ObjectHelper.notNull(operation, "chatOperation");
+
+// Processing one single message
+
+if (CHAT_SINGLE_MESSAGE.equals(operation)) {
+
+processSingleMessage(exchange);
+} else if (CHAT_SINGLE_MESSAGE_WITH_PROMPT.equals(operation)) {
+processSingleMessageWithPrompt(exchange);
+} else if (CHAT_MULTIPLE_MESSAGES.equals(operation)) {
+
+processMultipleMessages(exchange);
+}
+
+}
+
+private void processMultipleMessages(Exchange exchange) {
+//TODO
+}
+
+private void processSingleMessageWithPrompt(Exchange exchange) {
+ChatMessageType chatMessageType = this.endpoint.getChatMessageType();
+String promptTemplate = 
exchange.getIn().getHeader(Langchain4jConstants.PROMPT_TEMPLATE, String.class);
+ObjectHelper.notNull(promptTemplate, "Prompt variables");
+var variables = exchange.getIn().getBody(Map.class);
+ObjectHelper.notNull(variables, "Prompt variables");

Review Comment:
   Obs.: you can probably use `getMandatoryBody` from Message here.



-- 
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(quarkus): build time properties into file [camel-k]

2024-02-28 Thread via GitHub


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


##
pkg/builder/quarkus.go:
##
@@ -163,53 +158,6 @@ func GenerateQuarkusProjectCommon(runtimeVersion string, 
quarkusVersion string,
},
)
 
-   // Add all the properties from the build configuration
-   p.Properties.AddAll(buildTimeProperties)
-
-   // Quarkus build time properties
-   buildProperties := make(map[string]string)
-
-   // disable quarkus banner
-   buildProperties["quarkus.banner.enabled"] = "false"
-
-   // camel-quarkus does route discovery at startup, but we don't want
-   // this to happen as routes are loaded at runtime and looking for
-   // routes at build time may try to load camel-k-runtime routes builder
-   // proxies which in some case may fail.
-   buildProperties["quarkus.camel.routes-discovery.enabled"] = "false"
-
-   // required for to resolve data type transformers at runtime with 
service discovery
-   // the different Camel runtimes use different resource paths for the 
service lookup
-   buildProperties["quarkus.camel.service.discovery.include-patterns"] = 
"META-INF/services/org/apache/camel/datatype/converter/*,META-INF/services/org/apache/camel/datatype/transformer/*,META-INF/services/org/apache/camel/transformer/*"
-
-   // copy all user defined quarkus.camel build time properties to the 
quarkus-maven-plugin build properties
-   for key, value := range buildTimeProperties {
-   if strings.HasPrefix(key, "quarkus.camel.") {
-   buildProperties[key] = value
-   }
-   }
-
-   configuration := v1.PluginProperties{}
-   configuration.AddProperties("properties", buildProperties)
-
-   // Plugins
-   p.Build.Plugins = append(p.Build.Plugins,

Review Comment:
   Yeah, probably not. I see many tests failing. As this was part of #5090 it 
assumed other changes that are not in at this stage. I'll have a look, thanks.



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

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

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



Re: [I] Review integration digest computation and projection to the integration container as env var [camel-k]

2024-02-28 Thread via GitHub


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

   Okey. Indeed, it's because the env template vars in pod changes. I've 
checked and it seems this var is not really used anywhere. I'll try to remove 
it at all and run some test to see if it's good to solve this problem.


-- 
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] Install operator/base image according to the target architecture [camel-k]

2024-02-28 Thread via GitHub


tdiesler commented on PR #5200:
URL: https://github.com/apache/camel-k/pull/5200#issuecomment-1969398363

   Thanks @christophd - all done (I think)


-- 
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] Install operator/base image according to the target architecture [camel-k]

2024-02-28 Thread via GitHub


tdiesler commented on code in PR #5200:
URL: https://github.com/apache/camel-k/pull/5200#discussion_r1506267880


##
pkg/cmd/install.go:
##
@@ -21,6 +21,7 @@ import (
"context"
"errors"
"fmt"
+   "github.com/apache/camel-k/v2/pkg/util/defaults"

Review Comment:
   done



-- 
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 (4267d94f246 -> 65aabde93f6)

2024-02-28 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 4267d94f246 CAMEL-20483: camel-openapi-java - Rest DSL with 
api-context-path may append null in host name
 add 65aabde93f6 CAMEL-20470: camel-jbang - Rest dsl with /api context path 
should auto detect platform-http as consumer

No new revisions were added by this update.

Summary of changes:
 .../apache/camel/catalog/components/rest-api.json   |  3 ++-
 .../component/rest/RestApiComponentConfigurer.java  |  6 ++
 .../org/apache/camel/component/rest/rest-api.json   |  3 ++-
 .../camel/component/rest/RestApiComponent.java  | 19 +++
 .../dsl/RestApiComponentBuilderFactory.java | 21 +
 dsl/camel-kamelet-main/pom.xml  |  9 -
 .../java/org/apache/camel/main/KameletMain.java |  1 +
 7 files changed, 55 insertions(+), 7 deletions(-)



Re: [PR] CAMEL-20095 : add langchain component [camel]

2024-02-28 Thread via GitHub


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

   @zbendhiba nice one! This is looking really cool


-- 
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-20095 : add langchain component [camel]

2024-02-28 Thread via GitHub


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


##
test-infra/camel-test-infra-ollama/src/test/java/org/apache/camel/test/infra/ollama/services/OllamaRemoteService.java:
##
@@ -0,0 +1,56 @@
+/*
+ * 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.test.infra.ollama.services;
+
+import org.apache.camel.test.infra.ollama.commons.OllamaProperties;
+
+public class OllamaRemoteService implements OllamaService {
+
+public OllamaRemoteService() {
+}
+
+public OllamaRemoteService(String baseURL, String model) {
+System.setProperty(OllamaProperties.BASE_URL, baseURL);
+System.setProperty(OllamaProperties.MODEL, model);

Review Comment:
   This should be done on the `registerProperties`. 



-- 
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-20095 : add langchain component [camel]

2024-02-28 Thread via GitHub


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


##
test-infra/camel-test-infra-ollama/src/test/java/org/apache/camel/test/infra/ollama/services/OllamaContainer.java:
##
@@ -0,0 +1,64 @@
+/*
+ * 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.test.infra.ollama.services;
+
+import java.io.IOException;
+
+import com.github.dockerjava.api.command.InspectContainerResponse;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.testcontainers.containers.GenericContainer;
+import org.testcontainers.containers.output.Slf4jLogConsumer;
+import org.testcontainers.containers.wait.strategy.Wait;
+import org.testcontainers.utility.DockerImageName;
+
+public class OllamaContainer extends GenericContainer {
+
+private static final Logger LOGGER = 
LoggerFactory.getLogger(OllamaContainer.class);
+
+private final DockerImageName dockerImageName;
+
+private final Integer port;
+private final String model;
+private final String imageName;
+
+public OllamaContainer(DockerImageName image, Integer port, String model, 
String imageName) {
+super(image);
+
+this.dockerImageName = image;
+this.port = port;
+this.model = model;
+this.imageName = imageName;
+withExposedPorts(port);
+withImagePullPolicy(dockerImageName -> 
!dockerImageName.getVersionPart().endsWith(model));
+setWaitStrategy(Wait.forListeningPort());
+withLogConsumer(new Slf4jLogConsumer(LOGGER));
+}
+
+@Override
+protected void containerIsStarted(InspectContainerResponse containerInfo) {
+if (!this.dockerImageName.equals(DockerImageName.parse(imageName))) {
+try {
+LOGGER.info("Start pulling the '{}' model ... would take 
several minutes ...", model);

Review Comment:
   If this is too big of a download, we may need to consider the turning off 
some of the tests on the ASF CI and GitHub if they could introduce flakiness 
due to heavy resource (i.e.; network) usage.



-- 
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-20095 : add langchain component [camel]

2024-02-28 Thread via GitHub


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


##
components/camel-ai/camel-langchain/src/test/java/org/apache/camel/component/langchain/LangchainChatIT.java:
##
@@ -0,0 +1,82 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.langchain;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.junit.jupiter.api.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+public class LangchainChatIT extends OllamaTestSupport {
+
+private static final Logger LOG = 
LoggerFactory.getLogger(LangchainChatIT.class);
+
+@Override
+protected RouteBuilder createRouteBuilder() {
+this.context.getRegistry().bind("chatModel", chatLanguageModel);
+
+return new RouteBuilder() {
+public void configure() {
+from("direct:send-simple-message")
+
.to("langchain://chat?chatModel=#chatModel&chatOperation=CHAT_SINGLE_MESSAGE")
+.to("mock:response");
+
+from("direct:send-message-prompt")
+
.to("langchain://chat?chatModel=#chatModel&chatOperation=CHAT_SINGLE_MESSAGE_WITH_PROMPT")
+.to("mock:response");
+};
+};
+}
+
+@Test
+void testSendMessage() throws InterruptedException {
+MockEndpoint mockErrorHandler = 
this.context.getEndpoint("mock:response", MockEndpoint.class);
+mockErrorHandler.expectedMessageCount(1);
+
+String response = template.requestBody("direct:send-simple-message", 
"Hello my name is Dark Vader!", String.class);

Review Comment:
   Typo? 



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

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

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



(camel) branch camel-4.4.x updated: CAMEL-20470: camel-jbang - Rest dsl with /api context path should auto detect platform-http as consumer

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

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


The following commit(s) were added to refs/heads/camel-4.4.x by this push:
 new 35c9c317ece CAMEL-20470: camel-jbang - Rest dsl with /api context path 
should auto detect platform-http as consumer
35c9c317ece is described below

commit 35c9c317ece040a07f0657f0b3f5838fed4d44cb
Author: Claus Ibsen 
AuthorDate: Wed Feb 28 17:21:46 2024 +0100

CAMEL-20470: camel-jbang - Rest dsl with /api context path should auto 
detect platform-http as consumer
---
 .../apache/camel/catalog/components/rest-api.json   |  3 ++-
 .../component/rest/RestApiComponentConfigurer.java  |  6 ++
 .../org/apache/camel/component/rest/rest-api.json   |  3 ++-
 .../camel/component/rest/RestApiComponent.java  | 19 +++
 .../dsl/RestApiComponentBuilderFactory.java | 21 +
 dsl/camel-kamelet-main/pom.xml  |  9 -
 .../java/org/apache/camel/main/KameletMain.java |  1 +
 7 files changed, 55 insertions(+), 7 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-api.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-api.json
index 83a6abce640..a2e59a6cbbf 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-api.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-api.json
@@ -24,7 +24,8 @@
   },
   "componentProperties": {
 "bridgeErrorHandler": { "index": 0, "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 [...]
-"autowiredEnabled": { "index": 1, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
+"consumerComponentName": { "index": 1, "kind": "property", "displayName": 
"Consumer Component Name", "group": "consumer", "label": "consumer", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
Camel Rest API component to use for the consumer REST transport, such as jetty, 
servlet, undertow. If no component has been explicitly configured, then Camel 
will lookup if there is a Camel componen [...]
+"autowiredEnabled": { "index": 2, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
   },
   "properties": {
 "path": { "index": 0, "kind": "path", "displayName": "Path", "group": 
"consumer", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "The base path" },
diff --git 
a/components/camel-rest/src/generated/java/org/apache/camel/component/rest/RestApiComponentConfigurer.java
 
b/components/camel-rest/src/generated/java/org/apache/camel/component/rest/RestApiComponentConfigurer.java
index 105cba16aed..01a0255e02b 100644
--- 
a/components/camel-rest/src/generated/java/org/apache/camel/component/rest/RestApiComponentConfigurer.java
+++ 
b/components/camel-rest/src/generated/java/org/apache/camel/component/rest/RestApiComponentConfigurer.java
@@ -25,6 +25,8 @@ public class RestApiComponentConfigurer extends 
PropertyConfigurerSupport implem
 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 "consumercomponentname":
+case "consumerComponentName": 
target.setConsumerComponentName(proper

(camel) branch main updated: CAMEL-20470: camel-jbang - Rest dsl with /api context path should auto detect platform-http as consumer

2024-02-28 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 65aabde93f6 CAMEL-20470: camel-jbang - Rest dsl with /api context path 
should auto detect platform-http as consumer
65aabde93f6 is described below

commit 65aabde93f6b86c01aa06ad1c5d2f1f63922d7f2
Author: Claus Ibsen 
AuthorDate: Wed Feb 28 17:21:46 2024 +0100

CAMEL-20470: camel-jbang - Rest dsl with /api context path should auto 
detect platform-http as consumer
---
 .../apache/camel/catalog/components/rest-api.json   |  3 ++-
 .../component/rest/RestApiComponentConfigurer.java  |  6 ++
 .../org/apache/camel/component/rest/rest-api.json   |  3 ++-
 .../camel/component/rest/RestApiComponent.java  | 19 +++
 .../dsl/RestApiComponentBuilderFactory.java | 21 +
 dsl/camel-kamelet-main/pom.xml  |  9 -
 .../java/org/apache/camel/main/KameletMain.java |  1 +
 7 files changed, 55 insertions(+), 7 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-api.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-api.json
index 3470681069d..3b6d4ef1722 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-api.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-api.json
@@ -24,7 +24,8 @@
   },
   "componentProperties": {
 "bridgeErrorHandler": { "index": 0, "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 [...]
-"autowiredEnabled": { "index": 1, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
+"consumerComponentName": { "index": 1, "kind": "property", "displayName": 
"Consumer Component Name", "group": "consumer", "label": "consumer", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
Camel Rest API component to use for the consumer REST transport, such as jetty, 
servlet, undertow. If no component has been explicitly configured, then Camel 
will lookup if there is a Camel componen [...]
+"autowiredEnabled": { "index": 2, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
   },
   "properties": {
 "path": { "index": 0, "kind": "path", "displayName": "Path", "group": 
"consumer", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "The base path" },
diff --git 
a/components/camel-rest/src/generated/java/org/apache/camel/component/rest/RestApiComponentConfigurer.java
 
b/components/camel-rest/src/generated/java/org/apache/camel/component/rest/RestApiComponentConfigurer.java
index 105cba16aed..01a0255e02b 100644
--- 
a/components/camel-rest/src/generated/java/org/apache/camel/component/rest/RestApiComponentConfigurer.java
+++ 
b/components/camel-rest/src/generated/java/org/apache/camel/component/rest/RestApiComponentConfigurer.java
@@ -25,6 +25,8 @@ public class RestApiComponentConfigurer extends 
PropertyConfigurerSupport implem
 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 "consumercomponentname":
+case "consumerComponentName": 
target.setConsumerComponentName(property(camelContex

Re: [PR] CAMEL-20095 : add langchain component [camel]

2024-02-28 Thread via GitHub


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


##
components/camel-ai/camel-langchain/src/main/java/org/apache/camel/component/langchain/LangchainProducer.java:
##
@@ -0,0 +1,140 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.langchain;
+
+import java.util.Map;
+
+import dev.langchain4j.data.message.ChatMessageType;
+import dev.langchain4j.model.chat.ChatLanguageModel;
+import org.apache.camel.Exchange;
+import org.apache.camel.component.langchain.service.Langchain4jChatHandler;
+import org.apache.camel.support.DefaultProducer;
+import org.apache.camel.util.ObjectHelper;
+
+import static 
org.apache.camel.component.langchain.Langchain4jConstants.ENDPOINT_TYPE_CHAT;
+import static 
org.apache.camel.component.langchain.LangchainChatOperations.CHAT_MULTIPLE_MESSAGES;
+import static 
org.apache.camel.component.langchain.LangchainChatOperations.CHAT_SINGLE_MESSAGE;
+import static 
org.apache.camel.component.langchain.LangchainChatOperations.CHAT_SINGLE_MESSAGE_WITH_PROMPT;
+
+public class LangchainProducer extends DefaultProducer {
+
+private LangchainEndpoint endpoint;
+
+private ChatLanguageModel chatLanguageModel;
+
+private Langchain4jChatHandler langchain4jChatHandler;
+
+public LangchainProducer(LangchainEndpoint endpoint) {
+super(endpoint);
+this.endpoint = endpoint;
+}
+
+@Override
+public void process(Exchange exchange) throws Exception {
+var endpointType = this.endpoint.getType();
+if (ENDPOINT_TYPE_CHAT.equals(endpointType)) {
+processChat(exchange);
+}
+
+}
+
+private void processChat(Exchange exchange) {
+var operation = this.endpoint.getChatOperation();
+// make sure operation is not null
+ObjectHelper.notNull(operation, "chatOperation");
+
+// Processing one single message
+
+if (CHAT_SINGLE_MESSAGE.equals(operation)) {
+
+processSingleMessage(exchange);
+} else if (CHAT_SINGLE_MESSAGE_WITH_PROMPT.equals(operation)) {
+processSingleMessageWithPrompt(exchange);
+} else if (CHAT_MULTIPLE_MESSAGES.equals(operation)) {
+
+processMultipleMessages(exchange);
+}
+
+}
+
+private void processMultipleMessages(Exchange exchange) {
+//TODO
+}
+
+private void processSingleMessageWithPrompt(Exchange exchange) {
+ChatMessageType chatMessageType = this.endpoint.getChatMessageType();
+String promptTemplate = 
exchange.getIn().getHeader(Langchain4jConstants.PROMPT_TEMPLATE, String.class);
+ObjectHelper.notNull(promptTemplate, "Prompt variables");
+var variables = exchange.getIn().getBody(Map.class);
+ObjectHelper.notNull(variables, "Prompt variables");
+
+var response = "";
+
+if (chatMessageType != null) {
+response = 
langchain4jChatHandler.sendWithPromptTemplate(promptTemplate, variables, 
chatMessageType);
+} else {
+response = 
langchain4jChatHandler.sendWithPromptTemplate(promptTemplate, variables);
+}
+
+exchange.getIn().setBody(response);
+
+}
+
+private void processSingleMessage(Exchange exchange) {
+
+ChatMessageType chatMessageType = this.endpoint.getChatMessageType();
+
+var response = "";

Review Comment:
   Maybe cleanup this and the other one.



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