(camel-quarkus-examples) branch 3.2.x updated: Updated quay.io/jamesnetherton/sftp-server tag to 0.5.0
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch 3.2.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git The following commit(s) were added to refs/heads/3.2.x by this push: new d82df83 Updated quay.io/jamesnetherton/sftp-server tag to 0.5.0 d82df83 is described below commit d82df83b6760c2cf2e62cceb19dbc1d82ec29393 Author: Balavva AuthorDate: Thu Jan 18 13:15:15 2024 +0530 Updated quay.io/jamesnetherton/sftp-server tag to 0.5.0 --- file-bindy-ftp/src/main/kubernetes/kubernetes.yml| 2 +- file-bindy-ftp/src/main/kubernetes/openshift.yml | 2 +- file-bindy-ftp/src/test/java/org/acme/bindy/ftp/FtpTestResource.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/file-bindy-ftp/src/main/kubernetes/kubernetes.yml b/file-bindy-ftp/src/main/kubernetes/kubernetes.yml index c761cff..fa044f5 100644 --- a/file-bindy-ftp/src/main/kubernetes/kubernetes.yml +++ b/file-bindy-ftp/src/main/kubernetes/kubernetes.yml @@ -37,7 +37,7 @@ spec: containers: - name: openssh-server # Use a simple SFTP server implementation based on Apache Mina SSHD. Purely for testing only, NOT for production use - image: quay.io/jamesnetherton/sftp-server:0.3.0 + image: quay.io/jamesnetherton/sftp-server:0.5.0 ports: - containerPort: env: diff --git a/file-bindy-ftp/src/main/kubernetes/openshift.yml b/file-bindy-ftp/src/main/kubernetes/openshift.yml index c761cff..fa044f5 100644 --- a/file-bindy-ftp/src/main/kubernetes/openshift.yml +++ b/file-bindy-ftp/src/main/kubernetes/openshift.yml @@ -37,7 +37,7 @@ spec: containers: - name: openssh-server # Use a simple SFTP server implementation based on Apache Mina SSHD. Purely for testing only, NOT for production use - image: quay.io/jamesnetherton/sftp-server:0.3.0 + image: quay.io/jamesnetherton/sftp-server:0.5.0 ports: - containerPort: env: diff --git a/file-bindy-ftp/src/test/java/org/acme/bindy/ftp/FtpTestResource.java b/file-bindy-ftp/src/test/java/org/acme/bindy/ftp/FtpTestResource.java index 5b462a8..99599bf 100644 --- a/file-bindy-ftp/src/test/java/org/acme/bindy/ftp/FtpTestResource.java +++ b/file-bindy-ftp/src/test/java/org/acme/bindy/ftp/FtpTestResource.java @@ -30,7 +30,7 @@ import org.testcontainers.containers.wait.strategy.Wait; public class FtpTestResource implements QuarkusTestResourceLifecycleManager { private static final int FTP_PORT = ; -private static final String SSH_IMAGE = "quay.io/jamesnetherton/sftp-server:0.3.0"; +private static final String SSH_IMAGE = "quay.io/jamesnetherton/sftp-server:0.5.0"; private GenericContainer container;
Re: [PR] Updated quay.io/jamesnetherton/sftp-server tag to 0.5.0 [camel-quarkus-examples]
jamesnetherton merged PR #196: URL: https://github.com/apache/camel-quarkus-examples/pull/196 -- This is an automated message from the Apache Git Service. To respond to the message, please 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] Updated quay.io/jamesnetherton/sftp-server tag to 0.5.0 [camel-quarkus-examples]
Balavva-Mirji opened a new pull request, #196: URL: https://github.com/apache/camel-quarkus-examples/pull/196 Note: PR has been raised for 3.2.x branch as we require this branch for downstream testing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-quarkus) 01/01: Upgrade Quarkus to 3.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 7825f614db23fdd4c768870b88b263681d936f55 Author: James Netherton AuthorDate: Thu Jan 18 07:33:21 2024 + Upgrade Quarkus to 3.9.0.CR1 --- docs/antora.yml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/antora.yml b/docs/antora.yml index d61d512f4c..9b4afeb1a5 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -31,7 +31,7 @@ asciidoc: camel-version: 4.3.0 # replace ${camel.version} camel-docs-version: next camel-quarkus-version: 3.7.0 # replace ${camel-quarkus.version} -quarkus-version: 3.7.0.CR1 # replace ${quarkus.version} +quarkus-version: 999-SNAPSHOT # replace ${quarkus.version} graalvm-version: 23.0.1 # replace ${graalvm.version} graalvm-docs-version: jdk21 # replace ${graalvm-docs.version} mapstruct-version: 1.5.5.Final # replace ${mapstruct.version} diff --git a/pom.xml b/pom.xml index f92d90dd9c..31f316d64f 100644 --- a/pom.xml +++ b/pom.xml @@ -61,7 +61,7 @@ 2.2.0 2.3.0 2.0.2 -3.7.0.CR1 +999-SNAPSHOT 4.0.0 2.5.0
(camel-quarkus) branch quarkus-main updated (63701a281a -> 7825f614db)
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 63701a281a Exclude redundant kubernetes-client dependencies discard 2f54724371 Revert "Set io.netty.tryReflectionSetAccessible=false for jfr & google-bigquery native modules #5603" discard 7841b232dd Workaround BigQuery & Apache Arrow Netty imcompatibilities #5641 discard 5bd2508ed8 Workaround openstack4j incompatibility with Jackson 2.16.x #5604 discard e8587ee091 Upgrade Quarkus to 3.7.0.CR1 add f575eb79e1 Add SMB extension add 1861562580 Add option to skip sanity-checks script execution add 997c17b93a Regen SBOM from commit 1861562580677004650d1b5e5b0af4b566054cef (#5649) add 250b5a1315 Bump org.cyclonedx:cyclonedx-maven-plugin from 2.7.10 to 2.7.11 (#5652) add 5a956507b2 Upgrade Quarkus to 3.7.0.CR1 add d9e55920a5 Workaround openstack4j incompatibility with Jackson 2.16.x #5604 add 7300cc0d98 Workaround BigQuery & Apache Arrow Netty imcompatibilities #5641 add 56feb3a533 Revert "Set io.netty.tryReflectionSetAccessible=false for jfr & google-bigquery native modules #5603" add 934f31f0c4 Exclude redundant kubernetes-client dependencies add f6048c4c77 Enable TarfileTest after alignment of common-compress new 7825f614db Upgrade Quarkus to 3.9.0.CR1 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (63701a281a) \ N -- N -- N refs/heads/quarkus-main (7825f614db) 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: camel-quarkus-sbom/camel-quarkus-sbom.json | 1696 +--- camel-quarkus-sbom/camel-quarkus-sbom.xml | 700 +--- docs/modules/ROOT/examples/components/smb.yml | 13 + docs/modules/ROOT/nav.adoc |1 + .../ROOT/pages/reference/extensions/smb.adoc | 45 + .../csimple/deployment/CSimpleProcessor.java |3 + .../src/main/java/io/netty/buffer/LargeBuffer.java |2 +- .../io/netty/buffer/MutableWrappedByteBuf.java |2 +- .../io/netty/buffer/PooledByteBufAllocatorL.java |2 +- .../io/netty/buffer/UnsafeDirectLittleEndian.java |2 +- extensions/jira/deployment/pom.xml |2 +- extensions/jira/runtime/pom.xml|2 +- .../dsl/jsh/deployment/JshDslProcessor.java| 12 +- .../dsl/kotlin/deployment/KotlinDslProcessor.java | 12 +- extensions/lra/deployment/pom.xml |2 +- extensions/lra/runtime/pom.xml |2 +- extensions/pom.xml |1 + .../smb/deployment/pom.xml | 18 +- .../smb}/deployment/JakartaEnablement.java | 34 +- .../component/smb/deployment/SmbProcessor.java}| 33 +- .../parent-pom.xml => extensions/smb/pom.xml |8 +- .../smb/runtime/pom.xml| 27 +- .../main/resources/META-INF/quarkus-extension.yaml |7 +- integration-tests/jaxb/pom.xml |4 +- integration-tests/pom.xml |1 + integration-tests/{splunk => smb}/pom.xml | 22 +- .../quarkus/component/smb/it/SmbResource.java} | 27 +- .../camel/quarkus/component/smb/it/SmbRoute.java} | 10 +- .../camel/quarkus/component/smb/it/SmbIT.java |4 +- .../camel/quarkus/component/smb/it/SmbTest.java| 14 +- .../quarkus/component/smb/it/SmbTestResource.java | 44 +- .../smb/src/test/resources/Dockerfile | 20 +- .../smb/src/test/resources/smb.conf| 53 +- .../src/test/resources/start.sh} | 23 +- integration-tests/tarfile/pom.xml |5 +- .../quarkus/component/tarfile/it/TarfileTest.java |2 - pom.xml|2 +- poms/bom/pom.xml | 43 +- poms/bom/src/main/generated/flattened-full-pom.xml | 43 +- .../src/main/generated/flattened-reduced-pom.xml | 43 +- .../generated/flattened-reduced-verbose-pom.xml| 43 +- tooling/scripts/sanity-checks.groovy
Re: [PR] bump aws-java-sdk2-version from 2.23.4 to 2.23.5 [camel]
github-actions[bot] commented on PR #12824: URL: https://github.com/apache/camel/pull/12824#issuecomment-1897925499 :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/aws-java-sdk2-version-2.23.5 created (now 4e935c70f12)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/aws-java-sdk2-version-2.23.5 in repository https://gitbox.apache.org/repos/asf/camel.git at 4e935c70f12 bump aws-java-sdk2-version from 2.23.4 to 2.23.5 No new revisions were added by this update.
[PR] bump aws-java-sdk2-version from 2.23.4 to 2.23.5 [camel]
dependabot[bot] opened a new pull request, #12824: URL: https://github.com/apache/camel/pull/12824 Bumps `aws-java-sdk2-version` from 2.23.4 to 2.23.5. Updates `software.amazon.awssdk:sqs` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:kinesis` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:s3` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:sns` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:cloudwatch` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:ec2` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:eventbridge` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:iam` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:kms` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:lambda` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:secretsmanager` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:sts` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:dynamodb` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:config` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:apache-client` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:athena` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:cloudtrail` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:ecs` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:eks` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:netty-nio-client` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:firehose` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:kafka` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:mq` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:redshiftdata` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:ses` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:sfn` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:timestreamquery` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:timestreamwrite` from 2.23.4 to 2.23.5 Updates `software.amazon.awssdk:translate` from 2.23.4 to 2.23.5 Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump com.box:box-java-sdk from 4.6.1 to 4.7.0 [camel]
oscerd commented on PR #12823: URL: https://github.com/apache/camel/pull/12823#issuecomment-1897896786 /component-test box -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump com.box:box-java-sdk from 4.6.1 to 4.7.0 [camel]
github-actions[bot] commented on PR #12823: URL: https://github.com/apache/camel/pull/12823#issuecomment-1897897219 :robot: The Apache Camel test robot will run the tests for you :+1: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump com.box:box-java-sdk from 4.6.1 to 4.7.0 [camel]
github-actions[bot] commented on PR #12823: URL: https://github.com/apache/camel/pull/12823#issuecomment-1897893530 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] Bump com.box:box-java-sdk from 4.6.1 to 4.7.0 [camel]
dependabot[bot] opened a new pull request, #12823: URL: https://github.com/apache/camel/pull/12823 Bumps [com.box:box-java-sdk](https://github.com/box/box-java-sdk) from 4.6.1 to 4.7.0. Release notes Sourced from https://github.com/box/box-java-sdk/releases";>com.box:box-java-sdk's releases. v4.7.0 New Features and Enhancements: Add signer_group_id for signer in sign request (https://redirect.github.com/box/box-java-sdk/issues/1220";>#1220) (https://github.com/box/box-java-sdk/commit/f560db8d5587406099066803789d16374ec7dbb9";>f560db8) Introduce IPrivateKeyDecryptor to allow using custom cryptography provider (https://redirect.github.com/box/box-java-sdk/issues/1226";>#1226) (https://github.com/box/box-java-sdk/commit/727e6d71ee375a48b4241a26a093becfe0965898";>727e6d7) Bug Fixes: Remove delete classification (https://redirect.github.com/box/box-java-sdk/issues/1222";>#1222) (https://github.com/box/box-java-sdk/commit/981403896b4cd16a42c9feeecf30e75e1e8fa072";>9814038) 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.6.1...v4.7.0";>4.7.0 (2024-01-16) New Features and Enhancements: Add signer_group_id for signer in sign request (https://redirect.github.com/box/box-java-sdk/issues/1220";>#1220) (https://github.com/box/box-java-sdk/commit/f560db8d5587406099066803789d16374ec7dbb9";>f560db8) Introduce IPrivateKeyDecryptor to allow using custom cryptography provider (https://redirect.github.com/box/box-java-sdk/issues/1226";>#1226) (https://github.com/box/box-java-sdk/commit/727e6d71ee375a48b4241a26a093becfe0965898";>727e6d7) Bug Fixes: Remove delete classification (https://redirect.github.com/box/box-java-sdk/issues/1222";>#1222) (https://github.com/box/box-java-sdk/commit/981403896b4cd16a42c9feeecf30e75e1e8fa072";>9814038) Commits https://github.com/box/box-java-sdk/commit/9a94a1a8db9af300e80a2bd610b04deab4e1f362";>9a94a1a chore: release 4.7.0 (https://redirect.github.com/box/box-java-sdk/issues/1227";>#1227) https://github.com/box/box-java-sdk/commit/727e6d71ee375a48b4241a26a093becfe0965898";>727e6d7 feat: Introduce IPrivateKeyDecryptor to allow using custom cryptography pro... https://github.com/box/box-java-sdk/commit/827a9a06a1a3387b27ea87ab73cf2a00ca2ea3b3";>827a9a0 chore: Bumped org.bitbucket.b_c:jose4j:0.9.4 (https://redirect.github.com/box/box-java-sdk/issues/1225";>#1225) https://github.com/box/box-java-sdk/commit/981403896b4cd16a42c9feeecf30e75e1e8fa072";>9814038 fix: Remove delete classification (https://redirect.github.com/box/box-java-sdk/issues/1222";>#1222) https://github.com/box/box-java-sdk/commit/f560db8d5587406099066803789d16374ec7dbb9";>f560db8 feat: Add signer_group_id for signer in sign request (https://redirect.github.com/box/box-java-sdk/issues/1220";>#1220) https://github.com/box/box-java-sdk/commit/4e31abb0d76d08d8b4907f52c0f6789b5393b125";>4e31abb chore: Add information about BadPaddingException to README.md (https://redirect.github.com/box/box-java-sdk/issues/1219";>#1219) See full diff in https://github.com/box/box-java-sdk/compare/v4.6.1...v4.7.0";>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.box:box-java-sdk&package-manager=maven&previous-version=4.6.1&new-version=4.7.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 versio
(camel) branch dependabot/maven/com.box-box-java-sdk-4.7.0 created (now e44130cf421)
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.7.0 in repository https://gitbox.apache.org/repos/asf/camel.git at e44130cf421 Bump com.box:box-java-sdk from 4.6.1 to 4.7.0 No new revisions were added by this update.
(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 48dc01623c6 Regen 48dc01623c6 is described below commit 48dc01623c6b5947b7acb96f36412e6e301f3ddd Author: Claus Ibsen AuthorDate: Thu Jan 18 07:23:09 2024 +0100 Regen --- .../springboot/catalog/components/aws2-s3.json | 16 - .../springboot/catalog/components/jsonata.json | 2 +- .../src/main/docs/aws2-s3.json | 13 +++ .../springboot/AWS2S3ComponentConfiguration.java | 26 ++ 4 files changed, 50 insertions(+), 7 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json index 4ba1701a788..f414e7263fd 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-s3.json @@ -77,9 +77,11 @@ "accessKey": { "index": 51, "kind": "property", "displayName": "Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" }, "profileCredentialsName": { "index": 52, "kind": "property", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": "configuration", "description": "If using a profile credentials provider this parameter will set the profile name" }, "secretKey": { "index": 53, "kind": "property", "displayName": "Secret Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" }, -"trustAllCertificates": { "index": 54, "kind": "property", "displayName": "Trust All Certificates", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the endpoint" }, -"useDefaultCredentialsProvider": { "index": 55, "kind": "property", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": "configuration", "description": "Set whether the S3 client should expect to load cr [...] -"useProfileCredentialsProvider": { "index": 56, "kind": "property", "displayName": "Use Profile Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": "configuration", "description": "Set whether the S3 client should expect to load cr [...] +"sessionToken": { "index": 54, "kind": "property", "displayName": "Session Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws2.s3.AWS2S3Configuration", "configurationField": "configuration", "description": "Amazon AWS Session Token used when the user needs to assume a IAM role" }, +"trustAllCertificates": { "index": 55, "kind": "property", "displayName": "Trust All Certificates", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.c
(camel-kamelets) branch regen_bot updated (bf831c50 -> 526529c2)
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 bf831c50 Fix #1836: Artemis JMS kamelet should use artemis client dependency (#1837) add 73e49fe5 Updated CHANGELOG.md add 526529c2 Bump org.citrusframework:citrus-bom from 4.0.2 to 4.1.0 (#1838) No new revisions were added by this update. Summary of changes: CHANGELOG.md | 11 ++- pom.xml | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-)
Re: [PR] [Github Actions] Periodic Sync Camel Spring Boot (Camel 4) [camel-spring-boot]
oscerd closed pull request #1065: [Github Actions] Periodic Sync Camel Spring Boot (Camel 4) URL: https://github.com/apache/camel-spring-boot/pull/1065 -- This is an automated message from the Apache Git Service. To respond to the message, please 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/maven/org.citrusframework-citrus-bom-4.1.0 deleted (was 41afed7d)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.citrusframework-citrus-bom-4.1.0 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git was 41afed7d Bump org.citrusframework:citrus-bom from 4.0.2 to 4.1.0 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(camel-kamelets) branch main updated: Bump org.citrusframework:citrus-bom from 4.0.2 to 4.1.0 (#1838)
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 526529c2 Bump org.citrusframework:citrus-bom from 4.0.2 to 4.1.0 (#1838) 526529c2 is described below commit 526529c2c3e20ea3c648b0f9f8b74e9b874aef8d Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Thu Jan 18 06:34:09 2024 +0100 Bump org.citrusframework:citrus-bom from 4.0.2 to 4.1.0 (#1838) Bumps [org.citrusframework:citrus-bom](https://github.com/citrusframework/citrus) from 4.0.2 to 4.1.0. - [Release notes](https://github.com/citrusframework/citrus/releases) - [Commits](https://github.com/citrusframework/citrus/compare/v4.0.2...v4.1.0) --- updated-dependencies: - dependency-name: org.citrusframework:citrus-bom dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 925faf4e..2c3cdf35 100644 --- a/pom.xml +++ b/pom.xml @@ -65,7 +65,7 @@ 4.3.0 2.2.0 -4.0.2 +4.1.0 7.15.0 0.17.1
Re: [PR] Bump org.citrusframework:citrus-bom from 4.0.2 to 4.1.0 [camel-kamelets]
oscerd merged PR #1838: URL: https://github.com/apache/camel-kamelets/pull/1838 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] Bump org.citrusframework:citrus-bom from 4.0.2 to 4.1.0 [camel-kamelets]
dependabot[bot] opened a new pull request, #1838: URL: https://github.com/apache/camel-kamelets/pull/1838 Bumps [org.citrusframework:citrus-bom](https://github.com/citrusframework/citrus) from 4.0.2 to 4.1.0. Release notes Sourced from https://github.com/citrusframework/citrus/releases";>org.citrusframework:citrus-bom's releases. v4.1.0 Citrus release v4.1.0 https://github.com/citrusframework/citrus/compare/v4.0.2...v4.1.0";>Compare to V4.0.2 Noteable Changes d373c8118c703175c305a6270c665ce340e0f119 OpenAPI connectors for client and server 4f5b9ff64c6db49b3f554ade1a478517bf7fde57 removal of commons-lang in favour of commons-lang3 737d45435c53a161524f9e6acbe23bee43afd051 migrations to Spring 6.1 and Jetty 13 a4a1a5daec800cfc070c9df1135db958df31e1ad update of TestNG to v7.9 many more dependency updates Commits https://github.com/citrusframework/citrus/commit/063499130a9fc7f0a4e033044f20f919ecc85c73";>0634991 Release 4.1.0 https://github.com/citrusframework/citrus/commit/49363dc2b7b1554bc3e79f4a92fe47772d6c05ae";>49363dc Update project metadata for 4.1.0 https://github.com/citrusframework/citrus/commit/8c863cd0c615b61ca1fc35422abaa94cb1178e25";>8c863cd Add Spring schemas for 4.1.0 https://github.com/citrusframework/citrus/commit/ae653f3fdeb626097c3e1a70a4c2cd11bb2fb0ac";>ae653f3 chore(deps): Revert Maven source plugin version https://github.com/citrusframework/citrus/commit/3575c6418e6335f09a846692ed9246ddbf5488fa";>3575c64 chore(release): Disable auto release of staging repository https://github.com/citrusframework/citrus/commit/190412273ff9e346d7b39085f1e4ae33fb2c6ab3";>1904122 fix: remove comment and version from http xsd schema https://github.com/citrusframework/citrus/commit/a4a1a5daec800cfc070c9df1135db958df31e1ad";>a4a1a5d fix(https://redirect.github.com/citrusframework/citrus/issues/1090";>#1090): Update TestNG to version 7.9 https://github.com/citrusframework/citrus/commit/341e3689d6ff975f93f32ebd01bc7f0417a3d1d6";>341e368 chore(deps): Bump dependency versions https://github.com/citrusframework/citrus/commit/86f634d22d2f6fd5409b50ce0f25effa847788ad";>86f634d chore: Cosmetic changes https://github.com/citrusframework/citrus/commit/4fd48c0c5201cbf269199bfc88676ce1468ac56f";>4fd48c0 Merge pull request https://redirect.github.com/citrusframework/citrus/issues/1097";>#1097 from citrusframework/fix/nested-jar-relative-url Additional commits viewable in https://github.com/citrusframework/citrus/compare/v4.0.2...v4.1.0";>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.citrusframework:citrus-bom&package-manager=maven&previous-version=4.0.2&new-version=4.1.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
(camel-kamelets) branch dependabot/maven/org.citrusframework-citrus-bom-4.1.0 created (now 41afed7d)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.citrusframework-citrus-bom-4.1.0 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git at 41afed7d Bump org.citrusframework:citrus-bom from 4.0.2 to 4.1.0 No new revisions were added by this update.
(camel-kamelets) branch main updated: Updated CHANGELOG.md
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-kamelets.git The following commit(s) were added to refs/heads/main by this push: new 73e49fe5 Updated CHANGELOG.md 73e49fe5 is described below commit 73e49fe56564cf643f1cdb2a9bcb9ad9809bd463 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Jan 18 03:07:17 2024 + Updated CHANGELOG.md --- CHANGELOG.md | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e3eacca..0f6b8100 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,16 @@ ## [Unreleased](https://github.com/apache/camel-kamelets/tree/HEAD) -[Full Changelog](https://github.com/apache/camel-kamelets/compare/v4.3.0...HEAD) +[Full Changelog](https://github.com/apache/camel-kamelets/compare/v4.0.3...HEAD) + +**Closed issues:** + +- Artemis JMS kamelet should use artemis dependency [\#1836](https://github.com/apache/camel-kamelets/issues/1836) +- Upgrade 4.0.x to Camel 4.0.3 [\#1831](https://github.com/apache/camel-kamelets/issues/1831) + +## [v4.0.3](https://github.com/apache/camel-kamelets/tree/v4.0.3) (2024-01-17) + +[Full Changelog](https://github.com/apache/camel-kamelets/compare/v4.3.0...v4.0.3) **Fixed bugs:**
[I] Native build failed directly [camel-k]
pai911 opened a new issue, #5080: URL: https://github.com/apache/camel-k/issues/5080 ### What happened? When deploying a simple route in Java DSL, I kept seeing runtime errors ``` ╰─ klogs sample-674657f6d7-lzqtw java.lang.InternalError: java.lang.reflect.InvocationTargetException at com.oracle.svm.core.containers.Metrics.systemMetrics(Metrics.java:67) at com.oracle.svm.core.containers.Container.metrics(Container.java:44) at com.oracle.svm.core.ContainerInfo.(ContainerInfo.java:34) at com.oracle.svm.core.Containers.memoryLimitInBytes(Containers.java:126) at com.oracle.svm.core.heap.PhysicalMemory.size(PhysicalMemory.java:92) at com.oracle.svm.core.graal.snippets.CEntryPointSnippets.initializeIsolate(CEntryPointSnippets.java:362) at com.oracle.svm.core.JavaMainWrapper$EnterCreateIsolateWithCArgumentsPrologue.enter(JavaMainWrapper.java:387) ``` ### Java Route ``` import org.apache.camel.builder.RouteBuilder; public class Sample extends RouteBuilder { @Override public void configure() throws Exception { from("timer:tick") .log("Hello Camel K!"); } } ``` ### Steps to reproduce Step 1 ``` ╰─ kamel run -t quarkus.build-mode=native --trait container.request-memory=6Gi --trait container.limit-memory=6Gi Sample.java Integration "sample" created ``` Step 2 ``` ╰─ kc get pod NAME READY STATUS RESTARTS AGE camel-k-operator-cb5498fc6-gqxz8 1/1 Running0 5d16h sample-674657f6d7-lzqtw0/1 CrashLoopBackOff 1 (4s ago) 5s ``` Step 3 ``` ╰─ klogs sample-674657f6d7-lzqtw java.lang.InternalError: java.lang.reflect.InvocationTargetException at com.oracle.svm.core.containers.Metrics.systemMetrics(Metrics.java:67) at com.oracle.svm.core.containers.Container.metrics(Container.java:44) at com.oracle.svm.core.ContainerInfo.(ContainerInfo.java:34) at com.oracle.svm.core.Containers.memoryLimitInBytes(Containers.java:126) at com.oracle.svm.core.heap.PhysicalMemory.size(PhysicalMemory.java:92) at com.oracle.svm.core.graal.snippets.CEntryPointSnippets.initializeIsolate(CEntryPointSnippets.java:362) at com.oracle.svm.core.JavaMainWrapper$EnterCreateIsolateWithCArgumentsPrologue.enter(JavaMainWrapper.java:387) ``` ### Relevant log output ```shell {"level":"info","ts":"2024-01-18T01:50:56Z","logger":"camel-k.controller.integration","msg":"State transition","request-namespace":"camel","request-name":"sample","api-version":"camel.apache.org/v1","kind":"Integration","ns":"camel","name":"sample","phase-from":"","phase-to":"Initialization"} {"level":"info","ts":"2024-01-18T01:50:56Z","logger":"camel-k.controller.integration","msg":"Initializing Integration","request-namespace":"camel","request-name":"sample","api-version":"camel.apache.org/v1","kind":"Integration","ns":"camel","name":"sample"} {"level":"info","ts":"2024-01-18T01:50:56Z","logger":"camel-k.controller.integration","msg":"State transition","request-namespace":"camel","request-name":"sample","api-version":"camel.apache.org/v1","kind":"Integration","ns":"camel","name":"sample","phase-from":"Initialization","phase-to":"Building Kit"} {"level":"info","ts":"2024-01-18T01:50:56Z","logger":"camel-k.controller.integration","msg":"State transition","request-namespace":"camel","request-name":"sample","api-version":"camel.apache.org/v1","kind":"Integration","ns":"camel","name":"sample","phase-from":"Building Kit","phase-to":"Deploying"} {"level":"info","ts":"2024-01-18T01:50:56Z","logger":"camel-k.controller.integration","msg":"State transition","request-namespace":"camel","request-name":"sample","api-version":"camel.apache.org/v1","kind":"Integration","ns":"camel","name":"sample","phase-from":"Deploying","phase-to":"Running"} {"level":"info","ts":"2024-01-18T01:51:04Z","logger":"camel-k.controller.integration","msg":"State transition","request-namespace":"camel","request-name":"sample","api-version":"camel.apache.org/v1","kind":"Integration","ns":"camel","name":"sample","phase-from":"Running","phase-to":"Error"} {"level":"info","ts":"2024-01-18T01:51:04Z","logger":"camel-k.controller.integration","msg":"Integration error","request-namespace":"camel","request-name":"sample","api-version":"camel.apache.org/v1","kind":"Integration","ns":"camel","name":"sample","reason":"Error","error-message":"back-off 10s restarting failed container=integration pod=sample-674657f6d7-95kj4_camel(0a45e8ba-ed8a-454c-9867-b0d373e74ad5)"} {"level":"info","ts":"2024-01-18T01:52:16Z","logger":"camel-k.cmd","msg":"v1apha1.KameletBinding is deprecated, please, use v1.Pipe instead\n"} ``` ### Camel K version Camel K Client 2.1.0 Camel K Operator 2.1.0 -- This is an aut
(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 67297ac1d chore: changelog automatic update 67297ac1d is described below commit 67297ac1d5911f73fefa3731f554d35514a25d6c Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Jan 18 01:26:34 2024 + chore: changelog automatic update --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f498e6b98..a6d2c1eef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Ability to set different resources for jvm and native containers when both are used in the same Integration [\#5065](https://github.com/apache/camel-k/issues/5065) - Don't run dependabot on forked repos [\#5063](https://github.com/apache/camel-k/issues/5063) +- Operator 2.2.0 does not spawn builder pod with strategy: pod [\#5060](https://github.com/apache/camel-k/issues/5060) - Need to update CEQ service discovery setting for data type transformer [\#5047](https://github.com/apache/camel-k/issues/5047) - Nightly check against latest runtime failure [\#5042](https://github.com/apache/camel-k/issues/5042) - Provide a page linking to Camel DSLs [\#5037](https://github.com/apache/camel-k/issues/5037) @@ -16,6 +17,7 @@ - Unable to authenticate with Docker Hub API v2 [\#5017](https://github.com/apache/camel-k/issues/5017) - 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) +- Pointer to an external schema/CRD [\#4788](https://github.com/apache/camel-k/issues/4788) - Provide alternative publishing strategy via pipeline [\#4747](https://github.com/apache/camel-k/issues/4747) - Add DataTypeRegistry as bean in Camel context [\#3845](https://github.com/apache/camel-k/issues/3845) - Use build-tags to configure what feature are included in a camel-k build [\#2801](https://github.com/apache/camel-k/issues/2801) @@ -185,7 +187,6 @@ - Knative installation procedure [\#4779](https://github.com/apache/camel-k/issues/4779) - Release 2.1.0 [\#4752](https://github.com/apache/camel-k/issues/4752) - \(Re\)Enable support for Kotlin DSL [\#4738](https://github.com/apache/camel-k/issues/4738) -- Provide default value in a specific field for trait properties in CRD [\#4726](https://github.com/apache/camel-k/issues/4726) - Pushing integration to EKS [\#4725](https://github.com/apache/camel-k/issues/4725) - Secure internal registry with private TLS certificate fails while pushing and pulling the kit [\#4724](https://github.com/apache/camel-k/issues/4724) - Helm installation procedure does not support Knative [\#4716](https://github.com/apache/camel-k/issues/4716)
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-1897604408 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 7563400423-1261-f0d22425-b87b-4d60-9d86-dd614517b58b * Camel Quarkus Commit: 517199a797605e5941cab888ac2f6fdf9f5fe573 * Camel Main Commit: f6048c4c77f50a301c7ced1688c916a517d5f787 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/7563400423 -- This is an automated message from the Apache Git Service. To respond to the message, please 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 a07791d7d chore: changelog automatic update a07791d7d is described below commit a07791d7d558ba3cf6fad605364f0a90214f4e9d Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Jan 18 00:34:21 2024 + chore: changelog automatic update --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f498e6b98..1c8360beb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Ability to set different resources for jvm and native containers when both are used in the same Integration [\#5065](https://github.com/apache/camel-k/issues/5065) - Don't run dependabot on forked repos [\#5063](https://github.com/apache/camel-k/issues/5063) +- Operator 2.2.0 does not spawn builder pod with strategy: pod [\#5060](https://github.com/apache/camel-k/issues/5060) - Need to update CEQ service discovery setting for data type transformer [\#5047](https://github.com/apache/camel-k/issues/5047) - Nightly check against latest runtime failure [\#5042](https://github.com/apache/camel-k/issues/5042) - Provide a page linking to Camel DSLs [\#5037](https://github.com/apache/camel-k/issues/5037) @@ -185,7 +186,6 @@ - Knative installation procedure [\#4779](https://github.com/apache/camel-k/issues/4779) - Release 2.1.0 [\#4752](https://github.com/apache/camel-k/issues/4752) - \(Re\)Enable support for Kotlin DSL [\#4738](https://github.com/apache/camel-k/issues/4738) -- Provide default value in a specific field for trait properties in CRD [\#4726](https://github.com/apache/camel-k/issues/4726) - Pushing integration to EKS [\#4725](https://github.com/apache/camel-k/issues/4725) - Secure internal registry with private TLS certificate fails while pushing and pulling the kit [\#4724](https://github.com/apache/camel-k/issues/4724) - Helm installation procedure does not support Knative [\#4716](https://github.com/apache/camel-k/issues/4716)
[PR] [Github Actions] Periodic Sync Camel Spring Boot (Camel 4) [camel-spring-boot]
github-actions[bot] opened a new pull request, #1065: URL: https://github.com/apache/camel-spring-boot/pull/1065 Periodic Sync of Camel Spring Boot Main Branch with main Camel Main. see https://github.com/apache/camel-spring-boot/blob/main/.github/workflows/automatic-sync-main.yml -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] Pointer to an external schema/CRD [camel-k]
github-actions[bot] closed issue #4788: Pointer to an external schema/CRD URL: https://github.com/apache/camel-k/issues/4788 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-k) branch dependabot/go_modules/github.com/evanphx/json-patch-5.8.1incompatible created (now e01ef4e8c)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/go_modules/github.com/evanphx/json-patch-5.8.1incompatible in repository https://gitbox.apache.org/repos/asf/camel-k.git at e01ef4e8c chore(deps): bump github.com/evanphx/json-patch No new revisions were added by this update.
[PR] chore(deps): bump github.com/evanphx/json-patch from 5.8.0+incompatible to 5.8.1+incompatible [camel-k]
dependabot[bot] opened a new pull request, #5079: URL: https://github.com/apache/camel-k/pull/5079 Bumps [github.com/evanphx/json-patch](https://github.com/evanphx/json-patch) from 5.8.0+incompatible to 5.8.1+incompatible. Release notes Sourced from https://github.com/evanphx/json-patch/releases";>github.com/evanphx/json-patch's releases. Fix API breakage This PR fixes Operation containing a reference to internal/json and breaking the ability to manually compose one. This restores that ability using a type alias. Full Changelog: https://github.com/evanphx/json-patch/compare/v5.8.0...v5.8.1";>https://github.com/evanphx/json-patch/compare/v5.8.0...v5.8.1 Commits https://github.com/evanphx/json-patch/commit/b82b685c982b26399c940fc89be030f343570192";>b82b685 Use a type alias for RawMessage to avoid breaking the public API of Operation See full diff in https://github.com/evanphx/json-patch/compare/v5.8.0...v5.8.1";>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/evanphx/json-patch&package-manager=go_modules&previous-version=5.8.0+incompatible&new-version=5.8.1+incompatible)](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
(camel-k) branch dependabot/go_modules/github.com/onsi/gomega-1.31.0 created (now a50998e13)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/go_modules/github.com/onsi/gomega-1.31.0 in repository https://gitbox.apache.org/repos/asf/camel-k.git at a50998e13 chore(deps): bump github.com/onsi/gomega from 1.30.0 to 1.31.0 No new revisions were added by this update.
[PR] chore(deps): bump github.com/onsi/gomega from 1.30.0 to 1.31.0 [camel-k]
dependabot[bot] opened a new pull request, #5078: URL: https://github.com/apache/camel-k/pull/5078 Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.30.0 to 1.31.0. Release notes Sourced from https://github.com/onsi/gomega/releases";>github.com/onsi/gomega's releases. v1.31.0 1.31.0 Features Async assertions include context cancellation cause if present [121c37f] Maintenance Bump minimum go version [dee1e3c] docs: fix typo in example usage "occured" -> "occurred" [49005fe] Bump actions/setup-go from 4 to 5 (https://redirect.github.com/onsi/gomega/issues/714";>#714) [f1c8757] Bump github/codeql-action from 2 to 3 (https://redirect.github.com/onsi/gomega/issues/715";>#715) [9836e76] Bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.2 (https://redirect.github.com/onsi/gomega/issues/713";>#713) [54726f0] Bump golang.org/x/net from 0.17.0 to 0.19.0 (https://redirect.github.com/onsi/gomega/issues/711";>#711) [df97ecc] docs: fix HaveExactElement typo (https://redirect.github.com/onsi/gomega/issues/712";>#712) [a672c86] Changelog Sourced from https://github.com/onsi/gomega/blob/master/CHANGELOG.md";>github.com/onsi/gomega's changelog. 1.31.0 Features Async assertions include context cancellation cause if present [121c37f] Maintenance Bump minimum go version [dee1e3c] docs: fix typo in example usage "occured" -> "occurred" [49005fe] Bump actions/setup-go from 4 to 5 (https://redirect.github.com/onsi/gomega/issues/714";>#714) [f1c8757] Bump github/codeql-action from 2 to 3 (https://redirect.github.com/onsi/gomega/issues/715";>#715) [9836e76] Bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.2 (https://redirect.github.com/onsi/gomega/issues/713";>#713) [54726f0] Bump golang.org/x/net from 0.17.0 to 0.19.0 (https://redirect.github.com/onsi/gomega/issues/711";>#711) [df97ecc] docs: fix HaveExactElement typo (https://redirect.github.com/onsi/gomega/issues/712";>#712) [a672c86] Commits https://github.com/onsi/gomega/commit/ba8bba2272bbf185a144b2681b5ed1f72d7f04f7";>ba8bba2 v1.31.0 https://github.com/onsi/gomega/commit/121c37f100b97f1d2c3f68c436f92bd7df4a120a";>121c37f Async assertions include context cancellation cause if present https://github.com/onsi/gomega/commit/dee1e3cc5e375dedf8360bf3d673a433ef04b948";>dee1e3c Bump minimum go version https://github.com/onsi/gomega/commit/49005fe1960542f223c64b1af4e7544d34746a01";>49005fe docs: fix typo in example usage "occured" -> "occurred" https://github.com/onsi/gomega/commit/f1c8757f39be88577c525a74f3906c5f080eace0";>f1c8757 Bump actions/setup-go from 4 to 5 (https://redirect.github.com/onsi/gomega/issues/714";>#714) https://github.com/onsi/gomega/commit/9836e7651c0b2f9ff31bc2f9888483307f838b89";>9836e76 Bump github/codeql-action from 2 to 3 (https://redirect.github.com/onsi/gomega/issues/715";>#715) https://github.com/onsi/gomega/commit/54726f09dc2616540f47373402e8b7d0cf02b0eb";>54726f0 Bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.2 (https://redirect.github.com/onsi/gomega/issues/713";>#713) https://github.com/onsi/gomega/commit/df97eccdfa879082a0501a66242e77b46dede1db";>df97ecc Bump golang.org/x/net from 0.17.0 to 0.19.0 (https://redirect.github.com/onsi/gomega/issues/711";>#711) https://github.com/onsi/gomega/commit/a672c86be58f9312b6582ab6e459ff2cb5d18eeb";>a672c86 docs: fix HaveExactElement typo (https://redirect.github.com/onsi/gomega/issues/712";>#712) See full diff in https://github.com/onsi/gomega/compare/v1.30.0...v1.31.0";>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/onsi/gomega&package-manager=go_modules&previous-version=1.30.0&new-version=1.31.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 achi
(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 b65e5dff3 chore: nightly automatic updates b65e5dff3 is described below commit b65e5dff36558ae27f8725873107afe9f05a181d Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Jan 17 23:46:12 2024 + chore: nightly automatic updates --- CHANGELOG.md | 3 ++- coverage.out | 20 ++-- pkg/resources/resources.go | 20 ++-- 3 files changed, 22 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d307c895..03d566c04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Ability to set different resources for jvm and native containers when both are used in the same Integration [\#5065](https://github.com/apache/camel-k/issues/5065) - Don't run dependabot on forked repos [\#5063](https://github.com/apache/camel-k/issues/5063) +- Operator 2.2.0 does not spawn builder pod with strategy: pod [\#5060](https://github.com/apache/camel-k/issues/5060) - Need to update CEQ service discovery setting for data type transformer [\#5047](https://github.com/apache/camel-k/issues/5047) - Nightly check against latest runtime failure [\#5042](https://github.com/apache/camel-k/issues/5042) - Provide a page linking to Camel DSLs [\#5037](https://github.com/apache/camel-k/issues/5037) @@ -22,6 +23,7 @@ **Merged pull requests:** +- fix\(crd\): Remove traits default values [\#5075](https://github.com/apache/camel-k/pull/5075) ([gansheer](https://github.com/gansheer)) - fix: broken link [\#5074](https://github.com/apache/camel-k/pull/5074) ([zregvart](https://github.com/zregvart)) - fix: use relative paths [\#5073](https://github.com/apache/camel-k/pull/5073) ([zregvart](https://github.com/zregvart)) - Update registry.adoc [\#5071](https://github.com/apache/camel-k/pull/5071) ([stefkiourk](https://github.com/stefkiourk)) @@ -212,7 +214,6 @@ - Knative installation procedure [\#4779](https://github.com/apache/camel-k/issues/4779) - Release 2.1.0 [\#4752](https://github.com/apache/camel-k/issues/4752) - \(Re\)Enable support for Kotlin DSL [\#4738](https://github.com/apache/camel-k/issues/4738) -- Provide default value in a specific field for trait properties in CRD [\#4726](https://github.com/apache/camel-k/issues/4726) - Pushing integration to EKS [\#4725](https://github.com/apache/camel-k/issues/4725) - Secure internal registry with private TLS certificate fails while pushing and pulling the kit [\#4724](https://github.com/apache/camel-k/issues/4724) - Helm installation procedure does not support Knative [\#4716](https://github.com/apache/camel-k/issues/4716) diff --git a/coverage.out b/coverage.out index b9d60e97a..5db8fdf24 100644 --- a/coverage.out +++ b/coverage.out @@ -31,16 +31,16 @@ github.com/apache/camel-k/v2/addons/strimzi/strimzi.go:136: ID 0.0% github.com/apache/camel-k/v2/addons/strimzi/strimzi.go:142: Translate 0.0% github.com/apache/camel-k/v2/addons/strimzi/strimzi.go:204: getBootstrapServers 0.0% github.com/apache/camel-k/v2/addons/strimzi/strimzi.go:225: Order 0.0% -github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:87: NewTelemetryTrait 100.0% -github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:93: Configure 47.4% -github.com/apache/camel-k/v2/addons/telemetry/telemetry.go:132: Apply 94.7% -github.com/apache/camel-k/v2/addons/threescale/3scale.go:88: NewThreeScaleTrait 100.0% -github.com/apache/camel-k/v2/addons/threescale/3scale.go:94: Configure 93.3% -github.com/apache/camel-k/v2/addons/threescale/3scale.go:121: Apply 100.0% -github.com/apache/camel-k/v2/addons/threescale/3scale.go:128: addLabelsAndAnnotations 90.9% -github.com/apache/camel-k/v2/addons/tracing/tracing.go:86:
(camel) branch regen_bot updated (017a491a9dc -> 0e51416db9d)
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 017a491a9dc CAMEL-20340: camel-jbang - camel dependency list throws Exception for dataformats add 0e51416db9d Add known spring rabbitmq CF to camel-jbang No new revisions were added by this update. Summary of changes: .../src/main/resources/camel-main-known-dependencies.properties | 1 + 1 file changed, 1 insertion(+)
(camel) branch main updated: Add known spring rabbitmq CF to camel-jbang
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 0e51416db9d Add known spring rabbitmq CF to camel-jbang 0e51416db9d is described below commit 0e51416db9d5eedb0d1820a73321d3764b56748a Author: Claus Ibsen AuthorDate: Wed Jan 17 21:39:39 2024 +0100 Add known spring rabbitmq CF to camel-jbang --- .../src/main/resources/camel-main-known-dependencies.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties b/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties index fb2addef0ea..f11f5cd3bc6 100644 --- a/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties +++ b/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties @@ -19,6 +19,7 @@ com.amazon.redshift.jdbc.Driver = com.amazon.redshift:redshift-jdbc42:2.1.0.24 com.microsoft.sqlserver.jdbc.SQLServerDriver = com.microsoft.sqlserver:mssql-jdbc:11.2.3.jre17 com.mysql.cj.jdbc.Driver = mysql:mysql-connector-java:8.0.33 net.sf.saxon.xpath.XPathFactoryImpl = camel:saxon +org.springframework.amqp.rabbit.connection.CachingConnectionFactory = camel:spring-rabbitmq org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory = org.apache.activemq:artemis-jakarta-client-all:2.31.2 org.messaginghub.pooled.jms.JmsPoolConnectionFactory = org.messaginghub:pooled-jms:3.1.5 org.apache.commons.dbcp2.BasicDataSource = org.apache.commons:commons-dbcp2:2.11.0
(camel) branch regen_bot updated (7a3c4f86200 -> 017a491a9dc)
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 7a3c4f86200 CAMEL-20339: Added unit test for saga eip problem in YAML DSL add 017a491a9dc CAMEL-20340: camel-jbang - camel dependency list throws Exception for dataformats No new revisions were added by this update. Summary of changes: .../src/main/java/org/apache/camel/main/stub/StubDataFormat.java | 9 - 1 file changed, 8 insertions(+), 1 deletion(-)
(camel) branch main updated: CAMEL-20340: camel-jbang - camel dependency list throws Exception for dataformats
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 017a491a9dc CAMEL-20340: camel-jbang - camel dependency list throws Exception for dataformats 017a491a9dc is described below commit 017a491a9dc4af3404d2eafcc8e7317f1b685779 Author: Claus Ibsen AuthorDate: Wed Jan 17 21:28:06 2024 +0100 CAMEL-20340: camel-jbang - camel dependency list throws Exception for dataformats --- .../src/main/java/org/apache/camel/main/stub/StubDataFormat.java | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/stub/StubDataFormat.java b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/stub/StubDataFormat.java index d4f60f57318..eb1439ac70b 100644 --- a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/stub/StubDataFormat.java +++ b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/stub/StubDataFormat.java @@ -21,12 +21,14 @@ import java.io.OutputStream; import org.apache.camel.Exchange; import org.apache.camel.spi.DataFormat; +import org.apache.camel.spi.PropertyConfigurer; +import org.apache.camel.spi.PropertyConfigurerAware; import org.apache.camel.support.service.ServiceSupport; /** * A data format that does nothing */ -public class StubDataFormat extends ServiceSupport implements DataFormat { +public class StubDataFormat extends ServiceSupport implements DataFormat, PropertyConfigurerAware { @Override public void marshal(Exchange exchange, Object graph, OutputStream stream) throws Exception { @@ -38,4 +40,9 @@ public class StubDataFormat extends ServiceSupport implements DataFormat { return null; } +@Override +public PropertyConfigurer getPropertyConfigurer(Object instance) { +// dummy configurer tha does nothing +return (camelContext, target, name, value, ignoreCase) -> true; +} }
(camel) branch regen_bot updated (2ff032238e6 -> 7a3c4f86200)
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 2ff032238e6 CAMEL-0: Code quality improvements and more test coverage. (#12798) add 3296ba847a4 CAMEL-20292 fixed inverted flags (#12822) add 7a3c4f86200 CAMEL-20339: Added unit test for saga eip problem in YAML DSL No new revisions were added by this update. Summary of changes: .../main/console/DependencyDownloaderConsole.java | 4 ++-- .../org/apache/camel/dsl/yaml/SagaTest.groovy | 25 ++ 2 files changed, 27 insertions(+), 2 deletions(-)
(camel) branch main updated: CAMEL-20339: Added unit test for saga eip problem in YAML DSL
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 7a3c4f86200 CAMEL-20339: Added unit test for saga eip problem in YAML DSL 7a3c4f86200 is described below commit 7a3c4f86200856aff412ba6e4c5ff48028b3bdff Author: Claus Ibsen AuthorDate: Wed Jan 17 21:15:40 2024 +0100 CAMEL-20339: Added unit test for saga eip problem in YAML DSL --- .../org/apache/camel/dsl/yaml/SagaTest.groovy | 25 ++ 1 file changed, 25 insertions(+) diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/SagaTest.groovy b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/SagaTest.groovy index 04564d43fa3..80a66d32320 100644 --- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/SagaTest.groovy +++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/SagaTest.groovy @@ -94,6 +94,31 @@ class SagaTest extends YamlTestSupport { simple: "${body}" - to: "mock:result" '''), +asResource('full-parameters-id', ''' +- from: +uri: "direct:start" +steps: + - saga: + propagation: "MANDATORY" + completionMode: "MANUAL" + compensation: + uri: "direct" + parameters: + name: compensation + completion: + uri: "direct:completion" + steps: + - to: "direct:something" + option: + - key: o1 + simple: "${body}" + - key: o2 + expression: + simple: + id: key2 + expression: "${body}" + - to: "mock:result" +'''), asResource('full-parameters-out-of-order)', ''' - from: uri: "direct:start"
Re: [I] The Apache Camel not being able to find the Kamelet with the ID jms-apache-artemis-source [camel-karavan]
davsclaus commented on issue #1042: URL: https://github.com/apache/camel-karavan/issues/1042#issuecomment-1896439879 Okay will be fixed in Camel 4.4 -- This is an automated message from the Apache Git Service. To respond to the message, please 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] Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: htm at org.apache.camel.impl.engine.DefaultRoutesLoader.findRoutesBuilde
davsclaus commented on issue #1048: URL: https://github.com/apache/camel-karavan/issues/1048#issuecomment-1896438936 Are you using Camel Karavan or is this general Camel on Spring Boot only ? -- This is an automated message from the Apache Git Service. To respond to the message, please 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-20292 fixed inverted flags (#12822)
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 3296ba847a4 CAMEL-20292 fixed inverted flags (#12822) 3296ba847a4 is described below commit 3296ba847a463ce89bf3396b58079ebbb3a9af09 Author: Dmitry Kryukov AuthorDate: Wed Jan 17 21:30:56 2024 +0300 CAMEL-20292 fixed inverted flags (#12822) --- .../org/apache/camel/main/console/DependencyDownloaderConsole.java| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/console/DependencyDownloaderConsole.java b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/console/DependencyDownloaderConsole.java index 3bae763696a..1b23c3ccd17 100644 --- a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/console/DependencyDownloaderConsole.java +++ b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/console/DependencyDownloaderConsole.java @@ -42,8 +42,8 @@ public class DependencyDownloaderConsole extends AbstractDevConsole { MavenDependencyDownloader downloader = getCamelContext().hasService(MavenDependencyDownloader.class); if (downloader != null) { sb.append("Offline: " + !downloader.isDownload()); -sb.append("\nFresh: " + !downloader.isFresh()); -sb.append("\nVerbose: " + !downloader.isVerbose()); +sb.append("\nFresh: " + downloader.isFresh()); +sb.append("\nVerbose: " + downloader.isVerbose()); if (downloader.getRepos() != null) { sb.append("\nExtra Repositories: " + downloader.getRepos()); }
Re: [PR] CAMEL-20292 fixed inverted flags [camel]
davsclaus merged PR #12822: URL: https://github.com/apache/camel/pull/12822 -- This is an automated message from the Apache Git Service. To respond to the message, please 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 when running saga with option [camel-karavan]
davsclaus commented on issue #1055: URL: https://github.com/apache/camel-karavan/issues/1055#issuecomment-1896399278 Thanks for reporting, its a bug in camel-yaml-dsl and not Karavan -- This is an automated message from the Apache Git Service. To respond to the message, please 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] React issues while building just fyi [camel-karavan]
gun2rin closed issue #1026: React issues while building just fyi URL: https://github.com/apache/camel-karavan/issues/1026 -- This is an automated message from the Apache Git Service. To respond to the message, please 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-20292 fixed inverted flags [camel]
dk2k opened a new pull request, #12822: URL: https://github.com/apache/camel/pull/12822 # Description Fixed 2 mistakenly inverted boolean flags -- This is an automated message from the Apache Git Service. To respond to the message, please 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 io.quarkiverse.amazonservices:quarkus-amazon-services-bom from 2.7.3 to 2.10.0 [camel-quarkus]
github-actions[bot] commented on PR #5647: URL: https://github.com/apache/camel-quarkus/pull/5647#issuecomment-1896099820 Branch auto synchronized due to changes in generated files. New workflow run triggered: https://github.com/apache/camel-quarkus/actions/runs/7558298023 -- This is an automated message from the Apache Git Service. To respond to the message, please 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/io.quarkiverse.amazonservices-quarkus-amazon-services-bom-2.10.0 updated (8cd503f79c -> d737c03754)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/io.quarkiverse.amazonservices-quarkus-amazon-services-bom-2.10.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git from 8cd503f79c Bump io.quarkiverse.amazonservices:quarkus-amazon-services-bom add d737c03754 Auto generated changes for dependabot commit 8cd503f79caf77479040741268072d876f9decae No new revisions were added by this update. Summary of changes: pom.xml|4 +- poms/bom/src/main/generated/flattened-full-pom.xml | 2471 ++-- .../src/main/generated/flattened-reduced-pom.xml | 98 +- .../generated/flattened-reduced-verbose-pom.xml| 282 +-- 4 files changed, 1430 insertions(+), 1425 deletions(-)
(camel-quarkus) branch dependabot/maven/io.quarkiverse.amazonservices-quarkus-amazon-services-bom-2.10.0 updated (9503096650 -> 8cd503f79c)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/io.quarkiverse.amazonservices-quarkus-amazon-services-bom-2.10.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git discard 9503096650 Auto generated changes for dependabot commit 28842833cc878f045b97e09ef01795bbbe6fcd52 discard 28842833cc Bump io.quarkiverse.amazonservices:quarkus-amazon-services-bom add 1861562580 Add option to skip sanity-checks script execution add 997c17b93a Regen SBOM from commit 1861562580677004650d1b5e5b0af4b566054cef (#5649) add 250b5a1315 Bump org.cyclonedx:cyclonedx-maven-plugin from 2.7.10 to 2.7.11 (#5652) add 5a956507b2 Upgrade Quarkus to 3.7.0.CR1 add d9e55920a5 Workaround openstack4j incompatibility with Jackson 2.16.x #5604 add 7300cc0d98 Workaround BigQuery & Apache Arrow Netty imcompatibilities #5641 add 56feb3a533 Revert "Set io.netty.tryReflectionSetAccessible=false for jfr & google-bigquery native modules #5603" add 934f31f0c4 Exclude redundant kubernetes-client dependencies add f6048c4c77 Enable TarfileTest after alignment of common-compress add 8cd503f79c Bump io.quarkiverse.amazonservices:quarkus-amazon-services-bom 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 (9503096650) \ N -- N -- N refs/heads/dependabot/maven/io.quarkiverse.amazonservices-quarkus-amazon-services-bom-2.10.0 (8cd503f79c) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: camel-quarkus-sbom/camel-quarkus-sbom.json | 1696 - camel-quarkus-sbom/camel-quarkus-sbom.xml | 700 -- docs/antora.yml|2 +- .../csimple/deployment/CSimpleProcessor.java |3 + .../src/main/java/io/netty/buffer/LargeBuffer.java | 19 +- .../io/netty/buffer/MutableWrappedByteBuf.java | 447 .../io/netty/buffer/PooledByteBufAllocatorL.java | 275 +++ .../io/netty/buffer/UnsafeDirectLittleEndian.java | 261 ++ extensions/jira/deployment/pom.xml |2 +- extensions/jira/runtime/pom.xml|2 +- .../dsl/jsh/deployment/JshDslProcessor.java| 12 +- .../dsl/kotlin/deployment/KotlinDslProcessor.java | 12 +- extensions/lra/deployment/pom.xml |2 +- extensions/lra/runtime/pom.xml |2 +- extensions/openstack/runtime/pom.xml | 11 + .../OSBadBooleanDeserializerSubstitutions.java | 87 + .../pgevent/deployment/PgeventProcessor.java |7 + integration-tests/camel-k-runtime/pom.xml |5 - .../src/main/resources/application.properties | 19 - integration-tests/jaxb/pom.xml |4 +- .../jfr/src/main/resources/application.properties |3 - integration-tests/kubernetes/pom.xml |5 - integration-tests/master-openshift/pom.xml | 24 +- integration-tests/tarfile/pom.xml |5 +- .../quarkus/component/tarfile/it/TarfileTest.java |2 - pom.xml| 20 +- poms/bom/pom.xml | 12 + poms/bom/src/main/generated/flattened-full-pom.xml | 2491 ++-- .../src/main/generated/flattened-reduced-pom.xml | 116 +- .../generated/flattened-reduced-verbose-pom.xml| 300 +-- tooling/scripts/sanity-checks.groovy |6 + 31 files changed, 4175 insertions(+), 2377 deletions(-) copy integration-test-groups/http/netty-http/src/main/java/org/apache/camel/quarkus/component/http/netty/auth/TestRolePrincipal.java => extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/LargeBuffer.java (69%) create mode 100644 extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/MutableWrappedByteBuf.java create mode 100644 extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java create mode 100644 extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/UnsafeDirectLittleEndian.java create mode 100644 extensions/openstack/runtime/src/main/java/org/apache/camel/quarkus/component/openstack/graal/OSBadBooleanDeserializerSubstitutions.java delete mode 100644 integration-tests/google-bigquery/src/main/resources/application.properties
Re: [I] BigQuery native compilation fails due to unresolved field io.netty.buffer.PoolArena.chunkSize [camel-quarkus]
jamesnetherton commented on issue #5641: URL: https://github.com/apache/camel-quarkus/issues/5641#issuecomment-1896084503 The workaround for now was to copy the updated Arrow Netty classes to the BigQuery extension. However, give the simple nature of the original fix: https://github.com/apache/arrow/commit/a4a3d3f4825eb025657121e70c9d86e8d6ecff35 I wonder if we could have a `BuildStep` to do some bytecode hackery and avoid having to carry the additional sources. It could even be activated conditionally based on the version of arrow that we detect. -- This is an automated message from the Apache Git Service. To respond to the message, please 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) 04/06: Revert "Set io.netty.tryReflectionSetAccessible=false for jfr & google-bigquery native modules #5603"
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 56feb3a533ba4778788c2739c8f136c5daf35e8f Author: James Netherton AuthorDate: Tue Jan 9 07:42:58 2024 + Revert "Set io.netty.tryReflectionSetAccessible=false for jfr & google-bigquery native modules #5603" This reverts commit fe111eebcb11d94695119c4f69870eff00cb9922. Fixes #5603 --- .../src/main/resources/application.properties | 19 --- .../jfr/src/main/resources/application.properties | 3 --- 2 files changed, 22 deletions(-) diff --git a/integration-tests/google-bigquery/src/main/resources/application.properties b/integration-tests/google-bigquery/src/main/resources/application.properties deleted file mode 100644 index ef07b35318..00 --- a/integration-tests/google-bigquery/src/main/resources/application.properties +++ /dev/null @@ -1,19 +0,0 @@ -## --- -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## --- - -# TODO: https://github.com/apache/camel-quarkus/issues/5603 -quarkus.native.additional-build-args=-Dio.netty.tryReflectionSetAccessible=false diff --git a/integration-tests/jfr/src/main/resources/application.properties b/integration-tests/jfr/src/main/resources/application.properties index 813280f78d..7805738045 100644 --- a/integration-tests/jfr/src/main/resources/application.properties +++ b/integration-tests/jfr/src/main/resources/application.properties @@ -17,6 +17,3 @@ # Must enable VM inspection for JFR in native mode quarkus.native.monitoring=jfr - -# TODO: https://github.com/apache/camel-quarkus/issues/5603 -quarkus.native.additional-build-args=-Dio.netty.tryReflectionSetAccessible=false
(camel-quarkus) 06/06: Enable TarfileTest after alignment of common-compress
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit f6048c4c77f50a301c7ced1688c916a517d5f787 Author: James Netherton AuthorDate: Wed Jan 17 13:48:44 2024 + Enable TarfileTest after alignment of common-compress Fixes #5538 --- integration-tests/tarfile/pom.xml| 5 ++--- .../org/apache/camel/quarkus/component/tarfile/it/TarfileTest.java | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/integration-tests/tarfile/pom.xml b/integration-tests/tarfile/pom.xml index 4a96572f44..fb2cd64898 100644 --- a/integration-tests/tarfile/pom.xml +++ b/integration-tests/tarfile/pom.xml @@ -59,8 +59,7 @@ - + virtualDependencies diff --git a/integration-tests/tarfile/src/test/java/org/apache/camel/quarkus/component/tarfile/it/TarfileTest.java b/integration-tests/tarfile/src/test/java/org/apache/camel/quarkus/component/tarfile/it/TarfileTest.java index e0b59408f8..aaa072c2b1 100644 --- a/integration-tests/tarfile/src/test/java/org/apache/camel/quarkus/component/tarfile/it/TarfileTest.java +++ b/integration-tests/tarfile/src/test/java/org/apache/camel/quarkus/component/tarfile/it/TarfileTest.java @@ -28,11 +28,9 @@ import org.apache.commons.compress.archivers.ArchiveStreamFactory; import org.apache.commons.compress.archivers.tar.TarArchiveEntry; import org.apache.commons.compress.archivers.tar.TarArchiveInputStream; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @QuarkusTest -@Disabled //https://github.com/apache/camel-quarkus/issues/5538 class TarfileTest { @Test
(camel-quarkus) branch main updated (250b5a1315 -> f6048c4c77)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git from 250b5a1315 Bump org.cyclonedx:cyclonedx-maven-plugin from 2.7.10 to 2.7.11 (#5652) new 5a956507b2 Upgrade Quarkus to 3.7.0.CR1 new d9e55920a5 Workaround openstack4j incompatibility with Jackson 2.16.x #5604 new 7300cc0d98 Workaround BigQuery & Apache Arrow Netty imcompatibilities #5641 new 56feb3a533 Revert "Set io.netty.tryReflectionSetAccessible=false for jfr & google-bigquery native modules #5603" new 934f31f0c4 Exclude redundant kubernetes-client dependencies new f6048c4c77 Enable TarfileTest after alignment of common-compress The 6 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: docs/antora.yml| 2 +- .../csimple/deployment/CSimpleProcessor.java | 3 + .../src/main/java/io/netty/buffer/LargeBuffer.java | 19 +- .../io/netty/buffer/MutableWrappedByteBuf.java | 447 + .../io/netty/buffer/PooledByteBufAllocatorL.java | 275 + .../io/netty/buffer/UnsafeDirectLittleEndian.java | 261 extensions/jira/deployment/pom.xml | 2 +- extensions/jira/runtime/pom.xml| 2 +- .../dsl/jsh/deployment/JshDslProcessor.java| 12 +- .../dsl/kotlin/deployment/KotlinDslProcessor.java | 12 +- extensions/lra/deployment/pom.xml | 2 +- extensions/lra/runtime/pom.xml | 2 +- extensions/openstack/runtime/pom.xml | 11 + .../OSBadBooleanDeserializerSubstitutions.java | 87 .../pgevent/deployment/PgeventProcessor.java | 7 + integration-tests/camel-k-runtime/pom.xml | 5 - .../src/main/resources/application.properties | 19 - integration-tests/jaxb/pom.xml | 4 +- .../jfr/src/main/resources/application.properties | 3 - integration-tests/kubernetes/pom.xml | 5 - integration-tests/master-openshift/pom.xml | 24 +- integration-tests/tarfile/pom.xml | 5 +- .../quarkus/component/tarfile/it/TarfileTest.java | 2 - pom.xml| 14 +- poms/bom/pom.xml | 12 + poms/bom/src/main/generated/flattened-full-pom.xml | 20 +- .../src/main/generated/flattened-reduced-pom.xml | 18 +- .../generated/flattened-reduced-verbose-pom.xml| 18 +- 28 files changed, 1209 insertions(+), 84 deletions(-) copy integration-test-groups/http/netty-http/src/main/java/org/apache/camel/quarkus/component/http/netty/auth/TestRolePrincipal.java => extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/LargeBuffer.java (69%) create mode 100644 extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/MutableWrappedByteBuf.java create mode 100644 extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java create mode 100644 extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/UnsafeDirectLittleEndian.java create mode 100644 extensions/openstack/runtime/src/main/java/org/apache/camel/quarkus/component/openstack/graal/OSBadBooleanDeserializerSubstitutions.java delete mode 100644 integration-tests/google-bigquery/src/main/resources/application.properties
Re: [PR] Upgrade Quarkus to 3.7.0.CR1 [camel-quarkus]
jamesnetherton merged PR #5653: URL: https://github.com/apache/camel-quarkus/pull/5653 -- This is an automated message from the Apache Git Service. To respond to the message, please 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) 05/06: Exclude redundant kubernetes-client dependencies
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 934f31f0c4027b394ce728ba8f4e169bb9e69bbd Author: James Netherton AuthorDate: Tue Jan 9 08:16:16 2024 + Exclude redundant kubernetes-client dependencies Fixes #5515 --- integration-tests/camel-k-runtime/pom.xml | 5 - integration-tests/kubernetes/pom.xml | 5 - integration-tests/master-openshift/pom.xml | 24 -- poms/bom/pom.xml | 12 +++ poms/bom/src/main/generated/flattened-full-pom.xml | 12 +++ .../src/main/generated/flattened-reduced-pom.xml | 12 +++ .../generated/flattened-reduced-verbose-pom.xml| 12 +++ 7 files changed, 66 insertions(+), 16 deletions(-) diff --git a/integration-tests/camel-k-runtime/pom.xml b/integration-tests/camel-k-runtime/pom.xml index fadacdd0fc..c64174cb5e 100644 --- a/integration-tests/camel-k-runtime/pom.xml +++ b/integration-tests/camel-k-runtime/pom.xml @@ -30,11 +30,6 @@ Camel Quarkus :: Integration Tests :: Camel K Runtime Integration tests for Camel Quarkus K Runtime extension - - -true - - org.apache.camel.quarkus diff --git a/integration-tests/kubernetes/pom.xml b/integration-tests/kubernetes/pom.xml index 0b9cdc892f..73b2bf3383 100644 --- a/integration-tests/kubernetes/pom.xml +++ b/integration-tests/kubernetes/pom.xml @@ -30,11 +30,6 @@ Camel Quarkus :: Integration Tests :: Kubernetes Integration tests for Camel Quarkus Kubernetes extension - - -true - - org.apache.camel.quarkus diff --git a/integration-tests/master-openshift/pom.xml b/integration-tests/master-openshift/pom.xml index 3bb0e84ac1..87b18901b7 100644 --- a/integration-tests/master-openshift/pom.xml +++ b/integration-tests/master-openshift/pom.xml @@ -30,12 +30,6 @@ Camel Quarkus :: Integration Tests :: Master With OpenShift Integration tests for Camel Quarkus Master extension with OpenShift - - ${project.build.directory}/quarkus-app/quarkus-run.jar - -true - - org.apache.camel.quarkus @@ -68,6 +62,24 @@ io.quarkus quarkus-openshift-client + + +io.fabric8 +kubernetes-httpclient-okhttp + + +io.fabric8 +openshift-model-hive + + +io.fabric8 +openshift-model-miscellaneous + + +io.fabric8 +openshift-model-operator + + diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 33e2389153..552e0d0a46 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -1679,6 +1679,18 @@ io.fabric8 kubernetes-httpclient-okhttp + +io.fabric8 +openshift-model-hive + + +io.fabric8 +openshift-model-miscellaneous + + +io.fabric8 +openshift-model-operator + diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml b/poms/bom/src/main/generated/flattened-full-pom.xml index 03b25efc45..9b41ce09f3 100644 --- a/poms/bom/src/main/generated/flattened-full-pom.xml +++ b/poms/bom/src/main/generated/flattened-full-pom.xml @@ -1617,6 +1617,18 @@ io.fabric8 kubernetes-httpclient-okhttp + +io.fabric8 +openshift-model-hive + + +io.fabric8 +openshift-model-miscellaneous + + +io.fabric8 +openshift-model-operator + diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml b/poms/bom/src/main/generated/flattened-reduced-pom.xml index 011ec2dabf..c3f4391b4f 100644 --- a/poms/bom/src/main/generated/flattened-reduced-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml @@ -1617,6 +1617,18 @@ io.fabric8 kubernetes-httpclient-okhttp + +io.fabric8 +openshift-model-hive + + +io.fabric8 +openshift-model-miscellaneous + + +io.fabric8 +openshift-model-operator +
(camel-quarkus) 03/06: Workaround BigQuery & Apache Arrow Netty imcompatibilities #5641
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 7300cc0d98df87d639c6706ac8e40dcbbc896973 Author: James Netherton AuthorDate: Mon Jan 8 14:37:02 2024 + Workaround BigQuery & Apache Arrow Netty imcompatibilities #5641 --- .../src/main/java/io/netty/buffer/LargeBuffer.java | 34 ++ .../io/netty/buffer/MutableWrappedByteBuf.java | 447 + .../io/netty/buffer/PooledByteBufAllocatorL.java | 275 + .../io/netty/buffer/UnsafeDirectLittleEndian.java | 261 4 files changed, 1017 insertions(+) diff --git a/extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/LargeBuffer.java b/extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/LargeBuffer.java new file mode 100644 index 00..306ce49433 --- /dev/null +++ b/extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/LargeBuffer.java @@ -0,0 +1,34 @@ +/* + * 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 io.netty.buffer; + +/** + * A MutableWrappedByteBuf that also maintains a metric of the number of huge buffer bytes and + * counts. + */ +public class LargeBuffer extends MutableWrappedByteBuf { + +public LargeBuffer(ByteBuf buffer) { +super(buffer); +} + +@Override +public ByteBuf copy(int index, int length) { +return new LargeBuffer(buffer.copy(index, length)); +} +} diff --git a/extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/MutableWrappedByteBuf.java b/extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/MutableWrappedByteBuf.java new file mode 100644 index 00..005a049f86 --- /dev/null +++ b/extensions/google-bigquery/runtime/src/main/java/io/netty/buffer/MutableWrappedByteBuf.java @@ -0,0 +1,447 @@ +/* + * 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 io.netty.buffer; + +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.nio.ByteBuffer; +import java.nio.ByteOrder; +import java.nio.channels.FileChannel; +import java.nio.channels.GatheringByteChannel; +import java.nio.channels.ScatteringByteChannel; + +import io.netty.util.ByteProcessor; + +/** + * This is basically a complete copy of netty's DuplicatedByteBuf. We copy because we want to override + * some behaviors and make buffer mutable. + */ +abstract class MutableWrappedByteBuf extends AbstractByteBuf { + +ByteBuf buffer; + +public MutableWrappedByteBuf(ByteBuf buffer) { +super(buffer.maxCapacity()); + +if (buffer instanceof MutableWrappedByteBuf) { +this.buffer = ((MutableWrappedByteBuf) buffer).buffer; +} else { +this.buffer = buffer; +} + +setIndex(buffer.readerIndex(), buffer.writerIndex()); +} + +@Override +public ByteBuffer nioBuffer(int index, int length) { +return unwrap().nioBuffer(index, length); +} + +@Override +public ByteBuf unwrap() { +return buffer; +} + +@Override +public ByteBufAllocator alloc() { +return buffer.alloc(); +} + +@Override +public ByteOrder order() { +return buffer.order(); +} + +@Override +public boolean isDirect() { +return buffer.isDirect(); +} + +@Override +public int capacity() { +return buffer.cap
(camel-quarkus) 02/06: Workaround openstack4j incompatibility with Jackson 2.16.x #5604
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit d9e55920a5592c81bf4796eb5eaf1862bdf8177a Author: James Netherton AuthorDate: Mon Dec 11 08:53:29 2023 + Workaround openstack4j incompatibility with Jackson 2.16.x #5604 --- extensions/openstack/runtime/pom.xml | 11 +++ .../OSBadBooleanDeserializerSubstitutions.java | 87 ++ 2 files changed, 98 insertions(+) diff --git a/extensions/openstack/runtime/pom.xml b/extensions/openstack/runtime/pom.xml index f8f4521943..4d3411bfd6 100644 --- a/extensions/openstack/runtime/pom.xml +++ b/extensions/openstack/runtime/pom.xml @@ -52,6 +52,17 @@ io.quarkus quarkus-jackson + + +com.fasterxml.jackson.core +jackson-databind +provided + + +org.graalvm.sdk +graal-sdk +provided + diff --git a/extensions/openstack/runtime/src/main/java/org/apache/camel/quarkus/component/openstack/graal/OSBadBooleanDeserializerSubstitutions.java b/extensions/openstack/runtime/src/main/java/org/apache/camel/quarkus/component/openstack/graal/OSBadBooleanDeserializerSubstitutions.java new file mode 100644 index 00..7d7ef1ba62 --- /dev/null +++ b/extensions/openstack/runtime/src/main/java/org/apache/camel/quarkus/component/openstack/graal/OSBadBooleanDeserializerSubstitutions.java @@ -0,0 +1,87 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.component.openstack.graal; + +import java.io.IOException; + +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.util.ClassUtil; +import com.oracle.svm.core.annotate.Alias; +import com.oracle.svm.core.annotate.Substitute; +import com.oracle.svm.core.annotate.TargetClass; +import org.openstack4j.core.transport.internal.OSBadBooleanDeserializer; + +/** + * TODO: Remove this https://github.com/apache/camel-quarkus/issues/5604 + * + * Mostly a replica of the original OSBadBooleanDeserializer.deserialize but with references to + * deprecated & removed Jackson methods replaced. + */ +@TargetClass(OSBadBooleanDeserializer.class) +final class OSBadBooleanDeserializerSubstitutions { + +@Substitute +public Boolean deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { +JsonToken t = jp.getCurrentToken(); +if (t == JsonToken.VALUE_TRUE) { +return Boolean.TRUE; +} +if (t == JsonToken.VALUE_FALSE) { +return Boolean.FALSE; +} +// [JACKSON-78]: should accept ints too, (0 == false, otherwise true) +if (t == JsonToken.VALUE_NUMBER_INT) { +// 11-Jan-2012, tatus: May be outside of int... +if (jp.getNumberType() == JsonParser.NumberType.INT) { +return (jp.getIntValue() == 0) ? Boolean.FALSE : Boolean.TRUE; +} +return Boolean.valueOf(_parseBooleanFromNumber(jp, ctxt)); +} +if (t == JsonToken.VALUE_NULL) { +return null; +} +// And finally, let's allow Strings to be converted too +if (t == JsonToken.VALUE_STRING) { +String text = jp.getText().trim(); +if ("true".equalsIgnoreCase(text)) { +return Boolean.TRUE; +} +if ("false".equalsIgnoreCase(text)) { +return Boolean.FALSE; +} +if (text.length() == 0) { +return null; +} +throw ctxt.weirdStringException(text, Boolean.class, "only \"true\" or \"false\" recognized"); +} + +ctxt.handleUnexpectedToken(Boolean.class, ctxt.getParser()); +// Otherwise, no can do: +throw JsonMappingException.from(ctxt.getParser(
Re: [I] Native build runs out of memory on GitHub actions when io.fabric8:openshift-client is on the classpath [camel-quarkus]
jamesnetherton closed issue #5515: Native build runs out of memory on GitHub actions when io.fabric8:openshift-client is on the classpath URL: https://github.com/apache/camel-quarkus/issues/5515 -- This is an automated message from the Apache Git Service. To respond to the message, please 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] [quarkus-main] Tarfile enable tests when common-compress 1.25.0 is consumed from Quarkus [camel-quarkus]
jamesnetherton closed issue #5538: [quarkus-main] Tarfile enable tests when common-compress 1.25.0 is consumed from Quarkus URL: https://github.com/apache/camel-quarkus/issues/5538 -- This is an automated message from the Apache Git Service. To respond to the message, please 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/06: Upgrade Quarkus to 3.7.0.CR1
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 5a956507b2a78c611cfc8dbb8f396806b32e3244 Author: James Netherton AuthorDate: Fri Nov 24 11:19:53 2023 + Upgrade Quarkus to 3.7.0.CR1 --- docs/antora.yml| 2 +- .../component/csimple/deployment/CSimpleProcessor.java | 3 +++ extensions/jira/deployment/pom.xml | 2 +- extensions/jira/runtime/pom.xml| 2 +- .../camel/quarkus/dsl/jsh/deployment/JshDslProcessor.java | 12 .../quarkus/dsl/kotlin/deployment/KotlinDslProcessor.java | 12 extensions/lra/deployment/pom.xml | 2 +- extensions/lra/runtime/pom.xml | 2 +- .../component/pgevent/deployment/PgeventProcessor.java | 7 +++ integration-tests/jaxb/pom.xml | 4 ++-- pom.xml| 14 +++--- poms/bom/src/main/generated/flattened-full-pom.xml | 8 poms/bom/src/main/generated/flattened-reduced-pom.xml | 6 +++--- .../src/main/generated/flattened-reduced-verbose-pom.xml | 6 +++--- 14 files changed, 50 insertions(+), 32 deletions(-) diff --git a/docs/antora.yml b/docs/antora.yml index 8a449be96e..d61d512f4c 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -31,7 +31,7 @@ asciidoc: camel-version: 4.3.0 # replace ${camel.version} camel-docs-version: next camel-quarkus-version: 3.7.0 # replace ${camel-quarkus.version} -quarkus-version: 3.6.4 # replace ${quarkus.version} +quarkus-version: 3.7.0.CR1 # replace ${quarkus.version} graalvm-version: 23.0.1 # replace ${graalvm.version} graalvm-docs-version: jdk21 # replace ${graalvm-docs.version} mapstruct-version: 1.5.5.Final # replace ${mapstruct.version} diff --git a/extensions/csimple/deployment/src/main/java/org/apache/camel/quarkus/component/csimple/deployment/CSimpleProcessor.java b/extensions/csimple/deployment/src/main/java/org/apache/camel/quarkus/component/csimple/deployment/CSimpleProcessor.java index f680a9378d..49b43a7d5e 100644 --- a/extensions/csimple/deployment/src/main/java/org/apache/camel/quarkus/component/csimple/deployment/CSimpleProcessor.java +++ b/extensions/csimple/deployment/src/main/java/org/apache/camel/quarkus/component/csimple/deployment/CSimpleProcessor.java @@ -269,6 +269,9 @@ class CSimpleProcessor { "11", Collections.emptyList(), Collections.emptyList(), +null, +Collections.emptySet(), +Collections.emptyList(), null); } diff --git a/extensions/jira/deployment/pom.xml b/extensions/jira/deployment/pom.xml index 6bcb39d594..7b77e2c475 100644 --- a/extensions/jira/deployment/pom.xml +++ b/extensions/jira/deployment/pom.xml @@ -48,7 +48,7 @@ io.quarkus -quarkus-rest-client-deployment +quarkus-resteasy-client-deployment org.eclipse.transformer diff --git a/extensions/jira/runtime/pom.xml b/extensions/jira/runtime/pom.xml index 3e87baf1af..1442d9bbbd 100644 --- a/extensions/jira/runtime/pom.xml +++ b/extensions/jira/runtime/pom.xml @@ -89,7 +89,7 @@ io.quarkus -quarkus-rest-client +quarkus-resteasy-client diff --git a/extensions/jsh-dsl/deployment/src/main/java/org/apache/camel/quarkus/dsl/jsh/deployment/JshDslProcessor.java b/extensions/jsh-dsl/deployment/src/main/java/org/apache/camel/quarkus/dsl/jsh/deployment/JshDslProcessor.java index 44ebf785be..060ee396c2 100644 --- a/extensions/jsh-dsl/deployment/src/main/java/org/apache/camel/quarkus/dsl/jsh/deployment/JshDslProcessor.java +++ b/extensions/jsh-dsl/deployment/src/main/java/org/apache/camel/quarkus/dsl/jsh/deployment/JshDslProcessor.java @@ -24,6 +24,7 @@ import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; +import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -125,17 +126,20 @@ class JshDslProcessor { .map(Path::toFile) .filter(f -> f.getName().endsWith(".jar")) .collect(Collectors.toSet()), -Set.of(), +Collections.emptySet(), projectDir.toFile(), generatedSourceDir.toFile(), classesDir.toFile(), StandardCharsets.UTF_8.name(), -Map.of(), +Collections.emptyMap(), null, null, null, -List.of(), -List.of(),
Re: [I] [quarkus-main] Remove JFR & BigQuery Netty tryReflectionSetAccessible native workaround from application.properties [camel-quarkus]
jamesnetherton closed issue #5603: [quarkus-main] Remove JFR & BigQuery Netty tryReflectionSetAccessible native workaround from application.properties URL: https://github.com/apache/camel-quarkus/issues/5603 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] fix binary operator match problem [camel]
davsclaus commented on PR #12821: URL: https://github.com/apache/camel/pull/12821#issuecomment-1896072788 tests are in core/camel-core -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] fix binary operator match problem [camel]
EvanMi commented on PR #12821: URL: https://github.com/apache/camel/pull/12821#issuecomment-1896058033 > Can you avoid adding new JAR for testing, and also the big test class avoid implementing an empty dummy camel context extension. Any advice ? there has no test in this modual, so i import juit. And to avoid import other modual, i create the dummy camel context. So, if move the testcase to other modual to avoid this? any suggested modual? -- This is an automated message from the Apache Git Service. To respond to the message, please 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] Variables - test coverage [camel-quarkus]
JiriOndrusek commented on code in PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#discussion_r1455842408 ## integration-test-groups/foundation/variables/src/main/java/org/apache/camel/quarkus/variables/it/VariablesResource.java: ## @@ -0,0 +1,195 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.variables.it; + +import java.util.List; + +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.core.Response; +import org.apache.camel.CamelContext; +import org.apache.camel.Exchange; +import org.apache.camel.FluentProducerTemplate; +import org.apache.camel.ProducerTemplate; +import org.apache.camel.component.mock.MockEndpoint; + +@Path("/variables") +@ApplicationScoped +public class VariablesResource { + +@Inject +ProducerTemplate producerTemplate; + +@Inject +FluentProducerTemplate fluentProducerTemplate; + +@Inject +CamelContext context; + +@Path("/setLocalVariable") +@POST +public String setLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:setLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); +end.expectedVariableReceived(VariablesRoutes.VARIABLE_NAME, VariablesRoutes.VARIABLE_VALUE); + +producerTemplate.requestBody("direct:setLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +return exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/setGlobalVariable") +@POST +public Response setGlobalVariable(String body) throws Exception { +if (context.getVariable(VariablesRoutes.VARIABLE_NAME) != null) { +return Response.status(500).entity(String.format("Variable '%s' has to be null before sending message to the rout.", +VariablesRoutes.VARIABLE_VALUE)).build(); +} +; + +MockEndpoint end = context.getEndpoint("mock:setGlobalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +producerTemplate.requestBody("direct:setGlobalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +String resp = exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ context.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +return Response.ok().entity(resp).build(); +} + +@Path("/removeLocalVariable") +@POST +public String removeLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:removeLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +MockEndpoint mid = context.getEndpoint("mock:removeLocalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +producerTemplate.requestBody("direct:removeLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); +mid.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange endExchange = exchanges.get(0); +exchanges = mid.getExchanges(); +Exchange midExchange = exchanges.get(0); + +return midExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ endExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/removeGlobalVariable") +@POST +public String removeGlobalVariable(String body) throws Exception { +MockEndpoint mid = context.getEndpoint("mock:removeGlobalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +
Re: [PR] Variables - test coverage [camel-quarkus]
JiriOndrusek commented on PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#issuecomment-1896031304 > Looks pretty decent @JiriOndrusek > > Concerning mock.reset(), I would vote to find another way if possible. If too difficult, maybe we just add a comment to have context in case the test is proven to be flaky on ci one day. I removed mock.reset by joining 2 rest calls into 1 test method, which ensures order, therefore no `reset()` is required. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Variables - test coverage [camel-quarkus]
aldettinger commented on code in PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#discussion_r1455817968 ## integration-test-groups/foundation/variables/src/main/java/org/apache/camel/quarkus/variables/it/VariablesResource.java: ## @@ -0,0 +1,195 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.variables.it; + +import java.util.List; + +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.core.Response; +import org.apache.camel.CamelContext; +import org.apache.camel.Exchange; +import org.apache.camel.FluentProducerTemplate; +import org.apache.camel.ProducerTemplate; +import org.apache.camel.component.mock.MockEndpoint; + +@Path("/variables") +@ApplicationScoped +public class VariablesResource { + +@Inject +ProducerTemplate producerTemplate; + +@Inject +FluentProducerTemplate fluentProducerTemplate; + +@Inject +CamelContext context; + +@Path("/setLocalVariable") +@POST +public String setLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:setLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); +end.expectedVariableReceived(VariablesRoutes.VARIABLE_NAME, VariablesRoutes.VARIABLE_VALUE); + +producerTemplate.requestBody("direct:setLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +return exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/setGlobalVariable") +@POST +public Response setGlobalVariable(String body) throws Exception { +if (context.getVariable(VariablesRoutes.VARIABLE_NAME) != null) { +return Response.status(500).entity(String.format("Variable '%s' has to be null before sending message to the rout.", +VariablesRoutes.VARIABLE_VALUE)).build(); +} +; + +MockEndpoint end = context.getEndpoint("mock:setGlobalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +producerTemplate.requestBody("direct:setGlobalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +String resp = exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ context.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +return Response.ok().entity(resp).build(); +} + +@Path("/removeLocalVariable") +@POST +public String removeLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:removeLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +MockEndpoint mid = context.getEndpoint("mock:removeLocalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +producerTemplate.requestBody("direct:removeLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); +mid.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange endExchange = exchanges.get(0); +exchanges = mid.getExchanges(); +Exchange midExchange = exchanges.get(0); + +return midExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ endExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/removeGlobalVariable") +@POST +public String removeGlobalVariable(String body) throws Exception { +MockEndpoint mid = context.getEndpoint("mock:removeGlobalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +
Re: [PR] Variables - test coverage [camel-quarkus]
JiriOndrusek commented on code in PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#discussion_r1455813013 ## integration-test-groups/foundation/variables/src/test/java/org/apache/camel/quarkus/variables/it/CustomRepositoryVariablesTest.java: ## @@ -0,0 +1,59 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.variables.it; + +import java.util.Collections; +import java.util.Set; + +import io.quarkus.test.junit.QuarkusTest; +import io.quarkus.test.junit.QuarkusTestProfile; +import io.quarkus.test.junit.TestProfile; +import io.restassured.RestAssured; +import io.restassured.http.ContentType; +import org.hamcrest.Matchers; +import org.junit.jupiter.api.Test; + +/** + * Test is executed in JVM mode only because the profile enabling customVariableRepositoty can not be enabled for Review Comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch regen_bot updated (8232b52fa89 -> 2ff032238e6)
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 8232b52fa89 CAMEL-16064: preliminary refactoring of camel-kafka (#12820) add 2ff032238e6 CAMEL-0: Code quality improvements and more test coverage. (#12798) No new revisions were added by this update. Summary of changes: ...ynamicRouterControlChannelSendDynamicAware.java | 4 - .../control/DynamicRouterControlComponent.java | 38 +- .../control/DynamicRouterControlConfiguration.java | 5 +- .../control/DynamicRouterControlConstants.java | 6 - .../control/DynamicRouterControlEndpoint.java | 95 +++-- .../control/DynamicRouterControlMessage.java | 28 +- .../control/DynamicRouterControlProducer.java | 3 + .../control/DynamicRouterControlService.java | 4 +- .../filter/DynamicRouterFilterService.java | 12 +- .../dynamicrouter/filter/PrioritizedFilter.java| 5 + .../filter/PrioritizedFilterStatistics.java| 55 +++ .../routing/DynamicRouterComponent.java| 18 +- .../routing/DynamicRouterConfiguration.java| 160 .../routing/DynamicRouterConstants.java| 8 + .../routing/DynamicRouterEndpoint.java | 20 +- .../routing/DynamicRouterProcessor.java| 25 +- .../routing/DynamicRouterRecipientListHelper.java | 94 +++-- ...icRouterControlChannelSendDynamicAwareTest.java | 33 ++ .../control/DynamicRouterControlComponentTest.java | 8 +- .../control/DynamicRouterControlEndpointTest.java | 8 +- .../control/DynamicRouterControlProducerTest.java | 123 +- .../control/DynamicRouterControlServiceTest.java | 11 +- .../filter/DynamicRouterFilterServiceTest.java | 68 ++- .../routing/DynamicRouterComponentTest.java| 14 +- .../routing/DynamicRouterEndpointTest.java | 24 +- .../routing/DynamicRouterProcessorTest.java| 11 +- .../DynamicRouterRecipientListHelperTest.java | 457 + .../integration/DynamicRouterJmxIT-context.xml | 6 + 28 files changed, 1172 insertions(+), 171 deletions(-) create mode 100644 components/camel-dynamic-router/src/test/java/org/apache/camel/component/dynamicrouter/routing/DynamicRouterRecipientListHelperTest.java
Re: [PR] Variables - test coverage [camel-quarkus]
JiriOndrusek commented on code in PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#discussion_r1455802136 ## integration-test-groups/foundation/variables/src/main/java/org/apache/camel/quarkus/variables/it/VariablesResource.java: ## @@ -0,0 +1,195 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.variables.it; + +import java.util.List; + +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.core.Response; +import org.apache.camel.CamelContext; +import org.apache.camel.Exchange; +import org.apache.camel.FluentProducerTemplate; +import org.apache.camel.ProducerTemplate; +import org.apache.camel.component.mock.MockEndpoint; + +@Path("/variables") +@ApplicationScoped +public class VariablesResource { + +@Inject +ProducerTemplate producerTemplate; + +@Inject +FluentProducerTemplate fluentProducerTemplate; + +@Inject +CamelContext context; + +@Path("/setLocalVariable") +@POST +public String setLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:setLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); +end.expectedVariableReceived(VariablesRoutes.VARIABLE_NAME, VariablesRoutes.VARIABLE_VALUE); + +producerTemplate.requestBody("direct:setLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +return exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/setGlobalVariable") +@POST +public Response setGlobalVariable(String body) throws Exception { +if (context.getVariable(VariablesRoutes.VARIABLE_NAME) != null) { +return Response.status(500).entity(String.format("Variable '%s' has to be null before sending message to the rout.", +VariablesRoutes.VARIABLE_VALUE)).build(); +} +; + +MockEndpoint end = context.getEndpoint("mock:setGlobalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +producerTemplate.requestBody("direct:setGlobalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +String resp = exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ context.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +return Response.ok().entity(resp).build(); +} + +@Path("/removeLocalVariable") +@POST +public String removeLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:removeLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +MockEndpoint mid = context.getEndpoint("mock:removeLocalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +producerTemplate.requestBody("direct:removeLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); +mid.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange endExchange = exchanges.get(0); +exchanges = mid.getExchanges(); +Exchange midExchange = exchanges.get(0); + +return midExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ endExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/removeGlobalVariable") +@POST +public String removeGlobalVariable(String body) throws Exception { +MockEndpoint mid = context.getEndpoint("mock:removeGlobalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +
Re: [PR] Variables - test coverage [camel-quarkus]
aldettinger commented on code in PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#discussion_r1455799125 ## integration-test-groups/foundation/variables/src/test/java/org/apache/camel/quarkus/variables/it/CustomRepositoryVariablesTest.java: ## @@ -0,0 +1,59 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.variables.it; + +import java.util.Collections; +import java.util.Set; + +import io.quarkus.test.junit.QuarkusTest; +import io.quarkus.test.junit.QuarkusTestProfile; +import io.quarkus.test.junit.TestProfile; +import io.restassured.RestAssured; +import io.restassured.http.ContentType; +import org.hamcrest.Matchers; +import org.junit.jupiter.api.Test; + +/** + * Test is executed in JVM mode only because the profile enabling customVariableRepositoty can not be enabled for + * this class in the native (and stay disabled for the other test class). + * I think that it is not necessary to create a module for this test only, because it uses code tested by other tests Review Comment: A whole module for test only seems overkill to me too at least. -- This is an automated message from the Apache Git Service. To respond to the message, please 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-00000: Code quality improvements and more test coverage. (#12798)
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 2ff032238e6 CAMEL-0: Code quality improvements and more test coverage. (#12798) 2ff032238e6 is described below commit 2ff032238e611aec390d54199a30fc0eb1f4a0eb Author: Steve Storck AuthorDate: Wed Jan 17 10:02:16 2024 -0500 CAMEL-0: Code quality improvements and more test coverage. (#12798) --- ...ynamicRouterControlChannelSendDynamicAware.java | 4 - .../control/DynamicRouterControlComponent.java | 38 +- .../control/DynamicRouterControlConfiguration.java | 5 +- .../control/DynamicRouterControlConstants.java | 6 - .../control/DynamicRouterControlEndpoint.java | 95 +++-- .../control/DynamicRouterControlMessage.java | 28 +- .../control/DynamicRouterControlProducer.java | 3 + .../control/DynamicRouterControlService.java | 4 +- .../filter/DynamicRouterFilterService.java | 12 +- .../dynamicrouter/filter/PrioritizedFilter.java| 5 + .../filter/PrioritizedFilterStatistics.java| 55 +++ .../routing/DynamicRouterComponent.java| 18 +- .../routing/DynamicRouterConfiguration.java| 160 .../routing/DynamicRouterConstants.java| 8 + .../routing/DynamicRouterEndpoint.java | 20 +- .../routing/DynamicRouterProcessor.java| 25 +- .../routing/DynamicRouterRecipientListHelper.java | 94 +++-- ...icRouterControlChannelSendDynamicAwareTest.java | 33 ++ .../control/DynamicRouterControlComponentTest.java | 8 +- .../control/DynamicRouterControlEndpointTest.java | 8 +- .../control/DynamicRouterControlProducerTest.java | 123 +- .../control/DynamicRouterControlServiceTest.java | 11 +- .../filter/DynamicRouterFilterServiceTest.java | 68 ++- .../routing/DynamicRouterComponentTest.java| 14 +- .../routing/DynamicRouterEndpointTest.java | 24 +- .../routing/DynamicRouterProcessorTest.java| 11 +- .../DynamicRouterRecipientListHelperTest.java | 457 + .../integration/DynamicRouterJmxIT-context.xml | 6 + 28 files changed, 1172 insertions(+), 171 deletions(-) diff --git a/components/camel-dynamic-router/src/main/java/org/apache/camel/component/dynamicrouter/control/DynamicRouterControlChannelSendDynamicAware.java b/components/camel-dynamic-router/src/main/java/org/apache/camel/component/dynamicrouter/control/DynamicRouterControlChannelSendDynamicAware.java index 2bb1d34794a..13662241b27 100644 --- a/components/camel-dynamic-router/src/main/java/org/apache/camel/component/dynamicrouter/control/DynamicRouterControlChannelSendDynamicAware.java +++ b/components/camel-dynamic-router/src/main/java/org/apache/camel/component/dynamicrouter/control/DynamicRouterControlChannelSendDynamicAware.java @@ -30,7 +30,6 @@ import org.apache.camel.util.URISupport; import static org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConstants.COMPONENT_SCHEME_CONTROL; import static org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConstants.CONTROL_ACTION_PROPERTY; -import static org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConstants.PROTOCOL_SUFFIX; /** * A {@link SendDynamicAwareSupport} implementation to process control channel messages for the Dynamic Router. @@ -78,9 +77,6 @@ public class DynamicRouterControlChannelSendDynamicAware extends SendDynamicAwar Map properties = endpointProperties(exchange, uri); URI normalizedUri = URISupport.normalizeUriAsURI(uri); String controlAction = URISupport.extractRemainderPath(normalizedUri, false); -if (controlAction.contains(PROTOCOL_SUFFIX)) { -controlAction = controlAction.substring(controlAction.indexOf(PROTOCOL_SUFFIX) + 3); -} properties.put(CONTROL_ACTION_PROPERTY, controlAction); return new DynamicAwareEntry(uri, originalUri, properties, null); } diff --git a/components/camel-dynamic-router/src/main/java/org/apache/camel/component/dynamicrouter/control/DynamicRouterControlComponent.java b/components/camel-dynamic-router/src/main/java/org/apache/camel/component/dynamicrouter/control/DynamicRouterControlComponent.java index fc49915249b..8c79b6d09be 100644 --- a/components/camel-dynamic-router/src/main/java/org/apache/camel/component/dynamicrouter/control/DynamicRouterControlComponent.java +++ b/components/camel-dynamic-router/src/main/java/org/apache/camel/component/dynamicrouter/control/DynamicRouterControlComponent.java @@ -17,22 +17,16 @@ package org.apache.camel.component.dynamicrouter.control; import java.util.Map; -import java.util.Optional; import java.util.function.Supplier; import org.apache.camel.CamelContext; import org.apache.camel.Endpoint; -
Re: [PR] Variables - test coverage [camel-quarkus]
aldettinger commented on code in PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#discussion_r1455794129 ## integration-test-groups/foundation/variables/src/test/java/org/apache/camel/quarkus/variables/it/CustomRepositoryVariablesTest.java: ## @@ -0,0 +1,59 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.variables.it; + +import java.util.Collections; +import java.util.Set; + +import io.quarkus.test.junit.QuarkusTest; +import io.quarkus.test.junit.QuarkusTestProfile; +import io.quarkus.test.junit.TestProfile; +import io.restassured.RestAssured; +import io.restassured.http.ContentType; +import org.hamcrest.Matchers; +import org.junit.jupiter.api.Test; + +/** + * Test is executed in JVM mode only because the profile enabling customVariableRepositoty can not be enabled for Review Comment: ```suggestion * Test is executed in JVM mode only because the profile enabling customVariableRepository can not be enabled for ``` -- This is an automated message from the Apache Git Service. To respond to the message, please 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] Variables - test coverage [camel-quarkus]
JiriOndrusek commented on code in PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#discussion_r1455796003 ## integration-test-groups/foundation/variables/src/main/java/org/apache/camel/quarkus/variables/it/VariablesResource.java: ## @@ -0,0 +1,195 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.variables.it; + +import java.util.List; + +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.core.Response; +import org.apache.camel.CamelContext; +import org.apache.camel.Exchange; +import org.apache.camel.FluentProducerTemplate; +import org.apache.camel.ProducerTemplate; +import org.apache.camel.component.mock.MockEndpoint; + +@Path("/variables") +@ApplicationScoped +public class VariablesResource { + +@Inject +ProducerTemplate producerTemplate; + +@Inject +FluentProducerTemplate fluentProducerTemplate; + +@Inject +CamelContext context; + +@Path("/setLocalVariable") +@POST +public String setLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:setLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); +end.expectedVariableReceived(VariablesRoutes.VARIABLE_NAME, VariablesRoutes.VARIABLE_VALUE); + +producerTemplate.requestBody("direct:setLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +return exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/setGlobalVariable") +@POST +public Response setGlobalVariable(String body) throws Exception { +if (context.getVariable(VariablesRoutes.VARIABLE_NAME) != null) { +return Response.status(500).entity(String.format("Variable '%s' has to be null before sending message to the rout.", +VariablesRoutes.VARIABLE_VALUE)).build(); +} +; + +MockEndpoint end = context.getEndpoint("mock:setGlobalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +producerTemplate.requestBody("direct:setGlobalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +String resp = exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ context.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +return Response.ok().entity(resp).build(); +} + +@Path("/removeLocalVariable") +@POST +public String removeLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:removeLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +MockEndpoint mid = context.getEndpoint("mock:removeLocalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +producerTemplate.requestBody("direct:removeLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); +mid.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange endExchange = exchanges.get(0); +exchanges = mid.getExchanges(); +Exchange midExchange = exchanges.get(0); + +return midExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ endExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/removeGlobalVariable") +@POST +public String removeGlobalVariable(String body) throws Exception { +MockEndpoint mid = context.getEndpoint("mock:removeGlobalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +
Re: [PR] Dynamic Router EIP Component: Code quality improvements and more test coverage. [camel]
davsclaus merged PR #12798: URL: https://github.com/apache/camel/pull/12798 -- This is an automated message from the Apache Git Service. To respond to the message, please 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] Variables - test coverage [camel-quarkus]
JiriOndrusek commented on code in PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#discussion_r1455793618 ## integration-test-groups/foundation/variables/src/main/java/org/apache/camel/quarkus/variables/it/VariablesResource.java: ## @@ -0,0 +1,195 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.variables.it; + +import java.util.List; + +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.core.Response; +import org.apache.camel.CamelContext; +import org.apache.camel.Exchange; +import org.apache.camel.FluentProducerTemplate; +import org.apache.camel.ProducerTemplate; +import org.apache.camel.component.mock.MockEndpoint; + +@Path("/variables") +@ApplicationScoped +public class VariablesResource { + +@Inject +ProducerTemplate producerTemplate; + +@Inject +FluentProducerTemplate fluentProducerTemplate; + +@Inject +CamelContext context; + +@Path("/setLocalVariable") +@POST +public String setLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:setLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); +end.expectedVariableReceived(VariablesRoutes.VARIABLE_NAME, VariablesRoutes.VARIABLE_VALUE); + +producerTemplate.requestBody("direct:setLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +return exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/setGlobalVariable") +@POST +public Response setGlobalVariable(String body) throws Exception { +if (context.getVariable(VariablesRoutes.VARIABLE_NAME) != null) { +return Response.status(500).entity(String.format("Variable '%s' has to be null before sending message to the rout.", +VariablesRoutes.VARIABLE_VALUE)).build(); +} +; + +MockEndpoint end = context.getEndpoint("mock:setGlobalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +producerTemplate.requestBody("direct:setGlobalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +String resp = exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ context.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +return Response.ok().entity(resp).build(); +} + +@Path("/removeLocalVariable") +@POST +public String removeLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:removeLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +MockEndpoint mid = context.getEndpoint("mock:removeLocalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +producerTemplate.requestBody("direct:removeLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); +mid.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange endExchange = exchanges.get(0); +exchanges = mid.getExchanges(); +Exchange midExchange = exchanges.get(0); + +return midExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ endExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/removeGlobalVariable") +@POST +public String removeGlobalVariable(String body) throws Exception { +MockEndpoint mid = context.getEndpoint("mock:removeGlobalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +
Re: [PR] Variables - test coverage [camel-quarkus]
aldettinger commented on code in PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#discussion_r1455790455 ## integration-test-groups/foundation/variables/src/main/java/org/apache/camel/quarkus/variables/it/VariablesResource.java: ## @@ -0,0 +1,195 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.variables.it; + +import java.util.List; + +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.core.Response; +import org.apache.camel.CamelContext; +import org.apache.camel.Exchange; +import org.apache.camel.FluentProducerTemplate; +import org.apache.camel.ProducerTemplate; +import org.apache.camel.component.mock.MockEndpoint; + +@Path("/variables") +@ApplicationScoped +public class VariablesResource { + +@Inject +ProducerTemplate producerTemplate; + +@Inject +FluentProducerTemplate fluentProducerTemplate; + +@Inject +CamelContext context; + +@Path("/setLocalVariable") +@POST +public String setLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:setLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); +end.expectedVariableReceived(VariablesRoutes.VARIABLE_NAME, VariablesRoutes.VARIABLE_VALUE); + +producerTemplate.requestBody("direct:setLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +return exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/setGlobalVariable") +@POST +public Response setGlobalVariable(String body) throws Exception { +if (context.getVariable(VariablesRoutes.VARIABLE_NAME) != null) { +return Response.status(500).entity(String.format("Variable '%s' has to be null before sending message to the rout.", +VariablesRoutes.VARIABLE_VALUE)).build(); +} +; + +MockEndpoint end = context.getEndpoint("mock:setGlobalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +producerTemplate.requestBody("direct:setGlobalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +String resp = exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ context.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +return Response.ok().entity(resp).build(); +} + +@Path("/removeLocalVariable") +@POST +public String removeLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:removeLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +MockEndpoint mid = context.getEndpoint("mock:removeLocalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +producerTemplate.requestBody("direct:removeLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); +mid.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange endExchange = exchanges.get(0); +exchanges = mid.getExchanges(); +Exchange midExchange = exchanges.get(0); + +return midExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ endExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/removeGlobalVariable") +@POST +public String removeGlobalVariable(String body) throws Exception { +MockEndpoint mid = context.getEndpoint("mock:removeGlobalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +
Re: [PR] Variables - test coverage [camel-quarkus]
aldettinger commented on code in PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#discussion_r1455777040 ## integration-test-groups/foundation/variables/src/main/java/org/apache/camel/quarkus/variables/it/VariablesResource.java: ## @@ -0,0 +1,195 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.variables.it; + +import java.util.List; + +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.core.Response; +import org.apache.camel.CamelContext; +import org.apache.camel.Exchange; +import org.apache.camel.FluentProducerTemplate; +import org.apache.camel.ProducerTemplate; +import org.apache.camel.component.mock.MockEndpoint; + +@Path("/variables") +@ApplicationScoped +public class VariablesResource { + +@Inject +ProducerTemplate producerTemplate; + +@Inject +FluentProducerTemplate fluentProducerTemplate; + +@Inject +CamelContext context; + +@Path("/setLocalVariable") +@POST +public String setLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:setLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); +end.expectedVariableReceived(VariablesRoutes.VARIABLE_NAME, VariablesRoutes.VARIABLE_VALUE); + +producerTemplate.requestBody("direct:setLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +return exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/setGlobalVariable") +@POST +public Response setGlobalVariable(String body) throws Exception { +if (context.getVariable(VariablesRoutes.VARIABLE_NAME) != null) { +return Response.status(500).entity(String.format("Variable '%s' has to be null before sending message to the rout.", +VariablesRoutes.VARIABLE_VALUE)).build(); +} +; + +MockEndpoint end = context.getEndpoint("mock:setGlobalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +producerTemplate.requestBody("direct:setGlobalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +String resp = exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ context.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +return Response.ok().entity(resp).build(); +} + +@Path("/removeLocalVariable") +@POST +public String removeLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:removeLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +MockEndpoint mid = context.getEndpoint("mock:removeLocalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +producerTemplate.requestBody("direct:removeLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); +mid.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange endExchange = exchanges.get(0); +exchanges = mid.getExchanges(); +Exchange midExchange = exchanges.get(0); + +return midExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ endExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/removeGlobalVariable") +@POST +public String removeGlobalVariable(String body) throws Exception { +MockEndpoint mid = context.getEndpoint("mock:removeGlobalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +
Re: [PR] Variables - test coverage [camel-quarkus]
aldettinger commented on code in PR #5654: URL: https://github.com/apache/camel-quarkus/pull/5654#discussion_r1455774650 ## integration-test-groups/foundation/variables/src/main/java/org/apache/camel/quarkus/variables/it/VariablesResource.java: ## @@ -0,0 +1,195 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.variables.it; + +import java.util.List; + +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.core.Response; +import org.apache.camel.CamelContext; +import org.apache.camel.Exchange; +import org.apache.camel.FluentProducerTemplate; +import org.apache.camel.ProducerTemplate; +import org.apache.camel.component.mock.MockEndpoint; + +@Path("/variables") +@ApplicationScoped +public class VariablesResource { + +@Inject +ProducerTemplate producerTemplate; + +@Inject +FluentProducerTemplate fluentProducerTemplate; + +@Inject +CamelContext context; + +@Path("/setLocalVariable") +@POST +public String setLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:setLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); +end.expectedVariableReceived(VariablesRoutes.VARIABLE_NAME, VariablesRoutes.VARIABLE_VALUE); + +producerTemplate.requestBody("direct:setLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +return exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/setGlobalVariable") +@POST +public Response setGlobalVariable(String body) throws Exception { +if (context.getVariable(VariablesRoutes.VARIABLE_NAME) != null) { +return Response.status(500).entity(String.format("Variable '%s' has to be null before sending message to the rout.", +VariablesRoutes.VARIABLE_VALUE)).build(); +} +; + +MockEndpoint end = context.getEndpoint("mock:setGlobalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +producerTemplate.requestBody("direct:setGlobalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange exchange = exchanges.get(0); + +String resp = exchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ context.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +return Response.ok().entity(resp).build(); +} + +@Path("/removeLocalVariable") +@POST +public String removeLocalVariable(String body) throws Exception { +MockEndpoint end = context.getEndpoint("mock:removeLocalVariableEnd", MockEndpoint.class); +end.expectedMessageCount(1); + +MockEndpoint mid = context.getEndpoint("mock:removeLocalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +producerTemplate.requestBody("direct:removeLocalVariableStart", body, String.class); + +// make sure we got the message +end.assertIsSatisfied(); +mid.assertIsSatisfied(); + +// lets get the variable value +List exchanges = end.getExchanges(); +Exchange endExchange = exchanges.get(0); +exchanges = mid.getExchanges(); +Exchange midExchange = exchanges.get(0); + +return midExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class) + "," ++ endExchange.getVariable(VariablesRoutes.VARIABLE_NAME, String.class); +} + +@Path("/removeGlobalVariable") +@POST +public String removeGlobalVariable(String body) throws Exception { +MockEndpoint mid = context.getEndpoint("mock:removeGlobalVariableMid", MockEndpoint.class); +mid.expectedMessageCount(1); + +
Re: [I] Can't see "dependencies" tab in the UI [camel-karavan]
mgubaidullin commented on issue #1069: URL: https://github.com/apache/camel-karavan/issues/1069#issuecomment-1895962091 Additional dependencies could be added to `application.properties` file: ``` camel.jbang.dependencies=com.foo:acme:1.0 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] Caching a header from one route to another [camel-karavan]
mgubaidullin closed issue #1067: Caching a header from one route to another URL: https://github.com/apache/camel-karavan/issues/1067 -- This is an automated message from the Apache Git Service. To respond to the message, please 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-examples) branch 3.18.x deleted (was c288c3e)
This is an automated email from the ASF dual-hosted git repository. apupier pushed a change to branch 3.18.x in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git was c288c3e CAMEL-18271: Fix Infinispan cache configuration This change permanently discards the following revisions: discard c288c3e CAMEL-18271: Fix Infinispan cache configuration
Re: [I] Camel 4.4 - Allow to configure camel.variable.xxx [camel-quarkus]
JiriOndrusek commented on issue #5620: URL: https://github.com/apache/camel-quarkus/issues/5620#issuecomment-1895952141 There are 3 parts of the solution: 1. Code in the camel-quarkus main: which is already merged in the `camel-main` branch as a part of upgrade to Camel 4.4 2. Basic test coverage: https://github.com/apache/camel-quarkus/pull/5654 3. Example: https://github.com/apache/camel-quarkus-examples/pull/194 -- This is an automated message from the Apache Git Service. To respond to the message, please 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-examples) branch 3.18.x created (now c288c3e)
This is an automated email from the ASF dual-hosted git repository. apupier pushed a change to branch 3.18.x in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git at c288c3e CAMEL-18271: Fix Infinispan cache configuration This branch includes the following new commits: new c288c3e CAMEL-18271: Fix Infinispan cache configuration 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-spring-boot-examples) 01/01: CAMEL-18271: Fix Infinispan cache configuration
This is an automated email from the ASF dual-hosted git repository. apupier pushed a commit to branch 3.18.x in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git commit c288c3ee1bb6891f8a381b3c332e692fe3f56a02 Author: James Netherton AuthorDate: Mon Jul 18 10:22:37 2022 +0100 CAMEL-18271: Fix Infinispan cache configuration --- .../camel/example/springboot/infinispan/Application.java | 11 ++- infinispan/src/main/resources/infinispan.xml | 1 + 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/Application.java b/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/Application.java index cfb9387..be1a151 100644 --- a/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/Application.java +++ b/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/Application.java @@ -28,7 +28,6 @@ import org.apache.camel.component.infinispan.remote.InfinispanRemoteComponent; import org.apache.camel.component.infinispan.remote.InfinispanRemoteConfiguration; import org.infinispan.client.hotrod.RemoteCacheManager; import org.infinispan.client.hotrod.configuration.ConfigurationBuilder; -import org.infinispan.configuration.cache.CacheMode; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; @@ -56,7 +55,7 @@ public class Application { private static final String DEFAULT_PASSWORD = "password"; private static final int CONTAINER_PORT = 11222; -private GenericContainer container; +private GenericContainer container; /** * Main method to start the application. */ @@ -115,21 +114,15 @@ public class Application { public InfinispanRemoteComponent infinispanRemoteComponent() { initContainer(); InfinispanRemoteConfiguration infinispanRemoteConfiguration = new InfinispanRemoteConfiguration(); - infinispanRemoteConfiguration.setHosts("localhost" + ":" + CONTAINER_PORT); - infinispanRemoteConfiguration.setUsername(DEFAULT_USERNAME); infinispanRemoteConfiguration.setPassword(DEFAULT_PASSWORD); RemoteCacheManager cacheContainer = new RemoteCacheManager(getConfiguration().build()); -cacheContainer.administration() -.getOrCreateCache("default", new org.infinispan.configuration.cache.ConfigurationBuilder() -.clustering().cacheMode(CacheMode.DIST_SYNC).build()); - infinispanRemoteConfiguration.setCacheContainer(cacheContainer); + InfinispanRemoteComponent component = new InfinispanRemoteComponent(); component.setConfiguration(infinispanRemoteConfiguration); - return component; } } diff --git a/infinispan/src/main/resources/infinispan.xml b/infinispan/src/main/resources/infinispan.xml index d82c7e9..ee95221 100644 --- a/infinispan/src/main/resources/infinispan.xml +++ b/infinispan/src/main/resources/infinispan.xml @@ -29,6 +29,7 @@ +
Re: [I] Caching a header from one route to another [camel-karavan]
mgubaidullin commented on issue #1067: URL: https://github.com/apache/camel-karavan/issues/1067#issuecomment-1895951284 Thanks @davsclaus and @oscerd @samar-elsayed you can not put header directly to Caffeine. Set the data you want to cache to exchange body and then put into caffeine cache. In the second route get data from caffeine (it will be in exchange body) and then setHeader from the body. ``` - route: id: route-cbf4 nodePrefixId: route-1f7 from: id: from-7856 uri: kamelet:timer-source parameters: message: Hello steps: - setBody: id: setBody-eaa0 expression: simple: id: simple-3dc1 expression: ${date:now} - to: id: to-604c uri: caffeine-cache parameters: cacheName: demo1 action: PUT key: key1 - route: id: route-778e nodePrefixId: route-289 from: id: from-aedc uri: kamelet:timer-source parameters: message: world steps: - to: id: to-191e uri: caffeine-cache parameters: cacheName: demo1 action: GET key: key1 - log: id: log-d474 message: ${body} ``` -- This is an automated message from the Apache Git Service. To respond to the message, please 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] Variables - global vs local setVariable test [camel-quarkus]
JiriOndrusek opened a new pull request, #5654: URL: https://github.com/apache/camel-quarkus/pull/5654 Partially fixes https://github.com/apache/camel-quarkus/issues/5620 (the other part of the solution is the example - https://github.com/apache/camel-quarkus-examples/pull/194) This PR adds basic variables coverage into `integration-test-groups/foundation`. One test (`customVariablerepository`) is not executed in the native move, because it is not possible to remove a CDI bean for one test. IMO the tested functionality uses functions which were already part of the Camel before, therefore there is no reason to test this in native. -- This is an automated message from the Apache Git Service. To respond to the message, please 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] Camel-K doesn't create the Ingress resource although it is enabled in the Traits using Pipe or KameletBinding [camel-k]
lburgazzoli commented on issue #5044: URL: https://github.com/apache/camel-k/issues/5044#issuecomment-1895917744 @saion-chatterjee ah, you are on vcluster ... could you try to test if it does the same if you use i.e. minikube + vcluster ? in such case we should be able to reproduce it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] Camel-K doesn't create the Ingress resource although it is enabled in the Traits using Pipe or KameletBinding [camel-k]
saion-chatterjee commented on issue #5044: URL: https://github.com/apache/camel-k/issues/5044#issuecomment-1895914267 > @saion-chatterjee it smells like a bug. can you help us to understand the root cause ? Sure. Our setup is loft vcluster based. So we use as host cluster: `AWS EKS` vcluster: `rancher- k3s v1.28.2+k3s1 (6330a5b4)` We installed camel-k inside the vcluster. In this setup, as mentioned before the `profile: auto` option is unable to detect the environment as Kubernetes and setup an Ingress. If you need any other info then please let us know. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] [Backport 2.2.x]: fix(crd): Remove traits default values [camel-k]
gansheer opened a new pull request, #5077: URL: https://github.com/apache/camel-k/pull/5077 Backport from #5075 **Release Note** ```release-note fix(crd): Remove traits default values ``` -- This is an automated message from the Apache Git Service. To respond to the message, please 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] Provide default value in a specific field for trait properties in CRD [camel-k]
squakez commented on issue #4726: URL: https://github.com/apache/camel-k/issues/4726#issuecomment-1895868494 We had to revert the change that fixed this issue. Still open. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-k) 02/02: test(trait): Non regression test on CRD default values for Integrations
This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git commit 385e83957164239ee82e860f0de6c1bd352c79c0 Author: Gaelle Fournier AuthorDate: Tue Jan 16 10:07:05 2024 +0100 test(trait): Non regression test on CRD default values for Integrations --- e2e/common/config/config_test.go| 10 ++ e2e/common/misc/kamelet_test.go | 9 + e2e/common/traits/affinity_test.go | 21 +++- e2e/common/traits/builder_test.go | 11 ++- e2e/common/traits/container_test.go | 9 + e2e/common/traits/deployment_test.go| 19 ++ e2e/common/traits/health_test.go| 9 + e2e/common/traits/istio_test.go | 9 + e2e/common/traits/jolokia_test.go | 22 + e2e/common/traits/jvm_test.go | 10 ++ e2e/common/traits/master_test.go| 26 ++--- e2e/common/traits/pdb_test.go | 10 ++ e2e/common/traits/prometheus_test.go| 9 + e2e/common/traits/pull_secret_test.go | 9 + e2e/common/traits/route_test.go | 10 ++ e2e/common/traits/service_test.go | 10 ++ e2e/commonwithcustominstall/environment_test.go | 9 + e2e/native/native_test.go | 11 ++- e2e/support/test_support.go | 23 ++ e2e/support/test_util.go| 2 -- e2e/telemetry/telemetry_test.go | 10 ++ 21 files changed, 234 insertions(+), 24 deletions(-) diff --git a/e2e/common/config/config_test.go b/e2e/common/config/config_test.go index 3ea3ba8f0..ab7094b13 100644 --- a/e2e/common/config/config_test.go +++ b/e2e/common/config/config_test.go @@ -28,6 +28,7 @@ import ( . "github.com/onsi/gomega" corev1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" . "github.com/apache/camel-k/v2/e2e/support" v1 "github.com/apache/camel-k/v2/pkg/apis/camel/v1" @@ -120,6 +121,15 @@ func TestRunConfigExamples(t *testing.T) { Eventually(IntegrationPodPhase(ns, "property-secret-route"), TestTimeoutLong).Should(Equal(corev1.PodRunning)) Eventually(IntegrationConditionStatus(ns, "property-secret-route", v1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(corev1.ConditionTrue)) Eventually(IntegrationLogs(ns, "property-secret-route"), TestTimeoutShort).Should(ContainSubstring("my-secret-external-value")) + + // check integration schema does not contains unwanted default trait value. + Eventually(UnstructuredIntegration(ns, "property-secret-route")).ShouldNot(BeNil()) + unstructuredIntegration := UnstructuredIntegration(ns, "property-secret-route")() + mountTrait, _, _ := unstructured.NestedMap(unstructuredIntegration.Object, "spec", "traits", "mount") + Expect(mountTrait).ToNot(BeNil()) + Expect(len(mountTrait)).To(Equal(1)) + Expect(mountTrait["configs"]).ToNot(BeNil()) + Expect(Kamel("delete", "property-secret-route", "-n", ns).Execute()).To(Succeed()) }) diff --git a/e2e/common/misc/kamelet_test.go b/e2e/common/misc/kamelet_test.go index 6de1b1999..66c8c3839 100644 --- a/e2e/common/misc/kamelet_test.go +++ b/e2e/common/misc/kamelet_test.go @@ -27,6 +27,7 @@ import ( . "github.com/onsi/gomega" corev1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" . "github.com/apache/camel-k/v2/e2e/support" ) @@ -119,6 +120,14 @@ spec: "-d", "camel:timer").Execute()).To(Succeed()) Eventually(IntegrationPodPhase(ns, "timer-kamelet-integration"), TestTimeoutLong).Should(Equal(corev1.PodRunning)) Eventually(IntegrationLogs(ns, "timer-kamelet-integration")).Should(ContainSubstring("important message")) + + // check integration schema does not contains unwanted default trait value. + Eventually(UnstructuredIntegration(ns, "timer-kamelet-integration")).ShouldNot(BeNil()) + unstructuredIntegration := UnstructuredIntegration(ns, "timer-kamelet-integration")() + kameletsTrait, _, _ := unstructured.NestedMap(unstructuredIntegration.Object, "spec", "traits", "kamelets") + Expect(kameletsTrait).ToNot(BeNil()) + Expect(len(kameletsTrait)).To(Equal(1)) + Expect(kameletsTrait["enabled"]).To(Equal(false)) }) Expect(Kamel("delete", "--all", "-n", ns).Execute()).To(Succeed()) diff --git a/e2e/common/traits/affinity_test
Re: [I] Operator 2.2.0 does not spawn builder pod with strategy: pod [camel-k]
squakez closed issue #5060: Operator 2.2.0 does not spawn builder pod with strategy: pod URL: https://github.com/apache/camel-k/issues/5060 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] fix(crd): Remove traits default values [camel-k]
squakez merged PR #5075: URL: https://github.com/apache/camel-k/pull/5075 -- This is an automated message from the Apache Git Service. To respond to the message, please 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 (08c15bd71 -> 385e83957)
This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git from 08c15bd71 chore: nightly automatic updates new fc2f6d4dc fix(crd): Revert default values in CRD definition new 385e83957 test(trait): Non regression test on CRD default values for Integrations 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: addons/master/master.go| 3 - addons/telemetry/telemetry.go | 3 - addons/threescale/3scale.go| 4 - addons/tracing/tracing.go | 3 - .../bases/camel.apache.org_integrationkits.yaml| 6 -- .../camel.apache.org_integrationplatforms.yaml | 86 -- .../crd/bases/camel.apache.org_integrations.yaml | 43 --- .../bases/camel.apache.org_kameletbindings.yaml| 43 --- config/crd/bases/camel.apache.org_pipes.yaml | 43 --- e2e/common/config/config_test.go | 10 +++ e2e/common/misc/kamelet_test.go| 9 +++ e2e/common/traits/affinity_test.go | 21 -- e2e/common/traits/builder_test.go | 11 ++- e2e/common/traits/container_test.go| 9 +++ e2e/common/traits/deployment_test.go | 19 - e2e/common/traits/health_test.go | 9 +++ e2e/common/traits/istio_test.go| 9 +++ e2e/common/traits/jolokia_test.go | 22 +- e2e/common/traits/jvm_test.go | 10 +++ e2e/common/traits/master_test.go | 26 +-- e2e/common/traits/pdb_test.go | 10 +++ e2e/common/traits/prometheus_test.go | 9 +++ e2e/common/traits/pull_secret_test.go | 9 +++ e2e/common/traits/route_test.go| 10 +++ e2e/common/traits/service_test.go | 10 +++ e2e/commonwithcustominstall/environment_test.go| 9 +++ e2e/native/native_test.go | 11 ++- e2e/support/test_support.go| 23 ++ e2e/support/test_util.go | 2 - e2e/telemetry/telemetry_test.go| 10 +++ helm/camel-k/crds/crd-integration-kit.yaml | 6 -- helm/camel-k/crds/crd-integration-platform.yaml| 86 -- helm/camel-k/crds/crd-integration.yaml | 43 --- helm/camel-k/crds/crd-kamelet-binding.yaml | 43 --- helm/camel-k/crds/crd-pipe.yaml| 43 --- pkg/apis/camel/v1/trait/affinity.go| 2 - pkg/apis/camel/v1/trait/builder.go | 3 - pkg/apis/camel/v1/trait/container.go | 4 - pkg/apis/camel/v1/trait/cron.go| 2 - pkg/apis/camel/v1/trait/deployer.go| 1 - pkg/apis/camel/v1/trait/deployment.go | 3 - pkg/apis/camel/v1/trait/environment.go | 2 - pkg/apis/camel/v1/trait/gc.go | 1 - pkg/apis/camel/v1/trait/health.go | 6 -- pkg/apis/camel/v1/trait/ingress.go | 2 - pkg/apis/camel/v1/trait/istio.go | 1 - pkg/apis/camel/v1/trait/jolokia.go | 3 - pkg/apis/camel/v1/trait/jvm.go | 2 - pkg/apis/camel/v1/trait/kamelets.go| 2 - pkg/apis/camel/v1/trait/knative.go | 1 - pkg/apis/camel/v1/trait/logging.go | 1 - pkg/apis/camel/v1/trait/mount.go | 1 - pkg/apis/camel/v1/trait/platform.go| 1 - pkg/apis/camel/v1/trait/prometheus.go | 1 - pkg/apis/camel/v1/trait/quarkus.go | 2 - pkg/apis/camel/v1/trait/service.go | 1 - 56 files changed, 234 insertions(+), 521 deletions(-)
[PR] Upgrade Quarkus to 3.7.0.CR1 [camel-quarkus]
jamesnetherton opened a new pull request, #5653: URL: https://github.com/apache/camel-quarkus/pull/5653 (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) branch main updated: Fix readme for Transform example (#52)
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 6351ea4 Fix readme for Transform example (#52) 6351ea4 is described below commit 6351ea42401452ec7bf8897d4c5a2f49478e0e83 Author: Aurélien Pupier AuthorDate: Wed Jan 17 14:47:06 2024 +0100 Fix readme for Transform example (#52) The route keyword is missing. Without it, there is the error message: ``` Unmatched arguments from index 1: 'Address.java', 'application.properties', 'OrderService.java', 'order-spring.xml', 'README.adoc' Did you mean: transform message? ``` Signed-off-by: Aurélien Pupier --- jbang/xml-to-yaml/README.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jbang/xml-to-yaml/README.adoc b/jbang/xml-to-yaml/README.adoc index 94cf2ef..a0c8ab9 100644 --- a/jbang/xml-to-yaml/README.adoc +++ b/jbang/xml-to-yaml/README.adoc @@ -44,7 +44,7 @@ This can also be done explicit from CLI, by executing: [source,sh] -$ camel transform * --format=yaml --output=my-dump +$ camel transform route * --format=yaml --output=my-dump This will transform the XML DSL into YAML DSL and store the output in the my-dump directory. @@ -53,14 +53,14 @@ If you want to print the dump to console, you can do: [source,sh] -$ camel transform * --format=yaml +$ camel transform route * --format=yaml And since yaml is default format, it can be shorter: [source,sh] -$ camel transform * +$ camel transform route *
Re: [PR] Fix readme for Transform example [camel-kamelets-examples]
oscerd merged PR #52: URL: https://github.com/apache/camel-kamelets-examples/pull/52 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] Fix readme for Transform example [camel-kamelets-examples]
apupier opened a new pull request, #52: URL: https://github.com/apache/camel-kamelets-examples/pull/52 The route keyword is missing. Without it, there is the error message: ``` Unmatched arguments from index 1: 'Address.java', 'application.properties', 'OrderService.java', 'order-spring.xml', 'README.adoc' Did you mean: transform message? ``` -- This is an automated message from the Apache Git Service. To respond to the message, please 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) branch main updated: Improve indentation of multiline string (#51)
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 9c829a6 Improve indentation of multiline string (#51) 9c829a6 is described below commit 9c829a6c6fe97b248f89a3c3d220eb8c73a0c5e1 Author: Aurélien Pupier AuthorDate: Wed Jan 17 14:36:56 2024 +0100 Improve indentation of multiline string (#51) Several parsers are not accepting the notation and reporting validation error (for instance in VS Code). Camel is more tolerant and was allowing it. Signed-off-by: Aurélien Pupier --- jbang/opensearch-search-log/os-search-log.yaml | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jbang/opensearch-search-log/os-search-log.yaml b/jbang/opensearch-search-log/os-search-log.yaml index 1f016b1..416791e 100644 --- a/jbang/opensearch-search-log/os-search-log.yaml +++ b/jbang/opensearch-search-log/os-search-log.yaml @@ -23,12 +23,12 @@ clusterName: "opensearch-cluster" indexName: "test_index" query: '{ -"query": { - "match": { -"id": "1" - } -} - }' + "query": { +"match": { + "id": "1" +} + } + }' steps: - to: uri: "kamelet:log-sink"
Re: [PR] Improve indentation of multiline string [camel-kamelets-examples]
oscerd merged PR #51: URL: https://github.com/apache/camel-kamelets-examples/pull/51 -- This is an automated message from the Apache Git Service. To respond to the message, please 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