(camel-quarkus) branch camel-main updated (f0e2928638 -> ec87692c2c)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git discard f0e2928638 Upgrade Camel to 4.5.0 new ec87692c2c Upgrade Camel to 4.5.0 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (f0e2928638) \ N -- N -- N refs/heads/camel-main (ec87692c2c) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: poms/bom/src/main/generated/flattened-full-pom.xml | 14 +++--- poms/bom/src/main/generated/flattened-reduced-pom.xml | 14 +++--- .../src/main/generated/flattened-reduced-verbose-pom.xml | 14 +++--- 3 files changed, 21 insertions(+), 21 deletions(-)
Re: [PR] CAMEL-20095 : add langchain component [camel]
zbendhiba commented on code in PR #13341: URL: https://github.com/apache/camel/pull/13341#discussion_r1515679558 ## 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: @orpiske Or maybe for a RemoteService, this sis supposed to be set manually in the properties 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
(camel-quarkus) 01/02: Upgrade Quarkus to 3.9.0.CR1
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 1715274739f9a6e0bdd9d398a02356a415038ead Author: James Netherton AuthorDate: Wed Feb 28 08:13:46 2024 + Upgrade Quarkus to 3.9.0.CR1 --- extensions/google-bigquery/deployment/pom.xml | 4 extensions/google-bigquery/runtime/pom.xml | 4 extensions/google-pubsub/deployment/pom.xml| 4 extensions/google-pubsub/runtime/pom.xml | 4 extensions/grpc/deployment/pom.xml | 4 extensions/grpc/runtime/pom.xml| 8 extensions/salesforce/deployment/pom.xml | 4 extensions/salesforce/runtime/pom.xml | 4 .../db2/src/test/resources/container-license-acceptance.txt| 2 +- pom.xml| 10 +- poms/bom/src/main/generated/flattened-full-pom.xml | 4 ++-- poms/bom/src/main/generated/flattened-reduced-pom.xml | 4 ++-- poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 4 ++-- .../java/org/apache/camel/quarkus/test/AfterEachCallback.java | 1 + .../java/org/apache/camel/quarkus/test/BeforeEachCallback.java | 1 + .../test/userTestCases/AdviceInDoBeforeEachMethodsTest.java| 6 +++--- 16 files changed, 53 insertions(+), 15 deletions(-) diff --git a/extensions/google-bigquery/deployment/pom.xml b/extensions/google-bigquery/deployment/pom.xml index e4cb3b702f..193d2935dc 100644 --- a/extensions/google-bigquery/deployment/pom.xml +++ b/extensions/google-bigquery/deployment/pom.xml @@ -54,6 +54,10 @@ io.vertx vertx-grpc-server + +org.checkerframework +checker-qual + diff --git a/extensions/google-bigquery/runtime/pom.xml b/extensions/google-bigquery/runtime/pom.xml index 15a4b77477..9dfe0da15d 100644 --- a/extensions/google-bigquery/runtime/pom.xml +++ b/extensions/google-bigquery/runtime/pom.xml @@ -90,6 +90,10 @@ io.grpc grpc-netty + +com.google.code.findbugs +jsr305 + com.google.android annotations diff --git a/extensions/google-pubsub/deployment/pom.xml b/extensions/google-pubsub/deployment/pom.xml index 31b8b31739..3820cbf30b 100644 --- a/extensions/google-pubsub/deployment/pom.xml +++ b/extensions/google-pubsub/deployment/pom.xml @@ -58,6 +58,10 @@ io.vertx vertx-grpc-server + +org.checkerframework +checker-qual + diff --git a/extensions/google-pubsub/runtime/pom.xml b/extensions/google-pubsub/runtime/pom.xml index 9161883ace..437a7ebb91 100644 --- a/extensions/google-pubsub/runtime/pom.xml +++ b/extensions/google-pubsub/runtime/pom.xml @@ -113,6 +113,10 @@ com.google.android annotations + +com.google.code.findbugs +jsr305 + commons-logging commons-logging diff --git a/extensions/grpc/deployment/pom.xml b/extensions/grpc/deployment/pom.xml index db1b712e67..e606eeb03e 100644 --- a/extensions/grpc/deployment/pom.xml +++ b/extensions/grpc/deployment/pom.xml @@ -50,6 +50,10 @@ io.vertx vertx-grpc-server + +org.checkerframework +checker-qual + diff --git a/extensions/grpc/runtime/pom.xml b/extensions/grpc/runtime/pom.xml index bc4e5e3974..b58d4f005d 100644 --- a/extensions/grpc/runtime/pom.xml +++ b/extensions/grpc/runtime/pom.xml @@ -39,6 +39,10 @@ io.quarkus quarkus-grpc-common + +com.google.code.findbugs +jsr305 + io.quarkus quarkus-vertx @@ -55,6 +59,10 @@ io.vertx vertx-grpc-server + +org.checkerframework +checker-qual + diff --git a/extensions/salesforce/deployment/pom.xml b/extensions/salesforce/deployment/pom.xml index 2b2e620592..cd5e5989c7 100644 ---
(camel-quarkus) 02/02: Disable Infinispan tests due to #5844
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit fac497e7c24ef43734e94a394294618a23b0ae1a Author: James Netherton AuthorDate: Wed Mar 6 16:06:31 2024 + Disable Infinispan tests due to #5844 --- integration-tests/infinispan-quarkus-client/pom.xml | 2 ++ integration-tests/infinispan/pom.xml | 2 ++ .../apache/camel/quarkus/component/infinispan/InfinispanIT.java | 2 ++ .../camel/quarkus/component/infinispan/InfinispanTest.java | 1 + poms/bom/pom.xml | 9 + poms/bom/src/main/generated/flattened-full-pom.xml | 8 poms/bom/src/main/generated/flattened-reduced-pom.xml| 8 poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml| 8 8 files changed, 40 insertions(+) diff --git a/integration-tests/infinispan-quarkus-client/pom.xml b/integration-tests/infinispan-quarkus-client/pom.xml index a87b90409d..d77f674203 100644 --- a/integration-tests/infinispan-quarkus-client/pom.xml +++ b/integration-tests/infinispan-quarkus-client/pom.xml @@ -70,6 +70,7 @@ + virtualDependencies diff --git a/integration-tests/infinispan/pom.xml b/integration-tests/infinispan/pom.xml index 90f2f30fc9..e5514af2dd 100644 --- a/integration-tests/infinispan/pom.xml +++ b/integration-tests/infinispan/pom.xml @@ -82,6 +82,7 @@ + virtualDependencies diff --git a/integration-tests/infinispan/src/test/java/org/apache/camel/quarkus/component/infinispan/InfinispanIT.java b/integration-tests/infinispan/src/test/java/org/apache/camel/quarkus/component/infinispan/InfinispanIT.java index 25a4208dc0..f63f2c078d 100644 --- a/integration-tests/infinispan/src/test/java/org/apache/camel/quarkus/component/infinispan/InfinispanIT.java +++ b/integration-tests/infinispan/src/test/java/org/apache/camel/quarkus/component/infinispan/InfinispanIT.java @@ -17,7 +17,9 @@ package org.apache.camel.quarkus.component.infinispan; import io.quarkus.test.junit.QuarkusIntegrationTest; +import org.junit.jupiter.api.Disabled; +@Disabled("https://github.com/apache/camel-quarkus/issues/5844;) @QuarkusIntegrationTest public class InfinispanIT extends InfinispanTest { } diff --git a/integration-tests/infinispan/src/test/java/org/apache/camel/quarkus/component/infinispan/InfinispanTest.java b/integration-tests/infinispan/src/test/java/org/apache/camel/quarkus/component/infinispan/InfinispanTest.java index 637fa714a2..b469e343c3 100644 --- a/integration-tests/infinispan/src/test/java/org/apache/camel/quarkus/component/infinispan/InfinispanTest.java +++ b/integration-tests/infinispan/src/test/java/org/apache/camel/quarkus/component/infinispan/InfinispanTest.java @@ -26,6 +26,7 @@ import org.junit.jupiter.api.Test; import static org.hamcrest.Matchers.is; +@Disabled("https://github.com/apache/camel-quarkus/issues/5844;) @QuarkusTest @QuarkusTestResource(InfinispanServerTestResource.class) public class InfinispanTest extends InfinispanCommonTest { diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 2b6dd5ca23..30a1f81f01 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -1426,6 +1426,15 @@ camel-infinispan ${camel.version} + + +org.infinispan +infinispan-commons-jakarta + + +org.infinispan + infinispan-client-hotrod-jakarta + org.slf4j jcl-over-slf4j diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml b/poms/bom/src/main/generated/flattened-full-pom.xml index a128b9b212..a130520a23 100644 --- a/poms/bom/src/main/generated/flattened-full-pom.xml +++ b/poms/bom/src/main/generated/flattened-full-pom.xml @@ -1364,6 +1364,14 @@ camel-infinispan 4.4.0 + +org.infinispan +infinispan-commons-jakarta + + +org.infinispan +infinispan-client-hotrod-jakarta + org.slf4j jcl-over-slf4j diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml b/poms/bom/src/main/generated/flattened-reduced-pom.xml index 24f7c5dc0a..4b5e002a39 100644 --- a/poms/bom/src/main/generated/flattened-reduced-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml @@ -1364,6 +1364,14 @@ camel-infinispan 4.4.0 + +org.infinispan +infinispan-commons-jakarta + + +
(camel-quarkus) branch quarkus-main updated (5e27d6892e -> fac497e7c2)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git discard 5e27d6892e Disable Infinispan tests due to #5844 discard 4327e7c0ab Upgrade Quarkus to 3.9.0.CR1 new 1715274739 Upgrade Quarkus to 3.9.0.CR1 new fac497e7c2 Disable Infinispan tests due to #5844 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (5e27d6892e) \ N -- N -- N refs/heads/quarkus-main (fac497e7c2) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../main/java/org/apache/camel/quarkus/test/AfterEachCallback.java | 1 + .../main/java/org/apache/camel/quarkus/test/BeforeEachCallback.java | 1 + .../quarkus/test/userTestCases/AdviceInDoBeforeEachMethodsTest.java | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-)
Re: [I] cron.concurrency-policy does not work correctly [camel-k]
squakez commented on issue #3019: URL: https://github.com/apache/camel-k/issues/3019#issuecomment-1982739997 > @squakez Hi! is it possible to remove this trait completely? Sometimes it's hard to predict how long a job will run, Sure. Run with the cron trait `enabled` property as `false`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-quarkus) branch camel-main updated (53813ec5dc -> f0e2928638)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git discard 53813ec5dc Upgrade Camel to 4.5.0 add 4e30f6a184 Bump quarkiverse-mybatis.version from 2.2.1 to 2.2.2 (#5845) add fc01220a03 Bump org.amqphub.quarkus:quarkus-qpid-jms-bom from 2.5.0 to 2.6.0 (#5846) new f0e2928638 Upgrade Camel to 4.5.0 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (53813ec5dc) \ N -- N -- N refs/heads/camel-main (f0e2928638) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../examples/components/azure-storage-datalake.yml | 4 +- docs/modules/ROOT/examples/components/jslt.yml | 2 +- .../ROOT/examples/components/rest-openapi.yml | 2 +- .../ROOT/examples/components/splunk-hec.yml| 2 +- .../ROOT/examples/components/spring-rabbitmq.yml | 2 +- docs/modules/ROOT/examples/components/stomp.yml| 2 +- docs/modules/ROOT/examples/components/telegram.yml | 2 +- .../modules/ROOT/examples/components/wordpress.yml | 4 +- .../extensions/azure-storage-datalake.adoc | 2 +- .../pages/reference/extensions/rest-openapi.adoc | 4 +- .../ROOT/pages/reference/extensions/telegram.adoc | 4 +- .../ROOT/pages/reference/extensions/wordpress.adoc | 2 +- pom.xml| 4 +- poms/bom/src/main/generated/flattened-full-pom.xml | 14401 ++- .../src/main/generated/flattened-reduced-pom.xml | 8 +- .../generated/flattened-reduced-verbose-pom.xml|22 +- 16 files changed, 7419 insertions(+), 7048 deletions(-)
Re: [PR] Bump com.box:box-java-sdk from 4.7.0 to 4.8.0 [camel]
github-actions[bot] commented on PR #13401: URL: https://github.com/apache/camel/pull/13401#issuecomment-1982607190 :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.box-box-java-sdk-4.8.0 created (now b1380b15109)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/com.box-box-java-sdk-4.8.0 in repository https://gitbox.apache.org/repos/asf/camel.git at b1380b15109 Bump com.box:box-java-sdk from 4.7.0 to 4.8.0 No new revisions were added by this update.
[PR] Bump com.box:box-java-sdk from 4.7.0 to 4.8.0 [camel]
dependabot[bot] opened a new pull request, #13401: URL: https://github.com/apache/camel/pull/13401 Bumps [com.box:box-java-sdk](https://github.com/box/box-java-sdk) from 4.7.0 to 4.8.0. Release notes Sourced from https://github.com/box/box-java-sdk/releases;>com.box:box-java-sdk's releases. v4.8.0 New Features and Enhancements: allow modifying BoxAPIRequest URL (https://redirect.github.com/box/box-java-sdk/issues/1236;>#1236) (https://github.com/box/box-java-sdk/commit/eaea0193ab7e72b73746ea85806e62468825bbce;>eaea019) Bumped org.bouncycastle:bcprov-jdk18on:1.77 and org.bouncycastle:bcpkix-jdk18on:1.77 (https://redirect.github.com/box/box-java-sdk/issues/1237;>#1237) (https://github.com/box/box-java-sdk/commit/6c7fe7b74dbfb34e729fcecf8a29a1d3a1ba596f;>6c7fe7b), closes https://redirect.github.com/box/box-java-sdk/issues/1235;>#1235 Bug Fixes: fix download for empty files (https://redirect.github.com/box/box-java-sdk/issues/1231;>#1231) (https://github.com/box/box-java-sdk/commit/0e2230b0be36f6bfb35f1d6b9dd4ba58e4d125ec;>0e2230b) stop using SharedLinkAPIConnection in getSharedItem() (https://redirect.github.com/box/box-java-sdk/issues/1234;>#1234) (https://github.com/box/box-java-sdk/commit/9f9af8e22b4a38dc9a31a611ff1b962966bbd6b5;>9f9af8e) Changelog Sourced from https://github.com/box/box-java-sdk/blob/main/CHANGELOG.md;>com.box:box-java-sdk's changelog. https://github.com/box/box-java-sdk/compare/v4.7.0...v4.8.0;>4.8.0 (2024-02-27) New Features and Enhancements: allow modifying BoxAPIRequest URL (https://redirect.github.com/box/box-java-sdk/issues/1236;>#1236) (https://github.com/box/box-java-sdk/commit/eaea0193ab7e72b73746ea85806e62468825bbce;>eaea019) Bumped org.bouncycastle:bcprov-jdk18on:1.77 and org.bouncycastle:bcpkix-jdk18on:1.77 (https://redirect.github.com/box/box-java-sdk/issues/1237;>#1237) (https://github.com/box/box-java-sdk/commit/6c7fe7b74dbfb34e729fcecf8a29a1d3a1ba596f;>6c7fe7b), closes https://redirect.github.com/box/box-java-sdk/issues/1235;>#1235 Bug Fixes: fix download for empty files (https://redirect.github.com/box/box-java-sdk/issues/1231;>#1231) (https://github.com/box/box-java-sdk/commit/0e2230b0be36f6bfb35f1d6b9dd4ba58e4d125ec;>0e2230b) stop using SharedLinkAPIConnection in getSharedItem() (https://redirect.github.com/box/box-java-sdk/issues/1234;>#1234) (https://github.com/box/box-java-sdk/commit/9f9af8e22b4a38dc9a31a611ff1b962966bbd6b5;>9f9af8e) Commits https://github.com/box/box-java-sdk/commit/8e0c63fcc8e5b2e0cc37cf95af457534d6d215f9;>8e0c63f chore: release 4.8.0 (https://redirect.github.com/box/box-java-sdk/issues/1238;>#1238) https://github.com/box/box-java-sdk/commit/9f9af8e22b4a38dc9a31a611ff1b962966bbd6b5;>9f9af8e fix: stop using SharedLinkAPIConnection in getSharedItem() (https://redirect.github.com/box/box-java-sdk/issues/1234;>#1234) https://github.com/box/box-java-sdk/commit/6c7fe7b74dbfb34e729fcecf8a29a1d3a1ba596f;>6c7fe7b feat: Bumped org.bouncycastle:bcprov-jdk18on:1.77 and `org.bouncycastle:bcp... https://github.com/box/box-java-sdk/commit/eaea0193ab7e72b73746ea85806e62468825bbce;>eaea019 feat: allow modifying BoxAPIRequest URL (https://redirect.github.com/box/box-java-sdk/issues/1236;>#1236) https://github.com/box/box-java-sdk/commit/5545a343bfd496205edf5ff12d48f08d69777448;>5545a34 chore: Bumped com.squareup.okhttp3:okhttp:4.12.0 (https://redirect.github.com/box/box-java-sdk/issues/1233;>#1233) https://github.com/box/box-java-sdk/commit/0e2230b0be36f6bfb35f1d6b9dd4ba58e4d125ec;>0e2230b fix: fix download for empty files (https://redirect.github.com/box/box-java-sdk/issues/1231;>#1231) See full diff in https://github.com/box/box-java-sdk/compare/v4.7.0...v4.8.0;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.box:box-java-sdk=maven=4.7.0=4.8.0)](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
(camel) branch regen_bot updated (0d686a2f25f -> ae17a91c89a)
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 0d686a2f25f CAMEL-20529: Remove confusing description of components. add ae17a91c89a CAMEL-20528: camel-console - Make it possible to easily start and stop routes via dev console No new revisions were added by this update. Summary of changes: .../apache/camel/impl/console/RouteDevConsole.java | 70 ++ 1 file changed, 70 insertions(+)
(camel) branch main updated: CAMEL-20528: camel-console - Make it possible to easily start and stop routes via dev console
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 ae17a91c89a CAMEL-20528: camel-console - Make it possible to easily start and stop routes via dev console ae17a91c89a is described below commit ae17a91c89a02e51f1358717708a441917a5d4fc Author: Claus Ibsen AuthorDate: Thu Mar 7 07:20:07 2024 +0100 CAMEL-20528: camel-console - Make it possible to easily start and stop routes via dev console --- .../apache/camel/impl/console/RouteDevConsole.java | 70 ++ 1 file changed, 70 insertions(+) diff --git a/core/camel-console/src/main/java/org/apache/camel/impl/console/RouteDevConsole.java b/core/camel-console/src/main/java/org/apache/camel/impl/console/RouteDevConsole.java index 1e6ee27a284..a289c96982e 100644 --- a/core/camel-console/src/main/java/org/apache/camel/impl/console/RouteDevConsole.java +++ b/core/camel-console/src/main/java/org/apache/camel/impl/console/RouteDevConsole.java @@ -25,6 +25,7 @@ import java.util.Map; import java.util.Objects; import java.util.function.Function; +import org.apache.camel.CamelContext; import org.apache.camel.Exchange; import org.apache.camel.Route; import org.apache.camel.api.management.ManagedCamelContext; @@ -57,12 +58,24 @@ public class RouteDevConsole extends AbstractDevConsole { */ public static final String PROCESSORS = "processors"; +/** + * Action to perform such as start,stop,suspend,resume on one or more routes + */ +public static final String ACTION = "action"; + public RouteDevConsole() { super("camel", "route", "Route", "Route information"); } @Override protected String doCallText(Map options) { +String action = (String) options.get(ACTION); +String filter = (String) options.get(FILTER); +if (action != null) { +doAction(getCamelContext(), action, filter); +return ""; +} + final boolean processors = "true".equals(options.getOrDefault(PROCESSORS, "false")); final StringBuilder sb = new StringBuilder(); Function task = mrb -> { @@ -202,6 +215,13 @@ public class RouteDevConsole extends AbstractDevConsole { @Override protected JsonObject doCallJson(Map options) { +String action = (String) options.get(ACTION); +String filter = (String) options.get(FILTER); +if (action != null) { +doAction(getCamelContext(), action, filter); +return new JsonObject(); +} + final boolean processors = "true".equals(options.getOrDefault(PROCESSORS, "false")); final JsonObject root = new JsonObject(); final List list = new ArrayList<>(); @@ -447,4 +467,54 @@ public class RouteDevConsole extends AbstractDevConsole { } } +protected void doAction(CamelContext camelContext, String command, String filter) { +if (filter == null) { +filter = "*"; +} +String[] patterns = filter.split(","); +// find matching IDs +List ids = camelContext.getRoutes() +.stream().map(Route::getRouteId) +.filter(routeId -> { +for (String p : patterns) { +if (PatternHelper.matchPattern(routeId, p)) { +return true; +} +} +return false; +}) +.toList(); +for (String id : ids) { +try { +if ("start".equals(command)) { +if ("*".equals(id)) { +camelContext.getRouteController().startAllRoutes(); +} else { +camelContext.getRouteController().startRoute(id); +} +} else if ("stop".equals(command)) { +if ("*".equals(id)) { +camelContext.getRouteController().stopAllRoutes(); +} else { +camelContext.getRouteController().stopRoute(id); +} +} else if ("suspend".equals(command)) { +if ("*".equals(id)) { +camelContext.suspend(); +} else { +camelContext.getRouteController().suspendRoute(id); +} +} else if ("resume".equals(command)) { +if ("*".equals(id)) { +camelContext.resume(); +} else { +camelContext.getRouteController().resumeRoute(id); +} +} +} catch (Exception e) { +// ignore +} +} +} + }
(camel) branch regen_bot updated (f34727e913a -> 0d686a2f25f)
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 f34727e913a Regen for commit 3aa40cd72218c9b2f7f7291003d0ae5d52defa6a (#13400) add 0d686a2f25f CAMEL-20529: Remove confusing description of components. No new revisions were added by this update. Summary of changes: docs/components/modules/ROOT/pages/index.adoc | 4 docs/components/modules/others/pages/index.adoc | 4 2 files changed, 8 deletions(-)
(camel-kamelets-examples) branch main updated: Added an Example of Kafka to AWS Bedrock Text Sink (#75)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git The following commit(s) were added to refs/heads/main by this push: new 9c05798 Added an Example of Kafka to AWS Bedrock Text Sink (#75) 9c05798 is described below commit 9c05798c04667efe1ca3f192258b191c688de3f3 Author: Andrea Cosentino AuthorDate: Thu Mar 7 07:08:35 2024 +0100 Added an Example of Kafka to AWS Bedrock Text Sink (#75) Signed-off-by: Andrea Cosentino --- jbang/kafka-aws-bedrock/README.adoc| 184 + .../kafka-aws-bedrock/kafka-aws-bedrock.camel.yaml | 35 jbang/kafka-aws-bedrock/prompt1.txt| 1 + jbang/kafka-aws-bedrock/prompt2.txt| 1 + 4 files changed, 221 insertions(+) diff --git a/jbang/kafka-aws-bedrock/README.adoc b/jbang/kafka-aws-bedrock/README.adoc new file mode 100644 index 000..670647c --- /dev/null +++ b/jbang/kafka-aws-bedrock/README.adoc @@ -0,0 +1,184 @@ +== Kafka to AWS Bedrock Text Sink Kamelet + +In this sample you'll use the Kafka Source Kamelet and the AWS Bedrock Text Sink Kamelet + +=== Install JBang + +First install JBang according to https://www.jbang.dev + +When JBang is installed then you should be able to run from a shell: + +[source,sh] + +$ jbang --version + + +This will output the version of JBang. + +To run this example you can either install Camel on JBang via: + +[source,sh] + +$ jbang app install camel@apache/camel + + +Which allows to run CamelJBang with `camel` as shown below. + +=== Setup Kafka instance + +You'll need to run a Kafka cluster to point to. In this case you could use an ansible role like https://github.com/oscerd/kafka-ansible-role + +And set up a file deploy.yaml with the following content: + +```yaml +- name: role kafka + hosts: localhost + remote_user: user + + roles: +- role: kafka-ansible-role + kafka_version: 3.6.1 + path_dir: /home/user/ + unarchive_dest_dir: /home/user/kafka/demo/ + start_kafka: true +``` + +and then run + +```shell script +ansible-playbook -v deploy.yaml +``` + +This should start a Kafka instance for you, on your local machine. + +=== Set up AWS Bedrock + +The Kamelet expects the AWS credentials to be placed in `/home//.aws/credentials` + +That's reason why you see the useDefaultCredentialsProvider option set to true in the AWS Bedrock Text Sink configuration. + +=== How to run + +Then you can run this example using: + +[source,sh] + +$ jbang -Dcamel.jbang.version=4.5.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir= kafka-aws-bedrock.camel.yaml + + + +=== Sending two messages + +In the log you should see the consumer: + +[source,sh] + +2024-03-07 06:50:53.517 INFO 11498 --- [ main] el.impl.engine.AbstractCamelContext : Routes startup (total:1 started:1 kamelets:2) +2024-03-07 06:50:53.517 INFO 11498 --- [ main] el.impl.engine.AbstractCamelContext : Started route1 (kamelet://kafka-not-secured-source) +2024-03-07 06:50:53.517 INFO 11498 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.5.0-SNAPSHOT (kafka-aws-bedrock) started in 817ms (build:0ms init:0ms start:817ms) +2024-03-07 06:50:53.621 INFO 11498 --- [[bedrock-topic]] he.kafka.common.utils.AppInfoParser : Kafka version: 3.6.1 +2024-03-07 06:50:53.622 INFO 11498 --- [[bedrock-topic]] he.kafka.common.utils.AppInfoParser : Kafka commitId: 5e3c2b738d253ff5 +2024-03-07 06:50:53.622 INFO 11498 --- [[bedrock-topic]] he.kafka.common.utils.AppInfoParser : Kafka startTimeMs: 1709790653615 +2024-03-07 06:50:53.634 INFO 11498 --- [[bedrock-topic]] ort.classic.AssignmentAdapterHelper : Using NO-OP resume strategy +2024-03-07 06:50:53.634 INFO 11498 --- [[bedrock-topic]] l.component.kafka.KafkaFetchRecords : Subscribing bedrock-topic-Thread 0 to topic bedrock-topic +2024-03-07 06:50:53.636 INFO 11498 --- [[bedrock-topic]] afka.clients.consumer.KafkaConsumer : [Consumer clientId=consumer-0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138-1, groupId=0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138] Subscribed to topic(s): bedrock-topic +2024-03-07 06:50:54.023 WARN 11498 --- [[bedrock-topic]] .apache.kafka.clients.NetworkClient : [Consumer clientId=consumer-0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138-1, groupId=0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138] Error while fetching metadata with correlation id 2 : {bedrock-topic=LEADER_NOT_AVAILABLE} +2024-03-07 06:50:54.025 INFO 11498 --- [[bedrock-topic]] org.apache.kafka.clients.Metadata : [Consumer clientId=consumer-0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138-1, groupId=0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138] Cluster ID: Wq0puR18So6u4dXsKJnMNg +2024-03-07 06:50:54.140 WARN 11498 --- [[bedrock-topic]] .apache.kafka.clients.NetworkClient : [Consumer clientId=consumer-0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138-1,
Re: [I] Add an example of Kafka to AWS Bedrock Text sink kamelet [camel-kamelets-examples]
oscerd closed issue #74: Add an example of Kafka to AWS Bedrock Text sink kamelet URL: https://github.com/apache/camel-kamelets-examples/issues/74 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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] Added an Example of Kafka to AWS Bedrock Text Sink [camel-kamelets-examples]
oscerd merged PR #75: URL: https://github.com/apache/camel-kamelets-examples/pull/75 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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] Added an Example of Kafka to AWS Bedrock Text Sink [camel-kamelets-examples]
oscerd opened a new pull request, #75: URL: https://github.com/apache/camel-kamelets-examples/pull/75 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-kamelets-examples) 01/01: Added an Example of Kafka to AWS Bedrock Text Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch kafka-aws-bedrock in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git commit 3b15d8bc19e8fc8693d3ea66591fef8df0663de1 Author: Andrea Cosentino AuthorDate: Thu Mar 7 07:07:21 2024 +0100 Added an Example of Kafka to AWS Bedrock Text Sink Signed-off-by: Andrea Cosentino --- jbang/kafka-aws-bedrock/README.adoc| 184 + .../kafka-aws-bedrock/kafka-aws-bedrock.camel.yaml | 35 jbang/kafka-aws-bedrock/prompt1.txt| 1 + jbang/kafka-aws-bedrock/prompt2.txt| 1 + 4 files changed, 221 insertions(+) diff --git a/jbang/kafka-aws-bedrock/README.adoc b/jbang/kafka-aws-bedrock/README.adoc new file mode 100644 index 000..670647c --- /dev/null +++ b/jbang/kafka-aws-bedrock/README.adoc @@ -0,0 +1,184 @@ +== Kafka to AWS Bedrock Text Sink Kamelet + +In this sample you'll use the Kafka Source Kamelet and the AWS Bedrock Text Sink Kamelet + +=== Install JBang + +First install JBang according to https://www.jbang.dev + +When JBang is installed then you should be able to run from a shell: + +[source,sh] + +$ jbang --version + + +This will output the version of JBang. + +To run this example you can either install Camel on JBang via: + +[source,sh] + +$ jbang app install camel@apache/camel + + +Which allows to run CamelJBang with `camel` as shown below. + +=== Setup Kafka instance + +You'll need to run a Kafka cluster to point to. In this case you could use an ansible role like https://github.com/oscerd/kafka-ansible-role + +And set up a file deploy.yaml with the following content: + +```yaml +- name: role kafka + hosts: localhost + remote_user: user + + roles: +- role: kafka-ansible-role + kafka_version: 3.6.1 + path_dir: /home/user/ + unarchive_dest_dir: /home/user/kafka/demo/ + start_kafka: true +``` + +and then run + +```shell script +ansible-playbook -v deploy.yaml +``` + +This should start a Kafka instance for you, on your local machine. + +=== Set up AWS Bedrock + +The Kamelet expects the AWS credentials to be placed in `/home//.aws/credentials` + +That's reason why you see the useDefaultCredentialsProvider option set to true in the AWS Bedrock Text Sink configuration. + +=== How to run + +Then you can run this example using: + +[source,sh] + +$ jbang -Dcamel.jbang.version=4.5.0-SNAPSHOT camel@apache/camel run --local-kamelet-dir= kafka-aws-bedrock.camel.yaml + + + +=== Sending two messages + +In the log you should see the consumer: + +[source,sh] + +2024-03-07 06:50:53.517 INFO 11498 --- [ main] el.impl.engine.AbstractCamelContext : Routes startup (total:1 started:1 kamelets:2) +2024-03-07 06:50:53.517 INFO 11498 --- [ main] el.impl.engine.AbstractCamelContext : Started route1 (kamelet://kafka-not-secured-source) +2024-03-07 06:50:53.517 INFO 11498 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 4.5.0-SNAPSHOT (kafka-aws-bedrock) started in 817ms (build:0ms init:0ms start:817ms) +2024-03-07 06:50:53.621 INFO 11498 --- [[bedrock-topic]] he.kafka.common.utils.AppInfoParser : Kafka version: 3.6.1 +2024-03-07 06:50:53.622 INFO 11498 --- [[bedrock-topic]] he.kafka.common.utils.AppInfoParser : Kafka commitId: 5e3c2b738d253ff5 +2024-03-07 06:50:53.622 INFO 11498 --- [[bedrock-topic]] he.kafka.common.utils.AppInfoParser : Kafka startTimeMs: 1709790653615 +2024-03-07 06:50:53.634 INFO 11498 --- [[bedrock-topic]] ort.classic.AssignmentAdapterHelper : Using NO-OP resume strategy +2024-03-07 06:50:53.634 INFO 11498 --- [[bedrock-topic]] l.component.kafka.KafkaFetchRecords : Subscribing bedrock-topic-Thread 0 to topic bedrock-topic +2024-03-07 06:50:53.636 INFO 11498 --- [[bedrock-topic]] afka.clients.consumer.KafkaConsumer : [Consumer clientId=consumer-0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138-1, groupId=0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138] Subscribed to topic(s): bedrock-topic +2024-03-07 06:50:54.023 WARN 11498 --- [[bedrock-topic]] .apache.kafka.clients.NetworkClient : [Consumer clientId=consumer-0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138-1, groupId=0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138] Error while fetching metadata with correlation id 2 : {bedrock-topic=LEADER_NOT_AVAILABLE} +2024-03-07 06:50:54.025 INFO 11498 --- [[bedrock-topic]] org.apache.kafka.clients.Metadata : [Consumer clientId=consumer-0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138-1, groupId=0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138] Cluster ID: Wq0puR18So6u4dXsKJnMNg +2024-03-07 06:50:54.140 WARN 11498 --- [[bedrock-topic]] .apache.kafka.clients.NetworkClient : [Consumer clientId=consumer-0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138-1, groupId=0ccdf142-fa1d-4f14-a3b5-c86c2fb5d138] Error while fetching metadata with correlation id 4 : {bedrock-topic=LEADER_NOT_AVAILABLE} +2024-03-07 06:50:54.263 WARN 11498 ---
(camel-kamelets-examples) branch kafka-aws-bedrock created (now 3b15d8b)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch kafka-aws-bedrock in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git at 3b15d8b Added an Example of Kafka to AWS Bedrock Text Sink This branch includes the following new commits: new 3b15d8b Added an Example of Kafka to AWS Bedrock Text Sink The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
(camel) branch camel-4.4.x updated: CAMEL-20529: Remove confusing description of components.
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 917fc3562fc CAMEL-20529: Remove confusing description of components. 917fc3562fc is described below commit 917fc3562fc1c658f8385bbcad00e9343c6dc215 Author: Claus Ibsen AuthorDate: Thu Mar 7 07:00:35 2024 +0100 CAMEL-20529: Remove confusing description of components. --- docs/components/modules/ROOT/pages/index.adoc | 4 docs/components/modules/others/pages/index.adoc | 4 2 files changed, 8 deletions(-) diff --git a/docs/components/modules/ROOT/pages/index.adoc b/docs/components/modules/ROOT/pages/index.adoc index 5185d7824f7..2900dccb52d 100644 --- a/docs/components/modules/ROOT/pages/index.adoc +++ b/docs/components/modules/ROOT/pages/index.adoc @@ -1,10 +1,6 @@ [list-of-camel-components] = Components -Component references are references used to place a component in an assembly. Apache Component references -provides various references that offers services for messaging, sending data, notifications and various other -services that can not only resolve easy messaging and transferring data but also provide securing of data. - == Core Components Below is the list of core components that are provided by Apache Camel. diff --git a/docs/components/modules/others/pages/index.adoc b/docs/components/modules/others/pages/index.adoc index 607cfd35b40..ffcf70f77d6 100644 --- a/docs/components/modules/others/pages/index.adoc +++ b/docs/components/modules/others/pages/index.adoc @@ -1,9 +1,5 @@ = Miscellaneous Components -Component references are references used to place a component in an assembly. Apache Component references -provides various references that offers services for messaging, sending data, notifications and various other -services that can not only resolve easy messaging and transferring data but also provide securing of data. - Number of Miscellaneous Components: indexCount:[] in indexUniqueCount:[format=artifactid] JAR artifacts (indexCount:[attributes=deprecated] deprecated) [{index-table-format}]
(camel) branch main updated: CAMEL-20529: Remove confusing description of components.
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 0d686a2f25f CAMEL-20529: Remove confusing description of components. 0d686a2f25f is described below commit 0d686a2f25f1f8719ba27570e02b2f99a1cd8e0b Author: Claus Ibsen AuthorDate: Thu Mar 7 07:00:35 2024 +0100 CAMEL-20529: Remove confusing description of components. --- docs/components/modules/ROOT/pages/index.adoc | 4 docs/components/modules/others/pages/index.adoc | 4 2 files changed, 8 deletions(-) diff --git a/docs/components/modules/ROOT/pages/index.adoc b/docs/components/modules/ROOT/pages/index.adoc index 5185d7824f7..2900dccb52d 100644 --- a/docs/components/modules/ROOT/pages/index.adoc +++ b/docs/components/modules/ROOT/pages/index.adoc @@ -1,10 +1,6 @@ [list-of-camel-components] = Components -Component references are references used to place a component in an assembly. Apache Component references -provides various references that offers services for messaging, sending data, notifications and various other -services that can not only resolve easy messaging and transferring data but also provide securing of data. - == Core Components Below is the list of core components that are provided by Apache Camel. diff --git a/docs/components/modules/others/pages/index.adoc b/docs/components/modules/others/pages/index.adoc index 607cfd35b40..ffcf70f77d6 100644 --- a/docs/components/modules/others/pages/index.adoc +++ b/docs/components/modules/others/pages/index.adoc @@ -1,9 +1,5 @@ = Miscellaneous Components -Component references are references used to place a component in an assembly. Apache Component references -provides various references that offers services for messaging, sending data, notifications and various other -services that can not only resolve easy messaging and transferring data but also provide securing of data. - Number of Miscellaneous Components: indexCount:[] in indexUniqueCount:[format=artifactid] JAR artifacts (indexCount:[attributes=deprecated] deprecated) [{index-table-format}]
(camel) branch regen_bot updated (f5dcaa45fd6 -> f34727e913a)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git omit f5dcaa45fd6 Regen for commit 3aa40cd72218c9b2f7f7291003d0ae5d52defa6a add beca1e99492 CAMEL-20530: Adds converter from IS to Bson (#13399) add f34727e913a Regen for commit 3aa40cd72218c9b2f7f7291003d0ae5d52defa6a (#13400) This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (f5dcaa45fd6) \ N -- N -- N refs/heads/regen_bot (f34727e913a) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../component/mongodb/converters/MongoDbBasicConvertersLoader.java | 2 ++ .../camel/component/mongodb/converters/MongoDbBasicConverters.java | 5 + 2 files changed, 7 insertions(+)
Re: [I] cron.concurrency-policy does not work correctly [camel-k]
pai911 commented on issue #3019: URL: https://github.com/apache/camel-k/issues/3019#issuecomment-1982367360 @squakez Hi! is it possible to remove this trait completely? Sometimes it's hard to predict how long a job will run, -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch main updated: Regen for commit 3aa40cd72218c9b2f7f7291003d0ae5d52defa6a (#13400)
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 f34727e913a Regen for commit 3aa40cd72218c9b2f7f7291003d0ae5d52defa6a (#13400) f34727e913a is described below commit f34727e913a437bd98ed1abbba4d605a8d1f2e4f Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Mar 7 06:16:07 2024 +0100 Regen for commit 3aa40cd72218c9b2f7f7291003d0ae5d52defa6a (#13400) Signed-off-by: GitHub Co-authored-by: davsclaus --- .../apache/camel/catalog/schemas/camel-spring.xsd | 33 ++ 1 file changed, 33 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd index a71c00aa2ac..41b81e905d2 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd @@ -17942,6 +17942,39 @@ An optional certificate alias to use. This is useful when the keystore has multi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Re: [PR] Generated sources regen [camel]
oscerd merged PR #13400: URL: https://github.com/apache/camel/pull/13400 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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-20530: Adds converter from IS to Bson (#13399)
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 0c99fb0f6bf CAMEL-20530: Adds converter from IS to Bson (#13399) 0c99fb0f6bf is described below commit 0c99fb0f6bf4c680f1e4fd767ca1204f0ad3ff81 Author: Marco Carletti AuthorDate: Thu Mar 7 06:00:10 2024 +0100 CAMEL-20530: Adds converter from IS to Bson (#13399) --- .../component/mongodb/converters/MongoDbBasicConvertersLoader.java | 2 ++ .../camel/component/mongodb/converters/MongoDbBasicConverters.java | 5 + 2 files changed, 7 insertions(+) diff --git a/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConvertersLoader.java b/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConvertersLoader.java index c0330f89f62..e356fb63225 100644 --- a/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConvertersLoader.java +++ b/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConvertersLoader.java @@ -55,6 +55,8 @@ public final class MongoDbBasicConvertersLoader implements TypeConverterLoader, (type, exchange, value) -> org.apache.camel.component.mongodb.converters.MongoDbBasicConverters.fromStringToDocument((java.lang.String) value)); addTypeConverter(registry, org.bson.Document.class, java.util.Map.class, false, (type, exchange, value) -> org.apache.camel.component.mongodb.converters.MongoDbBasicConverters.fromMapToDocument((java.util.Map) value)); +addTypeConverter(registry, org.bson.conversions.Bson.class, java.io.InputStream.class, false, +(type, exchange, value) -> org.apache.camel.component.mongodb.converters.MongoDbBasicConverters.fromInputStreamToBson((java.io.InputStream) value, exchange)); addTypeConverter(registry, org.bson.conversions.Bson.class, java.lang.String.class, false, (type, exchange, value) -> org.apache.camel.component.mongodb.converters.MongoDbBasicConverters.fromStringToBson((java.lang.String) value)); addTypeConverter(registry, org.bson.types.ObjectId.class, java.lang.String.class, false, diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java index 2eae3cd7b89..c179ab18f4c 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java @@ -101,6 +101,11 @@ public final class MongoDbBasicConverters { return answer; } +@Converter +public static Bson fromInputStreamToBson(InputStream is, Exchange exchange) throws Exception { +return fromInputStreamToDocument(is, exchange); +} + @Converter public static Document fromInputStreamToDocument(InputStream is, Exchange exchange) throws Exception { Document answer = null;
(camel) branch regen_bot updated (f3cdc897a94 -> f5dcaa45fd6)
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 f3cdc897a94 CAMEL-20479: fixed SJMS2 test affected by delaying broker configuration add 3aa40cd7221 CAMEL-20507: camel-core - Add enums to expression builders (#13398) add f5dcaa45fd6 Regen for commit 3aa40cd72218c9b2f7f7291003d0ae5d52defa6a No new revisions were added by this update. Summary of changes: .../apache/camel/catalog/schemas/camel-spring.xsd | 33 + .../JsonPathSplitSingleListOptionTest.java | 5 ++-- .../camel/model/language/JsonPathExpression.java | 24 +++ .../camel/model/language/MethodCallExpression.java | 34 ++ .../model/language/XMLTokenizerExpression.java | 25 .../camel/model/language/XPathExpression.java | 24 ++- 6 files changed, 142 insertions(+), 3 deletions(-)
[PR] Generated sources regen [camel]
github-actions[bot] opened a new pull request, #13400: URL: https://github.com/apache/camel/pull/13400 Regen bot :robot: found some uncommitted changes after running build on :camel: `main` branch. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-spring-boot) branch main updated: Regen
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new 5f0cad3df66 Regen 5f0cad3df66 is described below commit 5f0cad3df66f24a371d60e36c87832b18064dd6c Author: Claus Ibsen AuthorDate: Thu Mar 7 06:05:31 2024 +0100 Regen --- .../org/apache/camel/springboot/catalog/components/salesforce.json| 4 ++-- .../camel-salesforce-starter/src/main/docs/salesforce.json| 2 +- .../salesforce/springboot/SalesforceComponentConfiguration.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json index 698e8e2ae0f..632723a455f 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json @@ -90,7 +90,7 @@ "apexUrl": { "index": 63, "kind": "property", "displayName": "Apex Url", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "APEX method URL" }, "compositeMethod": { "index": 64, "kind": "property", "displayName": "Composite Method", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Composite (raw) method." }, "eventName": { "index": 65, "kind": "property", "displayName": "Event Name", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Name of Platform Event, Change Data Capture Event, custom event, etc." }, -"eventSchemaFormat": { "index": 66, "kind": "property", "displayName": "Event Schema Format", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "org.apache.camel.component.salesforce.internal.dto.EventSchemaFormatEnum", "enum": [ "EXPANDED", "COMPACT" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": [...] +"eventSchemaFormat": { "index": 66, "kind": "property", "displayName": "Event Schema Format", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "org.apache.camel.component.salesforce.internal.dto.EventSchemaFormatEnum", "enum": [ "EXPANDED", "COMPACT" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": [...] "eventSchemaId": { "index": 67, "kind": "property", "displayName": "Event Schema Id", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "The ID of the event schema." }, "lazyStartProducer": { "index": 68, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fai [...] "rawHttpHeaders": { "index": 69, "kind": "property", "displayName": "Raw Http Headers", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Comma separated list of
Re: [PR] CAMEL-20517 camel-jbang-plugin-k doesn't recognize command [camel]
davsclaus commented on PR #13397: URL: https://github.com/apache/camel/pull/13397#issuecomment-1982351404 I would like if you can try make this without changing code in the core modules in that classloader. So instead can you add a custom classloader into camel-jbang and use it there -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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-20530: Adds converter from IS to Bson (#13399)
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 beca1e99492 CAMEL-20530: Adds converter from IS to Bson (#13399) beca1e99492 is described below commit beca1e99492ce6bd4e44c7c919e9a317f4350995 Author: Marco Carletti AuthorDate: Thu Mar 7 06:00:10 2024 +0100 CAMEL-20530: Adds converter from IS to Bson (#13399) --- .../component/mongodb/converters/MongoDbBasicConvertersLoader.java | 2 ++ .../camel/component/mongodb/converters/MongoDbBasicConverters.java | 5 + 2 files changed, 7 insertions(+) diff --git a/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConvertersLoader.java b/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConvertersLoader.java index c0330f89f62..e356fb63225 100644 --- a/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConvertersLoader.java +++ b/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConvertersLoader.java @@ -55,6 +55,8 @@ public final class MongoDbBasicConvertersLoader implements TypeConverterLoader, (type, exchange, value) -> org.apache.camel.component.mongodb.converters.MongoDbBasicConverters.fromStringToDocument((java.lang.String) value)); addTypeConverter(registry, org.bson.Document.class, java.util.Map.class, false, (type, exchange, value) -> org.apache.camel.component.mongodb.converters.MongoDbBasicConverters.fromMapToDocument((java.util.Map) value)); +addTypeConverter(registry, org.bson.conversions.Bson.class, java.io.InputStream.class, false, +(type, exchange, value) -> org.apache.camel.component.mongodb.converters.MongoDbBasicConverters.fromInputStreamToBson((java.io.InputStream) value, exchange)); addTypeConverter(registry, org.bson.conversions.Bson.class, java.lang.String.class, false, (type, exchange, value) -> org.apache.camel.component.mongodb.converters.MongoDbBasicConverters.fromStringToBson((java.lang.String) value)); addTypeConverter(registry, org.bson.types.ObjectId.class, java.lang.String.class, false, diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java index 2eae3cd7b89..c179ab18f4c 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java @@ -101,6 +101,11 @@ public final class MongoDbBasicConverters { return answer; } +@Converter +public static Bson fromInputStreamToBson(InputStream is, Exchange exchange) throws Exception { +return fromInputStreamToDocument(is, exchange); +} + @Converter public static Document fromInputStreamToDocument(InputStream is, Exchange exchange) throws Exception { Document answer = null;
Re: [PR] CAMEL-20530: Adds converter from IS to Bson [camel]
davsclaus merged PR #13399: URL: https://github.com/apache/camel/pull/13399 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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-20507/add-enum-to-expression-builder deleted (was 5683a1337ae)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch CAMEL-20507/add-enum-to-expression-builder in repository https://gitbox.apache.org/repos/asf/camel.git was 5683a1337ae CAMEL-20507: camel-core - Add enums to expression builders The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(camel) branch main updated: CAMEL-20507: camel-core - Add enums to expression builders (#13398)
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 3aa40cd7221 CAMEL-20507: camel-core - Add enums to expression builders (#13398) 3aa40cd7221 is described below commit 3aa40cd72218c9b2f7f7291003d0ae5d52defa6a Author: Nicolas Filotto AuthorDate: Thu Mar 7 05:59:29 2024 +0100 CAMEL-20507: camel-core - Add enums to expression builders (#13398) --- .../JsonPathSplitSingleListOptionTest.java | 5 ++-- .../camel/model/language/JsonPathExpression.java | 24 +++ .../camel/model/language/MethodCallExpression.java | 34 ++ .../model/language/XMLTokenizerExpression.java | 25 .../camel/model/language/XPathExpression.java | 24 ++- 5 files changed, 109 insertions(+), 3 deletions(-) diff --git a/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java b/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java index bc611180fc0..8c624dd20a2 100644 --- a/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java +++ b/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java @@ -19,9 +19,9 @@ package org.apache.camel.jsonpath; import java.io.File; import java.util.Map; -import com.jayway.jsonpath.Option; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; +import org.apache.camel.model.language.JsonPathExpression; import org.apache.camel.test.junit5.CamelTestSupport; import org.junit.jupiter.api.Test; @@ -38,7 +38,8 @@ public class JsonPathSplitSingleListOptionTest extends CamelTestSupport { public void configure() { // use option to force returning a list even for a single element selected var jsonpath -= expression().jsonpath().option(Option.ALWAYS_RETURN_LIST.name()).expression("$.store.book[0]").end(); += expression().jsonpath().option(JsonPathExpression.Option.ALWAYS_RETURN_LIST) +.expression("$.store.book[0]").end(); from("direct:start") .split(jsonpath) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/language/JsonPathExpression.java b/core/camel-core-model/src/main/java/org/apache/camel/model/language/JsonPathExpression.java index 11457bcccbc..360677c8abe 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/language/JsonPathExpression.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/language/JsonPathExpression.java @@ -16,6 +16,10 @@ */ package org.apache.camel.model.language; +import java.util.Arrays; +import java.util.Objects; +import java.util.stream.Collectors; + import jakarta.xml.bind.annotation.XmlAccessType; import jakarta.xml.bind.annotation.XmlAccessorType; import jakarta.xml.bind.annotation.XmlAttribute; @@ -241,9 +245,29 @@ public class JsonPathExpression extends SingleInputTypedExpressionDefinition { return this; } +/** + * To configure additional options on JSONPath. + */ +public Builder option(Option... options) { +this.option = Arrays.stream(options).map(Objects::toString).collect(Collectors.joining(",")); +return this; +} + @Override public JsonPathExpression end() { return new JsonPathExpression(this); } } + +/** + * {@code Option} defines the possible json path options that can be used. + */ +@XmlTransient +public enum Option { +DEFAULT_PATH_LEAF_TO_NULL, +ALWAYS_RETURN_LIST, +AS_PATH_LIST, +SUPPRESS_EXCEPTIONS, +REQUIRE_PROPERTIES; +} } diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/language/MethodCallExpression.java b/core/camel-core-model/src/main/java/org/apache/camel/model/language/MethodCallExpression.java index fb867e1b1c1..d0e22ac947b 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/language/MethodCallExpression.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/language/MethodCallExpression.java @@ -294,6 +294,24 @@ public class MethodCallExpression extends TypedExpressionDefinition { return this; } +/** + * Scope of bean. + * + * When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime + * of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same + * time. When using
Re: [PR] CAMEL-20507: camel-core - Add enums to expression builders [camel]
davsclaus merged PR #13398: URL: https://github.com/apache/camel/pull/13398 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [CI] - Quarkus Main Branch Build Failure [camel-quarkus]
github-actions[bot] commented on issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-1982247389 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 8181798298-1414-ae0c46a3-2ac6-4fa0-a5a4-048860dec693 * Camel Quarkus Commit: 1327755503953647209fc0e8ac5b67ec556bd1a7 * Quarkus Main Commit: fc01220a031631658ef0a1779985c5f164cd30a6 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/8181798298 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-quarkus) branch dependabot/maven/org.amqphub.quarkus-quarkus-qpid-jms-bom-2.6.0 deleted (was 9cffc5e266)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.amqphub.quarkus-quarkus-qpid-jms-bom-2.6.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git was 9cffc5e266 Auto generated changes for dependabot commit 452db20b04904f09efd466ee8c50d8e5003c8c0a The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
Re: [PR] Bump org.amqphub.quarkus:quarkus-qpid-jms-bom from 2.5.0 to 2.6.0 [camel-quarkus]
zhfeng merged PR #5846: URL: https://github.com/apache/camel-quarkus/pull/5846 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-quarkus) branch dependabot/maven/quarkiverse-mybatis.version-2.2.2 deleted (was 27bd8f986b)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/quarkiverse-mybatis.version-2.2.2 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git was 27bd8f986b Auto generated changes for dependabot commit b3657dc396a29369ddda51c035709df9996f163f The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(camel-quarkus) branch main updated: Bump quarkiverse-mybatis.version from 2.2.1 to 2.2.2 (#5845)
This is an automated email from the ASF dual-hosted git repository. zhfeng pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 4e30f6a184 Bump quarkiverse-mybatis.version from 2.2.1 to 2.2.2 (#5845) 4e30f6a184 is described below commit 4e30f6a18446d1a661718f1e94afd8174874d032 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Thu Mar 7 09:38:59 2024 +0800 Bump quarkiverse-mybatis.version from 2.2.1 to 2.2.2 (#5845) * Bump quarkiverse-mybatis.version from 2.2.1 to 2.2.2 Bumps `quarkiverse-mybatis.version` from 2.2.1 to 2.2.2. Updates `io.quarkiverse.mybatis:quarkus-mybatis` from 2.2.1 to 2.2.2 Updates `io.quarkiverse.mybatis:quarkus-mybatis-deployment` from 2.2.1 to 2.2.2 --- updated-dependencies: - dependency-name: io.quarkiverse.mybatis:quarkus-mybatis dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: io.quarkiverse.mybatis:quarkus-mybatis-deployment dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Auto generated changes for dependabot commit b3657dc396a29369ddda51c035709df9996f163f - Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pom.xml | 2 +- poms/bom/src/main/generated/flattened-full-pom.xml| 4 ++-- poms/bom/src/main/generated/flattened-reduced-pom.xml | 4 ++-- poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index a00a442ce9..3a8bb93101 100644 --- a/pom.xml +++ b/pom.xml @@ -58,7 +58,7 @@ 3.0.7 3.2.4 3.7.1 -2.2.1 +2.2.2 2.3.1 2.0.2 3.8.1 diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml b/poms/bom/src/main/generated/flattened-full-pom.xml index a39e94aa76..232f3ed8c5 100644 --- a/poms/bom/src/main/generated/flattened-full-pom.xml +++ b/poms/bom/src/main/generated/flattened-full-pom.xml @@ -6426,12 +6426,12 @@ io.quarkiverse.mybatis quarkus-mybatis -2.2.1 +2.2.2 io.quarkiverse.mybatis quarkus-mybatis-deployment -2.2.1 +2.2.2 io.quarkiverse.tika diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml b/poms/bom/src/main/generated/flattened-reduced-pom.xml index 47a58a9493..d3e5f67bbe 100644 --- a/poms/bom/src/main/generated/flattened-reduced-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml @@ -6381,12 +6381,12 @@ io.quarkiverse.mybatis quarkus-mybatis -2.2.1 +2.2.2 io.quarkiverse.mybatis quarkus-mybatis-deployment -2.2.1 +2.2.2 io.quarkiverse.tika 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 c0ab4d6406..ae50ee316e 100644 --- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml @@ -6381,12 +6381,12 @@ io.quarkiverse.mybatis quarkus-mybatis -2.2.1 +2.2.2 io.quarkiverse.mybatis quarkus-mybatis-deployment -2.2.1 +2.2.2 io.quarkiverse.tika
Re: [PR] Bump quarkiverse-mybatis.version from 2.2.1 to 2.2.2 [camel-quarkus]
zhfeng merged PR #5845: URL: https://github.com/apache/camel-quarkus/pull/5845 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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
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 48bdcf7a0 chore: changelog automatic update 48bdcf7a0 is described below commit 48bdcf7a0e738396f7d5ccfd62c928b7d2265f74 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Mar 7 01:09:35 2024 + chore: changelog automatic update --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73a7d4e0f..93affe488 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ - Quarkus buildMode should sort JVM before Native execution [\#5001](https://github.com/apache/camel-k/issues/5001) - Failing to build native integration [\#5000](https://github.com/apache/camel-k/issues/5000) - Use generated trait [\#4811](https://github.com/apache/camel-k/issues/4811) +- Upgrade to Go 1.21 [\#4795](https://github.com/apache/camel-k/issues/4795) - Pointer to an external schema/CRD [\#4788](https://github.com/apache/camel-k/issues/4788) - Pipe using simple language expressions causing failure [\#4777](https://github.com/apache/camel-k/issues/4777) - 1st Integration after Camel K runtime version update failing [\#4776](https://github.com/apache/camel-k/issues/4776)
Re: [I] [CI] - Camel Main Branch Build Failure [camel-quarkus]
github-actions[bot] commented on issue #2927: URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-1982123107 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 8180623724-1310-43c95f6a-9f57-4d2e-911a-234b1e740bda * Camel Quarkus Commit: 53813ec5dc695c3476fd277bdd51b9c6f8ce05bb * Camel Main Commit: 6274b899f58b8e5649d708bf80ed5843217a6a13 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/8180623724 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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.1.x updated: chore: changelog automatic update
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 8e5ce075a chore: changelog automatic update 8e5ce075a is described below commit 8e5ce075afb3f025d3483f19a53464bb93b09e5f Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Mar 7 00:25:43 2024 + chore: changelog automatic update --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73a7d4e0f..93affe488 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ - Quarkus buildMode should sort JVM before Native execution [\#5001](https://github.com/apache/camel-k/issues/5001) - Failing to build native integration [\#5000](https://github.com/apache/camel-k/issues/5000) - Use generated trait [\#4811](https://github.com/apache/camel-k/issues/4811) +- Upgrade to Go 1.21 [\#4795](https://github.com/apache/camel-k/issues/4795) - Pointer to an external schema/CRD [\#4788](https://github.com/apache/camel-k/issues/4788) - Pipe using simple language expressions causing failure [\#4777](https://github.com/apache/camel-k/issues/4777) - 1st Integration after Camel K runtime version update failing [\#4776](https://github.com/apache/camel-k/issues/4776)
[PR] [Github Actions] Periodic Sync Camel Spring Boot (Camel 4) [camel-spring-boot]
github-actions[bot] opened a new pull request, #1101: URL: https://github.com/apache/camel-spring-boot/pull/1101 Periodic Sync of Camel Spring Boot Main Branch with main Camel Main. see https://github.com/apache/camel-spring-boot/blob/main/.github/workflows/automatic-sync-main.yml -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-k) branch main updated: chore: nightly automatic updates
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 e9ae87949 chore: nightly automatic updates e9ae87949 is described below commit e9ae87949d4d710d727cab814e04a45d3069fc0d Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Mar 6 23:45:43 2024 + chore: nightly automatic updates --- CHANGELOG.md | 4 ++ coverage.out | 205 ++- 2 files changed, 107 insertions(+), 102 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5525e903..5da61c3a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ - Quarkus buildMode should sort JVM before Native execution [\#5001](https://github.com/apache/camel-k/issues/5001) - Failing to build native integration [\#5000](https://github.com/apache/camel-k/issues/5000) - Use generated trait [\#4811](https://github.com/apache/camel-k/issues/4811) +- Upgrade to Go 1.21 [\#4795](https://github.com/apache/camel-k/issues/4795) - Pointer to an external schema/CRD [\#4788](https://github.com/apache/camel-k/issues/4788) - Pipe using simple language expressions causing failure [\#4777](https://github.com/apache/camel-k/issues/4777) - 1st Integration after Camel K runtime version update failing [\#4776](https://github.com/apache/camel-k/issues/4776) @@ -49,6 +50,9 @@ **Merged pull requests:** +- chore\(traits\): deprecate registry [\#5222](https://github.com/apache/camel-k/pull/5222) ([squakez](https://github.com/squakez)) +- feat\(ci\): upgrade golang to 1.21 [\#5221](https://github.com/apache/camel-k/pull/5221) ([squakez](https://github.com/squakez)) +- fix\(trait\): watch for resource versions... [\#5218](https://github.com/apache/camel-k/pull/5218) ([squakez](https://github.com/squakez)) - chore\(deps\): bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 [\#5214](https://github.com/apache/camel-k/pull/5214) ([dependabot[bot]](https://github.com/apps/dependabot)) - fix\(ci\): add snapshot repo [\#5209](https://github.com/apache/camel-k/pull/5209) ([squakez](https://github.com/squakez)) - chore\(deps\): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 [\#5208](https://github.com/apache/camel-k/pull/5208) ([dependabot[bot]](https://github.com/apps/dependabot)) diff --git a/coverage.out b/coverage.out index 98130b17d..178029954 100644 --- a/coverage.out +++ b/coverage.out @@ -113,7 +113,7 @@ github.com/apache/camel-k/v2/pkg/apis/camel/v1/camelcatalog_types_support.go:262 github.com/apache/camel-k/v2/pkg/apis/camel/v1/camelcatalog_types_support.go:270: GetScheme 0.0% github.com/apache/camel-k/v2/pkg/apis/camel/v1/camelcatalog_types_support.go:279: consumerScheme 0.0% github.com/apache/camel-k/v2/pkg/apis/camel/v1/camelcatalog_types_support.go:283: producerScheme 0.0% -github.com/apache/camel-k/v2/pkg/apis/camel/v1/common_types.go:318: String 0.0% +github.com/apache/camel-k/v2/pkg/apis/camel/v1/common_types.go:319: String 0.0% github.com/apache/camel-k/v2/pkg/apis/camel/v1/common_types_support.go:33: String 0.0% github.com/apache/camel-k/v2/pkg/apis/camel/v1/common_types_support.go:37: String 0.0% github.com/apache/camel-k/v2/pkg/apis/camel/v1/common_types_support.go:41: CapabilityDependencies 0.0% @@ -919,57 +919,57 @@ github.com/apache/camel-k/v2/pkg/cmd/root.go:249: PrintVerboseOut 0.0 github.com/apache/camel-k/v2/pkg/cmd/root.go:255: PrintfVerboseOutf 0.0% github.com/apache/camel-k/v2/pkg/cmd/root.go:260: PrintfVerboseErrf 0.0% github.com/apache/camel-k/v2/pkg/cmd/root.go:266: wrappedFlagUsages 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:81: newCmdRun 100.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:173:
[I] Docker install fails [camel-karavan]
mechatronics123 opened a new issue, #1164: URL: https://github.com/apache/camel-karavan/issues/1164 **Docker compose fails with :** > docker compose up > WARN[] The "KARAVAN_GIT_REPOSITORY" variable is not set. Defaulting to a blank string. > WARN[] The "KARAVAN_GIT_USERNAME" variable is not set. Defaulting to a blank string. > WARN[] The "KARAVAN_GIT_PASSWORD" variable is not set. Defaulting to a blank string. > [+] Running 0/2 > â ™ karavan Pulling 0.2s > â ™ registry Pulling 0.2s > error getting credentials - err: fork/exec /usr/bin/docker-credential-desktop.exe: exec format error, out: `` **Docker gitea fails with:** > validating /mnt/c/Docker/karavan-docker/docker-compose-gitea.yaml: services.karavan Additional property restart_policy is not allowed **any solutions?** **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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-kamelets) branch regen_bot updated (6c1e9ac2 -> 32a38587)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git from 6c1e9ac2 Added AWS Bedrock Text Sink Kamelet add 32a38587 Bump github.com/cloudevents/sdk-go/v2 in /script/validator No new revisions were added by this update. Summary of changes: script/validator/go.mod | 2 +- script/validator/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Re: [PR] Bump org.amqphub.quarkus:quarkus-qpid-jms-bom from 2.5.0 to 2.6.0 [camel-quarkus]
github-actions[bot] commented on PR #5846: URL: https://github.com/apache/camel-quarkus/pull/5846#issuecomment-1981897301 :warning: :warning: :warning: Branch auto synchronized due to changes in generated files. New workflow run triggered: https://github.com/apache/camel-quarkus/actions/runs/8179437829 Please check the workflow result before merging. :warning: :warning: :warning: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-quarkus) branch dependabot/maven/org.amqphub.quarkus-quarkus-qpid-jms-bom-2.6.0 updated (452db20b04 -> 9cffc5e266)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.amqphub.quarkus-quarkus-qpid-jms-bom-2.6.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git from 452db20b04 Bump org.amqphub.quarkus:quarkus-qpid-jms-bom from 2.5.0 to 2.6.0 add 9cffc5e266 Auto generated changes for dependabot commit 452db20b04904f09efd466ee8c50d8e5003c8c0a No new revisions were added by this update. Summary of changes: poms/bom/src/main/generated/flattened-full-pom.xml | 14397 ++- .../src/main/generated/flattened-reduced-pom.xml | 4 +- .../generated/flattened-reduced-verbose-pom.xml|18 +- 3 files changed, 7395 insertions(+), 7024 deletions(-)
(camel-kamelets) branch dependabot/go_modules/script/validator/github.com/cloudevents/sdk-go/v2-2.15.2 deleted (was 22880d1e)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/go_modules/script/validator/github.com/cloudevents/sdk-go/v2-2.15.2 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git was 22880d1e Bump github.com/cloudevents/sdk-go/v2 in /script/validator The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(camel-kamelets) branch main updated: Bump github.com/cloudevents/sdk-go/v2 in /script/validator
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/main by this push: new 32a38587 Bump github.com/cloudevents/sdk-go/v2 in /script/validator 32a38587 is described below commit 32a38587e1b6a380f5ab8afb90b1049dbb9bb5a0 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Wed Mar 6 20:15:38 2024 + Bump github.com/cloudevents/sdk-go/v2 in /script/validator Bumps [github.com/cloudevents/sdk-go/v2](https://github.com/cloudevents/sdk-go) from 2.13.0 to 2.15.2. - [Release notes](https://github.com/cloudevents/sdk-go/releases) - [Commits](https://github.com/cloudevents/sdk-go/compare/v2.13.0...v2.15.2) --- updated-dependencies: - dependency-name: github.com/cloudevents/sdk-go/v2 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- script/validator/go.mod | 2 +- script/validator/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script/validator/go.mod b/script/validator/go.mod index 41b379d2..c10286a6 100644 --- a/script/validator/go.mod +++ b/script/validator/go.mod @@ -21,7 +21,7 @@ require ( github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/cloudevents/sdk-go/sql/v2 v2.13.0 // indirect - github.com/cloudevents/sdk-go/v2 v2.13.0 // indirect + github.com/cloudevents/sdk-go/v2 v2.15.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/emicklei/go-restful/v3 v3.9.0 // indirect github.com/evanphx/json-patch v5.6.0+incompatible // indirect diff --git a/script/validator/go.sum b/script/validator/go.sum index 217f4b33..0e1952e5 100644 --- a/script/validator/go.sum +++ b/script/validator/go.sum @@ -113,8 +113,8 @@ github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMn github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudevents/sdk-go/sql/v2 v2.13.0 h1:gMJvQ3XFkygY9JmrusgK80d9yRAb8+J3X8IA1OC+oc0= github.com/cloudevents/sdk-go/sql/v2 v2.13.0/go.mod h1:XZRQBCgRreddIpQrdjBJQUrRg3BCs3aikplJQkHrK44= -github.com/cloudevents/sdk-go/v2 v2.13.0 h1:2zxDS8RyY1/wVPULGGbdgniGXSzLaRJVl136fLXGsYw= -github.com/cloudevents/sdk-go/v2 v2.13.0/go.mod h1:xDmKfzNjM8gBvjaF8ijFjM1VYOVUEeUfapHMUX1T5To= +github.com/cloudevents/sdk-go/v2 v2.15.2 h1:54+I5xQEnI73RBhWHxbI1XJcqOFOVJN85vb41+8mHUc= +github.com/cloudevents/sdk-go/v2 v2.15.2/go.mod h1:lL7kSWAE/V8VI4Wh0jbL2v/jvqsm6tjmaQBSvxcv4uE= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
Re: [PR] Bump github.com/cloudevents/sdk-go/v2 from 2.13.0 to 2.15.2 in /script/validator [camel-kamelets]
oscerd merged PR #1933: URL: https://github.com/apache/camel-kamelets/pull/1933 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-quarkus) branch dependabot/maven/org.amqphub.quarkus-quarkus-qpid-jms-bom-2.6.0 created (now 452db20b04)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.amqphub.quarkus-quarkus-qpid-jms-bom-2.6.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git at 452db20b04 Bump org.amqphub.quarkus:quarkus-qpid-jms-bom from 2.5.0 to 2.6.0 No new revisions were added by this update.
[PR] Bump org.amqphub.quarkus:quarkus-qpid-jms-bom from 2.5.0 to 2.6.0 [camel-quarkus]
dependabot[bot] opened a new pull request, #5846: URL: https://github.com/apache/camel-quarkus/pull/5846 Bumps [org.amqphub.quarkus:quarkus-qpid-jms-bom](https://github.com/amqphub/quarkus-qpid-jms) from 2.5.0 to 2.6.0. Commits https://github.com/amqphub/quarkus-qpid-jms/commit/d52a5a13e45401b23c7115c6f8a75b6b16c22828;>d52a5a1 [maven-release-plugin] prepare release 2.6.0 https://github.com/amqphub/quarkus-qpid-jms/commit/551d20ce36725372d359b4c88b2567c68b1d7cb7;>551d20c update to Quarkus 3.8.1 https://github.com/amqphub/quarkus-qpid-jms/commit/d610a479dafc25d7eea6b81be185fb2c861776b2;>d610a47 update branch cron job to 3.8.x https://github.com/amqphub/quarkus-qpid-jms/commit/28d10ea8466f58950c3e612e6950e486005488b3;>28d10ea update actions to resolve deprecation warnings, and bump OS version https://github.com/amqphub/quarkus-qpid-jms/commit/4111d82a46efa2decf3b6abf3e10b42b5d6b8039;>4111d82 Update to Quarkus 3.7.1, switch source/target/release options to Java 17 https://github.com/amqphub/quarkus-qpid-jms/commit/4d550bde84c9dbad184769af288f756b01998820;>4d550bd switch branch cron job to 3.7.x branch https://github.com/amqphub/quarkus-qpid-jms/commit/14759bd7a261f170bad84fbe89be4bdbfa8e839f;>14759bd remove Java 11 runs as Quarkus no longer supports it https://github.com/amqphub/quarkus-qpid-jms/commit/ace9ad7a92e601d2c29d81fdbc24b3b7b59ca3da;>ace9ad7 remove Java 11 nightly job as Quarkus main no longer supports it https://github.com/amqphub/quarkus-qpid-jms/commit/b4c0d5b7548b846707b52c82c75979b7b7046397;>b4c0d5b [maven-release-plugin] prepare for next development iteration See full diff in https://github.com/amqphub/quarkus-qpid-jms/compare/2.5.0...2.6.0;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.amqphub.quarkus:quarkus-qpid-jms-bom=maven=2.5.0=2.6.0)](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] CAMEL-20530: Adds converter from IS to Bson [camel]
github-actions[bot] commented on PR #13399: URL: https://github.com/apache/camel/pull/13399#issuecomment-1981877615 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] CAMEL-20530: Adds converter from IS to Bson [camel]
mcarlett opened a new pull request, #13399: URL: https://github.com/apache/camel/pull/13399 Adds MongoDB converter from java.io.InputStream to org.bson.conversions.Bson -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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 quarkiverse-mybatis.version from 2.2.1 to 2.2.2 [camel-quarkus]
github-actions[bot] commented on PR #5845: URL: https://github.com/apache/camel-quarkus/pull/5845#issuecomment-1981847736 :warning: :warning: :warning: Branch auto synchronized due to changes in generated files. New workflow run triggered: https://github.com/apache/camel-quarkus/actions/runs/8179147082 Please check the workflow result before merging. :warning: :warning: :warning: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-quarkus) branch dependabot/maven/quarkiverse-mybatis.version-2.2.2 updated (b3657dc396 -> 27bd8f986b)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/quarkiverse-mybatis.version-2.2.2 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git from b3657dc396 Bump quarkiverse-mybatis.version from 2.2.1 to 2.2.2 add 27bd8f986b Auto generated changes for dependabot commit b3657dc396a29369ddda51c035709df9996f163f No new revisions were added by this update. Summary of changes: poms/bom/src/main/generated/flattened-full-pom.xml| 4 ++-- poms/bom/src/main/generated/flattened-reduced-pom.xml | 4 ++-- poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)
(camel-quarkus) branch dependabot/maven/quarkiverse-mybatis.version-2.2.2 created (now b3657dc396)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/quarkiverse-mybatis.version-2.2.2 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git at b3657dc396 Bump quarkiverse-mybatis.version from 2.2.1 to 2.2.2 No new revisions were added by this update.
[PR] Bump quarkiverse-mybatis.version from 2.2.1 to 2.2.2 [camel-quarkus]
dependabot[bot] opened a new pull request, #5845: URL: https://github.com/apache/camel-quarkus/pull/5845 Bumps `quarkiverse-mybatis.version` from 2.2.1 to 2.2.2. Updates `io.quarkiverse.mybatis:quarkus-mybatis` from 2.2.1 to 2.2.2 Updates `io.quarkiverse.mybatis:quarkus-mybatis-deployment` from 2.2.1 to 2.2.2 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-kamelets) branch dependabot/go_modules/script/validator/github.com/cloudevents/sdk-go/v2-2.15.2 created (now 22880d1e)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/go_modules/script/validator/github.com/cloudevents/sdk-go/v2-2.15.2 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git at 22880d1e Bump github.com/cloudevents/sdk-go/v2 in /script/validator No new revisions were added by this update.
[PR] Bump github.com/cloudevents/sdk-go/v2 from 2.13.0 to 2.15.2 in /script/validator [camel-kamelets]
dependabot[bot] opened a new pull request, #1933: URL: https://github.com/apache/camel-kamelets/pull/1933 Bumps [github.com/cloudevents/sdk-go/v2](https://github.com/cloudevents/sdk-go) from 2.13.0 to 2.15.2. Release notes Sourced from https://github.com/cloudevents/sdk-go/releases;>github.com/cloudevents/sdk-go/v2's releases. Release v2.15.2 What's Changed Patch for a potential security issue. See https://github.com/cloudevents/sdk-go/blob/HEAD/TBD;>CVE-2024-28110. Note: this could be a breaking change for people if they purposely change golang's HTTP DefaultClient, or change the CloudEvents Client returned from NewClient, and expect those changes to be visible on other HTTP flows using those Clients. E.g. auth Full Changelog: https://github.com/cloudevents/sdk-go/compare/v2.15.1...v2.15.2;>https://github.com/cloudevents/sdk-go/compare/v2.15.1...v2.15.2 Release v2.15.1 What's Changed Bump andstor/file-existence-action from 2 to 3 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1009;>cloudevents/sdk-go#1009 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /test/conformance by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/993;>cloudevents/sdk-go#993 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /test/benchmark by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/994;>cloudevents/sdk-go#994 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/kafka by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/995;>cloudevents/sdk-go#995 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /test/integration by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/996;>cloudevents/sdk-go#996 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /protocol/kafka_sarama/v2 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/997;>cloudevents/sdk-go#997 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/http by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/998;>cloudevents/sdk-go#998 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/nats by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/999;>cloudevents/sdk-go#999 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/stan by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1004;>cloudevents/sdk-go#1004 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/nats_jetstream by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1003;>cloudevents/sdk-go#1003 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /protocol/nats/v2 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1002;>cloudevents/sdk-go#1002 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /protocol/nats_jetstream/v2 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1001;>cloudevents/sdk-go#1001 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /protocol/stan/v2 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1000;>cloudevents/sdk-go#1000 Propose the confluent-kafka-go binding for Kafka by https://github.com/yanmxa;>@​yanmxa in https://redirect.github.com/cloudevents/sdk-go/pull/1008;>cloudevents/sdk-go#1008 Sync CESQL tck tests by https://github.com/Cali0707;>@​Cali0707 in https://redirect.github.com/cloudevents/sdk-go/pull/1010;>cloudevents/sdk-go#1010 Fix docstring typos in nats and jetstream protocol by https://github.com/jafossum;>@​jafossum in https://redirect.github.com/cloudevents/sdk-go/pull/1013;>cloudevents/sdk-go#1013 Bump golangci/golangci-lint-action from 3 to 4 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1016;>cloudevents/sdk-go#1016 Bump the bundler group across 1 directories with 1 update by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1011;>cloudevents/sdk-go#1011 Remove vi swp file by https://github.com/duglin;>@​duglin in https://redirect.github.com/cloudevents/sdk-go/pull/1020;>cloudevents/sdk-go#1020 New Contributors https://github.com/Cali0707;>@​Cali0707 made their first contribution in https://redirect.github.com/cloudevents/sdk-go/pull/1010;>cloudevents/sdk-go#1010 https://github.com/jafossum;>@​jafossum made their first contribution in https://redirect.github.com/cloudevents/sdk-go/pull/1013;>cloudevents/sdk-go#1013 Full Changelog:
(camel-k) branch dependabot/go_modules/github.com/cloudevents/sdk-go/v2-2.15.2 created (now 9da1d9d86)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/go_modules/github.com/cloudevents/sdk-go/v2-2.15.2 in repository https://gitbox.apache.org/repos/asf/camel-k.git at 9da1d9d86 chore(deps): bump github.com/cloudevents/sdk-go/v2 from 2.13.0 to 2.15.2 No new revisions were added by this update.
[PR] chore(deps): bump github.com/cloudevents/sdk-go/v2 from 2.13.0 to 2.15.2 [camel-k]
dependabot[bot] opened a new pull request, #5228: URL: https://github.com/apache/camel-k/pull/5228 Bumps [github.com/cloudevents/sdk-go/v2](https://github.com/cloudevents/sdk-go) from 2.13.0 to 2.15.2. Release notes Sourced from https://github.com/cloudevents/sdk-go/releases;>github.com/cloudevents/sdk-go/v2's releases. Release v2.15.2 What's Changed Patch for a potential security issue. See https://github.com/cloudevents/sdk-go/blob/HEAD/TBD;>CVE-2024-28110. Note: this could be a breaking change for people if they purposely change golang's HTTP DefaultClient, or change the CloudEvents Client returned from NewClient, and expect those changes to be visible on other HTTP flows using those Clients. E.g. auth Full Changelog: https://github.com/cloudevents/sdk-go/compare/v2.15.1...v2.15.2;>https://github.com/cloudevents/sdk-go/compare/v2.15.1...v2.15.2 Release v2.15.1 What's Changed Bump andstor/file-existence-action from 2 to 3 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1009;>cloudevents/sdk-go#1009 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /test/conformance by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/993;>cloudevents/sdk-go#993 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /test/benchmark by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/994;>cloudevents/sdk-go#994 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/kafka by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/995;>cloudevents/sdk-go#995 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /test/integration by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/996;>cloudevents/sdk-go#996 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /protocol/kafka_sarama/v2 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/997;>cloudevents/sdk-go#997 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/http by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/998;>cloudevents/sdk-go#998 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/nats by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/999;>cloudevents/sdk-go#999 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/stan by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1004;>cloudevents/sdk-go#1004 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /samples/nats_jetstream by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1003;>cloudevents/sdk-go#1003 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /protocol/nats/v2 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1002;>cloudevents/sdk-go#1002 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /protocol/nats_jetstream/v2 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1001;>cloudevents/sdk-go#1001 Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /protocol/stan/v2 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1000;>cloudevents/sdk-go#1000 Propose the confluent-kafka-go binding for Kafka by https://github.com/yanmxa;>@​yanmxa in https://redirect.github.com/cloudevents/sdk-go/pull/1008;>cloudevents/sdk-go#1008 Sync CESQL tck tests by https://github.com/Cali0707;>@​Cali0707 in https://redirect.github.com/cloudevents/sdk-go/pull/1010;>cloudevents/sdk-go#1010 Fix docstring typos in nats and jetstream protocol by https://github.com/jafossum;>@​jafossum in https://redirect.github.com/cloudevents/sdk-go/pull/1013;>cloudevents/sdk-go#1013 Bump golangci/golangci-lint-action from 3 to 4 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1016;>cloudevents/sdk-go#1016 Bump the bundler group across 1 directories with 1 update by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/cloudevents/sdk-go/pull/1011;>cloudevents/sdk-go#1011 Remove vi swp file by https://github.com/duglin;>@​duglin in https://redirect.github.com/cloudevents/sdk-go/pull/1020;>cloudevents/sdk-go#1020 New Contributors https://github.com/Cali0707;>@​Cali0707 made their first contribution in https://redirect.github.com/cloudevents/sdk-go/pull/1010;>cloudevents/sdk-go#1010 https://github.com/jafossum;>@​jafossum made their first contribution in https://redirect.github.com/cloudevents/sdk-go/pull/1013;>cloudevents/sdk-go#1013 Full Changelog:
[PR] chore(lint): Use golangci-lint version matching go version 1.21 [camel-k]
christophd opened a new pull request, #5227: URL: https://github.com/apache/camel-k/pull/5227 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] [Experiment] Use Jbang camel k plugin in e2e test [camel-k]
gansheer commented on PR #5175: URL: https://github.com/apache/camel-k/pull/5175#issuecomment-1981647514 @squakez @oscerd @christophd @claudio4j Could the tests be triggered please :pray: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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-20507: camel-core - Add enums to expression builders [camel]
github-actions[bot] commented on PR #13398: URL: https://github.com/apache/camel/pull/13398#issuecomment-1981614651 :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 CAMEL-20507/add-enum-to-expression-builder created (now 5683a1337ae)
This is an automated email from the ASF dual-hosted git repository. nfilotto pushed a change to branch CAMEL-20507/add-enum-to-expression-builder in repository https://gitbox.apache.org/repos/asf/camel.git at 5683a1337ae CAMEL-20507: camel-core - Add enums to expression builders This branch includes the following new commits: new 5683a1337ae CAMEL-20507: camel-core - Add enums to expression builders 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-20507: camel-core - Add enums to expression builders
This is an automated email from the ASF dual-hosted git repository. nfilotto pushed a commit to branch CAMEL-20507/add-enum-to-expression-builder in repository https://gitbox.apache.org/repos/asf/camel.git commit 5683a1337ae92403e4abe5e86a65276d3b87e82c Author: Nicolas Filotto AuthorDate: Wed Mar 6 20:12:24 2024 +0100 CAMEL-20507: camel-core - Add enums to expression builders --- .../JsonPathSplitSingleListOptionTest.java | 5 ++-- .../camel/model/language/JsonPathExpression.java | 24 +++ .../camel/model/language/MethodCallExpression.java | 34 ++ .../model/language/XMLTokenizerExpression.java | 25 .../camel/model/language/XPathExpression.java | 24 ++- 5 files changed, 109 insertions(+), 3 deletions(-) diff --git a/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java b/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java index bc611180fc0..8c624dd20a2 100644 --- a/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java +++ b/components/camel-jsonpath/src/test/java/org/apache/camel/jsonpath/JsonPathSplitSingleListOptionTest.java @@ -19,9 +19,9 @@ package org.apache.camel.jsonpath; import java.io.File; import java.util.Map; -import com.jayway.jsonpath.Option; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; +import org.apache.camel.model.language.JsonPathExpression; import org.apache.camel.test.junit5.CamelTestSupport; import org.junit.jupiter.api.Test; @@ -38,7 +38,8 @@ public class JsonPathSplitSingleListOptionTest extends CamelTestSupport { public void configure() { // use option to force returning a list even for a single element selected var jsonpath -= expression().jsonpath().option(Option.ALWAYS_RETURN_LIST.name()).expression("$.store.book[0]").end(); += expression().jsonpath().option(JsonPathExpression.Option.ALWAYS_RETURN_LIST) +.expression("$.store.book[0]").end(); from("direct:start") .split(jsonpath) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/language/JsonPathExpression.java b/core/camel-core-model/src/main/java/org/apache/camel/model/language/JsonPathExpression.java index 11457bcccbc..360677c8abe 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/language/JsonPathExpression.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/language/JsonPathExpression.java @@ -16,6 +16,10 @@ */ package org.apache.camel.model.language; +import java.util.Arrays; +import java.util.Objects; +import java.util.stream.Collectors; + import jakarta.xml.bind.annotation.XmlAccessType; import jakarta.xml.bind.annotation.XmlAccessorType; import jakarta.xml.bind.annotation.XmlAttribute; @@ -241,9 +245,29 @@ public class JsonPathExpression extends SingleInputTypedExpressionDefinition { return this; } +/** + * To configure additional options on JSONPath. + */ +public Builder option(Option... options) { +this.option = Arrays.stream(options).map(Objects::toString).collect(Collectors.joining(",")); +return this; +} + @Override public JsonPathExpression end() { return new JsonPathExpression(this); } } + +/** + * {@code Option} defines the possible json path options that can be used. + */ +@XmlTransient +public enum Option { +DEFAULT_PATH_LEAF_TO_NULL, +ALWAYS_RETURN_LIST, +AS_PATH_LIST, +SUPPRESS_EXCEPTIONS, +REQUIRE_PROPERTIES; +} } diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/language/MethodCallExpression.java b/core/camel-core-model/src/main/java/org/apache/camel/model/language/MethodCallExpression.java index fb867e1b1c1..d0e22ac947b 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/language/MethodCallExpression.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/language/MethodCallExpression.java @@ -294,6 +294,24 @@ public class MethodCallExpression extends TypedExpressionDefinition { return this; } +/** + * Scope of bean. + * + * When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime + * of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same + * time. When using request scope the bean is created or looked up once per request (exchange). This can be used + * if you want to store state on a bean while processing a
[PR] CAMEL-20517 camel-jbang-plugin-k doesn't recognize command [camel]
claudio4j opened a new pull request, #13397: URL: https://github.com/apache/camel/pull/13397 # Description Instead to spawn a new process, this fix downloads the camel-jbang plugin and run it as part of the same camel-jbang OS process. The change in `DefaultClassResolver.java` was motivated as when searching for a resource file from the downloaded maven artifact it's not available from the classloader in `getApplicationContextClassLoader()` , so it has to search in the list of `classloaders` I will add some tests, but in the meantime I would like some review. # 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 https://issues.apache.org/jira/browse/CAMEL-20517 # Apache Camel coding standards and style - [x] I checked that each commit in the pull request has a meaningful subject line and body. - [x] I have run `mvn clean install -DskipTests` locally and I have committed all auto-generated changes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] CAMEL-20517 camel-jbang-plugin-k doesn't recognize command [camel]
github-actions[bot] commented on PR #13397: URL: https://github.com/apache/camel/pull/13397#issuecomment-1981592205 :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 regen_bot updated (436a4dec683 -> f3cdc897a94)
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 436a4dec683 (chores) camel-lumberjack: cleanup multi-thread test add 50a50e83599 CAMEL-20479: delay broker configuration add aec00edea82 CAMEL-20479: use a semi-random directory for the broker instance add c06efa3eee2 CAMEL-20479: allow reusing VM-based broker instances add 7c41c15258d CAMEL-20477: stop using a broker with custom configuration for tests that need a common one add a97943c4015 CAMEL-20479: do not reuse forks for non-concurrent integration tests add b6363f78eb2 CAMEL-20479: fix broken JMS tests add 62a3aeb93a5 CAMEL-20479: fixed CXF test affected by delaying broker configuration add f3cdc897a94 CAMEL-20479: fixed SJMS2 test affected by delaying broker configuration No new revisions were added by this update. Summary of changes: .../cxf/jms/CxfEndpointJMSConsumerTest.java| 3 +- components/camel-jms/pom.xml | 2 +- ...RequestReplyExclusiveReplyToConcurrentTest.java | 8 ++- .../JmsAddAndRemoveRouteManagementIT.java | 2 +- .../JmsDestinationProducedHeaderIT.java| 7 +++ ...ueueTimeoutUseMessageIDAsCorrelationIDTest.java | 3 + .../JmsToDSendDynamicTwoDisabledIT.java| 7 +++ .../spring/AbstractSpringJMSITSupport.java | 2 +- .../spring/CamelBrokerClientITSupport.java | 51 - .../integration/spring/JmsConsumerShutdownIT.java | 25 - .../jms/integration/spring/SpringJMSBasic.java}| 20 --- .../issues/AdviceWithTransactionIssueIT.java | 4 +- .../AsyncJmsProducerExceptionInTXManualIT.java | 4 +- .../spring/issues/FileToJmsIssueIT.java| 4 +- ...ndToMultipleDestinationsWithSameEndpointIT.java | 4 +- .../spring/issues/JmsSpringValidatorIT.java| 4 +- .../spring/polling/JmsPollingConsumerSpringIT.java | 4 +- .../spring/tx/JMSNestedTransactionRollbackIT.java | 4 +- .../issues/JmsInOutPersistentReplyQueueTest.java | 10 +++- ...tReplyTemporaryRefreshFailureOnStartupTest.java | 51 +++-- .../integration/spring/JmsConsumerShutdownIT.xml | 2 +- .../{camelBrokerClient.xml => SpringJMSBasic.xml} | 2 +- .../spring/issues/AdviceWithTransactionIssueIT.xml | 2 +- .../integration/spring/issues/FileToJmsIssueIT.xml | 2 +- .../spring/issues/JmsSpringValidatorIT.xml | 2 +- .../spring/polling/JmsPollingConsumerIT.xml| 2 +- .../spring/tx/JMSNestedTransactionRollbackIT.xml | 2 +- .../component/sjms2/Sjms2ComponentRestartTest.java | 2 +- .../services/AbstractArtemisEmbeddedService.java | 65 +++--- .../infra/artemis/services/ArtemisAMQPService.java | 3 - .../services/ArtemisEmbeddedServiceBuilder.java| 10 ++-- .../infra/artemis/services/ArtemisVMService.java | 11 32 files changed, 204 insertions(+), 120 deletions(-) delete mode 100644 components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/CamelBrokerClientITSupport.java copy components/{camel-infinispan/camel-infinispan-embedded/src/test/java/org/apache/camel/component/infinispan/embedded/spring/SpringInfinispanEmbeddedIdempotentRepositoryCamelTest.java => camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/SpringJMSBasic.java} (66%) rename components/camel-jms/src/test/resources/org/apache/camel/component/jms/integration/spring/{camelBrokerClient.xml => SpringJMSBasic.xml} (96%)
Re: [I] Deployment Trait maxUnavailable and maxSurge values differ from documentation and do not support % values [camel-k]
lsergio commented on issue #5223: URL: https://github.com/apache/camel-k/issues/5223#issuecomment-1981524817 After the change I was able to apply Integrations with all the following deployment trait configurations with the snapshot operator: ``` traits deployment: strategy: RollingUpdate rollingUpdateMaxUnavailable: 30% rollingUpdateMaxSurge: 20% traits deployment: strategy: RollingUpdate rollingUpdateMaxUnavailable: 30 rollingUpdateMaxSurge: 20 traits deployment: strategy: RollingUpdate traits // no deployment trait configured ``` in all cases the generated deployment respected the values I provided or used the 25% default -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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) 05/08: CAMEL-20479: do not reuse forks for non-concurrent integration tests
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit a97943c4015ee6caf9981db1bd3fa107ca2a6956 Author: Otavio Rodolfo Piske AuthorDate: Wed Mar 6 11:50:34 2024 +0100 CAMEL-20479: do not reuse forks for non-concurrent integration tests --- components/camel-jms/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-jms/pom.xml b/components/camel-jms/pom.xml index 4e19b9630b3..361601263f8 100644 --- a/components/camel-jms/pom.xml +++ b/components/camel-jms/pom.xml @@ -244,7 +244,7 @@ 4 -true +false not-parallel 600
(camel) branch main updated (436a4dec683 -> f3cdc897a94)
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from 436a4dec683 (chores) camel-lumberjack: cleanup multi-thread test new 50a50e83599 CAMEL-20479: delay broker configuration new aec00edea82 CAMEL-20479: use a semi-random directory for the broker instance new c06efa3eee2 CAMEL-20479: allow reusing VM-based broker instances new 7c41c15258d CAMEL-20477: stop using a broker with custom configuration for tests that need a common one new a97943c4015 CAMEL-20479: do not reuse forks for non-concurrent integration tests new b6363f78eb2 CAMEL-20479: fix broken JMS tests new 62a3aeb93a5 CAMEL-20479: fixed CXF test affected by delaying broker configuration new f3cdc897a94 CAMEL-20479: fixed SJMS2 test affected by delaying broker configuration The 8 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: .../cxf/jms/CxfEndpointJMSConsumerTest.java| 3 +- components/camel-jms/pom.xml | 2 +- ...RequestReplyExclusiveReplyToConcurrentTest.java | 8 ++- .../JmsAddAndRemoveRouteManagementIT.java | 2 +- .../JmsDestinationProducedHeaderIT.java| 7 +++ ...ueueTimeoutUseMessageIDAsCorrelationIDTest.java | 3 + .../JmsToDSendDynamicTwoDisabledIT.java| 7 +++ .../spring/AbstractSpringJMSITSupport.java | 2 +- .../spring/CamelBrokerClientITSupport.java | 51 - .../integration/spring/JmsConsumerShutdownIT.java | 25 - .../jms/integration/spring/SpringJMSBasic.java}| 20 --- .../issues/AdviceWithTransactionIssueIT.java | 4 +- .../AsyncJmsProducerExceptionInTXManualIT.java | 4 +- .../spring/issues/FileToJmsIssueIT.java| 4 +- ...ndToMultipleDestinationsWithSameEndpointIT.java | 4 +- .../spring/issues/JmsSpringValidatorIT.java| 4 +- .../spring/polling/JmsPollingConsumerSpringIT.java | 4 +- .../spring/tx/JMSNestedTransactionRollbackIT.java | 4 +- .../issues/JmsInOutPersistentReplyQueueTest.java | 10 +++- ...tReplyTemporaryRefreshFailureOnStartupTest.java | 51 +++-- .../integration/spring/JmsConsumerShutdownIT.xml | 2 +- .../{camelBrokerClient.xml => SpringJMSBasic.xml} | 2 +- .../spring/issues/AdviceWithTransactionIssueIT.xml | 2 +- .../integration/spring/issues/FileToJmsIssueIT.xml | 2 +- .../spring/issues/JmsSpringValidatorIT.xml | 2 +- .../spring/polling/JmsPollingConsumerIT.xml| 2 +- .../spring/tx/JMSNestedTransactionRollbackIT.xml | 2 +- .../component/sjms2/Sjms2ComponentRestartTest.java | 2 +- .../services/AbstractArtemisEmbeddedService.java | 65 +++--- .../infra/artemis/services/ArtemisAMQPService.java | 3 - .../services/ArtemisEmbeddedServiceBuilder.java| 10 ++-- .../infra/artemis/services/ArtemisVMService.java | 11 32 files changed, 204 insertions(+), 120 deletions(-) delete mode 100644 components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/CamelBrokerClientITSupport.java copy components/{camel-infinispan/camel-infinispan-embedded/src/test/java/org/apache/camel/component/infinispan/embedded/spring/SpringInfinispanEmbeddedIdempotentRepositoryCamelTest.java => camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/SpringJMSBasic.java} (66%) rename components/camel-jms/src/test/resources/org/apache/camel/component/jms/integration/spring/{camelBrokerClient.xml => SpringJMSBasic.xml} (96%)
(camel) 07/08: CAMEL-20479: fixed CXF test affected by delaying broker configuration
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 62a3aeb93a585d9d64345f76ac465d9b6d2b5130 Author: Otavio Rodolfo Piske AuthorDate: Wed Mar 6 17:06:12 2024 +0100 CAMEL-20479: fixed CXF test affected by delaying broker configuration --- .../org/apache/camel/component/cxf/jms/CxfEndpointJMSConsumerTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/jms/CxfEndpointJMSConsumerTest.java b/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/jms/CxfEndpointJMSConsumerTest.java index d696f840607..5d09bcbc801 100644 --- a/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/jms/CxfEndpointJMSConsumerTest.java +++ b/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/jms/CxfEndpointJMSConsumerTest.java @@ -35,7 +35,8 @@ public class CxfEndpointJMSConsumerTest extends CamelSpringTestSupport { @RegisterExtension private static ArtemisService broker = ArtemisServiceFactory.createVMService(); -static { + +CxfEndpointJMSConsumerTest() { System.setProperty("CxfEndpointJMSConsumerTest.serviceAddress", broker.serviceAddress()); }
(camel) 04/08: CAMEL-20477: stop using a broker with custom configuration for tests that need a common one
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 7c41c15258d403caf2eb1bd0b323d7f233062311 Author: Otavio Rodolfo Piske AuthorDate: Wed Mar 6 11:19:30 2024 +0100 CAMEL-20477: stop using a broker with custom configuration for tests that need a common one --- .../spring/AbstractSpringJMSITSupport.java | 2 +- .../integration/spring/JmsConsumerShutdownIT.java | 19 - ...kerClientITSupport.java => SpringJMSBasic.java} | 24 +- .../issues/AdviceWithTransactionIssueIT.java | 4 ++-- .../AsyncJmsProducerExceptionInTXManualIT.java | 4 ++-- .../spring/issues/FileToJmsIssueIT.java| 4 ++-- ...ndToMultipleDestinationsWithSameEndpointIT.java | 4 ++-- .../spring/issues/JmsSpringValidatorIT.java| 4 ++-- .../spring/polling/JmsPollingConsumerSpringIT.java | 4 ++-- .../spring/tx/JMSNestedTransactionRollbackIT.java | 4 ++-- .../integration/spring/JmsConsumerShutdownIT.xml | 2 +- .../{camelBrokerClient.xml => SpringJMSBasic.xml} | 2 +- .../spring/issues/AdviceWithTransactionIssueIT.xml | 2 +- .../integration/spring/issues/FileToJmsIssueIT.xml | 2 +- .../spring/issues/JmsSpringValidatorIT.xml | 2 +- .../spring/polling/JmsPollingConsumerIT.xml| 2 +- .../spring/tx/JMSNestedTransactionRollbackIT.xml | 2 +- 17 files changed, 45 insertions(+), 42 deletions(-) diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/AbstractSpringJMSITSupport.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/AbstractSpringJMSITSupport.java index fca0815ed6a..038caf56695 100644 --- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/AbstractSpringJMSITSupport.java +++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/AbstractSpringJMSITSupport.java @@ -29,7 +29,7 @@ import org.springframework.context.support.AbstractApplicationContext; public abstract class AbstractSpringJMSITSupport extends CamelSpringTestSupport { @RegisterExtension -public static ArtemisService service = ArtemisServiceFactory.createVMService(); +public static ArtemisService service = ArtemisServiceFactory.createSingletonVMService(); /** * Used by spring xml configurations diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/JmsConsumerShutdownIT.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/JmsConsumerShutdownIT.java index 88d7eaa5eef..22cafe28d99 100644 --- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/JmsConsumerShutdownIT.java +++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/JmsConsumerShutdownIT.java @@ -16,17 +16,30 @@ */ package org.apache.camel.component.jms.integration.spring; +import org.apache.activemq.artemis.core.settings.impl.AddressSettings; import org.apache.camel.EndpointInject; import org.apache.camel.Produce; import org.apache.camel.ProducerTemplate; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; +import org.apache.camel.test.infra.artemis.services.ArtemisEmbeddedServiceBuilder; +import org.apache.camel.test.infra.artemis.services.ArtemisService; +import org.apache.camel.test.spring.junit5.CamelSpringTestSupport; import org.apache.xbean.spring.context.ClassPathXmlApplicationContext; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.RegisterExtension; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.test.annotation.DirtiesContext; -public class JmsConsumerShutdownIT extends CamelBrokerClientITSupport { +public final class JmsConsumerShutdownIT extends CamelSpringTestSupport { +@RegisterExtension +public static ArtemisService service = new ArtemisEmbeddedServiceBuilder() +.withCustomConfiguration(configuration -> { +AddressSettings addressSettings = new AddressSettings(); +addressSettings.setMaxSizeMessages(5); +configuration.addAddressSetting("#", addressSettings); +}) +.build(); @Produce("jms:start") protected ProducerTemplate activemq; @@ -46,6 +59,10 @@ public class JmsConsumerShutdownIT extends CamelBrokerClientITSupport { "org/apache/camel/component/jms/integration/spring/JmsConsumerShutdownIT.xml"); } +public static String getServiceAddress() { +return service.serviceAddress(); +} + @Test @DirtiesContext void testJmsConsumerShutdownWithMessageInFlight() throws InterruptedException { diff --git
(camel) 01/08: CAMEL-20479: delay broker configuration
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 50a50e83599023ac9b3ed8924719180bcc6c18aa Author: Otavio Rodolfo Piske AuthorDate: Wed Feb 28 11:14:30 2024 +0100 CAMEL-20479: delay broker configuration Delay configuring broker to the moment it is about to start to reduce the incidence of trying to reuse acceptors --- .../services/AbstractArtemisEmbeddedService.java | 22 ++ .../infra/artemis/services/ArtemisAMQPService.java | 3 --- .../services/ArtemisEmbeddedServiceBuilder.java| 10 -- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java index 058344c3581..9e3bb4dd4e0 100644 --- a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java +++ b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java @@ -45,16 +45,23 @@ public abstract class AbstractArtemisEmbeddedService implements ArtemisService, protected final EmbeddedActiveMQ embeddedBrokerService; private final Configuration artemisConfiguration; +private Consumer customConfigurator; +private final int port; public AbstractArtemisEmbeddedService() { this(AvailablePortFinder.getNextAvailable()); } +/** + * This is needed for some tests that check reliability of the components by defining the port in advance, trying to connect + * first starting the service later + * @param port the port to use + */ protected AbstractArtemisEmbeddedService(int port) { embeddedBrokerService = new EmbeddedActiveMQ(); artemisConfiguration = new ConfigurationImpl(); -embeddedBrokerService.setConfiguration(configure(port)); +this.port = port; } private synchronized Configuration configure(int port) { @@ -67,13 +74,18 @@ public abstract class AbstractArtemisEmbeddedService implements ArtemisService, artemisConfiguration.setJMXManagementEnabled(false); artemisConfiguration.setMaxDiskUsage(98); -return configure(artemisConfiguration, port, brokerId); +final Configuration config = configure(artemisConfiguration, port, brokerId); +if (customConfigurator != null) { +customConfigurator.accept(config); +} + +return config; } protected abstract Configuration configure(Configuration artemisConfiguration, int port, int brokerId); -public void customConfiguration(Consumer configuration) { -configuration.accept(artemisConfiguration); +public void customConfiguration(Consumer configurator) { +this.customConfigurator = configurator; } @Override @@ -103,6 +115,8 @@ public abstract class AbstractArtemisEmbeddedService implements ArtemisService, public synchronized void initialize() { try { if (embeddedBrokerService.getActiveMQServer() == null || !embeddedBrokerService.getActiveMQServer().isStarted()) { +embeddedBrokerService.setConfiguration(configure(port)); + embeddedBrokerService.start(); embeddedBrokerService.getActiveMQServer().waitForActivation(20, TimeUnit.SECONDS); diff --git a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisAMQPService.java b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisAMQPService.java index b5e9c023ae4..eed04d75b06 100644 --- a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisAMQPService.java +++ b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisAMQPService.java @@ -29,9 +29,6 @@ public class ArtemisAMQPService extends AbstractArtemisEmbeddedService { private String brokerURL; private int amqpPort; -public ArtemisAMQPService() { -} - @Override protected Configuration configure(Configuration artemisConfiguration, int port, int brokerId) { amqpPort = port; diff --git a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisEmbeddedServiceBuilder.java b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisEmbeddedServiceBuilder.java index 4285e5c3e9a..b4ffbad9be6 100644 ---
(camel) 02/08: CAMEL-20479: use a semi-random directory for the broker instance
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit aec00edea8205aa31d44d3ebbe31040c8a2478d4 Author: Otavio Rodolfo Piske AuthorDate: Wed Mar 6 09:18:49 2024 +0100 CAMEL-20479: use a semi-random directory for the broker instance --- .../services/AbstractArtemisEmbeddedService.java | 28 +- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java index 9e3bb4dd4e0..740f242752b 100644 --- a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java +++ b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/AbstractArtemisEmbeddedService.java @@ -17,6 +17,7 @@ package org.apache.camel.test.infra.artemis.services; import java.io.File; +import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.LongAdder; import java.util.function.Consumer; @@ -70,7 +71,10 @@ public abstract class AbstractArtemisEmbeddedService implements ArtemisService, // Base configuration artemisConfiguration.setSecurityEnabled(false); -artemisConfiguration.setBrokerInstance(new File("target", "artemis-" + brokerId)); + +final File instanceDir = createInstance(brokerId); + +artemisConfiguration.setBrokerInstance(instanceDir); artemisConfiguration.setJMXManagementEnabled(false); artemisConfiguration.setMaxDiskUsage(98); @@ -82,6 +86,28 @@ public abstract class AbstractArtemisEmbeddedService implements ArtemisService, return config; } +private static File createInstance(int brokerId) { +File instanceDir = null; +final File target = new File("target"); +final File brokerDir = new File(target, "artemis"); +do { +final String subPath = getRandomSubPath(); + +instanceDir = new File(brokerDir, brokerId + "-" + subPath); +} while (instanceDir.exists()); + +return instanceDir; +} + +private static String getRandomSubPath() { +final int size = 12; + +return ThreadLocalRandom.current().ints(97, 122) +.limit(size) +.collect(StringBuilder::new, StringBuilder::appendCodePoint, StringBuilder::append) +.toString(); +} + protected abstract Configuration configure(Configuration artemisConfiguration, int port, int brokerId); public void customConfiguration(Consumer configurator) {
(camel) 03/08: CAMEL-20479: allow reusing VM-based broker instances
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit c06efa3eee20797d1a384829440a52d36b990948 Author: Otavio Rodolfo Piske AuthorDate: Wed Mar 6 10:42:46 2024 +0100 CAMEL-20479: allow reusing VM-based broker instances - fixed tests that were incorrectly reusing broker instances --- ...tReplyTemporaryRefreshFailureOnStartupTest.java | 51 +++--- .../services/AbstractArtemisEmbeddedService.java | 19 ++-- .../infra/artemis/services/ArtemisVMService.java | 11 + 3 files changed, 61 insertions(+), 20 deletions(-) diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsRequestReplyTemporaryRefreshFailureOnStartupTest.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsRequestReplyTemporaryRefreshFailureOnStartupTest.java index cd3c32347f3..6164e47b8f0 100644 --- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsRequestReplyTemporaryRefreshFailureOnStartupTest.java +++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/JmsRequestReplyTemporaryRefreshFailureOnStartupTest.java @@ -26,33 +26,39 @@ import org.apache.camel.ExchangePattern; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.infra.artemis.services.ArtemisService; -import org.apache.camel.test.infra.artemis.services.ArtemisServiceFactory; +import org.apache.camel.test.infra.artemis.services.ArtemisVMService; import org.apache.camel.test.junit5.CamelTestSupport; import org.awaitility.Awaitility; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.MethodOrderer; +import org.junit.jupiter.api.Order; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Tags; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.RegisterExtension; +import org.junit.jupiter.api.TestMethodOrder; import static org.apache.camel.component.jms.JmsComponent.jmsComponentAutoAcknowledge; +@TestMethodOrder(MethodOrderer.OrderAnnotation.class) @Tags({ @Tag("not-parallel") }) -public class JmsRequestReplyTemporaryRefreshFailureOnStartupTest extends CamelTestSupport { +public final class JmsRequestReplyTemporaryRefreshFailureOnStartupTest extends CamelTestSupport { -@RegisterExtension -public ArtemisService service = ArtemisServiceFactory.createVMService(); +public static ArtemisService service = new ArtemisVMService.ReusableArtemisVMService(); -private String brokerName; private final Long recoveryInterval = 1000L; @Override protected CamelContext createCamelContext() throws Exception { -brokerName = "test-broker-" + System.currentTimeMillis(); +service.initialize(); + CamelContext camelContext = super.createCamelContext(); ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(service.serviceAddress()); camelContext.addComponent("jms", jmsComponentAutoAcknowledge(connectionFactory)); +service.shutdown(); + return camelContext; } @@ -73,26 +79,39 @@ public class JmsRequestReplyTemporaryRefreshFailureOnStartupTest extends CamelTe }; } +@DisplayName("Test that throws and exception on connection failure") @Test +@Order(1) public void testTemporaryRefreshFailureOnStartup() throws Exception { //the first message will fail //the second message must be handled MockEndpoint mockEndpoint = getMockEndpoint("mock:result"); -mockEndpoint.expectedMessageCount(1); +mockEndpoint.expectedMessageCount(0); //the first request will return with an error //because the broker is not started yet -try { -template.requestBody("direct:start", "ping"); -} catch (Exception exception) { +Assertions.assertThrows(Exception.class, +() -> template.requestBody("direct:start", "ping")); + +mockEndpoint.assertIsSatisfied(); +} -} +@DisplayName("Test that reconnects after dealing with an exception on connection failure") +@Test +@Order(2) +public void testTemporaryRefreshFailureOnStartupReconnect() throws Exception { +MockEndpoint mockEndpoint = getMockEndpoint("mock:result"); +mockEndpoint.reset(); +mockEndpoint.expectedMessageCount(1); -Awaitility.await().untilAsserted(() -> { -template.asyncRequestBody("direct:start", "ping"); +service.initialize(); -MockEndpoint.assertIsSatisfied(context, 10, TimeUnit.SECONDS); -}); +Awaitility.await() +.atMost(15, TimeUnit.SECONDS) +.untilAsserted(() -> { +
(camel) 08/08: CAMEL-20479: fixed SJMS2 test affected by delaying broker configuration
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit f3cdc897a94f69b769b713879de2940cc11b26a0 Author: Otavio Rodolfo Piske AuthorDate: Wed Mar 6 18:13:56 2024 +0100 CAMEL-20479: fixed SJMS2 test affected by delaying broker configuration --- .../org/apache/camel/component/sjms2/Sjms2ComponentRestartTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-sjms2/src/test/java/org/apache/camel/component/sjms2/Sjms2ComponentRestartTest.java b/components/camel-sjms2/src/test/java/org/apache/camel/component/sjms2/Sjms2ComponentRestartTest.java index 654f6f797c1..e7c9985c5cf 100644 --- a/components/camel-sjms2/src/test/java/org/apache/camel/component/sjms2/Sjms2ComponentRestartTest.java +++ b/components/camel-sjms2/src/test/java/org/apache/camel/component/sjms2/Sjms2ComponentRestartTest.java @@ -29,7 +29,7 @@ import org.junit.jupiter.api.extension.RegisterExtension; public class Sjms2ComponentRestartTest extends CamelTestSupport { @RegisterExtension -public ArtemisService service = ArtemisServiceFactory.createVMService(); +public static ArtemisService service = ArtemisServiceFactory.createSingletonVMService(); @BindToRegistry("activemqCF") private ActiveMQConnectionFactory connectionFactory
(camel) 06/08: CAMEL-20479: fix broken JMS tests
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit b6363f78eb20bc9a3fcf6957c8a522265128dda7 Author: Otavio Rodolfo Piske AuthorDate: Wed Mar 6 12:01:00 2024 +0100 CAMEL-20479: fix broken JMS tests - isolate unsafe tests - fixed tests --- .../jms/JmsRequestReplyExclusiveReplyToConcurrentTest.java | 8 ++-- .../jms/integration/JmsAddAndRemoveRouteManagementIT.java | 2 +- .../jms/integration/JmsDestinationProducedHeaderIT.java| 7 +++ ...tFixedReplyQueueTimeoutUseMessageIDAsCorrelationIDTest.java | 3 +++ .../jms/integration/JmsToDSendDynamicTwoDisabledIT.java| 7 +++ .../jms/integration/spring/JmsConsumerShutdownIT.java | 6 ++ .../component/jms/issues/JmsInOutPersistentReplyQueueTest.java | 10 +- 7 files changed, 39 insertions(+), 4 deletions(-) diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRequestReplyExclusiveReplyToConcurrentTest.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRequestReplyExclusiveReplyToConcurrentTest.java index 62b2705935d..061e640b748 100644 --- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRequestReplyExclusiveReplyToConcurrentTest.java +++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRequestReplyExclusiveReplyToConcurrentTest.java @@ -31,9 +31,10 @@ import org.apache.camel.util.StopWatch; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Order; +import org.junit.jupiter.api.Tag; +import org.junit.jupiter.api.Tags; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; -import org.junit.jupiter.api.parallel.Isolated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -41,7 +42,10 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; -@Isolated("Creates multiple threads") +/** + * Creates multiple threads + */ +@Tags({ @Tag("not-parallel"), @Tag("spring") }) public class JmsRequestReplyExclusiveReplyToConcurrentTest extends AbstractJMSTest { @Order(2) diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/JmsAddAndRemoveRouteManagementIT.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/JmsAddAndRemoveRouteManagementIT.java index c377131cc53..59c57374e83 100644 --- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/JmsAddAndRemoveRouteManagementIT.java +++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/JmsAddAndRemoveRouteManagementIT.java @@ -42,7 +42,7 @@ import org.junit.jupiter.api.extension.RegisterExtension; import static org.junit.jupiter.api.Assertions.assertEquals; /** - * Test that all thread pools is removed when adding and removing a route dynamically. This test manipulates the thread + * Test that all thread pools are removed when adding and removing a route dynamically. This test manipulates the thread * pools, so it's not a good candidate for running in parallel. */ @Tags({ @Tag("not-parallel") }) diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/JmsDestinationProducedHeaderIT.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/JmsDestinationProducedHeaderIT.java index cafa3c18611..a304b4d9863 100644 --- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/JmsDestinationProducedHeaderIT.java +++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/JmsDestinationProducedHeaderIT.java @@ -20,10 +20,17 @@ import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.jms.AbstractPersistentJMSTest; import org.apache.camel.component.jms.JmsConstants; import org.apache.camel.component.mock.MockEndpoint; +import org.junit.jupiter.api.Tag; +import org.junit.jupiter.api.Tags; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; +/** + * This test computes the number of components, so it could be affected by other tests. Therefore, it's run in + * isolation. + */ +@Tags({ @Tag("not-parallel"), @Tag("spring") }) public class JmsDestinationProducedHeaderIT extends AbstractPersistentJMSTest { @Test diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/JmsInOutFixedReplyQueueTimeoutUseMessageIDAsCorrelationIDTest.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/JmsInOutFixedReplyQueueTimeoutUseMessageIDAsCorrelationIDTest.java index bf08487d3d6..e5920485efa 100644 ---
Re: [PR] CAMEL-20478 + CAMEL-20479: additional JMS test fixes and improvements [camel]
orpiske merged PR #13391: URL: https://github.com/apache/camel/pull/13391 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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] Error java.lang.ClassNotFoundException: io.quarkus.bootstrap.runner.QuarkusEntryPoint [camel-k]
lsergio commented on issue #5225: URL: https://github.com/apache/camel-k/issues/5225#issuecomment-1981377906 @mhd-robaii take a look at this issue I opened some time ago with the same problem: https://github.com/apache/camel-k/issues/4955 You will have to switch from Kaniko to other publish strategy -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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] Deployment Trait maxUnavailable and maxSurge default values differ from documentation [camel-k]
lsergio commented on issue #5223: URL: https://github.com/apache/camel-k/issues/5223#issuecomment-1981330726 I see that in v2.2.0 the 25 default value is set at the crd (https://github.com/apache/camel-k/blob/v2.2.0/helm/camel-k/crds/crd-integration.yaml#L6755). It was supposed to mean 25% but it really means 25. However, the main branch does not have such a value (https://github.com/apache/camel-k/blob/main/helm/camel-k/crds/crd-integration.yaml#L6755) an thus delegate the default values to Kubernetes. So I think the wrong default value of 25 instead of 25% is no longer an issue and the PR would fix only the datatype in order to allow the users to inform percentage values on the trait. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the 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 (49e0c47afcf -> 436a4dec683)
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 49e0c47afcf CAMEL-20518: replace invalid quote breaking the catalog generation on Windows add 436a4dec683 (chores) camel-lumberjack: cleanup multi-thread test No new revisions were added by this update. Summary of changes: ...hreadTest.java => LumberjackMultiThreadIT.java} | 54 +++--- 1 file changed, 27 insertions(+), 27 deletions(-) rename components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/{LumberjackMultiThreadTest.java => LumberjackMultiThreadIT.java} (75%)
Re: [PR] fix(trait): changing data type for rollingUpdateMaxSurge and rollingU… [camel-k]
lsergio commented on PR #5224: URL: https://github.com/apache/camel-k/pull/5224#issuecomment-1981323103 I see that in v2.2.0 the 25 default value is set at the crd (https://github.com/apache/camel-k/blob/v2.2.0/helm/camel-k/crds/crd-integration.yaml#L6755). It was supposed to mean 25% but it really means 25. However, the main branch does not have such a value (https://github.com/apache/camel-k/blob/main/helm/camel-k/crds/crd-integration.yaml#L6755) an thus delegate the default values to Kubernetes. So I think the wrong default value of 25 instead of 25% is no longer an issue and this PR would fix only the datatype in order to allow the users to inform percentage values on the trait. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch main updated: (chores) camel-lumberjack: cleanup multi-thread test
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 436a4dec683 (chores) camel-lumberjack: cleanup multi-thread test 436a4dec683 is described below commit 436a4dec68303f2a0abff46310e628a82c4e6f52 Author: Otavio Rodolfo Piske AuthorDate: Wed Mar 6 17:18:38 2024 +0100 (chores) camel-lumberjack: cleanup multi-thread test --- ...hreadTest.java => LumberjackMultiThreadIT.java} | 54 +++--- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadTest.java b/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadIT.java similarity index 75% rename from components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadTest.java rename to components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadIT.java index 2f90fa3b409..469df86123d 100644 --- a/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadTest.java +++ b/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadIT.java @@ -27,54 +27,50 @@ import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.AvailablePortFinder; import org.apache.camel.test.junit5.CamelTestSupport; import org.awaitility.Awaitility; -import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.parallel.Isolated; import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.fail; @Isolated -public class LumberjackMultiThreadTest extends CamelTestSupport { +public class LumberjackMultiThreadIT extends CamelTestSupport { -private static int port; +private static final int PORT = AvailablePortFinder.getNextAvailable(); +private static final int CONCURRENCY_LEVEL = Math.min(Runtime.getRuntime().availableProcessors(), 4); -@BeforeAll -public static void beforeClass() { -port = AvailablePortFinder.getNextAvailable(); -} +private volatile boolean interrupted; + +// create a number of threads +private final List threads = new ArrayList<>(); @Override protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { public void configure() { // Lumberjack configured with a specific port -from("lumberjack:0.0.0.0:" + port).to("mock:output"); +from("lumberjack:0.0.0.0:" + PORT).to("mock:output"); } }; } -@Test -public void shouldListenToMessages() throws Exception { -int concurrencyLevel = Math.min(Runtime.getRuntime().availableProcessors(), 4); - -// We're expecting 25 messages with Maps for each thread -MockEndpoint mock = getMockEndpoint("mock:output"); -mock.expectedMessageCount(25 * concurrencyLevel); -mock.allMessages().body().isInstanceOf(Map.class); - -// When sending messages -List windows = Arrays.asList(15, 10); - -// create a number of threads -List threads = new ArrayList<>(); - -for (int i = 0; i < concurrencyLevel; i++) { +@BeforeEach +void setupTest() { +for (int i = 0; i < CONCURRENCY_LEVEL; i++) { threads.add(new LumberjackThreadTest()); } // sending messages on all parallel sessions threads.stream().forEach(thread -> thread.start()); +} + +@Test +public void shouldListenToMessages() throws Exception { +// We're expecting 25 messages with Maps for each thread +MockEndpoint mock = getMockEndpoint("mock:output"); +mock.expectedMessageCount(25 * CONCURRENCY_LEVEL); +mock.allMessages().body().isInstanceOf(Map.class); // Then we should have the messages we're expecting mock.assertIsSatisfied(); @@ -85,8 +81,11 @@ public class LumberjackMultiThreadTest extends CamelTestSupport { assertEquals("/home/qatest/collectNetwork/log/data-integration/-f000--1541-8da26f21/absorption.log", first.get("source")); +List windows = Arrays.asList(15, 10); Awaitility.await().atMost(3, TimeUnit.SECONDS) .untilAsserted(() -> threads.stream().forEach(thread -> assertEquals(windows, thread.responses))); + +Assertions.assertFalse(interrupted, "Should not have been interrupted"); } class LumberjackThreadTest extends Thread { @@ -95,9 +94,10 @@ public class LumberjackMultiThreadTest extends
Re: [PR] (chores) camel-lumberjack: cleanup multi-thread test [camel]
orpiske merged PR #13396: URL: https://github.com/apache/camel/pull/13396 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-quarkus) branch camel-main updated (c30b693c8a -> 53813ec5dc)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git discard c30b693c8a Upgrade Camel to 4.5.0 new 53813ec5dc Upgrade Camel to 4.5.0 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (c30b693c8a) \ N -- N -- N refs/heads/camel-main (53813ec5dc) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../src/main/java/org/apache/camel/quarkus/maven/CqUtils.java | 2 ++ .../java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java | 2 ++ 2 files changed, 4 insertions(+)
Re: [PR] (chores) camel-lumberjack: cleanup multi-thread test [camel]
github-actions[bot] commented on PR #13396: URL: https://github.com/apache/camel/pull/13396#issuecomment-1981249084 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] (chores) camel-lumberjack: cleanup multi-thread test [camel]
orpiske opened a new pull request, #13396: URL: https://github.com/apache/camel/pull/13396 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch regen_bot updated (0fec0d45c09 -> 49e0c47afcf)
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 0fec0d45c09 Mm (#13393) add 49e0c47afcf CAMEL-20518: replace invalid quote breaking the catalog generation on Windows No new revisions were added by this update. Summary of changes: .../org/apache/camel/catalog/components/salesforce.json | 4 ++-- .../apache/camel/component/salesforce/salesforce.json| 4 ++-- .../component/salesforce/SalesforceEndpointConfig.java | 6 +++--- .../component/dsl/SalesforceComponentBuilderFactory.java | 8 .../endpoint/dsl/SalesforceEndpointBuilderFactory.java | 16 5 files changed, 19 insertions(+), 19 deletions(-)
Error while running github feature from .asf.yaml in camel-website-pub!
An error occurred while running github feature in .asf.yaml!: 422 {"message": "Validation Failed", "errors": [{"message": "Sorry, you need to allow at least one merge strategy. (no_merge_method)", "resource": "Repository", "field": "merge_commit_allowed", "code": "invalid"}], "documentation_url": "https://docs.github.com/rest/repos/repos#update-a-repository"}
(camel-website-pub) branch asf-site updated (f7f9f86b0 -> 6b6b78644)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website-pub.git discard f7f9f86b0 Website updated to e321af7749a6ceb0918c325ce701a4f4266d9650 discard f38161ed4 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 7263b8e58 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 6b6b78644 Website updated to e321af7749a6ceb0918c325ce701a4f4266d9650 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (f7f9f86b0) \ N -- N -- N refs/heads/asf-site (6b6b78644) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .htaccess | 146 +- .well-known/security.txt |2 +- camel-k/next/apis/camel-k.html |2 +- camel-k/next/cli/cli.html |2 +- camel-k/next/configuration/dependencies.html |2 +- camel-k/next/traits/registry.html |2 +- .../_images/kamelets/aws-bedrock-text-sink.svg |1 + camel-kamelets/next/avro-deserialize-action.html |2 +- camel-kamelets/next/avro-serialize-action.html |2 +- camel-kamelets/next/aws-bedrock-text-sink.html | 43 + camel-kamelets/next/aws-cloudtrail-source.html |2 +- camel-kamelets/next/aws-cloudwatch-sink.html |2 +- camel-kamelets/next/aws-ddb-sink.html |2 +- camel-kamelets/next/aws-ddb-streams-source.html|2 +- camel-kamelets/next/aws-ec2-sink.html |2 +- camel-kamelets/next/aws-eventbridge-sink.html |2 +- camel-kamelets/next/aws-kinesis-firehose-sink.html |2 +- camel-kamelets/next/aws-kinesis-sink.html |2 +- camel-kamelets/next/aws-kinesis-source.html|2 +- camel-kamelets/next/aws-lambda-sink.html |2 +- camel-kamelets/next/aws-redshift-sink.html |2 +- camel-kamelets/next/aws-redshift-source.html |2 +- camel-kamelets/next/aws-s3-cdc-source.html |2 +- camel-kamelets/next/aws-s3-sink.html |2 +- camel-kamelets/next/aws-s3-source.html |2 +- .../next/aws-s3-streaming-upload-sink.html |2 +- camel-kamelets/next/aws-secrets-manager-sink.html |2 +- camel-kamelets/next/aws-ses-sink.html |2 +- camel-kamelets/next/aws-sns-fifo-sink.html |2 +- camel-kamelets/next/aws-sns-sink.html |2 +- camel-kamelets/next/aws-sqs-batch-sink.html|2 +- camel-kamelets/next/aws-sqs-fifo-sink.html |2 +- camel-kamelets/next/aws-sqs-sink.html |2 +- camel-kamelets/next/aws-sqs-source.html|2 +- .../next/aws-sts-assume-role-action.html |2 +- camel-kamelets/next/aws-timestream-query-sink.html |2 +- camel-kamelets/next/aws-translate-action.html |2 +- camel-kamelets/next/azure-cosmosdb-sink.html |2 +- camel-kamelets/next/azure-cosmosdb-source.html |2 +- camel-kamelets/next/azure-eventhubs-sink.html |2 +- camel-kamelets/next/azure-eventhubs-source.html|2 +- camel-kamelets/next/azure-functions-sink.html |2 +- camel-kamelets/next/azure-servicebus-sink.html |2 +- camel-kamelets/next/azure-servicebus-source.html |2 +- .../next/azure-storage-blob-append-sink.html |2 +- .../next/azure-storage-blob-cdc-source.html|2 +- .../next/azure-storage-blob-changefeed-source.html |2 +- camel-kamelets/next/azure-storage-blob-sink.html |2 +- camel-kamelets/next/azure-storage-blob-source.html |2 +- .../next/azure-storage-datalake-sink.html |2 +- .../next/azure-storage-datalake-source.html|2 +- camel-kamelets/next/azure-storage-files-sink.html |2 +- .../next/azure-storage-files-source.html |2 +- camel-kamelets/next/azure-storage-queue-sink.html |2 +- .../next/azure-storage-queue-source.html |2 +- camel-kamelets/next/beer-source.html |2 +- camel-kamelets/next/bitcoin-source.html|2 +-
(camel) branch main updated: CAMEL-20518: replace invalid quote breaking the catalog generation on Windows
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 49e0c47afcf CAMEL-20518: replace invalid quote breaking the catalog generation on Windows 49e0c47afcf is described below commit 49e0c47afcf6dcc194bfc55c0e7c3c4a5dae1895 Author: Otavio Rodolfo Piske AuthorDate: Wed Mar 6 11:30:22 2024 -0300 CAMEL-20518: replace invalid quote breaking the catalog generation on Windows --- .../org/apache/camel/catalog/components/salesforce.json | 4 ++-- .../apache/camel/component/salesforce/salesforce.json| 4 ++-- .../component/salesforce/SalesforceEndpointConfig.java | 6 +++--- .../component/dsl/SalesforceComponentBuilderFactory.java | 8 .../endpoint/dsl/SalesforceEndpointBuilderFactory.java | 16 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/salesforce.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/salesforce.json index 3dcc61a5c7b..cbd6d8060a9 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/salesforce.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/salesforce.json @@ -90,7 +90,7 @@ "apexUrl": { "index": 63, "kind": "property", "displayName": "Apex Url", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "APEX method URL" }, "compositeMethod": { "index": 64, "kind": "property", "displayName": "Composite Method", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Composite (raw) method." }, "eventName": { "index": 65, "kind": "property", "displayName": "Event Name", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Name of Platform Event, Change Data Capture Event, custom event, etc." }, -"eventSchemaFormat": { "index": 66, "kind": "property", "displayName": "Event Schema Format", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "org.apache.camel.component.salesforce.internal.dto.EventSchemaFormatEnum", "enum": [ "EXPANDED", "COMPACT" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": [...] +"eventSchemaFormat": { "index": 66, "kind": "property", "displayName": "Event Schema Format", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "org.apache.camel.component.salesforce.internal.dto.EventSchemaFormatEnum", "enum": [ "EXPANDED", "COMPACT" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": [...] "eventSchemaId": { "index": 67, "kind": "property", "displayName": "Event Schema Id", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "The ID of the event schema." }, "lazyStartProducer": { "index": 68, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fai [...] "rawHttpHeaders": { "index": 69, "kind": "property", "displayName": "Raw Http Headers", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false,
Re: [PR] CAMEL-20518: replace invalid quote breaking the catalog generation on Windows [camel]
orpiske merged PR #13394: URL: https://github.com/apache/camel/pull/13394 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-quarkus) branch quarkus-main updated (d8a74de83a -> 5e27d6892e)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git discard d8a74de83a Upgrade Quarkus to 3.9.0.CR1 add 7fc2932adb Add multipart configuration options to servlet extension add b1c787bc6f Remove registration of Servlet classes with AdditionalBeanBuildItem add f508aa53ab Regen SBOM from commit b1c787bc6f8b936e25304272bbf47b51335171c6 (#5833) add 3002b27ae0 Bump quarkiverse-pooled-jms.version from 2.3.0 to 2.3.1 (#5836) add b71bca76be Document basic servlet extension usage and configuration options add 4877f4e365 Support loadOnStartup, async, forceAwait & executorRef configuration options add d04332fed2 Enable web.xml to be used to configure CamelHttpTransportServlet for the servlet extension add f7abb3e982 Add additional Servlet test coverage add fb5dcac6a0 Upgrade cq-maven-plugin to 4.6.1 add 771d92245f Migrate file watch tests to new harness #3584 (#5840) add eb025a743d Bump quarkiverse-jgit.version from 3.0.6 to 3.0.7 (#5841) add 6274b899f5 Bump quarkiverse-jsch.version from 3.0.6 to 3.0.7 new 4327e7c0ab Upgrade Quarkus to 3.9.0.CR1 new 5e27d6892e Disable Infinispan tests due to #5844 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (d8a74de83a) \ N -- N -- N refs/heads/quarkus-main (5e27d6892e) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: camel-quarkus-sbom/camel-quarkus-sbom.json | 10987 ++- camel-quarkus-sbom/camel-quarkus-sbom.xml | 10739 +- .../ROOT/pages/reference/extensions/servlet.adoc | 206 + .../servlet/deployment/ServletProcessor.java |53 +- ...nimalConfigTest.java => WebXmlServletTest.java} |55 +- extensions/servlet/runtime/src/main/doc/usage.adoc | 103 + .../servlet/runtime/CamelServletConfig.java|63 + .../resources/container-license-acceptance.txt | 2 +- .../camel/quarkus/component/file/it/FileIT.java|24 - .../camel/quarkus/component/file/it/FileTest.java |88 - .../component/file/it/NonFlakyFileTest.java|74 +- .../infinispan-quarkus-client/pom.xml | 2 + integration-tests/infinispan/pom.xml | 2 + .../quarkus/component/infinispan/InfinispanIT.java | 2 + .../component/infinispan/InfinispanTest.java | 1 + integration-tests/servlet/pom.xml |17 + .../quarkus/component/servlet/CamelRoute.java |73 +- .../component/servlet}/CustomException.java|11 +- .../component/servlet/MultiPartProcessor.java} |17 +- .../component/servlet/ServletProducers.java|71 + .../src/main/resources/application.properties |50 +- .../component/servlet/CamelServletTest.java| 207 +- pom.xml|14 +- poms/bom/pom.xml | 9 + poms/bom/src/main/generated/flattened-full-pom.xml |26 +- .../src/main/generated/flattened-reduced-pom.xml |26 +- .../generated/flattened-reduced-verbose-pom.xml|26 +- 27 files changed, 11897 insertions(+), 11051 deletions(-) copy extensions/servlet/deployment/src/test/java/org/apache/camel/quarkus/component/servlet/test/{MinimalConfigTest.java => WebXmlServletTest.java} (59%) create mode 100644 extensions/servlet/runtime/src/main/doc/usage.adoc delete mode 100644 integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileIT.java delete mode 100644 integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java copy integration-tests/{main-yaml/src/main/java/org/apache/camel/quarkus/main => servlet/src/main/java/org/apache/camel/quarkus/component/servlet}/CustomException.java (83%) copy integration-tests/{camel-k-runtime/src/main/java/org/apache/camel/quarkus/k/it/yaml/MyProcessor.java => servlet/src/main/java/org/apache/camel/quarkus/component/servlet/MultiPartProcessor.java} (63%) create mode 100644
(camel-quarkus) 01/02: Upgrade Quarkus to 3.9.0.CR1
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 4327e7c0abe2fdde69a827c69f3c4f5dbac0bbce Author: James Netherton AuthorDate: Wed Feb 28 08:13:46 2024 + Upgrade Quarkus to 3.9.0.CR1 --- extensions/google-bigquery/deployment/pom.xml | 4 extensions/google-bigquery/runtime/pom.xml | 4 extensions/google-pubsub/deployment/pom.xml| 4 extensions/google-pubsub/runtime/pom.xml | 4 extensions/grpc/deployment/pom.xml | 4 extensions/grpc/runtime/pom.xml| 8 extensions/salesforce/deployment/pom.xml | 4 extensions/salesforce/runtime/pom.xml | 4 .../db2/src/test/resources/container-license-acceptance.txt| 2 +- pom.xml| 10 +- poms/bom/src/main/generated/flattened-full-pom.xml | 4 ++-- poms/bom/src/main/generated/flattened-reduced-pom.xml | 4 ++-- poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 4 ++-- 13 files changed, 48 insertions(+), 12 deletions(-) diff --git a/extensions/google-bigquery/deployment/pom.xml b/extensions/google-bigquery/deployment/pom.xml index e4cb3b702f..193d2935dc 100644 --- a/extensions/google-bigquery/deployment/pom.xml +++ b/extensions/google-bigquery/deployment/pom.xml @@ -54,6 +54,10 @@ io.vertx vertx-grpc-server + +org.checkerframework +checker-qual + diff --git a/extensions/google-bigquery/runtime/pom.xml b/extensions/google-bigquery/runtime/pom.xml index 15a4b77477..9dfe0da15d 100644 --- a/extensions/google-bigquery/runtime/pom.xml +++ b/extensions/google-bigquery/runtime/pom.xml @@ -90,6 +90,10 @@ io.grpc grpc-netty + +com.google.code.findbugs +jsr305 + com.google.android annotations diff --git a/extensions/google-pubsub/deployment/pom.xml b/extensions/google-pubsub/deployment/pom.xml index 31b8b31739..3820cbf30b 100644 --- a/extensions/google-pubsub/deployment/pom.xml +++ b/extensions/google-pubsub/deployment/pom.xml @@ -58,6 +58,10 @@ io.vertx vertx-grpc-server + +org.checkerframework +checker-qual + diff --git a/extensions/google-pubsub/runtime/pom.xml b/extensions/google-pubsub/runtime/pom.xml index 9161883ace..437a7ebb91 100644 --- a/extensions/google-pubsub/runtime/pom.xml +++ b/extensions/google-pubsub/runtime/pom.xml @@ -113,6 +113,10 @@ com.google.android annotations + +com.google.code.findbugs +jsr305 + commons-logging commons-logging diff --git a/extensions/grpc/deployment/pom.xml b/extensions/grpc/deployment/pom.xml index db1b712e67..e606eeb03e 100644 --- a/extensions/grpc/deployment/pom.xml +++ b/extensions/grpc/deployment/pom.xml @@ -50,6 +50,10 @@ io.vertx vertx-grpc-server + +org.checkerframework +checker-qual + diff --git a/extensions/grpc/runtime/pom.xml b/extensions/grpc/runtime/pom.xml index bc4e5e3974..b58d4f005d 100644 --- a/extensions/grpc/runtime/pom.xml +++ b/extensions/grpc/runtime/pom.xml @@ -39,6 +39,10 @@ io.quarkus quarkus-grpc-common + +com.google.code.findbugs +jsr305 + io.quarkus quarkus-vertx @@ -55,6 +59,10 @@ io.vertx vertx-grpc-server + +org.checkerframework +checker-qual + diff --git a/extensions/salesforce/deployment/pom.xml b/extensions/salesforce/deployment/pom.xml index 2b2e620592..cd5e5989c7 100644 --- a/extensions/salesforce/deployment/pom.xml +++ b/extensions/salesforce/deployment/pom.xml @@ -57,6 +57,10 @@ io.vertx vertx-grpc-server + +org.checkerframework +