Re: [PR] Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.2.2 to 3.2.3 [camel]
github-actions[bot] commented on PR #12447: URL: https://github.com/apache/camel/pull/12447#issuecomment-1855271357 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump org.elasticsearch.client:elasticsearch-rest-client-sniffer from 8.10.4 to 8.11.3 [camel]
github-actions[bot] commented on PR #12446: URL: https://github.com/apache/camel/pull/12446#issuecomment-1855270256 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] Bump org.elasticsearch.client:elasticsearch-rest-client-sniffer from 8.10.4 to 8.11.3 [camel]
dependabot[bot] opened a new pull request, #12446: URL: https://github.com/apache/camel/pull/12446 Bumps [org.elasticsearch.client:elasticsearch-rest-client-sniffer](https://github.com/elastic/elasticsearch) from 8.10.4 to 8.11.3. Release notes Sourced from https://github.com/elastic/elasticsearch/releases";>org.elasticsearch.client:elasticsearch-rest-client-sniffer's releases. Elasticsearch 8.11.3 Downloads: https://elastic.co/downloads/elasticsearch";>https://elastic.co/downloads/elasticsearch Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.11/release-notes-8.11.3.html";>https://www.elastic.co/guide/en/elasticsearch/reference/8.11/release-notes-8.11.3.html Elasticsearch 8.11.2 Downloads: https://elastic.co/downloads/elasticsearch";>https://elastic.co/downloads/elasticsearch Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.11/release-notes-8.11.2.html";>https://www.elastic.co/guide/en/elasticsearch/reference/8.11/release-notes-8.11.2.html Elasticsearch 8.11.1 Downloads: https://elastic.co/downloads/elasticsearch";>https://elastic.co/downloads/elasticsearch Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.11/release-notes-8.11.1.html";>https://www.elastic.co/guide/en/elasticsearch/reference/8.11/release-notes-8.11.1.html Elasticsearch 8.11.0 Downloads: https://elastic.co/downloads/elasticsearch";>https://elastic.co/downloads/elasticsearch Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.11/release-notes-8.11.0.html";>https://www.elastic.co/guide/en/elasticsearch/reference/8.11/release-notes-8.11.0.html Commits https://github.com/elastic/elasticsearch/commit/64cf052f3b56b1fd4449f5454cb88aca7e739d9a";>64cf052 Remove AwaitFix HeapAttack tests in 8.11 (https://redirect.github.com/elastic/elasticsearch/issues/103154";>#103154) https://github.com/elastic/elasticsearch/commit/7de781d3d5c23869282a90a69e0761445d8be36a";>7de781d Use latest version of entsearch ingestion pipeline (https://redirect.github.com/elastic/elasticsearch/issues/103087";>#103087) (https://redirect.github.com/elastic/elasticsearch/issues/103139";>#103139) https://github.com/elastic/elasticsearch/commit/ba27814850e647a6a2b29cfc12e1376112c08fbf";>ba27814 Prune changelogs after 8.11.2 release https://github.com/elastic/elasticsearch/commit/ee68cd4ae12d723e748a5a8c9c569acaced683a0";>ee68cd4 Bump versions after 8.11.2 release https://github.com/elastic/elasticsearch/commit/851cab63eb45f9509f6bd7f214117956ed2a8838";>851cab6 Update rrf.asciidoc (https://redirect.github.com/elastic/elasticsearch/issues/103078";>#103078) https://github.com/elastic/elasticsearch/commit/718849e60ede2251ade6363dc78d7a54a8887b07";>718849e [Query Rules] Add some usability clarifications to docs (https://redirect.github.com/elastic/elasticsearch/issues/102990";>#102990) (https://redirect.github.com/elastic/elasticsearch/issues/103090";>#103090) https://github.com/elastic/elasticsearch/commit/cf3ea8ab077cf378d362a66b4d60f20d25af9db0";>cf3ea8a Update docs for v8.11.2 release (https://redirect.github.com/elastic/elasticsearch/issues/103088";>#103088) https://github.com/elastic/elasticsearch/commit/3aa6a5766629516e6ffcc8c90b03935903c1f396";>3aa6a57 Ensure dynamicMapping updates are handled in insertion order (https://redirect.github.com/elastic/elasticsearch/issues/103047";>#103047) (https://redirect.github.com/elastic/elasticsearch/issues/103083";>#103083) https://github.com/elastic/elasticsearch/commit/5a0c79a76d32e070963cc7afed6df283a48d3c8b";>5a0c79a Allow match field in enrich fields (https://redirect.github.com/elastic/elasticsearch/issues/102734";>#102734) (https://redirect.github.com/elastic/elasticsearch/issues/103082";>#103082) https://github.com/elastic/elasticsearch/commit/bdd2b42196ccb648fb3eb6343ff4b23066e51b63";>bdd2b42 Collect warnings in compute service (https://redirect.github.com/elastic/elasticsearch/issues/103031";>#103031) (https://redirect.github.com/elastic/elasticsearch/issues/103079";>#103079) Additional commits viewable in https://github.com/elastic/elasticsearch/compare/v8.10.4...v8.11.3";>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.elasticsearch.client:elasticsearch-rest-client-sniffer&package-manager=maven&previous-version=8.10.4&new-version=8.11.3)](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 Dependa
(camel) branch dependabot/maven/org.apache.maven.plugins-maven-surefire-report-plugin-3.2.3 created (now 3d1fd9a4049)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.maven.plugins-maven-surefire-report-plugin-3.2.3 in repository https://gitbox.apache.org/repos/asf/camel.git at 3d1fd9a4049 Bump org.apache.maven.plugins:maven-surefire-report-plugin No new revisions were added by this update.
[PR] Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.2.2 to 3.2.3 [camel]
dependabot[bot] opened a new pull request, #12447: URL: https://github.com/apache/camel/pull/12447 Bumps [org.apache.maven.plugins:maven-surefire-report-plugin](https://github.com/apache/maven-surefire) from 3.2.2 to 3.2.3. Commits https://github.com/apache/maven-surefire/commit/ac9e574a9444cc825b09bae66f30155eb028da92";>ac9e574 [maven-release-plugin] prepare release surefire-3.2.3 https://github.com/apache/maven-surefire/commit/2d6cbc63cb8f0dc34e3556e0c5a629129d2e7d91";>2d6cbc6 [SUREFIRE-2220] SurefireForkChannel#getForkNodeConnectionString() returns inv... https://github.com/apache/maven-surefire/commit/05322d992778dd33e2f2e41661a2e66ef7539a68";>05322d9 [SUREFIRE-2212] OutOfMemoryError raised when parsing files with huge stderr/s... https://github.com/apache/maven-surefire/commit/55ccd06a027f1693557c2a3ec3690ac91dcc59ba";>55ccd06 [SUREFIRE-2211] additionalClasspathElement with UNC path not working with Mav... https://github.com/apache/maven-surefire/commit/aa864f4532282100667bf3d81dc7cbd460845408";>aa864f4 [SUREFIRE-2216] Upgrade plugins and components (in ITs) https://github.com/apache/maven-surefire/commit/6662e07f5957d0fa4d12dc3e331be8f93cf355f8";>6662e07 [SUREFIRE-2215] Upgrade to Parent 41 https://github.com/apache/maven-surefire/commit/f5b73ab3d18baa4baf244b2526d854574e51f87e";>f5b73ab [SUREFIRE-2214] Uprade to HtmlUnit 3.8.0 https://github.com/apache/maven-surefire/commit/47c5816ae6d3e596d13a3253e214939f3a479b1f";>47c5816 [SUREFIRE-2210] - Restore ordering of additional class path elements https://github.com/apache/maven-surefire/commit/9b7ecf141f4686c094219038272c28fecccffa30";>9b7ecf1 [maven-release-plugin] prepare for next development iteration See full diff in https://github.com/apache/maven-surefire/compare/surefire-3.2.2...surefire-3.2.3";>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-report-plugin&package-manager=maven&previous-version=3.2.2&new-version=3.2.3)](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) branch dependabot/maven/org.elasticsearch.client-elasticsearch-rest-client-sniffer-8.11.3 created (now 703ef418023)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.elasticsearch.client-elasticsearch-rest-client-sniffer-8.11.3 in repository https://gitbox.apache.org/repos/asf/camel.git at 703ef418023 Bump org.elasticsearch.client:elasticsearch-rest-client-sniffer No new revisions were added by this update.
Re: [PR] Bump com.google.auth:google-auth-library-oauth2-http from 1.19.0 to 1.20.0 [camel]
github-actions[bot] commented on PR #12445: URL: https://github.com/apache/camel/pull/12445#issuecomment-1855269177 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch dependabot/maven/com.google.auth-google-auth-library-oauth2-http-1.20.0 created (now d7b579dc805)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/com.google.auth-google-auth-library-oauth2-http-1.20.0 in repository https://gitbox.apache.org/repos/asf/camel.git at d7b579dc805 Bump com.google.auth:google-auth-library-oauth2-http No new revisions were added by this update.
[PR] Bump com.google.auth:google-auth-library-oauth2-http from 1.19.0 to 1.20.0 [camel]
dependabot[bot] opened a new pull request, #12445: URL: https://github.com/apache/camel/pull/12445 Bumps com.google.auth:google-auth-library-oauth2-http from 1.19.0 to 1.20.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.auth:google-auth-library-oauth2-http&package-manager=maven&previous-version=1.19.0&new-version=1.20.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 regen_bot updated (48300827 -> 985f9f61)
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 48300827 Bump cucumber.version from 7.14.1 to 7.15.0 (#1799) add 71e6fad0 Updated CHANGELOG.md add 985f9f61 Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.2 to 3.2.3 (#1801) No new revisions were added by this update. Summary of changes: CHANGELOG.md | 1 + pom.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
(camel-kamelets) branch dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.2.3 updated (efbd6d7b -> a9f3a97d)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.2.3 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git discard efbd6d7b Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.3 add 985f9f61 Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.2 to 3.2.3 (#1801) add a9f3a97d Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.3 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (efbd6d7b) \ N -- N -- N refs/heads/dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.2.3 (a9f3a97d) 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: pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(camel-kamelets) branch main updated (71e6fad0 -> 985f9f61)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git from 71e6fad0 Updated CHANGELOG.md add 985f9f61 Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.2 to 3.2.3 (#1801) No new revisions were added by this update. Summary of changes: pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(camel-kamelets) branch dependabot/maven/org.apache.maven.plugins-maven-failsafe-plugin-3.2.3 deleted (was 0f47d733)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.maven.plugins-maven-failsafe-plugin-3.2.3 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git was 0f47d733 Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.2 to 3.2.3 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
Re: [PR] Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.2 to 3.2.3 [camel-kamelets]
oscerd merged PR #1801: URL: https://github.com/apache/camel-kamelets/pull/1801 -- 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.apache.maven.plugins-maven-failsafe-plugin-3.2.3 created (now 0f47d733)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.maven.plugins-maven-failsafe-plugin-3.2.3 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git at 0f47d733 Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.2 to 3.2.3 No new revisions were added by this update.
(camel-kamelets) branch dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.2.3 created (now efbd6d7b)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.2.3 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git at efbd6d7b Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.3 No new revisions were added by this update.
[PR] Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.2 to 3.2.3 [camel-kamelets]
dependabot[bot] opened a new pull request, #1801: URL: https://github.com/apache/camel-kamelets/pull/1801 Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire) from 3.2.2 to 3.2.3. Commits https://github.com/apache/maven-surefire/commit/ac9e574a9444cc825b09bae66f30155eb028da92";>ac9e574 [maven-release-plugin] prepare release surefire-3.2.3 https://github.com/apache/maven-surefire/commit/2d6cbc63cb8f0dc34e3556e0c5a629129d2e7d91";>2d6cbc6 [SUREFIRE-2220] SurefireForkChannel#getForkNodeConnectionString() returns inv... https://github.com/apache/maven-surefire/commit/05322d992778dd33e2f2e41661a2e66ef7539a68";>05322d9 [SUREFIRE-2212] OutOfMemoryError raised when parsing files with huge stderr/s... https://github.com/apache/maven-surefire/commit/55ccd06a027f1693557c2a3ec3690ac91dcc59ba";>55ccd06 [SUREFIRE-2211] additionalClasspathElement with UNC path not working with Mav... https://github.com/apache/maven-surefire/commit/aa864f4532282100667bf3d81dc7cbd460845408";>aa864f4 [SUREFIRE-2216] Upgrade plugins and components (in ITs) https://github.com/apache/maven-surefire/commit/6662e07f5957d0fa4d12dc3e331be8f93cf355f8";>6662e07 [SUREFIRE-2215] Upgrade to Parent 41 https://github.com/apache/maven-surefire/commit/f5b73ab3d18baa4baf244b2526d854574e51f87e";>f5b73ab [SUREFIRE-2214] Uprade to HtmlUnit 3.8.0 https://github.com/apache/maven-surefire/commit/47c5816ae6d3e596d13a3253e214939f3a479b1f";>47c5816 [SUREFIRE-2210] - Restore ordering of additional class path elements https://github.com/apache/maven-surefire/commit/9b7ecf141f4686c094219038272c28fecccffa30";>9b7ecf1 [maven-release-plugin] prepare for next development iteration See full diff in https://github.com/apache/maven-surefire/compare/surefire-3.2.2...surefire-3.2.3";>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-failsafe-plugin&package-manager=maven&previous-version=3.2.2&new-version=3.2.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.3 [camel-kamelets]
dependabot[bot] opened a new pull request, #1800: URL: https://github.com/apache/camel-kamelets/pull/1800 Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.2 to 3.2.3. Commits https://github.com/apache/maven-surefire/commit/ac9e574a9444cc825b09bae66f30155eb028da92";>ac9e574 [maven-release-plugin] prepare release surefire-3.2.3 https://github.com/apache/maven-surefire/commit/2d6cbc63cb8f0dc34e3556e0c5a629129d2e7d91";>2d6cbc6 [SUREFIRE-2220] SurefireForkChannel#getForkNodeConnectionString() returns inv... https://github.com/apache/maven-surefire/commit/05322d992778dd33e2f2e41661a2e66ef7539a68";>05322d9 [SUREFIRE-2212] OutOfMemoryError raised when parsing files with huge stderr/s... https://github.com/apache/maven-surefire/commit/55ccd06a027f1693557c2a3ec3690ac91dcc59ba";>55ccd06 [SUREFIRE-2211] additionalClasspathElement with UNC path not working with Mav... https://github.com/apache/maven-surefire/commit/aa864f4532282100667bf3d81dc7cbd460845408";>aa864f4 [SUREFIRE-2216] Upgrade plugins and components (in ITs) https://github.com/apache/maven-surefire/commit/6662e07f5957d0fa4d12dc3e331be8f93cf355f8";>6662e07 [SUREFIRE-2215] Upgrade to Parent 41 https://github.com/apache/maven-surefire/commit/f5b73ab3d18baa4baf244b2526d854574e51f87e";>f5b73ab [SUREFIRE-2214] Uprade to HtmlUnit 3.8.0 https://github.com/apache/maven-surefire/commit/47c5816ae6d3e596d13a3253e214939f3a479b1f";>47c5816 [SUREFIRE-2210] - Restore ordering of additional class path elements https://github.com/apache/maven-surefire/commit/9b7ecf141f4686c094219038272c28fecccffa30";>9b7ecf1 [maven-release-plugin] prepare for next development iteration See full diff in https://github.com/apache/maven-surefire/compare/surefire-3.2.2...surefire-3.2.3";>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.2.2&new-version=3.2.3)](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 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 71e6fad0 Updated CHANGELOG.md 71e6fad0 is described below commit 71e6fad0d53125adf6dc7323d479d83e9fecaf3f Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Dec 14 03:09:24 2023 + Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7b3e117..fa9adf8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Create Kamelets for AWS Timestream [\#1743](https://github.com/apache/camel-kamelets/issues/1743) - Custom Component json to kamelet yaml [\#1741](https://github.com/apache/camel-kamelets/issues/1741) - Release 4.2.0 [\#1737](https://github.com/apache/camel-kamelets/issues/1737) +- Azure Storage Queue Source: Add CloudEvents Data Type Transformer [\#1671](https://github.com/apache/camel-kamelets/issues/1671) ## [v4.2.0](https://github.com/apache/camel-kamelets/tree/v4.2.0) (2023-11-16)
Re: [I] [CI] - Quarkus Main Branch Build Failure [camel-quarkus]
github-actions[bot] commented on issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-1855019537 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 7203613869-1330-451b85c9-e14e-4d42-a4af-099c4d05b393 * Camel Quarkus Commit: 3e275ff557d9f60d6efc4125de540a80e65f7057 * Quarkus Main Commit: 108d3a4fccde40ebaf3f5d4cfb1e24ba139a61a2 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/7203613869 -- 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] Less verbose Designer [camel-karavan]
mgubaidullin closed issue #1012: Less verbose Designer URL: https://github.com/apache/camel-karavan/issues/1012 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-karavan) 01/02: Fix #1028
This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git commit 7a7d16194822ccee8c2290ab7273c55119c9f49e Author: Marat Gubaidullin AuthorDate: Wed Dec 13 20:47:58 2023 -0500 Fix #1028 --- .../src/designer/route/property/DslPropertyField.tsx | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/karavan-designer/src/designer/route/property/DslPropertyField.tsx b/karavan-designer/src/designer/route/property/DslPropertyField.tsx index a7feb03c..f72db408 100644 --- a/karavan-designer/src/designer/route/property/DslPropertyField.tsx +++ b/karavan-designer/src/designer/route/property/DslPropertyField.tsx @@ -529,7 +529,6 @@ export function DslPropertyField(props: Props) { } function getInternalUriSelect(property: PropertyMeta, value: any) { -console.log("getInternalUriSelect", property, value) const selectOptions: JSX.Element[] = []; const urls = CamelUi.getInternalRouteUris(integration, "direct"); urls.push(...CamelUi.getInternalRouteUris(integration, "seda")); @@ -591,7 +590,8 @@ export function DslPropertyField(props: Props) { function getMultiObjectFieldProps(property: PropertyMeta, value: any, v: any, index: number, hideLabel: boolean = false) { return (<> -{value && onMultiValueObjectUpdate(index, f, v)} />} @@ -619,7 +619,13 @@ export function DslPropertyField(props: Props) { })} propertyChanged(property.name, [...value, CamelDefinitionApi.createStep(property.type, {})])}>{"Add " + property.displayName} +onClick={e => { +const valArray = value !== null ? [...value] : []; + valArray.push(CamelDefinitionApi.createStep(property.type, {})); +propertyChanged(property.name, valArray); +}}> + +{"Add " + property.displayName} )
(camel-karavan) 02/02: Fix #1028
This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git commit a23d4f39ebbc13c71e85f639964a72583a53efb6 Author: Marat Gubaidullin AuthorDate: Wed Dec 13 20:53:42 2023 -0500 Fix #1028 --- .../src/designer/route/element/DslElementHeader.tsx | 5 +++-- .../route/property/ComponentParameterField.tsx | 5 +++-- .../src/designer/route/property/DslPropertyField.tsx | 15 +++ .../src/designer/route/useRouteDesignerHook.tsx | 20 +++- .../src/designer/route/property/DslPropertyField.tsx | 12 +--- 5 files changed, 45 insertions(+), 12 deletions(-) diff --git a/karavan-space/src/designer/route/element/DslElementHeader.tsx b/karavan-space/src/designer/route/element/DslElementHeader.tsx index d201d105..c850e514 100644 --- a/karavan-space/src/designer/route/element/DslElementHeader.tsx +++ b/karavan-space/src/designer/route/element/DslElementHeader.tsx @@ -147,8 +147,9 @@ export function DslElementHeader(props: Props) { classes.push(isElementSelected() ? 'header-bottom-selected' : 'header-bottom-not-selected') } else if (step.dslName === 'RouteConfigurationDefinition') { classes.push('header-route') -if (hasElements(step)) classes.push('header-bottom-line') -classes.push(isElementSelected() ? 'header-bottom-selected' : 'header-bottom-not-selected') +if (hasElements(step)) { +classes.push(isElementSelected() ? 'header-bottom-selected' : 'header-bottom-not-selected') +} } else { classes.push('header') } diff --git a/karavan-space/src/designer/route/property/ComponentParameterField.tsx b/karavan-space/src/designer/route/property/ComponentParameterField.tsx index f80c3e75..49eb2f6a 100644 --- a/karavan-space/src/designer/route/property/ComponentParameterField.tsx +++ b/karavan-space/src/designer/route/property/ComponentParameterField.tsx @@ -297,13 +297,14 @@ export function ComponentParameterField(props: Props) { } function getSwitch(property: ComponentProperty, value: any) { +const isChecked = value !== undefined ? Boolean(value) : (property.defaultValue !== undefined && ['true', true].includes(property.defaultValue)) return ( parametersChanged(property.name, !Boolean(value))}/> +isChecked={isChecked} +onChange={(e, checked) => parametersChanged(property.name, checked)}/> ) } diff --git a/karavan-space/src/designer/route/property/DslPropertyField.tsx b/karavan-space/src/designer/route/property/DslPropertyField.tsx index 77974d13..f72db408 100644 --- a/karavan-space/src/designer/route/property/DslPropertyField.tsx +++ b/karavan-space/src/designer/route/property/DslPropertyField.tsx @@ -171,7 +171,8 @@ export function DslPropertyField(props: Props) { function isUriReadOnly(property: PropertyMeta): boolean { const dslName: string = props.element?.dslName || ''; -return property.name === 'uri' && !['ToDynamicDefinition', 'WireTapDefinition', 'InterceptFromDefinition'].includes(dslName) +return property.name === 'uri' +&& !['ToDynamicDefinition', 'WireTapDefinition', 'InterceptFromDefinition', 'InterceptSendToEndpointDefinition'].includes(dslName) } function selectInfrastructure(value: string) { @@ -528,7 +529,6 @@ export function DslPropertyField(props: Props) { } function getInternalUriSelect(property: PropertyMeta, value: any) { -console.log("getInternalUriSelect", property, value) const selectOptions: JSX.Element[] = []; const urls = CamelUi.getInternalRouteUris(integration, "direct"); urls.push(...CamelUi.getInternalRouteUris(integration, "seda")); @@ -590,7 +590,8 @@ export function DslPropertyField(props: Props) { function getMultiObjectFieldProps(property: PropertyMeta, value: any, v: any, index: number, hideLabel: boolean = false) { return (<> -{value && onMultiValueObjectUpdate(index, f, v)} />} @@ -618,7 +619,13 @@ export function DslPropertyField(props: Props) { })} propertyChanged(property.name, [...value, CamelDefinitionApi.createStep(property.type, {})])}>{"Add " + property.displayName} +onClick={e => { +const valArray = value !== null ? [...value] : []; + valArray.push(CamelDefinitionApi.createStep(property.type, {})); +propertyChanged(property.name, valArray); +}}> + +{"Add " + property.displayName} ) diff --git a/karavan-space/src/designer/route/useRouteDesignerHook.tsx
Re: [I] add button doesnt work properly in VScode plugin [camel-karavan]
mgubaidullin closed issue #1028: add button doesnt work properly in VScode plugin URL: https://github.com/apache/camel-karavan/issues/1028 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-karavan) branch main updated (812f39bd -> a23d4f39)
This is an automated email from the ASF dual-hosted git repository. marat pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git from 812f39bd Fixes for demo new 7a7d1619 Fix #1028 new a23d4f39 Fix #1028 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: .../src/designer/route/property/DslPropertyField.tsx | 12 +--- .../src/designer/route/element/DslElementHeader.tsx | 5 +++-- .../route/property/ComponentParameterField.tsx | 5 +++-- .../src/designer/route/property/DslPropertyField.tsx | 15 +++ .../src/designer/route/useRouteDesignerHook.tsx | 20 +++- .../src/designer/route/property/DslPropertyField.tsx | 12 +--- 6 files changed, 54 insertions(+), 15 deletions(-)
(camel-karavan) branch main updated: Fixes for demo
This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git The following commit(s) were added to refs/heads/main by this push: new 812f39bd Fixes for demo 812f39bd is described below commit 812f39bd40acada7660749a2d5d6ffb6bb5b1bd4 Author: Marat Gubaidullin AuthorDate: Wed Dec 13 20:32:29 2023 -0500 Fixes for demo --- .../apache/camel/karavan/api/BuildResource.java| 56 + .../camel/karavan/api/ContainerResource.java | 2 +- .../apache/camel/karavan/api/DevModeResource.java | 2 +- .../org/apache/camel/karavan/code/CodeService.java | 9 +- .../org/apache/camel/karavan/git/GitService.java | 2 + .../karavan/infinispan/InfinispanService.java | 6 +- .../karavan/kubernetes/KubernetesService.java | 100 +++- .../camel/karavan/kubernetes/PodEventHandler.java | 13 ++- .../apache/camel/karavan/service/CamelService.java | 46 +--- .../karavan/service/ContainerStatusService.java| 1 + .../camel/karavan/service/ProjectService.java | 17 +-- .../org/apache/camel/karavan/shared/Constants.java | 5 + .../src/main/webui/src/api/KaravanApi.tsx | 11 ++ .../designer/route/element/DslElementHeader.tsx| 5 +- .../route/property/ComponentParameterField.tsx | 5 +- .../designer/route/property/DslPropertyField.tsx | 3 +- .../src/designer/route/useRouteDesignerHook.tsx| 20 +++- .../webui/src/project/{file => }/FileEditor.tsx| 21 ++-- .../src/main/webui/src/project/ProjectPage.tsx | 2 +- .../webui/src/project/file/PropertiesPanel.tsx | 61 -- .../webui/src/project/file/PropertiesTable.tsx | 126 - .../webui/src/project/file/PropertiesToolbar.tsx | 63 --- .../main/webui/src/project/file/PropertyField.tsx | 73 .../main/webui/src/project/files/FilesToolbar.tsx | 26 - 24 files changed, 268 insertions(+), 407 deletions(-) diff --git a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/api/BuildResource.java b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/api/BuildResource.java new file mode 100644 index ..ace9fa8c --- /dev/null +++ b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/api/BuildResource.java @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.karavan.api; + +import jakarta.inject.Inject; +import jakarta.ws.rs.Consumes; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; +import org.apache.camel.karavan.code.CodeService; +import org.apache.camel.karavan.infinispan.InfinispanService; +import org.apache.camel.karavan.kubernetes.KubernetesService; + +@Path("/api/build") +public class BuildResource { + +@Inject +InfinispanService infinispanService; + +@Inject +KubernetesService kubernetesService; + +@Inject +CodeService codeService; + +@POST +@Produces(MediaType.APPLICATION_JSON) +@Consumes(MediaType.APPLICATION_JSON) +@Path("/update-config-map") +public Response updateConfigMaps() { +if (infinispanService.isReady()) { +String script = codeService.getBuilderScript(); +kubernetesService.createBuildScriptConfigmap(script, true); +return Response.ok().build(); +} else { +return Response.noContent().build(); +} +} + +} \ No newline at end of file diff --git a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/api/ContainerResource.java b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/api/ContainerResource.java index 8effafe0..bfcae002 100644 --- a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/api/ContainerResource.java +++ b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/api/ContainerResource.java @@ -156,7 +156,7 @@ public class ContainerResource { status = ContainerStatus.createByType(projectId, environment, ContainerStatus.ContainerType.valueOf(type));
(camel-k) 02/02: chore: nightly SBOM update
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch release-2.0.x in repository https://gitbox.apache.org/repos/asf/camel-k.git commit c31375a55d3959d305f5408dcdab903e315b442d Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Dec 14 01:16:25 2023 + chore: nightly SBOM update --- camel-k-sbom/camel-k-sbom.json | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/camel-k-sbom/camel-k-sbom.json b/camel-k-sbom/camel-k-sbom.json index 2fb9cc4ed..49963d429 100644 --- a/camel-k-sbom/camel-k-sbom.json +++ b/camel-k-sbom/camel-k-sbom.json @@ -2,10 +2,10 @@ "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json";, "bomFormat": "CycloneDX", "specVersion": "1.4", - "serialNumber": "urn:uuid:cd8227f3-ecef-4bd6-b687-744da4894d90", + "serialNumber": "urn:uuid:15953fd0-f292-4c5c-abf0-ea6ee4619649", "version": 1, "metadata": { -"timestamp": "2023-12-13T01:13:45Z", +"timestamp": "2023-12-14T01:16:25Z", "tools": [ { "vendor": "CycloneDX", @@ -46,11 +46,11 @@ } ], "component": { - "bom-ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231213011204-5979369a3ec5?type=module", + "bom-ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231214011311-c8efe247a05b?type=module", "type": "application", "name": "github.com/apache/camel-k/v2", - "version": "v0.0.0-20231213011204-5979369a3ec5", - "purl": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231213011204-5979369a3ec5?type=module\u0026goos=linux\u0026goarch=amd64", + "version": "v0.0.0-20231214011311-c8efe247a05b", + "purl": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231214011311-c8efe247a05b?type=module\u0026goos=linux\u0026goarch=amd64", "externalReferences": [ { "url": "https://github.com/apache/camel-k";, @@ -4021,7 +4021,7 @@ ], "dependencies": [ { - "ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231213011204-5979369a3ec5?type=module", + "ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231214011311-c8efe247a05b?type=module", "dependsOn": [ "pkg:golang/github.com/Masterminds/semver@v1.5.0?type=module", "pkg:golang/github.com/container-tools/spectrum@v0.6.29?type=module",
(camel-k) 01/02: 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.0.x in repository https://gitbox.apache.org/repos/asf/camel-k.git commit c8efe247a05b92ae3a63dfcd07a961ed766de969 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Dec 14 01:13:11 2023 + chore: changelog automatic update --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 972d116ce..0fa80d3b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Closed issues:** +- Usage of older Kameletes version on main [\#4985](https://github.com/apache/camel-k/issues/4985) - Fail to run route with toD [\#4972](https://github.com/apache/camel-k/issues/4972) - Improve cross-namespace check when referencing Kamelets in Pipes [\#4961](https://github.com/apache/camel-k/issues/4961) - Ability to apply node selectors/affinity configuration [\#4958](https://github.com/apache/camel-k/issues/4958) @@ -20,6 +21,7 @@ - TestSecretHotReload failure [\#4902](https://github.com/apache/camel-k/issues/4902) - Camel K offline error [\#4894](https://github.com/apache/camel-k/issues/4894) - Native image builds failing with dependencies from private repository [\#4892](https://github.com/apache/camel-k/issues/4892) +- log.SetLogger\(...\) was never called [\#4891](https://github.com/apache/camel-k/issues/4891) - Runtime compatibility matrix should be changed to default matrix [\#4886](https://github.com/apache/camel-k/issues/4886) - SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" when running an integration [\#4882](https://github.com/apache/camel-k/issues/4882) - Coverage report sends message 3 times [\#4875](https://github.com/apache/camel-k/issues/4875) @@ -34,6 +36,7 @@ - Facing issue while Integrating Java Code and REST with JAR Dependencies [\#4593](https://github.com/apache/camel-k/issues/4593) - Image Vulnerability of Go package [\#4581](https://github.com/apache/camel-k/issues/4581) - Failing to serialize java.time.\* objects into json [\#4547](https://github.com/apache/camel-k/issues/4547) +- Use custom component in camel K [\#4539](https://github.com/apache/camel-k/issues/4539) - Create a test for structured health check conditions when integrations are scaled \> 1 [\#3997](https://github.com/apache/camel-k/issues/3997) - Add KEP-1755 support e2e tests [\#3615](https://github.com/apache/camel-k/issues/3615) - Camel-K initContainer [\#3459](https://github.com/apache/camel-k/issues/3459)
(camel-k) branch release-2.0.x updated (8e9b37643 -> c31375a55)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch release-2.0.x in repository https://gitbox.apache.org/repos/asf/camel-k.git from 8e9b37643 chore: nightly SBOM update new c8efe247a chore: changelog automatic update new c31375a55 chore: nightly SBOM update 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: CHANGELOG.md | 3 +++ camel-k-sbom/camel-k-sbom.json | 12 ++-- 2 files changed, 9 insertions(+), 6 deletions(-)
(camel-k) branch release-2.1.x updated (db31fe5df -> 82783a0d0)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch release-2.1.x in repository https://gitbox.apache.org/repos/asf/camel-k.git from db31fe5df chore: nightly SBOM update new 3904ec810 chore: changelog automatic update new 82783a0d0 chore: nightly SBOM update 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: CHANGELOG.md | 3 +++ camel-k-sbom/camel-k-sbom.json | 12 ++-- 2 files changed, 9 insertions(+), 6 deletions(-)
(camel-k) 02/02: chore: nightly SBOM 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 commit 82783a0d077b0735c95c365d48a70a36096cc29f Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Dec 14 00:33:50 2023 + chore: nightly SBOM update --- camel-k-sbom/camel-k-sbom.json | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/camel-k-sbom/camel-k-sbom.json b/camel-k-sbom/camel-k-sbom.json index d4df8902a..63e19807d 100644 --- a/camel-k-sbom/camel-k-sbom.json +++ b/camel-k-sbom/camel-k-sbom.json @@ -2,10 +2,10 @@ "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json";, "bomFormat": "CycloneDX", "specVersion": "1.4", - "serialNumber": "urn:uuid:ea2db9b3-39cc-4af5-9822-7e5fa2cecb5c", + "serialNumber": "urn:uuid:0b113d43-47c3-490b-9754-fc4d44ee2c61", "version": 1, "metadata": { -"timestamp": "2023-12-13T00:28:56Z", +"timestamp": "2023-12-14T00:33:50Z", "tools": [ { "vendor": "CycloneDX", @@ -46,11 +46,11 @@ } ], "component": { - "bom-ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231213002728-73dd1dd8da5a?type=module", + "bom-ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231214003037-3904ec810e66?type=module", "type": "application", "name": "github.com/apache/camel-k/v2", - "version": "v0.0.0-20231213002728-73dd1dd8da5a", - "purl": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231213002728-73dd1dd8da5a?type=module\u0026goos=linux\u0026goarch=amd64", + "version": "v0.0.0-20231214003037-3904ec810e66", + "purl": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231214003037-3904ec810e66?type=module\u0026goos=linux\u0026goarch=amd64", "externalReferences": [ { "url": "https://github.com/apache/camel-k";, @@ -3853,7 +3853,7 @@ ], "dependencies": [ { - "ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231213002728-73dd1dd8da5a?type=module", + "ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231214003037-3904ec810e66?type=module", "dependsOn": [ "pkg:golang/github.com/Masterminds/semver@v1.5.0?type=module", "pkg:golang/github.com/container-tools/spectrum@v0.6.38?type=module",
(camel-k) 01/02: 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 commit 3904ec810e66baaa100eb3241ae1b9af40186e9d Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Dec 14 00:30:37 2023 + chore: changelog automatic update --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 972d116ce..0fa80d3b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Closed issues:** +- Usage of older Kameletes version on main [\#4985](https://github.com/apache/camel-k/issues/4985) - Fail to run route with toD [\#4972](https://github.com/apache/camel-k/issues/4972) - Improve cross-namespace check when referencing Kamelets in Pipes [\#4961](https://github.com/apache/camel-k/issues/4961) - Ability to apply node selectors/affinity configuration [\#4958](https://github.com/apache/camel-k/issues/4958) @@ -20,6 +21,7 @@ - TestSecretHotReload failure [\#4902](https://github.com/apache/camel-k/issues/4902) - Camel K offline error [\#4894](https://github.com/apache/camel-k/issues/4894) - Native image builds failing with dependencies from private repository [\#4892](https://github.com/apache/camel-k/issues/4892) +- log.SetLogger\(...\) was never called [\#4891](https://github.com/apache/camel-k/issues/4891) - Runtime compatibility matrix should be changed to default matrix [\#4886](https://github.com/apache/camel-k/issues/4886) - SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" when running an integration [\#4882](https://github.com/apache/camel-k/issues/4882) - Coverage report sends message 3 times [\#4875](https://github.com/apache/camel-k/issues/4875) @@ -34,6 +36,7 @@ - Facing issue while Integrating Java Code and REST with JAR Dependencies [\#4593](https://github.com/apache/camel-k/issues/4593) - Image Vulnerability of Go package [\#4581](https://github.com/apache/camel-k/issues/4581) - Failing to serialize java.time.\* objects into json [\#4547](https://github.com/apache/camel-k/issues/4547) +- Use custom component in camel K [\#4539](https://github.com/apache/camel-k/issues/4539) - Create a test for structured health check conditions when integrations are scaled \> 1 [\#3997](https://github.com/apache/camel-k/issues/3997) - Add KEP-1755 support e2e tests [\#3615](https://github.com/apache/camel-k/issues/3615) - Camel-K initContainer [\#3459](https://github.com/apache/camel-k/issues/3459)
[PR] [Github Actions] Periodic Sync Camel Spring Boot (Camel 4) [camel-spring-boot]
github-actions[bot] opened a new pull request, #1043: URL: https://github.com/apache/camel-spring-boot/pull/1043 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] [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-1854893809 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 7202646929-1226-b91ceec6-8bcc-49da-b6ba-2249462bceb9 * Camel Quarkus Commit: c6f86d3b3e7381ff154869d4f4de99e422fae6a3 * Camel Main Commit: 108d3a4fccde40ebaf3f5d4cfb1e24ba139a61a2 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/7202646929 -- 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] Support `kamel run ... -t camel.runtime-version=1.x` notation [camel-k]
github-actions[bot] commented on issue #4739: URL: https://github.com/apache/camel-k/issues/4739#issuecomment-1854890948 This issue has been automatically marked as stale due to 90 days of inactivity. It will be closed if no further activity occurs within 15 days. If you think that’s incorrect or the issue should never stale, please simply write any comment. Thanks for your contributions! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] Use custom component in camel K [camel-k]
github-actions[bot] closed issue #4539: Use custom component in camel K URL: https://github.com/apache/camel-k/issues/4539 -- 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) 03/04: chore: nightly SBOM update
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 commit 0daf4ce33de50d7f186d2a232166025fbc658fe5 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Dec 13 23:47:20 2023 + chore: nightly SBOM update --- camel-k-sbom/camel-k-sbom.json | 62 +- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/camel-k-sbom/camel-k-sbom.json b/camel-k-sbom/camel-k-sbom.json index a78b75f7f..a5a7b16ff 100644 --- a/camel-k-sbom/camel-k-sbom.json +++ b/camel-k-sbom/camel-k-sbom.json @@ -2,10 +2,10 @@ "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json";, "bomFormat": "CycloneDX", "specVersion": "1.4", - "serialNumber": "urn:uuid:ebaeb794-96a5-47a4-b1d3-729b0d3675ef", + "serialNumber": "urn:uuid:46ea805a-978a-4f67-926c-697181723737", "version": 1, "metadata": { -"timestamp": "2023-12-12T23:43:12Z", +"timestamp": "2023-12-13T23:47:20Z", "tools": [ { "vendor": "CycloneDX", @@ -46,11 +46,11 @@ } ], "component": { - "bom-ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231212234017-23999ca5cf20?type=module", + "bom-ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231213234649-565208cd7607?type=module", "type": "application", "name": "github.com/apache/camel-k/v2", - "version": "v0.0.0-20231212234017-23999ca5cf20", - "purl": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231212234017-23999ca5cf20?type=module\u0026goos=linux\u0026goarch=amd64", + "version": "v0.0.0-20231213234649-565208cd7607", + "purl": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231213234649-565208cd7607?type=module\u0026goos=linux\u0026goarch=amd64", "externalReferences": [ { "url": "https://github.com/apache/camel-k";, @@ -1218,18 +1218,18 @@ } }, { - "bom-ref": "pkg:golang/github.com/google/uuid@v1.4.0?type=module", + "bom-ref": "pkg:golang/github.com/google/uuid@v1.5.0?type=module", "type": "library", "name": "github.com/google/uuid", - "version": "v1.4.0", + "version": "v1.5.0", "scope": "required", "hashes": [ { "alg": "SHA-256", - "content": "32d331b1ae75febf72ca19322ec55e56dd01f81190673a5089343878767c6dce" + "content": "d69ebb918c1db578dbd202f404f88fd40bfdc2264fa3903ccf671691367e7b25" } ], - "purl": "pkg:golang/github.com/google/uuid@v1.4.0?type=module\u0026goos=linux\u0026goarch=amd64", + "purl": "pkg:golang/github.com/google/uuid@v1.5.0?type=module\u0026goos=linux\u0026goarch=amd64", "externalReferences": [ { "url": "https://github.com/google/uuid";, @@ -3830,7 +3830,7 @@ ], "dependencies": [ { - "ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231212234017-23999ca5cf20?type=module", + "ref": "pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231213234649-565208cd7607?type=module", "dependsOn": [ "pkg:golang/github.com/Masterminds/semver@v1.5.0?type=module", "pkg:golang/github.com/container-tools/spectrum@v0.6.42?type=module", @@ -3839,7 +3839,7 @@ "pkg:golang/github.com/gertd/go-pluralize@v0.2.1?type=module", "pkg:golang/github.com/go-logr/logr@v1.3.0?type=module", "pkg:golang/github.com/google/go-github/v52@v52.0.0?type=module", -"pkg:golang/github.com/google/uuid@v1.4.0?type=module", +"pkg:golang/github.com/google/uuid@v1.5.0?type=module", "pkg:golang/github.com/imdario/mergo@v0.3.13?type=module", "pkg:golang/github.com/jpillora/backoff@v1.0.0?type=module", "pkg:golang/github.com/magiconair/properties@v1.8.7?type=module", @@ -3957,7 +3957,7 @@ "pkg:golang/github.com/cloudevents/sdk-go/v2@v2.13.0?type=module", "pkg:golang/github.com/davecgh/go-spew@v1.1.2-0.20180830191138-d8f796af33cc?type=module", "pkg:golang/github.com/google/go-cmp@v0.6.0?type=module", -"pkg:golang/github.com/google/uuid@v1.4.0?type=module", +"pkg:golang/github.com/google/uuid@v1.5.0?type=module", "pkg:golang/github.com/json-iterator/go@v1.1.12?type=module", "pkg:golang/github.com/modern-go/concurrent@v0.0.0-20180306012644-bacd9c7ef1dd?type=module", "pkg:golang/github.com/modern-go/reflect2@v1.0.2?type=module", @@ -3975,7 +3975,7 @@ "dependsOn": [ "pkg:golang/github.com/davecgh/go-spew@v1.1.2-0.20180830191138-d8f796af33cc?type=module", "pkg:golang/github.com/google/go-cmp@v0.6.0?type=module", -"pkg:golang/github.com/google/uuid@v1.4.0?type=module", +"pkg:golang/github.com/google/uuid@v1.5.0?type=module", "pkg:golang/github.com/json-iterator/go@v1.1.12?type=module", "pkg:golang
(camel-k) branch main updated (1873aa161 -> 467c12659)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git from 1873aa161 fix(cmd): move log in init to catch all options new 146a5bc1a chore: changelog automatic update new 565208cd7 chore: autogenerated project resource update new 0daf4ce33 chore: nightly SBOM update new 467c12659 chore: nightly coverage badge update The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CHANGELOG.md | 5 + README.adoc| 2 +- camel-k-sbom/camel-k-sbom.json | 62 - pkg/resources/resources.go | 306 +++-- 4 files changed, 268 insertions(+), 107 deletions(-)
(camel-k) 04/04: chore: nightly coverage badge update
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 commit 467c126599a9c3cd33c7e7d92f264d16bb5f1cb6 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Dec 13 23:49:08 2023 + chore: nightly coverage badge update --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 484f3b514..00b2ab183 100644 --- a/README.adoc +++ b/README.adoc @@ -11,7 +11,7 @@ image:https://github.com/apache/camel-k/workflows/kubernetes/badge.svg["Kubernet image:https://github.com/apache/camel-k/workflows/knative/badge.svg["Knative";, link="https://github.com/apache/camel-k/actions/workflows/knative.yml";] image:https://github.com/apache/camel-k/actions/workflows/nightly-release.yml/badge.svg["Nightly releases", link="https://github.com/apache/camel-k/actions/workflows/nightly-release.yml";] image:https://github.com/apache/camel-k/actions/workflows/nightly-native-test.yml/badge.svg["Quarkus native", link="https://github.com/apache/camel-k/actions/workflows/nightly-native-test.yml";] -image:https://img.shields.io/badge/Coverage-33.8%25-yellow.svg["Go coverage", link="https://github.com/apache/camel-k/actions/workflows/nightly-coverage.yml";] +image:https://img.shields.io/badge/Coverage-33.7%25-yellow.svg["Go coverage", link="https://github.com/apache/camel-k/actions/workflows/nightly-coverage.yml";] image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg["Chat on Zulip", link="https://camel.zulipchat.com";] Apache Camel K is a lightweight integration framework built from **Apache Camel** that runs natively on Kubernetes and is specifically designed for serverless and microservice architectures. Users of `Camel K` can instantly run integration code written in Camel DSL on their preferred **Cloud** provider.
(camel-k) 01/04: chore: changelog automatic update
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 commit 146a5bc1ac9b81d11625cf12d508421d00c2cd2c Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Dec 13 23:44:06 2023 + chore: changelog automatic update --- CHANGELOG.md | 5 + 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51f83da7f..051009990 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Closed issues:** +- Usage of older Kameletes version on main [\#4985](https://github.com/apache/camel-k/issues/4985) - Fail to run route with toD [\#4972](https://github.com/apache/camel-k/issues/4972) - Improve cross-namespace check when referencing Kamelets in Pipes [\#4961](https://github.com/apache/camel-k/issues/4961) - Ability to apply node selectors/affinity configuration [\#4958](https://github.com/apache/camel-k/issues/4958) @@ -20,6 +21,7 @@ - TestSecretHotReload failure [\#4902](https://github.com/apache/camel-k/issues/4902) - Camel K offline error [\#4894](https://github.com/apache/camel-k/issues/4894) - Native image builds failing with dependencies from private repository [\#4892](https://github.com/apache/camel-k/issues/4892) +- log.SetLogger\(...\) was never called [\#4891](https://github.com/apache/camel-k/issues/4891) - Runtime compatibility matrix should be changed to default matrix [\#4886](https://github.com/apache/camel-k/issues/4886) - SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" when running an integration [\#4882](https://github.com/apache/camel-k/issues/4882) - Coverage report sends message 3 times [\#4875](https://github.com/apache/camel-k/issues/4875) @@ -41,6 +43,7 @@ **Merged pull requests:** +- chore\(deps\): bump github.com/google/uuid from 1.4.0 to 1.5.0 [\#4986](https://github.com/apache/camel-k/pull/4986) ([dependabot[bot]](https://github.com/apps/dependabot)) - chore: Improve YAKS E2E tests [\#4984](https://github.com/apache/camel-k/pull/4984) ([christophd](https://github.com/christophd)) - chore\(deps\): bump github.com/spf13/viper from 1.17.0 to 1.18.1 [\#4982](https://github.com/apache/camel-k/pull/4982) ([dependabot[bot]](https://github.com/apps/dependabot)) - chore: Fix CRD samples [\#4981](https://github.com/apache/camel-k/pull/4981) ([christophd](https://github.com/christophd)) @@ -49,6 +52,7 @@ - Fix: Fail to run route with toD \#4972 [\#4976](https://github.com/apache/camel-k/pull/4976) ([claudio4j](https://github.com/claudio4j)) - Remove index table which is not refering to any table [\#4975](https://github.com/apache/camel-k/pull/4975) ([apupier](https://github.com/apupier)) - chore\(doc\): deps matrix [\#4973](https://github.com/apache/camel-k/pull/4973) ([squakez](https://github.com/squakez)) +- fix\(cmd\): move log in init to catch all options [\#4969](https://github.com/apache/camel-k/pull/4969) ([squakez](https://github.com/squakez)) - feat\(\#4958\): Supporting node selectors for the builder pod [\#4968](https://github.com/apache/camel-k/pull/4968) ([lsergio](https://github.com/lsergio)) - fix\(trait\): doc to explain initContainers [\#4966](https://github.com/apache/camel-k/pull/4966) ([squakez](https://github.com/squakez)) - fix\(\#4961\): Improve cross-namespace check for Kamelet refs [\#4965](https://github.com/apache/camel-k/pull/4965) ([christophd](https://github.com/christophd)) @@ -75,6 +79,7 @@ - fix\(\#4916\): Improve component resolver [\#4919](https://github.com/apache/camel-k/pull/4919) ([christophd](https://github.com/christophd)) - Use filepath.clean in json-schema-gen command for destination parameter [\#4918](https://github.com/apache/camel-k/pull/4918) ([oscerd](https://github.com/oscerd)) - test\(health\): \#3997 structured conditions for scaled integrations [\#4917](https://github.com/apache/camel-k/pull/4917) ([rinaldodev](https://github.com/rinaldodev)) +- feat\(install\): Separate namespaced and descoped rbacs [\#4914](https://github.com/apache/camel-k/pull/4914) ([gansheer](https://github.com/gansheer)) - chore\(deps\): bump golang.org/x/term from 0.13.0 to 0.14.0 [\#4913](https://github.com/apache/camel-k/pull/4913) ([dependabot[bot]](https://github.com/apps/dependabot)) - chore\(deps\): bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 [\#4912](https://github.com/apache/camel-k/pull/4912) ([dependabot[bot]](https://github.com/apps/dependabot)) - chore\(deps\): bump github.com/onsi/gomega from 1.29.0 to 1.30.0 [\#4911](https://github.com/apache/camel-k/pull/4911) ([dependabot[bot]](https://github.com/apps/dependabot))
(camel-k) 02/04: chore: autogenerated project resource update
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 commit 565208cd760796f202b62b82cce166c76d1b997b Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Dec 13 23:46:49 2023 + chore: autogenerated project resource update --- pkg/resources/resources.go | 306 ++--- 1 file changed, 231 insertions(+), 75 deletions(-) diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go index 2cfc89c0c..ff3426a81 100644 --- a/pkg/resources/resources.go +++ b/pkg/resources/resources.go @@ -266,178 +266,306 @@ var assets = func() http.FileSystem { name:"rbac", modTime: time.Time{}, }, - "/rbac/openshift": &vfsgen۰DirInfo{ - name:"openshift", + "/rbac/descoped": &vfsgen۰DirInfo{ + name:"descoped", modTime: time.Time{}, }, - "/rbac/openshift/operator-cluster-role-console-binding-openshift.yaml": &vfsgen۰CompressedFileInfo{ - name: "operator-cluster-role-console-binding-openshift.yaml", + "/rbac/descoped/operator-cluster-role-binding-events.yaml": &vfsgen۰CompressedFileInfo{ + name: "operator-cluster-role-binding-events.yaml", modTime: time.Time{}, - uncompressedSize: 1280, + uncompressedSize: 1258, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xac\x4b\x02\xac\xe5\xb6\xa7\xc2\x3d\x39\x9b\xdd\x56\x68\x60\x03\x96\xd3\x20\x47\x9a\x1a\x4b\xd3\xa5\x38\xea\x90\x5a\xc5\xfd\xfa\x82\xb2\xdd\x6c\x10\xb4\x40\x80\xf0\x26\x71\x66\xde\x7b\xf3\x1e\x0b\x2c\xbf\xdf\x31\x05\xde\xb1\xa3\x10\xa9\x41\x12\xa4\x8e\xb0\x19\xac\xeb\x08\xb5\x9c\xd2\x64\x95\xf0\x28\x63\x68\x6c\x62\x09\x78\xb5\xa9\x1f\x5f\x63\x0c\x0d\x29\x24\x10\x44\xd1\x8b\x [...] + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x34\x35\x96\xa6\x4b\x71\xd4\x21\xb5\x8a\xfb\xeb\x0b\xca\x76\xb3\x41\xd0\x22\x87\xf0\x26\x70\xf4\x3e\xe6\x3d\x16\x58\x7e\xbf\x63\x0a\xbc\x63\x47\x21\x52\x83\x24\x48\x1d\x61\x33\x58\xd7\x11\x6a\x39\xa5\xc9\x2a\xe1\x51\xc6\xd0\xd8\xc4\x12\xf0\x6a\x53\x3f\xbe\xc6\x18\x1a\x52\x48\x20\x88\xa2\x17\x25\x [...] }, - "/rbac/openshift/operator-cluster-role-console-openshift.yaml": &vfsgen۰CompressedFileInfo{ - name: "operator-cluster-role-console-openshift.yaml", + "/rbac/descoped/operator-cluster-role-binding-keda.yaml": &vfsgen۰CompressedFileInfo{ + name: "operator-cluster-role-binding-keda.yaml", modTime: time.Time{}, - uncompressedSize: 1262, + uncompressedSize: 1254, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xac\x4b\x02\xac\xb5\x6d\x4f\x85\x7b\x72\x37\xbb\xad\xd0\xc0\x06\x56\x4e\x83\x1c\x69\x6a\x2c\x0d\x96\xe2\xa8\x43\x6a\x95\xed\xd7\x17\xa4\xed\x64\x17\xbd\x86\x17\x8d\xa8\xc7\x37\xef\xf1\x8d\x2a\xac\x7f\xdc\x32\x15\x3e\xb2\xa3\x10\xa9\x43\x12\xa4\x81\xb0\x9d\xac\x1b\x08\xad\x9c\xd2\x62\x95\xf0\x20\x73\xe8\x6c\x62\x09\x78\xb7\x6d\x1f\xde\x63\x0e\x1d\x29\x24\x10\x44\x31\x8a\x92\x [...] + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x63\x6a\x2c\x4d\x4d\x71\x54\x92\x5a\x65\xfb\xeb\x0b\xca\x76\xb3\x41\xd0\xe6\x12\xde\x04\x8e\xde\xc7\xbc\xc7\x02\xcb\xef\x77\x4c\x81\x77\x62\xd9\x47\x6e\x90\x14\xa9\x63\x6c\x06\xb2\x1d\xa3\xd6\x53\x9a\x28\x30\x1e\x75\xf4\x0d\x25\x51\x8f\x57\x9b\xfa\xf1\x35\x46\xdf\x70\x80\x7a\x86\x06\xf4\x1a\xd8\x [...] }, - "/rbac/openshift/operator-role-binding-openshift.yaml": &vfsgen۰CompressedFileInfo{ - name: "operator-role-binding-openshift.yaml", + "/rbac/descoped/operator-cluster-role-binding-knative.yaml": &vfsgen۰CompressedFileInfo{ + name: "operator-cluster-role-binding-knative.yaml", modTime: time.Time{}, - uncompressedSize: 1225, + uncompressedSize: 1260, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4
(camel-k-runtime) branch main updated: chore: update changelog
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-runtime.git The following commit(s) were added to refs/heads/main by this push: new 234f4b05 chore: update changelog 234f4b05 is described below commit 234f4b05cee1c41c625cc13b0cc3497fd821c84e Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Dec 13 23:34:32 2023 + chore: update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ac0cb0c..3278d218 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Merged pull requests:** +- build\(deps\): bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.2.2 to 3.3.1 [\#1126](https://github.com/apache/camel-k-runtime/pull/1126) ([dependabot[bot]](https://github.com/apps/dependabot)) - build\(deps\): bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.3 [\#1123](https://github.com/apache/camel-k-runtime/pull/1123) ([dependabot[bot]](https://github.com/apps/dependabot)) - build\(deps\): bump org.apache.maven.plugins:maven-dependency-plugin from 3.5.0 to 3.6.1 [\#1122](https://github.com/apache/camel-k-runtime/pull/1122) ([dependabot[bot]](https://github.com/apps/dependabot)) - chore\(ci\): bump 3.6.0 [\#1121](https://github.com/apache/camel-k-runtime/pull/1121) ([squakez](https://github.com/squakez))
Re: [I] Native build fails with OpenAPI spec [camel-k]
hernanDatgDev commented on issue #4971: URL: https://github.com/apache/camel-k/issues/4971#issuecomment-1854714638 Hey @gansheer created the PR: https://github.com/apache/camel-k/pull/4987 I'm working on some modifications of it but hopefully the approach is reasonable -- 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] Adding language settings check for native builds [camel-k]
hernanDatgDev opened a new pull request, #4987: URL: https://github.com/apache/camel-k/pull/4987 Originally the operator determines that a native kit matches(is suitable for) an integration if - The number of sources for both integration and kit are equal - The content of the sources must match exactly. This is a problem for native builds where some languages are not required to be in kits such as xml. As a result an integration may have generated xml sources (like when adding an OpenAPI spec) which the kit simply would never have. My modification is to change `number of sources for both integration and kit are equal` to `the number of kit sources should not be greater than integration sources`. This is because the number of sources might not be equal and in fact could be less (as I've just described). Also the kit should not include additional sources not defined within the integration so the number of kit sources should not be more than the number of integrations sources. As for checking the second bullet, `The content of the sources must match exactly` I've included a language settings lookup before comparing the content of the sources. If the language settings for the source contain `sources-required-at-build-time==false` then those sources will of course not be in the kit so the content equality check can simply be skipped. Once skipped the kit retains its chance at being valid for the integration. **Release Note** ```release-note NONE ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] build(deps): bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.4.1 [camel-k-runtime]
dependabot[bot] opened a new pull request, #1128: URL: https://github.com/apache/camel-k-runtime/pull/1128 Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.3.0 to 3.4.1. Release notes Sourced from https://github.com/apache/maven-enforcer/releases";>org.apache.maven.plugins:maven-enforcer-plugin's releases. 3.4.1 🐛 Bug Fixes https://issues.apache.org/jira/browse/MENFORCER-491";>[MENFORCER-491] - Fix plugin documentation generation (https://redirect.github.com/apache/maven-enforcer/pull/286";>#286) https://github.com/slawekjaranowski";>@slawekjaranowski 👻 Maintenance https://issues.apache.org/jira/browse/MENFORCER-490";>[MENFORCER-490] - Declare maven-enforcer-plugin dependencies (https://redirect.github.com/apache/maven-enforcer/pull/285";>#285) https://github.com/elharo";>@elharo https://issues.apache.org/jira/browse/MENFORCER-490";>[MENFORCER-490] - Declare org.eclipse.sisu.plexus dependencies (https://redirect.github.com/apache/maven-enforcer/pull/283";>#283) https://github.com/elharo";>@elharo https://issues.apache.org/jira/browse/MENFORCER-490";>[MENFORCER-490] - Declare maven-enforcer-extension dependencies (https://redirect.github.com/apache/maven-enforcer/pull/284";>#284) https://github.com/elharo";>@elharo https://issues.apache.org/jira/browse/MENFORCER-490";>[MENFORCER-490] - Declare maven-enforcer-extension dependencies (https://redirect.github.com/apache/maven-enforcer/pull/282";>#282) https://github.com/elharo";>@elharo 3.4.0 🚀 New features and improvements https://issues.apache.org/jira/browse/MENFORCER-488";>[MENFORCER-488] - Add EnforcerLogger.isEnabled() (https://redirect.github.com/apache/maven-enforcer/pull/279";>#279) https://github.com/kwin";>@kwin 🐛 Bug Fixes https://issues.apache.org/jira/browse/MENFORCER-393";>[MENFORCER-393] - Extend IT for dependencyConvergence and no standard protocol in repository (https://redirect.github.com/apache/maven-enforcer/pull/271";>#271) https://github.com/slawekjaranowski";>@slawekjaranowski https://issues.apache.org/jira/browse/MENFORCER-426";>[MENFORCER-426] - DependencyConvergence transitive dependencies with version range (https://redirect.github.com/apache/maven-enforcer/pull/259";>#259) https://github.com/slawekjaranowski";>@slawekjaranowski https://issues.apache.org/jira/browse/MENFORCER-480";>[MENFORCER-480] - BanDynamicVersions: fix ignores parameter (https://redirect.github.com/apache/maven-enforcer/pull/269";>#269) https://github.com/Stephan202";>@Stephan202 https://issues.apache.org/jira/browse/MENFORCER-481";>[MENFORCER-481] - BanDynamicVersions: make excludedScopes optional (https://redirect.github.com/apache/maven-enforcer/pull/270";>#270) https://github.com/Stephan202";>@Stephan202 📦 Dependency updates https://issues.apache.org/jira/browse/MENFORCER-489";>[MENFORCER-489] - Bump commons-lang3 from 3.12.0 to 3.13.0 (https://redirect.github.com/apache/maven-enforcer/pull/281";>#281) https://github.com/slawekjaranowski";>@slawekjaranowski Bump org.junit:junit-bom from 5.9.3 to 5.10.0 (https://redirect.github.com/apache/maven-enforcer/pull/280";>#280) https://github.com/dependabot";>@dependabot https://issues.apache.org/jira/browse/MENFORCER-487";>[MENFORCER-487] - Bump commons-codec from 1.15 to 1.16.0 (https://redirect.github.com/apache/maven-enforcer/pull/277";>#277) https://github.com/slawekjaranowski";>@slawekjaranowski https://issues.apache.org/jira/browse/MENFORCER-486";>[MENFORCER-486] - Bump commons-codec from 1.15 to 1.16.0 (https://redirect.github.com/apache/maven-enforcer/pull/276";>#276) https://github.com/slawekjaranowski";>@slawekjaranowski https://issues.apache.org/jira/browse/MENFORCER-485";>[MENFORCER-485] - Upgrade Parent to 40 (https://redirect.github.com/apache/maven-enforcer/pull/275";>#275) https://github.com/slawekjaranowski";>@slawekjaranowski Bump guava from 30.1.1-jre to 32.0.0-jre in /maven-enforcer-plugin/src/it/projects/dependency-convergence-cycle (https://redirect.github.com/apache/maven-enforcer/pull/274";>#274) https://github.com/dependabot";>@dependabot Bump snappy-java from 1.1.8.3 to 1.1.10.1 in /maven-enforcer-plugin/src/it/projects/dependency-convergence_transitive_provided/module1 (https://redirect.github.com/apache/maven-enforcer/pull/273";>#273) https://github.com/dependabot";>@dependabot Bump junit-bom from 5.9.2 to 5.9.3 (https://redirect.github.com/apache/maven-enforcer/pull/268";>#268) https://github.com/dependabot";>@dependabot 📝 Documentation updates Clarify availability of AbstractEnforcerRule (https://redirect.github.com/apache/maven-enforcer/pull/278";>#278) https://github.com/kwin";>@kwin 👻 Maintenance Bump org.junit:junit-bom from 5.9.3 to 5.10.0 (https://redirect.github.com/apache/maven-enforcer/pull/280";>#280) https://github.co
(camel-k-runtime) branch dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.4.1 created (now fa35f092)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.4.1 in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git at fa35f092 build(deps): bump org.apache.maven.plugins:maven-enforcer-plugin No new revisions were added by this update.
(camel-k-runtime) branch dependabot/maven/org.apache.maven.plugins-maven-pmd-plugin-3.21.2 created (now 6306657c)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.maven.plugins-maven-pmd-plugin-3.21.2 in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git at 6306657c build(deps): bump org.apache.maven.plugins:maven-pmd-plugin No new revisions were added by this update.
[PR] build(deps): bump org.apache.maven.plugins:maven-pmd-plugin from 3.20.0 to 3.21.2 [camel-k-runtime]
dependabot[bot] opened a new pull request, #1127: URL: https://github.com/apache/camel-k-runtime/pull/1127 Bumps [org.apache.maven.plugins:maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.20.0 to 3.21.2. Release notes Sourced from https://github.com/apache/maven-pmd-plugin/releases";>org.apache.maven.plugins:maven-pmd-plugin's releases. 3.21.2 🐛 Bug Fixes https://issues.apache.org/jira/browse/MPMD-370";>MPMD-370 - Remove remaining uses of FileReader https://issues.apache.org/jira/browse/MPMD-371";>MPMD-371 - Using two ruleset files with same name in different directories (https://redirect.github.com/apache/maven-pmd-plugin/pull/127";>#127) https://github.com/harbulot";>@harbulot https://issues.apache.org/jira/browse/MPMD-382";>MPMD-382 - Regression in report rendering https://issues.apache.org/jira/browse/MPMD-384";>MPMD-384 - maven-pmd-plugin is dowloading transitive dependencies of unmanaged version (https://redirect.github.com/apache/maven-pmd-plugin/pull/135";>#135) https://github.com/caiwei-ebay";>@caiwei-ebay 👻 Maintenance Move commons-lang3 to test scope (https://redirect.github.com/apache/maven-pmd-plugin/pull/131";>#131) https://github.com/elharo";>@elharo 📝 Documentation updates Typo: fill --> file (https://redirect.github.com/apache/maven-pmd-plugin/pull/133";>#133) https://github.com/elharo";>@elharo 📦 Dependency updates https://issues.apache.org/jira/browse/MPMD-380";>MPMD-380 - Prefer apache commons and JDK to Plexus utils (https://redirect.github.com/apache/maven-pmd-plugin/pull/132";>#132) https://github.com/elharo";>@elharo https://issues.apache.org/jira/browse/MPMD-387";>MPMD-387 - Upgrade to Parent 40 3.21.0 🚀 New features and improvements https://issues.apache.org/jira/browse/MPMD-365";>MPMD-365 - Support Java 20 (https://redirect.github.com/apache/maven-pmd-plugin/pull/116";>#116) https://github.com/adangel";>@adangel https://issues.apache.org/jira/browse/MPMD-375";>MPMD-375 - Replace *ReportGenerators with new *ReportRenderers (https://redirect.github.com/apache/maven-pmd-plugin/pull/130";>#130) https://github.com/michael-o";>@michael-o 🐛 Bug Fixes https://issues.apache.org/jira/browse/MPMD-369";>MPMD-369 - System encoding conflicts with XML encoding in CpdViolationCheckMojo (https://redirect.github.com/apache/maven-pmd-plugin/pull/122";>#122) https://github.com/elharo";>@elharo https://issues.apache.org/jira/browse/MPMD-373";>MPMD-373 - System property java.version is overwritten in ITs as model property (https://redirect.github.com/apache/maven-pmd-plugin/pull/128";>#128) https://github.com/michael-o";>@michael-o 👻 Maintenance https://issues.apache.org/jira/browse/MPMD-374";>MPMD-374 - Remove deprecated and unused PmdCollectingRenderer (https://redirect.github.com/apache/maven-pmd-plugin/pull/128";>#128) https://github.com/michael-o";>@michael-o https://issues.apache.org/jira/browse/MNG-6829";>MNG-6829 - Replace any StringUtils#isEmpty(String) and #isNotEmpty(String) (https://redirect.github.com/apache/maven-pmd-plugin/pull/124";>#124) https://github.com/timtebeek";>@timtebeek Remove vestigial useJava5 parameter (https://redirect.github.com/apache/maven-pmd-plugin/pull/119";>#119) https://github.com/elharo";>@elharo https://issues.apache.org/jira/browse/MPMD-367";>MPMD-367 - Verify / ubuntu-latest jdk-11-temurin 3.9.1 broken at head in MPMD-270-325-JDK11 (https://redirect.github.com/apache/maven-pmd-plugin/pull/121";>#121) https://github.com/elharo";>@elharo 📦 Dependency updates https://issues.apache.org/jira/browse/MPMD-364";>MPMD-364 - Upgrade to PMD 6.55.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/115";>#115) https://github.com/dependabot";>@dependabot https://issues.apache.org/jira/browse/MPMD-364";>MPMD-364 - Upgrade to PMD 6.54.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/112";>#112) https://github.com/adangel";>@adangel https://issues.apache.org/jira/browse/MPMD-366";>MPMD-366 - Update parent pom to 39 (https://redirect.github.com/apache/maven-pmd-plugin/pull/118";>#118) https://github.com/elharo";>@elharo https://issues.apache.org/jira/browse/MPMD-372";>MPMD-372 - Upgrade plugins and components (in ITs) (https://redirect.github.com/apache/maven-pmd-plugin/pull/128";>#128) https://github.com/michael-o";>@michael-o Bump animal-sniffer-maven-plugin from 1.22 to 1.23 (https://redirect.github.com/apache/maven-pmd-plugin/pull/117";>#117) https://github.com/dependabot";>@dependabot Bump release-drafter/release-drafter from 5.21.1 to 5.23.0 (https://redirect.github.com/apache/maven-pmd-plugin/pull/114";>#114) https://github.com/dependabot";>@dependabot Bump apache/maven-gh-actions-shared from 2 to 3 (https://redirect.github.com/apache/maven-pmd-plugin/pull/113";>#113) https://github.com/dependab
(camel) branch regen_bot updated (a4f82bb1acd -> 8ccfaa9f35b)
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 a4f82bb1acd CAMEL-17825: Hash generator in the Simple language (#12444) add 8ccfaa9f35b Fix unusued parameter No new revisions were added by this update. Summary of changes: core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
(camel) branch main updated: Fix unusued parameter
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 8ccfaa9f35b Fix unusued parameter 8ccfaa9f35b is described below commit 8ccfaa9f35b1f60589a8cfd0c0576acfaaaf9a3b Author: Claus Ibsen AuthorDate: Wed Dec 13 16:20:22 2023 +0100 Fix unusued parameter --- core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java b/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java index c5892043305..6556a8c89df 100644 --- a/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java +++ b/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java @@ -777,7 +777,7 @@ public final class IOHelper { * * @param paththe path of the file to read * @param commentPrefix the leading character sequence of comment lines. - * @param stripEmptylines if true {@code true} the lines matching {@link String#isBlank()} will not appear in the + * @param stripBlankLines if true {@code true} the lines matching {@link String#isBlank()} will not appear in the * result * @return the filtered content of the file */ @@ -785,11 +785,11 @@ public final class IOHelper { StringBuilder result = new StringBuilder(); try (Stream lines = Files.lines(path)) { lines -.filter(l -> !l.isBlank()) +.filter(l -> stripBlankLines ? !l.isBlank() : true) .filter(line -> !line.startsWith(commentPrefix)) .forEach(line -> result.append(line).append('\n')); } catch (IOException e) { -throw new RuntimeException("Could not read " + path, e); +throw new RuntimeException("Cannot read file: " + path, e); } return result.toString(); }
(camel) branch regen_bot updated (63ad028f16c -> a4f82bb1acd)
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 63ad028f16c Update known releases in catalog add a4f82bb1acd CAMEL-17825: Hash generator in the Simple language (#12444) No new revisions were added by this update. Summary of changes: .../modules/languages/pages/simple-language.adoc | 3 ++ .../language/simple/SimpleExpressionBuilder.java | 36 + .../simple/ast/SimpleFunctionExpression.java | 20 ++ .../apache/camel/language/simple/SimpleTest.java | 46 ++ .../java/org/apache/camel/util/StringHelper.java | 12 ++ 5 files changed, 117 insertions(+)
(camel) branch main updated: CAMEL-17825: Hash generator in the Simple language (#12444)
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 a4f82bb1acd CAMEL-17825: Hash generator in the Simple language (#12444) a4f82bb1acd is described below commit a4f82bb1acd2136e6035e6d75025857d56fb8026 Author: Claus Ibsen AuthorDate: Wed Dec 13 16:12:44 2023 +0100 CAMEL-17825: Hash generator in the Simple language (#12444) --- .../modules/languages/pages/simple-language.adoc | 3 ++ .../language/simple/SimpleExpressionBuilder.java | 36 + .../simple/ast/SimpleFunctionExpression.java | 20 ++ .../apache/camel/language/simple/SimpleTest.java | 46 ++ .../java/org/apache/camel/util/StringHelper.java | 12 ++ 5 files changed, 117 insertions(+) diff --git a/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc b/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc index 32d75641fcc..4789404a6cb 100644 --- a/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc +++ b/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc @@ -255,6 +255,9 @@ If no type is given the default is used. It is also possible to use a custom `Uu and bind the bean to the xref:manual::registry.adoc[Registry] with an id. For example `${uuid(myGenerator}` where the ID is _myGenerator_. +|hash(exp,algorithm) |String |Returns a hashed value (string in hex decimal) using JDK MessageDigest. +The algorithm can be SHA-256 (default) or SHA3-256. + |jsonpath(exp) | Object | When working with JSon data, then this allows to use the JsonPath language for example to extract data from the message body (in JSon format). This requires having camel-jsonpath JAR on the classpath. diff --git a/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/SimpleExpressionBuilder.java b/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/SimpleExpressionBuilder.java index b39e822adee..0be12c475a1 100644 --- a/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/SimpleExpressionBuilder.java +++ b/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/SimpleExpressionBuilder.java @@ -16,6 +16,7 @@ */ package org.apache.camel.language.simple; +import java.security.MessageDigest; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; @@ -191,6 +192,41 @@ public final class SimpleExpressionBuilder { }; } +/** + * Hashes the value using the given algorithm + */ +public static Expression hashExpression(final String expression, final String algorithm) { +return new ExpressionAdapter() { +private Expression exp; + +@Override +public void init(CamelContext context) { +exp = context.resolveLanguage("simple").createExpression(expression); +exp.init(context); +} + +@Override +public Object evaluate(Exchange exchange) { +byte[] data = exp.evaluate(exchange, byte[].class); +if (data != null && data.length > 0) { +try { +MessageDigest digest = MessageDigest.getInstance(algorithm); +byte[] bytes = digest.digest(data); +return StringHelper.bytesToHex(bytes); +} catch (Exception e) { +throw CamelExecutionException.wrapCamelExecutionException(exchange, e); +} +} +return null; +} + +@Override +public String toString() { +return "hash(" + expression + "," + algorithm + ")"; +} +}; +} + /** * Returns a random number between min and max (exclusive) */ diff --git a/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java b/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java index d9dfbf3474f..ddc8fd13425 100644 --- a/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java +++ b/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java @@ -663,6 +663,26 @@ public class SimpleFunctionExpression extends LiteralExpression { return SimpleExpressionBuilder.uuidExpression(null); } +// hash function +remainder = ifStartsWithReturnRemainder("hash(", function); +if (remainder != null) { +String values = StringHelper.before(remainder, ")"); +if (values == nul
(camel) branch hash deleted (was 6a5eda68650)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch hash in repository https://gitbox.apache.org/repos/asf/camel.git was 6a5eda68650 CAMEL-17825: Hash generator in the Simple language The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
Re: [PR] CAMEL-17825: Hash generator in the Simple language [camel]
davsclaus merged PR #12444: URL: https://github.com/apache/camel/pull/12444 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] CAMEL-20231: make generators configurable [camel-spring-boot]
Croway commented on PR #1042: URL: https://github.com/apache/camel-spring-boot/pull/1042#issuecomment-1854077246 oh yeah, makes sense, so that documentation is updated. Thanks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] CAMEL-17825: Hash generator in the Simple language [camel]
davsclaus opened a new pull request, #12444: URL: https://github.com/apache/camel/pull/12444 # Description # Target - [ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses `camel-3.x`, whereas Camel 4 uses the `main` branch) # Tracking - [ ] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [ ] I checked that each commit in the pull request has a meaningful subject line and body. - [ ] I have run `mvn clean install -DskipTests` locally and I have committed all auto-generated changes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch hash created (now 6a5eda68650)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch hash in repository https://gitbox.apache.org/repos/asf/camel.git at 6a5eda68650 CAMEL-17825: Hash generator in the Simple language This branch includes the following new commits: new 6a5eda68650 CAMEL-17825: Hash generator in the Simple language The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
Re: [PR] CAMEL-17825: Hash generator in the Simple language [camel]
github-actions[bot] commented on PR #12444: URL: https://github.com/apache/camel/pull/12444#issuecomment-1854074804 :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) 01/01: CAMEL-17825: Hash generator in the Simple language
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch hash in repository https://gitbox.apache.org/repos/asf/camel.git commit 6a5eda686502eb8391249048303298fae01d3f5b Author: Claus Ibsen AuthorDate: Wed Dec 13 15:58:15 2023 +0100 CAMEL-17825: Hash generator in the Simple language --- .../modules/languages/pages/simple-language.adoc | 3 ++ .../language/simple/SimpleExpressionBuilder.java | 36 + .../simple/ast/SimpleFunctionExpression.java | 20 ++ .../apache/camel/language/simple/SimpleTest.java | 46 ++ .../java/org/apache/camel/util/StringHelper.java | 12 ++ 5 files changed, 117 insertions(+) diff --git a/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc b/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc index 32d75641fcc..4789404a6cb 100644 --- a/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc +++ b/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-language.adoc @@ -255,6 +255,9 @@ If no type is given the default is used. It is also possible to use a custom `Uu and bind the bean to the xref:manual::registry.adoc[Registry] with an id. For example `${uuid(myGenerator}` where the ID is _myGenerator_. +|hash(exp,algorithm) |String |Returns a hashed value (string in hex decimal) using JDK MessageDigest. +The algorithm can be SHA-256 (default) or SHA3-256. + |jsonpath(exp) | Object | When working with JSon data, then this allows to use the JsonPath language for example to extract data from the message body (in JSon format). This requires having camel-jsonpath JAR on the classpath. diff --git a/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/SimpleExpressionBuilder.java b/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/SimpleExpressionBuilder.java index b39e822adee..0be12c475a1 100644 --- a/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/SimpleExpressionBuilder.java +++ b/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/SimpleExpressionBuilder.java @@ -16,6 +16,7 @@ */ package org.apache.camel.language.simple; +import java.security.MessageDigest; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; @@ -191,6 +192,41 @@ public final class SimpleExpressionBuilder { }; } +/** + * Hashes the value using the given algorithm + */ +public static Expression hashExpression(final String expression, final String algorithm) { +return new ExpressionAdapter() { +private Expression exp; + +@Override +public void init(CamelContext context) { +exp = context.resolveLanguage("simple").createExpression(expression); +exp.init(context); +} + +@Override +public Object evaluate(Exchange exchange) { +byte[] data = exp.evaluate(exchange, byte[].class); +if (data != null && data.length > 0) { +try { +MessageDigest digest = MessageDigest.getInstance(algorithm); +byte[] bytes = digest.digest(data); +return StringHelper.bytesToHex(bytes); +} catch (Exception e) { +throw CamelExecutionException.wrapCamelExecutionException(exchange, e); +} +} +return null; +} + +@Override +public String toString() { +return "hash(" + expression + "," + algorithm + ")"; +} +}; +} + /** * Returns a random number between min and max (exclusive) */ diff --git a/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java b/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java index d9dfbf3474f..ddc8fd13425 100644 --- a/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java +++ b/core/camel-core-languages/src/main/java/org/apache/camel/language/simple/ast/SimpleFunctionExpression.java @@ -663,6 +663,26 @@ public class SimpleFunctionExpression extends LiteralExpression { return SimpleExpressionBuilder.uuidExpression(null); } +// hash function +remainder = ifStartsWithReturnRemainder("hash(", function); +if (remainder != null) { +String values = StringHelper.before(remainder, ")"); +if (values == null || ObjectHelper.isEmpty(values)) { +throw new SimpleParserException( +"Valid syntax: ${hash(value,algorithm)} or ${hash(value)} was: " + function, t
Re: [PR] CAMEL-20231: make generators configurable [camel-spring-boot]
davsclaus commented on PR #1042: URL: https://github.com/apache/camel-spring-boot/pull/1042#issuecomment-1854066102 yes but isnt there a default algorithm in jasypt itself. And if it has a default then it can also be set in that field, then SB and tooling know what the default value is. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Error while running github feature from .asf.yaml in camel-website-pub!
An error occurred while running github feature in .asf.yaml!: 422 {"message": "Validation Failed", "errors": [{"message": "Sorry, you need to allow at least one merge strategy. (no_merge_method)", "resource": "Repository", "field": "merge_commit_allowed", "code": "invalid"}], "documentation_url": "https://docs.github.com/rest/repos/repos#update-a-repository"}
(camel-website-pub) branch asf-site updated (20e77c9a2f -> a9baca6596)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website-pub.git discard 20e77c9a2f Website updated to c1e4d093b331751537124004fccd9a51f42b1050 discard 45a6d98377 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 25515d39af Website updated to 325e929157412b27394080f4d4dba3d821476ddf new a9baca6596 Website updated to 209a8e86b55b6314fe0144bf210a66dcac2f2017 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 (20e77c9a2f) \ N -- N -- N refs/heads/asf-site (a9baca6596) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .htaccess | 72 +- .well-known/security.txt |2 +- camel-spring-boot/next/list.html |2 +- components/next/azure-cosmosdb-component.html |2 +- components/next/azure-eventhubs-component.html |4 +- components/next/others/dsl.html|2 +- components/next/others/groovy-dsl.html |2 +- components/next/others/index.html |2 +- components/next/others/jasypt.html | 10 +- manual/camel-4x-upgrade-guide-4_4.html |2 +- .../camel-spring-3.20.9.xsd} |0 site-manifest.json |4 +- sitemap-camel-core.xml | 12 +- sitemap-camel-k.xml| 1088 ++-- sitemap-camel-kafka-connector.xml | 806 +-- sitemap-camel-kamelets.xml | 1740 +++--- sitemap-camel-karaf.xml| 52 +- sitemap-camel-quarkus.xml | 2686 - sitemap-camel-spring-boot.xml | 52 +- sitemap-components.xml | 5764 ++-- sitemap-manual.xml | 414 +- 21 files changed, 6362 insertions(+), 6356 deletions(-) rename schema/{spring-xml/camel-spring-xml-3.20.9.xsd => spring/camel-spring-3.20.9.xsd} (100%)
Re: [PR] CAMEL-20231: make generators configurable [camel-spring-boot]
Croway commented on PR #1042: URL: https://github.com/apache/camel-spring-boot/pull/1042#issuecomment-1854015946 > okay had to do a few small changes - this -starter is somewhat special. It does some weird custom binder stuff, that should not be needed, but do it more normal spring boot way. Interesting, I am sorry I thought it was an easy change, but doesn't `private String randomIvGeneratorAlgorithm;` resolve to null if not set? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] CAMEL-20231: make generators configurable [camel-spring-boot]
davsclaus commented on PR #1042: URL: https://github.com/apache/camel-spring-boot/pull/1042#issuecomment-1854012033 okay had to do a few small changes - this -starter is somewhat special. It does some weird custom binder stuff, that should not be needed, but do it more normal spring boot way. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-spring-boot) branch main updated: CAMEL-20231: make generators configurable (#1042)
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 4bf2292fd75 CAMEL-20231: make generators configurable (#1042) 4bf2292fd75 is described below commit 4bf2292fd7559ad2dd6b915c5226e5e66cd729da Author: Claus Ibsen AuthorDate: Wed Dec 13 15:22:24 2023 +0100 CAMEL-20231: make generators configurable (#1042) --- .../camel-jasypt-starter/src/main/docs/jasypt.json | 64 +- .../JasyptEncryptedPropertiesConfiguration.java| 11 +--- .../src/test/resources/application.properties | 2 - 3 files changed, 65 insertions(+), 12 deletions(-) diff --git a/components-starter/camel-jasypt-starter/src/main/docs/jasypt.json b/components-starter/camel-jasypt-starter/src/main/docs/jasypt.json index da5f5f24116..120b69f 100644 --- a/components-starter/camel-jasypt-starter/src/main/docs/jasypt.json +++ b/components-starter/camel-jasypt-starter/src/main/docs/jasypt.json @@ -1,3 +1,65 @@ { - "properties": [] + "groups": [ +{ + "name": "camel.component.jasypt", + "type": "org.apache.camel.component.jasypt.springboot.JasyptEncryptedPropertiesConfiguration", + "sourceType": "org.apache.camel.component.jasypt.springboot.JasyptEncryptedPropertiesConfiguration" +} + ], + "properties": [ +{ + "name": "camel.component.jasypt.algorithm", + "type": "java.lang.String", + "description": "The algorithm to be used for decryption. Default: PBEWithMD5AndDES", + "sourceType": "org.apache.camel.component.jasypt.springboot.JasyptEncryptedPropertiesConfiguration", + "defaultValue": "PBEWithMD5AndDES" +}, +{ + "name": "camel.component.jasypt.enabled", + "type": "java.lang.Boolean", + "description": "Enable the component", + "sourceType": "org.apache.camel.component.jasypt.springboot.JasyptEncryptedPropertiesConfiguration", + "defaultValue": false +}, +{ + "name": "camel.component.jasypt.iv-generator-class-name", + "type": "java.lang.String", + "description": "The initialization vector (IV) generator applied in decryption operations. Default: org.jasypt.iv.", + "sourceType": "org.apache.camel.component.jasypt.springboot.JasyptEncryptedPropertiesConfiguration" +}, +{ + "name": "camel.component.jasypt.password", + "type": "java.lang.String", + "description": "The master password used by Jasypt for decrypting the values. This option supports prefixes which influence the master password lookup behaviour: sysenv: means to lookup the OS system environment with the given key. sys: means to lookup a JVM system property.", + "sourceType": "org.apache.camel.component.jasypt.springboot.JasyptEncryptedPropertiesConfiguration" +}, +{ + "name": "camel.component.jasypt.provider-name", + "type": "java.lang.String", + "description": "The class name of the security provider to be used for obtaining the encryption algorithm.", + "sourceType": "org.apache.camel.component.jasypt.springboot.JasyptEncryptedPropertiesConfiguration" +}, +{ + "name": "camel.component.jasypt.random-iv-generator-algorithm", + "type": "java.lang.String", + "description": "The algorithm for the random iv generator", + "sourceType": "org.apache.camel.component.jasypt.springboot.JasyptEncryptedPropertiesConfiguration", + "defaultValue": "SHA1PRNG" +}, +{ + "name": "camel.component.jasypt.random-salt-generator-algorithm", + "type": "java.lang.String", + "description": "The algorithm for the salt generator", + "sourceType": "org.apache.camel.component.jasypt.springboot.JasyptEncryptedPropertiesConfiguration", + "defaultValue": "SHA1PRNG" +}, +{ + "name": "camel.component.jasypt.salt-generator-class-name", + "type": "java.lang.String", + "description": "The salt generator applied in decryption operations. Default: org.jasypt.salt.RandomSaltGenerator", + "sourceType": "org.apache.camel.component.jasypt.springboot.JasyptEncryptedPropertiesConfiguration", + "defaultValue": "org.jasypt.salt.RandomSaltGenerator" +} + ], + "hints": [] } \ No newline at end of file diff --git a/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesConfiguration.java b/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesConfiguration.java index f73d8a444c9..e7e94c606ab 100644 --- a/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesConfiguration.java +++ b/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedProper
(camel-spring-boot) branch main updated: CAMEL-20231: make generators configurable (#1042)
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 d2c7a4cf732 CAMEL-20231: make generators configurable (#1042) d2c7a4cf732 is described below commit d2c7a4cf732a86cb4f582a2722f9ec8efaf901f9 Author: Claus Ibsen AuthorDate: Wed Dec 13 15:20:11 2023 +0100 CAMEL-20231: make generators configurable (#1042) --- .../springboot/JasyptEncryptedPropertiesConfiguration.java| 11 --- .../src/test/resources/application.properties | 2 ++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesConfiguration.java b/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesConfiguration.java index 7312bcfd731..f73d8a444c9 100644 --- a/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesConfiguration.java +++ b/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesConfiguration.java @@ -56,11 +56,17 @@ public class JasyptEncryptedPropertiesConfiguration { @Value("${camel.component.jasypt.salt-generator-class-name}") private String saltGeneratorClassName = "org.jasypt.salt.RandomSaltGenerator"; +/** + * The algorithm for the random iv generator + */ @Value("${camel.component.jasypt.random-iv-generator-algorithm}") -private String randomIvGeneratorAlgorithm; +private String randomIvGeneratorAlgorithm = "SHA1PRNG"; +/** + * The algorithm for the salt generator + */ @Value("${camel.component.jasypt.random-salt-generator-algorithm}") -private String randomSaltGeneratorAlgorithm; +private String randomSaltGeneratorAlgorithm = "SHA1PRNG"; /** * The class name of the security provider to be used for obtaining the encryption @@ -69,7 +75,6 @@ public class JasyptEncryptedPropertiesConfiguration { @Value("${camel.component.jasypt.provider-name}") private String providerName; - public boolean isEnabled() { return enabled; } diff --git a/components-starter/camel-jasypt-starter/src/test/resources/application.properties b/components-starter/camel-jasypt-starter/src/test/resources/application.properties index 54b2e8a1488..bc777df61db 100644 --- a/components-starter/camel-jasypt-starter/src/test/resources/application.properties +++ b/components-starter/camel-jasypt-starter/src/test/resources/application.properties @@ -29,4 +29,6 @@ camel.component.jasypt.algorithm= PBEWITHHMACSHA256ANDAES_256 camel.component.jasypt.password = sys:JASYPT_ENCRYPTION_PASSWORD camel.component.jasypt.iv-generator-class-name = org.jasypt.iv.RandomIvGenerator camel.component.jasypt.salt-generator-class-name = org.jasypt.salt.RandomSaltGenerator +camel.component.jasypt.random-iv-generator-algorithm = SHA1PRNG +camel.component.jasypt.random-salt-generator-algorithm = SHA1PRNG camel.component.jasypt.provider-name = SunJCE
Re: [PR] CAMEL-20231: make generators configurable [camel-spring-boot]
davsclaus merged PR #1042: URL: https://github.com/apache/camel-spring-boot/pull/1042 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-spring-boot) branch main updated: CAMEL-20231: make generators configurable (#1042)
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 584168fe194 CAMEL-20231: make generators configurable (#1042) 584168fe194 is described below commit 584168fe194c8110f362f65f21700b2b298088d0 Author: Federico Mariani <34543311+cro...@users.noreply.github.com> AuthorDate: Wed Dec 13 15:09:22 2023 +0100 CAMEL-20231: make generators configurable (#1042) --- ...JasyptEncryptedPropertiesAutoconfiguration.java | 4 +++- .../JasyptEncryptedPropertiesConfiguration.java| 22 ++ .../springboot/JasyptEncryptedPropertiesUtils.java | 7 ++- 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesAutoconfiguration.java b/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesAutoconfiguration.java index 6c299bb4f46..550195a85cd 100644 --- a/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesAutoconfiguration.java +++ b/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesAutoconfiguration.java @@ -116,6 +116,8 @@ public class JasyptEncryptedPropertiesAutoconfiguration { if (saltGenerator != null) { return saltGenerator; } -return new RandomSaltGenerator(); + +return configuration.getRandomSaltGeneratorAlgorithm() != null ? +new RandomSaltGenerator(configuration.getRandomSaltGeneratorAlgorithm()) : new RandomSaltGenerator(); } } diff --git a/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesConfiguration.java b/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesConfiguration.java index b4e8a4811b0..7312bcfd731 100644 --- a/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesConfiguration.java +++ b/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesConfiguration.java @@ -56,6 +56,12 @@ public class JasyptEncryptedPropertiesConfiguration { @Value("${camel.component.jasypt.salt-generator-class-name}") private String saltGeneratorClassName = "org.jasypt.salt.RandomSaltGenerator"; +@Value("${camel.component.jasypt.random-iv-generator-algorithm}") +private String randomIvGeneratorAlgorithm; + +@Value("${camel.component.jasypt.random-salt-generator-algorithm}") +private String randomSaltGeneratorAlgorithm; + /** * The class name of the security provider to be used for obtaining the encryption * algorithm. @@ -111,5 +117,21 @@ public class JasyptEncryptedPropertiesConfiguration { public void setProviderName(String providerName) { this.providerName = providerName; } + +public String getRandomIvGeneratorAlgorithm() { +return randomIvGeneratorAlgorithm; +} + +public void setRandomIvGeneratorAlgorithm(String randomIvGeneratorAlgorithm) { +this.randomIvGeneratorAlgorithm = randomIvGeneratorAlgorithm; +} + +public String getRandomSaltGeneratorAlgorithm() { +return randomSaltGeneratorAlgorithm; +} + +public void setRandomSaltGeneratorAlgorithm(String randomSaltGeneratorAlgorithm) { +this.randomSaltGeneratorAlgorithm = randomSaltGeneratorAlgorithm; +} } diff --git a/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesUtils.java b/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesUtils.java index 1289ae070c4..747435142de 100644 --- a/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesUtils.java +++ b/components-starter/camel-jasypt-starter/src/main/java/org/apache/camel/component/jasypt/springboot/JasyptEncryptedPropertiesUtils.java @@ -110,7 +110,12 @@ public class JasyptEncryptedPropertiesUtils { String ivGeneratorClassName = configuration.getIvGeneratorClassName(); String algorithm = configuration.getAlgorithm(); if (isBlank(ivGeneratorClassName)) { -return isIVNeeded(algorithm) ? new RandomIvGenerator() : new NoIvGenerator(); +if (isIVNeeded(algorithm)) { +return configuration.getRandomIvGeneratorAlgorithm() != null ? +new RandomIvGenerator(config
(camel) branch regen_bot updated (fc2567db83e -> 63ad028f16c)
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 fc2567db83e CAMEL-20233: camel-jbang - camel catalog other does not list kotlin-dsl add b181817d494 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs add ec8909a62e4 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Migration docs add 4f2660c588a CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Test add 1bd5cf0c2a9 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Docs add 63ad028f16c Update known releases in catalog No new revisions were added by this update. Summary of changes: .../camel/catalog/components/azure-eventhubs.json | 14 --- .../camel/catalog/releases/camel-releases.json | 7 .../eventhubs/EventHubsComponentConfigurer.java| 6 +++ .../eventhubs/EventHubsEndpointConfigurer.java | 6 +++ .../eventhubs/EventHubsEndpointUriFactory.java | 3 +- .../component/azure/eventhubs/azure-eventhubs.json | 14 --- .../src/main/docs/azure-eventhubs-component.adoc | 16 ++-- .../component/azure/eventhubs}/CredentialType.java | 12 -- .../azure/eventhubs/EventHubsConfiguration.java| 16 .../eventhubs/client/EventHubsClientFactory.java | 44 -- .../azure/eventhubs/EventHubsComponentTest.java| 19 ++ .../azure/eventhubs/EventProcessorTest.java| 1 + .../ROOT/pages/camel-4x-upgrade-guide-4_4.adoc | 8 13 files changed, 134 insertions(+), 32 deletions(-) copy components/camel-azure/{camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb => camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs}/CredentialType.java (84%)
(camel) branch main updated: Update known releases in catalog
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 63ad028f16c Update known releases in catalog 63ad028f16c is described below commit 63ad028f16ce42784ac8ac400a1d333c86fff2f3 Author: Claus Ibsen AuthorDate: Wed Dec 13 14:56:16 2023 +0100 Update known releases in catalog --- .../org/apache/camel/catalog/releases/camel-releases.json | 7 +++ 1 file changed, 7 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json index a4089a0bb7a..03a0eb991bd 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json @@ -590,6 +590,13 @@ "kind": "lts", "jdk": "11,17" }, +{ +"version": "3.20.9", +"date": "2023-12-13", +"eol": "2023-12-21", +"kind": "lts", +"jdk": "11,17" +}, { "version": "3.21.0", "date": "2023-06-30",
(camel-website) branch main updated: Move XSD in correct folder
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-website.git The following commit(s) were added to refs/heads/main by this push: new 209a8e86 Move XSD in correct folder 209a8e86 is described below commit 209a8e86b55b6314fe0144bf210a66dcac2f2017 Author: Claus Ibsen AuthorDate: Wed Dec 13 14:42:45 2023 +0100 Move XSD in correct folder --- .../camel-spring-xml-3.20.9.xsd => spring/camel-spring-3.20.9.xsd}| 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/static/schema/spring-xml/camel-spring-xml-3.20.9.xsd b/static/schema/spring/camel-spring-3.20.9.xsd similarity index 100% rename from static/schema/spring-xml/camel-spring-xml-3.20.9.xsd rename to static/schema/spring/camel-spring-3.20.9.xsd
(camel) branch regen_bot updated (9d66b01c1c3 -> fc2567db83e)
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 9d66b01c1c3 Update jasypt docs add 1f6e246abdd Polished add fc2567db83e CAMEL-20233: camel-jbang - camel catalog other does not list kotlin-dsl No new revisions were added by this update. Summary of changes: bom/camel-bom/pom.xml | 5 + .../resources/org/apache/camel/catalog/others.properties | 1 + .../resources/org/apache/camel/catalog/others/groovy-dsl.json | 2 +- .../apache/camel/catalog/others/{js-dsl.json => kotlin-dsl.json} | 8 dsl/camel-groovy-dsl/camel-groovy-dsl/pom.xml | 1 + .../camel-groovy-dsl/src/generated/resources/groovy-dsl.json | 2 +- .../camel-groovy-dsl/src/main/docs/groovy-dsl.adoc| 4 ++-- .../resources/META-INF/services/org/apache/camel/other.properties | 7 +++ .../camel-kotlin-dsl/src/generated/resources/kotlin-dsl.json | 8 dsl/camel-kotlin-dsl/src/main/docs/kotlin-dsl.adoc| 1 + parent/pom.xml| 5 + .../org/apache/camel/maven/packaging/PrepareComponentMojo.java| 6 ++ 12 files changed, 38 insertions(+), 12 deletions(-) copy catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/{js-dsl.json => kotlin-dsl.json} (61%) create mode 100644 dsl/camel-kotlin-dsl/src/generated/resources/META-INF/services/org/apache/camel/other.properties copy catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/js-dsl.json => dsl/camel-kotlin-dsl/src/generated/resources/kotlin-dsl.json (61%)
(camel) branch regen_bot updated (096329ddfa8 -> 9d66b01c1c3)
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 096329ddfa8 CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic endpoints with template parameters (#12443) add 805c3829630 CAMEL-20231: make generators configurable add 9d66b01c1c3 Update jasypt docs No new revisions were added by this update. Summary of changes: components/camel-jasypt/src/main/docs/jasypt.adoc | 16 + .../component/jasypt/JasyptPropertiesParser.java | 21 + .../org/apache/camel/component/jasypt/Main.java| 22 ++ .../jasypt/JasyptPropertiesParserTest.java | 21 - .../jasypt/JasytPropertiesParserCustomAlgTest.java | 26 -- 5 files changed, 89 insertions(+), 17 deletions(-) copy core/camel-core/src/test/java/org/apache/camel/component/bean/BeanWithHeaderAnnotation.java => components/camel-jasypt/src/test/java/org/apache/camel/component/jasypt/JasytPropertiesParserCustomAlgTest.java (50%)
(camel) branch CAMEL-18590-eventhubs deleted (was f5a021fbb31)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch CAMEL-18590-eventhubs in repository https://gitbox.apache.org/repos/asf/camel.git was f5a021fbb31 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Docs 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) 01/04: CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit b181817d494a15949e48ef4fa64fcc2537e0d59b Author: Andrea Cosentino AuthorDate: Wed Dec 13 13:26:05 2023 +0100 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs Signed-off-by: Andrea Cosentino --- .../camel/catalog/components/azure-eventhubs.json | 14 --- .../eventhubs/EventHubsComponentConfigurer.java| 6 +++ .../eventhubs/EventHubsEndpointConfigurer.java | 6 +++ .../eventhubs/EventHubsEndpointUriFactory.java | 3 +- .../component/azure/eventhubs/azure-eventhubs.json | 14 --- .../component/azure/eventhubs/CredentialType.java | 39 +++ .../azure/eventhubs/EventHubsConfiguration.java| 16 .../eventhubs/client/EventHubsClientFactory.java | 44 -- .../azure/eventhubs/EventProcessorTest.java| 1 + 9 files changed, 118 insertions(+), 25 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-eventhubs.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-eventhubs.json index 6a599499281..8cfe7eba98a 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-eventhubs.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-eventhubs.json @@ -42,9 +42,10 @@ "producerAsyncClient": { "index": 17, "kind": "property", "displayName": "Producer Async Client", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "com.azure.messaging.eventhubs.EventHubProducerAsyncClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Sets the Eve [...] "autowiredEnabled": { "index": 18, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching [...] "connectionString": { "index": 19, "kind": "property", "displayName": "Connection String", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Instead of supplying namespace, sharedAccessKey, sharedAccessName ... etc, you can [...] -"sharedAccessKey": { "index": 20, "kind": "property", "displayName": "Shared 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.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "The generated value for the SharedAccessName." }, -"sharedAccessName": { "index": 21, "kind": "property", "displayName": "Shared Access Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "The name you chose for your EventHubs SAS keys." }, -"tokenCredential": { "index": 22, "kind": "property", "displayName": "Token Credential", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "com.azure.core.credential.TokenCredential", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.azure.eventhubs.EventHubsConfiguration", "configurationField": "configuration", "description": "Still another way of authentication (beside supplying namesp [...] +"credentialType": { "index": 20, "kind": "property", "displayName": "Credential Type", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.component.azure.eventhubs.CredentialType", "enum": [ "AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "CONNECTION_STRING", "configurationClass": "org
(camel) 02/04: CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Migration docs
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit ec8909a62e4141a890181877a09b05c71386ed3c Author: Andrea Cosentino AuthorDate: Wed Dec 13 13:29:12 2023 +0100 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Migration docs Signed-off-by: Andrea Cosentino --- .../modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc| 8 1 file changed, 8 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc index 136a310b11e..ed29cc15f57 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc @@ -15,3 +15,11 @@ use the default constructor if necessary. The useDefaultIdentity parameter has been removed in favor of the credentialType parameter. Now user should select between SHARED_ACCOUNT_KEY and AZURE_IDENTITY. This is part of the effort explained in CAMEL-18590. + +=== camel-azure-eventhubs + +The credentialType parameter has been introduced with three possible values: AZURE_IDENTITY, CONNECTION_STRING and TOKEN_CREDENTIAL. +With the CONNECTION_STRING mode the user could explicitly set the connectionString parameters or use the sharedAccessName and sharedAccessKey to automatically build the connection string. +With the TOKEN_CREDENTIAL mode the user could pass a TokenCredential instance. +With the AZURE_IDENTITY mode the user will be able to use the Default Azure Credentials Chain. +This is part of the effort explained in CAMEL-18590.
(camel) 04/04: CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Docs
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 1bd5cf0c2a9ce624860bbab509c7094919586e58 Author: Andrea Cosentino AuthorDate: Wed Dec 13 13:45:14 2023 +0100 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Docs Signed-off-by: Andrea Cosentino --- .../src/main/docs/azure-eventhubs-component.adoc | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/components/camel-azure/camel-azure-eventhubs/src/main/docs/azure-eventhubs-component.adoc b/components/camel-azure/camel-azure-eventhubs/src/main/docs/azure-eventhubs-component.adoc index 2e68bc4da17..4922aa632c7 100644 --- a/components/camel-azure/camel-azure-eventhubs/src/main/docs/azure-eventhubs-component.adoc +++ b/components/camel-azure/camel-azure-eventhubs/src/main/docs/azure-eventhubs-component.adoc @@ -66,17 +66,27 @@ include::partial$component-endpoint-options.adoc[] == Authentication Information +You have three different Credential Types: AZURE_IDENTITY, TOKEN_CREDENTIAL and CONNECTION_STRING. You can also provide a client instance yourself. To use this component, you have 3 options in order to provide the required Azure authentication information: +CONNECTION_STRING: - Provide `sharedAccessName` and `sharedAccessKey` for your Azure Event Hubs account. The sharedAccessKey can be generated through your Event Hubs Azure portal. - Provide `connectionString` string, if you provide the connection string, you don't supply `namespace`, `eventHubName`, `sharedAccessKey` and `sharedAccessName` as these data already included in the `connectionString`, therefore is the simplest option to get started. Learn more https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-get-connection-string[here] on how to generate the connection string. -- Provide a https://docs.microsoft.com/en-us/java/api/com.azure.messaging.eventhubs.eventhubproducerasyncclient?view=azure-java-stable[EventHubProducerAsyncClient] instance which can be -provided into `producerAsyncClient`. However, this is *only possible for camel producer*, for the camel consumer, is not possible to inject the client due to some design constraint by the `EventProcessorClient`. + +TOKEN_CREDENTIAL: - Provide an implementation of `com.azure.core.credential.TokenCredential` into the Camel's Registry, e.g. using the `com.azure.identity.DefaultAzureCredentialBuilder().build();` API. See the documentation https://docs.microsoft.com/en-us/azure/active-directory/authentication/overview-authentication[here about Azure-AD authentication]. +AZURE_IDENTITY: +- This will use `com.azure.identity.DefaultAzureCredentialBuilder().build();` instance. This will follow the Default Azure Credential Chain. +See the documentation https://docs.microsoft.com/en-us/azure/active-directory/authentication/overview-authentication[here about Azure-AD authentication]. + +Client instance: +- Provide a https://docs.microsoft.com/en-us/java/api/com.azure.messaging.eventhubs.eventhubproducerasyncclient?view=azure-java-stable[EventHubProducerAsyncClient] instance which can be +provided into `producerAsyncClient`. However, this is *only possible for camel producer*, for the camel consumer, is not possible to inject the client due to some design constraint by the `EventProcessorClient`. + == Checkpoint Store Information A checkpoint store stores and retrieves partition ownership information and checkpoint details for each partition in a given consumer group of an event hub instance. Users are not meant to implement an CheckpointStore. Users are expected to choose existing implementations of this interface, instantiate it, and pass it to the component through `checkpointStore` option. @@ -174,7 +184,7 @@ public com.azure.core.credential.TokenCredential myTokenCredential() { } from("direct:start") -.to("azure-eventhubs:namespace/eventHubName?tokenCredential=#myTokenCredential)" +.to("azure-eventhubs:namespace/eventHubName?tokenCredential=#myTokenCredential&credentialType=TOKEN_CREDENTIAL)" === Development Notes (Important)
(camel) 03/04: CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Test
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 4f2660c588aec04668188dc90f82022aa8740d9d Author: Andrea Cosentino AuthorDate: Wed Dec 13 13:36:41 2023 +0100 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Test Signed-off-by: Andrea Cosentino --- .../azure/eventhubs/EventHubsComponentTest.java | 19 +++ 1 file changed, 19 insertions(+) diff --git a/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentTest.java b/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentTest.java index dffb896ddf5..0b294de006c 100644 --- a/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentTest.java +++ b/components/camel-azure/camel-azure-eventhubs/src/test/java/org/apache/camel/component/azure/eventhubs/EventHubsComponentTest.java @@ -139,6 +139,25 @@ class EventHubsComponentTest extends CamelTestSupport { assertEquals(1000, endpoint.getConfiguration().getCheckpointBatchTimeout()); } +@Test +public void testCreateEndpointWithConfigAzureIdentity() { +final String uri = "azure-eventhubs:namespace/hubName?sharedAccessName=DummyAccessKeyName" + + "&sharedAccessKey=DummyKey" + + "&consumerGroupName=testConsumer&prefetchCount=100" + + "&checkpointBatchSize=100&checkpointBatchTimeout=1000" + + "&credentialType=AZURE_IDENTITY"; + +final EventHubsEndpoint endpoint = context.getEndpoint(uri, EventHubsEndpoint.class); + +assertEquals("namespace", endpoint.getConfiguration().getNamespace()); +assertEquals("hubName", endpoint.getConfiguration().getEventHubName()); +assertEquals("testConsumer", endpoint.getConfiguration().getConsumerGroupName()); +assertEquals(CredentialType.AZURE_IDENTITY, endpoint.getConfiguration().getCredentialType()); +assertEquals(100, endpoint.getConfiguration().getPrefetchCount()); +assertEquals(100, endpoint.getConfiguration().getCheckpointBatchSize()); +assertEquals(1000, endpoint.getConfiguration().getCheckpointBatchTimeout()); +} + private String getErrorMessage(final String uri) { ResolveEndpointFailedException exception = assertThrows(ResolveEndpointFailedException.class, () -> context.getEndpoint(uri));
Re: [PR] CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs [camel]
oscerd merged PR #12442: URL: https://github.com/apache/camel/pull/12442 -- 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 (fc2567db83e -> 1bd5cf0c2a9)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from fc2567db83e CAMEL-20233: camel-jbang - camel catalog other does not list kotlin-dsl new b181817d494 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs new ec8909a62e4 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Migration docs new 4f2660c588a CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Test new 1bd5cf0c2a9 CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs - Docs The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../camel/catalog/components/azure-eventhubs.json | 14 --- .../eventhubs/EventHubsComponentConfigurer.java| 6 +++ .../eventhubs/EventHubsEndpointConfigurer.java | 6 +++ .../eventhubs/EventHubsEndpointUriFactory.java | 3 +- .../component/azure/eventhubs/azure-eventhubs.json | 14 --- .../src/main/docs/azure-eventhubs-component.adoc | 16 ++-- .../component/azure/eventhubs}/CredentialType.java | 12 -- .../azure/eventhubs/EventHubsConfiguration.java| 16 .../eventhubs/client/EventHubsClientFactory.java | 44 -- .../azure/eventhubs/EventHubsComponentTest.java| 19 ++ .../azure/eventhubs/EventProcessorTest.java| 1 + .../ROOT/pages/camel-4x-upgrade-guide-4_4.adoc | 8 12 files changed, 127 insertions(+), 32 deletions(-) copy components/camel-azure/{camel-azure-cosmosdb/src/main/java/org/apache/camel/component/azure/cosmosdb => camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs}/CredentialType.java (84%)
(camel) branch main updated (9d66b01c1c3 -> fc2567db83e)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from 9d66b01c1c3 Update jasypt docs add 1f6e246abdd Polished add fc2567db83e CAMEL-20233: camel-jbang - camel catalog other does not list kotlin-dsl No new revisions were added by this update. Summary of changes: bom/camel-bom/pom.xml | 5 + .../resources/org/apache/camel/catalog/others.properties | 1 + .../resources/org/apache/camel/catalog/others/groovy-dsl.json | 2 +- .../apache/camel/catalog/others/{js-dsl.json => kotlin-dsl.json} | 8 dsl/camel-groovy-dsl/camel-groovy-dsl/pom.xml | 1 + .../camel-groovy-dsl/src/generated/resources/groovy-dsl.json | 2 +- .../camel-groovy-dsl/src/main/docs/groovy-dsl.adoc| 4 ++-- .../resources/META-INF/services/org/apache/camel/other.properties | 7 +++ .../camel-kotlin-dsl/src/generated/resources/kotlin-dsl.json | 8 dsl/camel-kotlin-dsl/src/main/docs/kotlin-dsl.adoc| 1 + parent/pom.xml| 5 + .../org/apache/camel/maven/packaging/PrepareComponentMojo.java| 6 ++ 12 files changed, 38 insertions(+), 12 deletions(-) copy catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/{js-dsl.json => kotlin-dsl.json} (61%) create mode 100644 dsl/camel-kotlin-dsl/src/generated/resources/META-INF/services/org/apache/camel/other.properties copy catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/js-dsl.json => dsl/camel-kotlin-dsl/src/generated/resources/kotlin-dsl.json (61%)
(camel) 01/02: CAMEL-20231: make generators configurable
This is an automated email from the ASF dual-hosted git repository. fmariani pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 805c3829630a5630d6f82a137fd08a8ebb2cc456 Author: Croway AuthorDate: Wed Dec 13 12:07:07 2023 +0100 CAMEL-20231: make generators configurable --- .../component/jasypt/JasyptPropertiesParser.java | 21 .../org/apache/camel/component/jasypt/Main.java| 28 +++ .../jasypt/JasyptPropertiesParserTest.java | 21 ++-- .../jasypt/JasytPropertiesParserCustomAlgTest.java | 40 ++ 4 files changed, 100 insertions(+), 10 deletions(-) diff --git a/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/JasyptPropertiesParser.java b/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/JasyptPropertiesParser.java index 87152432528..0dc7ddbec66 100644 --- a/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/JasyptPropertiesParser.java +++ b/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/JasyptPropertiesParser.java @@ -25,6 +25,8 @@ import org.apache.camel.util.ObjectHelper; import org.apache.camel.util.StringHelper; import org.jasypt.encryption.StringEncryptor; import org.jasypt.encryption.pbe.StandardPBEStringEncryptor; +import org.jasypt.iv.RandomIvGenerator; +import org.jasypt.salt.RandomSaltGenerator; /** * A {@link org.apache.camel.component.properties.PropertiesParser} which is using @@ -44,6 +46,8 @@ public class JasyptPropertiesParser extends DefaultPropertiesParser { private StringEncryptor encryptor; private String password; private String algorithm; +private String randomSaltGeneratorAlgorithm; +private String randomIvGeneratorAlgorithm; public JasyptPropertiesParser() { } @@ -69,6 +73,7 @@ public class JasyptPropertiesParser extends DefaultPropertiesParser { if (encryptor == null) { StringHelper.notEmpty("password", password); StandardPBEStringEncryptor pbeStringEncryptor = new StandardPBEStringEncryptor(); + pbeStringEncryptor.setPassword(password); if (algorithm != null) { pbeStringEncryptor.setAlgorithm(algorithm); @@ -76,6 +81,14 @@ public class JasyptPropertiesParser extends DefaultPropertiesParser { } else { log.debug("Initialized encryptor using default algorithm and provided password"); } + +if (randomSaltGeneratorAlgorithm != null) { +pbeStringEncryptor.setSaltGenerator(new RandomSaltGenerator(randomSaltGeneratorAlgorithm)); +} +if (randomIvGeneratorAlgorithm != null) { +pbeStringEncryptor.setIvGenerator(new RandomIvGenerator(randomIvGeneratorAlgorithm)); +} + encryptor = pbeStringEncryptor; } } @@ -88,6 +101,14 @@ public class JasyptPropertiesParser extends DefaultPropertiesParser { this.algorithm = algorithm; } +public void setRandomSaltGeneratorAlgorithm(String randomSaltGeneratorAlgorithm) { +this.randomSaltGeneratorAlgorithm = randomSaltGeneratorAlgorithm; +} + +public void setRandomIvGeneratorAlgorithm(String randomIvGeneratorAlgorithm) { +this.randomIvGeneratorAlgorithm = randomIvGeneratorAlgorithm; +} + public void setPassword(String password) { // lookup password as either environment or JVM system property if (password.startsWith("sysenv:")) { diff --git a/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java b/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java index e165e4d5dc1..15a89d414ac 100644 --- a/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java +++ b/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java @@ -22,6 +22,8 @@ import java.util.LinkedList; import java.util.List; import org.jasypt.encryption.pbe.StandardPBEStringEncryptor; +import org.jasypt.iv.RandomIvGenerator; +import org.jasypt.salt.RandomSaltGenerator; public class Main { @@ -31,6 +33,8 @@ public class Main { private String password; private String input; private String algorithm; +private String randomSaltGeneratorAlgorithm; +private String randomIvGeneratorAlgorithm; private abstract class Option { private String abbreviation; @@ -134,6 +138,24 @@ public class Main { algorithm = parameter; } }); + +addOption(new ParameterOption("rsga", "salt", "Optional random salt generator algorithm to use", "salt") { +protected void doProcess(String arg, String parameter, LinkedList remainingArgs) { +randomSaltGeneratorAlgorithm = parameter; +} +}); + +addOption(new ParameterOption("r
(camel) 02/02: Update jasypt docs
This is an automated email from the ASF dual-hosted git repository. fmariani pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 9d66b01c1c3f94cccbaaca123af543c4cc378d2b Author: Croway AuthorDate: Wed Dec 13 13:44:25 2023 +0100 Update jasypt docs --- components/camel-jasypt/src/main/docs/jasypt.adoc| 16 .../java/org/apache/camel/component/jasypt/Main.java | 6 -- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/components/camel-jasypt/src/main/docs/jasypt.adoc b/components/camel-jasypt/src/main/docs/jasypt.adoc index 508c57f47c6..bb51a37dfe9 100644 --- a/components/camel-jasypt/src/main/docs/jasypt.adoc +++ b/components/camel-jasypt/src/main/docs/jasypt.adoc @@ -62,6 +62,8 @@ Apache Camel Jasypt takes the following options -p or -password = Password to use -i or -input = Text to encrypt or decrypt -a or -algorithm = Optional algorithm to use + -rsga or -algorithm = Optional random salt generator algorithm to use + -riga or -algorithm = Optional random iv generator algorithm to use -- For example to encrypt the value `tiger` you run with the following @@ -171,6 +173,20 @@ The properties file `myproperties.properties` then contain the encrypted value, such as shown below. Notice how the password value is encrypted and the value has the tokens surrounding `ENC(value here)` +[TIP] + +It is possible to configure custom algorithms on the JasyptPropertiesParser like this + +[source,java] +--- +JasyptPropertiesParser jasyptPropertiesParser = new JasyptPropertiesParser(); + +jasyptPropertiesParser.setAlgorithm("PBEWithHmacSHA256AndAES_256"); +jasyptPropertiesParser.setRandomSaltGeneratorAlgorithm("PKCS11"); +jasyptPropertiesParser.setRandomIvGeneratorAlgorithm("PKCS11"); +--- + + == Example with Spring XML In Spring XML you need to configure the `JasyptPropertiesParser` which diff --git a/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java b/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java index 15a89d414ac..14c8a07a41f 100644 --- a/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java +++ b/components/camel-jasypt/src/main/java/org/apache/camel/component/jasypt/Main.java @@ -150,12 +150,6 @@ public class Main { randomIvGeneratorAlgorithm = parameter; } }); - -addOption(new ParameterOption("a", "algorithm", "Optional algorithm to use", "algorithm") { -protected void doProcess(String arg, String parameter, LinkedList remainingArgs) { -algorithm = parameter; -} -}); } private void addOption(Option option) {
(camel) branch main updated (096329ddfa8 -> 9d66b01c1c3)
This is an automated email from the ASF dual-hosted git repository. fmariani pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from 096329ddfa8 CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic endpoints with template parameters (#12443) new 805c3829630 CAMEL-20231: make generators configurable new 9d66b01c1c3 Update jasypt docs 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: components/camel-jasypt/src/main/docs/jasypt.adoc | 16 + .../component/jasypt/JasyptPropertiesParser.java | 21 + .../org/apache/camel/component/jasypt/Main.java| 22 ++ .../jasypt/JasyptPropertiesParserTest.java | 21 - .../jasypt/JasytPropertiesParserCustomAlgTest.java | 26 -- 5 files changed, 89 insertions(+), 17 deletions(-) copy core/camel-core/src/test/java/org/apache/camel/component/bean/BeanWithHeaderAnnotation.java => components/camel-jasypt/src/test/java/org/apache/camel/component/jasypt/JasytPropertiesParserCustomAlgTest.java (50%)
Re: [PR] CAMEL-20231: make generators configurable [camel]
Croway merged PR #12440: URL: https://github.com/apache/camel/pull/12440 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-website-pub) branch asf-site updated (603526b9e6 -> 20e77c9a2f)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website-pub.git discard 603526b9e6 Website updated to f716803e09c038afff9566a77c688cbf81a84641 discard 042cdbedaa Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 45a6d98377 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 20e77c9a2f Website updated to c1e4d093b331751537124004fccd9a51f42b1050 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 (603526b9e6) \ N -- N -- N refs/heads/asf-site (20e77c9a2f) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .htaccess | 58 +- .well-known/security.txt |2 +- .../12/RELEASE-3.20.9}/featured.jpg| Bin ...da25960d6d6_31526_800x0_resize_q95_gaussian.jpg | Bin blog/2023/12/RELEASE-3.20.9/index.html |1 + .../camel-quarkus-native-vscode-debug/index.html |2 +- blog/index.html|2 +- blog/index.xml | 14 +- blog/page/10/index.html|2 +- blog/page/100/index.html |2 +- blog/page/101/index.html |2 +- blog/page/102/index.html |2 +- blog/page/103/index.html |2 +- blog/page/104/index.html |2 +- blog/page/105/index.html |2 +- blog/page/106/index.html |2 +- blog/page/107/index.html |2 +- blog/page/{92 => 108}/index.html |2 +- blog/page/11/index.html|2 +- blog/page/12/index.html|2 +- blog/page/13/index.html|2 +- blog/page/14/index.html|2 +- blog/page/15/index.html|2 +- blog/page/16/index.html|2 +- blog/page/17/index.html|2 +- blog/page/18/index.html|2 +- blog/page/19/index.html|2 +- blog/page/2/index.html |2 +- blog/page/20/index.html|2 +- blog/page/21/index.html|2 +- blog/page/22/index.html|2 +- blog/page/23/index.html|2 +- blog/page/24/index.html|2 +- blog/page/25/index.html|2 +- blog/page/26/index.html|2 +- blog/page/27/index.html|2 +- blog/page/28/index.html|2 +- blog/page/29/index.html|2 +- blog/page/3/index.html |2 +- blog/page/30/index.html|2 +- blog/page/31/index.html|2 +- blog/page/32/index.html|2 +- blog/page/33/index.html|2 +- blog/page/34/index.html|2 +- blog/page/35/index.html|2 +- blog/page/36/index.html|2 +- blog/page/37/index.html|2 +- blog/page/38/index.html|2 +- blog/page/39/index.html|2 +- blog/page/4/index.html |2 +- blog/page/40/index.html|2 +- blog/page/41/index.html|2 +- blog/page/42/index.html|2 +- blog/page/43/index.html|2 +- blog/page/44/index.html|2 +- blog/page/45/index.html|2 +- blog/page/46/index.html|2 +- blog/
Error while running github feature from .asf.yaml in camel-website-pub!
An error occurred while running github feature in .asf.yaml!: 422 {"message": "Validation Failed", "errors": [{"message": "Sorry, you need to allow at least one merge strategy. (no_merge_method)", "resource": "Repository", "field": "merge_commit_allowed", "code": "invalid"}], "documentation_url": "https://docs.github.com/rest/repos/repos#update-a-repository"}
(camel) branch regen_bot updated (759b7d84732 -> 096329ddfa8)
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 759b7d84732 Regen add 096329ddfa8 CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic endpoints with template parameters (#12443) No new revisions were added by this update. Summary of changes: ...cipientListTest.java => KameletEnrichTest.java} | 32 ...eletToDTest.java => KameletPollEnrichTest.java} | 18 ++- .../org/apache/camel/reifier/EnrichReifier.java| 33 +++- .../apache/camel/reifier/PollEnrichReifier.java| 35 +- 4 files changed, 78 insertions(+), 40 deletions(-) copy components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/{KameletRecipientListTest.java => KameletEnrichTest.java} (62%) copy components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/{KameletToDTest.java => KameletPollEnrichTest.java} (76%)
(camel) branch kamelet-poll-enrich deleted (was 4168dbc8f4c)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch kamelet-poll-enrich in repository https://gitbox.apache.org/repos/asf/camel.git was 4168dbc8f4c CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic endpoints with template parameters The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(camel) branch main updated: CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic endpoints with template parameters (#12443)
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 096329ddfa8 CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic endpoints with template parameters (#12443) 096329ddfa8 is described below commit 096329ddfa893e47d74413ca54767abee27e62b5 Author: Claus Ibsen AuthorDate: Wed Dec 13 14:10:28 2023 +0100 CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic endpoints with template parameters (#12443) --- .../camel/component/kamelet/KameletEnrichTest.java | 84 ++ .../component/kamelet/KameletPollEnrichTest.java | 66 + .../org/apache/camel/reifier/EnrichReifier.java| 33 + .../apache/camel/reifier/PollEnrichReifier.java| 35 + 4 files changed, 190 insertions(+), 28 deletions(-) diff --git a/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletEnrichTest.java b/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletEnrichTest.java new file mode 100644 index 000..efcbd2e16ad --- /dev/null +++ b/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletEnrichTest.java @@ -0,0 +1,84 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.kamelet; + +import org.apache.camel.Exchange; +import org.apache.camel.Processor; +import org.apache.camel.RoutesBuilder; +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.mock.MockEndpoint; +import org.apache.camel.test.junit5.CamelTestSupport; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +public class KameletEnrichTest extends CamelTestSupport { + +@Test +public void testEnrich() throws Exception { +getMockEndpoint("mock:foo").expectedBodiesReceived("A"); +getMockEndpoint("mock:bar").expectedBodiesReceived("B"); + +getMockEndpoint("mock:foo").whenAnyExchangeReceived(new Processor() { +@Override +public void process(Exchange exchange) throws Exception { +String b = exchange.getMessage().getBody(String.class); +exchange.getMessage().setBody(b + b); +} +}); + +getMockEndpoint("mock:bar").whenAnyExchangeReceived(new Processor() { +@Override +public void process(Exchange exchange) throws Exception { +String b = exchange.getMessage().getBody(String.class); +exchange.getMessage().setBody("Hello " + b); +} +}); + +String out = template.requestBody("direct:foo", "A", String.class); +Assertions.assertEquals("AA", out); + +out = template.requestBody("direct:bar", "B", String.class); +Assertions.assertEquals("Hello B", out); + +MockEndpoint.assertIsSatisfied(context); +} + +// ** +// +// test set-up +// +// ** + +@Override +protected RoutesBuilder createRouteBuilder() { +return new RouteBuilder() { +@Override +public void configure() { +routeTemplate("broker") +.templateParameter("queue") +.from("kamelet:source") +.enrich().simple("mock:{{queue}}"); + +from("direct:foo") +.kamelet("broker?queue=foo"); + +from("direct:bar") +.kamelet("broker?queue=bar"); +} +}; +} +} diff --git a/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletPollEnrichTest.java b/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletPollEnrichTest.java new file mode 100644 index 000..33e5b846c05 --- /dev/null +++ b/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletPollEnrichTest.java @@ -0,0 +1,66 @@ +/* + * Licensed to
Re: [PR] CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic… [camel]
davsclaus merged PR #12443: URL: https://github.com/apache/camel/pull/12443 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs [camel]
github-actions[bot] commented on PR #12442: URL: https://github.com/apache/camel/pull/12442#issuecomment-1853881267 :robot: The Apache Camel test robot will run the tests for you :+1: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs [camel]
oscerd commented on PR #12442: URL: https://github.com/apache/camel/pull/12442#issuecomment-1853880469 /component-test azure -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic… [camel]
github-actions[bot] commented on PR #12443: URL: https://github.com/apache/camel/pull/12443#issuecomment-1853871682 :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) 01/01: CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic endpoints with template parameters
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch kamelet-poll-enrich in repository https://gitbox.apache.org/repos/asf/camel.git commit 4168dbc8f4cdc0bca6107723ef10f873c34fed61 Author: Claus Ibsen AuthorDate: Wed Dec 13 13:55:26 2023 +0100 CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic endpoints with template parameters --- .../camel/component/kamelet/KameletEnrichTest.java | 84 ++ .../component/kamelet/KameletPollEnrichTest.java | 66 + .../org/apache/camel/reifier/EnrichReifier.java| 33 + .../apache/camel/reifier/PollEnrichReifier.java| 35 + 4 files changed, 190 insertions(+), 28 deletions(-) diff --git a/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletEnrichTest.java b/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletEnrichTest.java new file mode 100644 index 000..efcbd2e16ad --- /dev/null +++ b/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletEnrichTest.java @@ -0,0 +1,84 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.kamelet; + +import org.apache.camel.Exchange; +import org.apache.camel.Processor; +import org.apache.camel.RoutesBuilder; +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.mock.MockEndpoint; +import org.apache.camel.test.junit5.CamelTestSupport; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +public class KameletEnrichTest extends CamelTestSupport { + +@Test +public void testEnrich() throws Exception { +getMockEndpoint("mock:foo").expectedBodiesReceived("A"); +getMockEndpoint("mock:bar").expectedBodiesReceived("B"); + +getMockEndpoint("mock:foo").whenAnyExchangeReceived(new Processor() { +@Override +public void process(Exchange exchange) throws Exception { +String b = exchange.getMessage().getBody(String.class); +exchange.getMessage().setBody(b + b); +} +}); + +getMockEndpoint("mock:bar").whenAnyExchangeReceived(new Processor() { +@Override +public void process(Exchange exchange) throws Exception { +String b = exchange.getMessage().getBody(String.class); +exchange.getMessage().setBody("Hello " + b); +} +}); + +String out = template.requestBody("direct:foo", "A", String.class); +Assertions.assertEquals("AA", out); + +out = template.requestBody("direct:bar", "B", String.class); +Assertions.assertEquals("Hello B", out); + +MockEndpoint.assertIsSatisfied(context); +} + +// ** +// +// test set-up +// +// ** + +@Override +protected RoutesBuilder createRouteBuilder() { +return new RouteBuilder() { +@Override +public void configure() { +routeTemplate("broker") +.templateParameter("queue") +.from("kamelet:source") +.enrich().simple("mock:{{queue}}"); + +from("direct:foo") +.kamelet("broker?queue=foo"); + +from("direct:bar") +.kamelet("broker?queue=bar"); +} +}; +} +} diff --git a/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletPollEnrichTest.java b/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletPollEnrichTest.java new file mode 100644 index 000..33e5b846c05 --- /dev/null +++ b/components/camel-kamelet/src/test/java/org/apache/camel/component/kamelet/KameletPollEnrichTest.java @@ -0,0 +1,66 @@ +/* + * 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 fil
[PR] CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic… [camel]
davsclaus opened a new pull request, #12443: URL: https://github.com/apache/camel/pull/12443 … endpoints with template parameters # Description # Target - [ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses `camel-3.x`, whereas Camel 4 uses the `main` branch) # Tracking - [ ] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [ ] I checked that each commit in the pull request has a meaningful subject line and body. - [ ] I have run `mvn clean install -DskipTests` locally and I have committed all auto-generated changes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch kamelet-poll-enrich created (now 4168dbc8f4c)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch kamelet-poll-enrich in repository https://gitbox.apache.org/repos/asf/camel.git at 4168dbc8f4c CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic endpoints with template parameters This branch includes the following new commits: new 4168dbc8f4c CAMEL-20232: camel-core - Kamelets with Enrich and PollEnrich dynamic endpoints with template parameters 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.
Error while running github feature from .asf.yaml in camel-website-pub!
An error occurred while running github feature in .asf.yaml!: 422 {"message": "Validation Failed", "errors": [{"message": "Sorry, you need to allow at least one merge strategy. (no_merge_method)", "resource": "Repository", "field": "merge_commit_allowed", "code": "invalid"}], "documentation_url": "https://docs.github.com/rest/repos/repos#update-a-repository"}
(camel-website-pub) branch asf-site updated (5eaa7c3dd3 -> 603526b9e6)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website-pub.git discard 5eaa7c3dd3 Website updated to f62038f02d55469a8831c818883049250f48e68e discard 9246f41039 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 042cdbedaa Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 603526b9e6 Website updated to f716803e09c038afff9566a77c688cbf81a84641 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 (5eaa7c3dd3) \ N -- N -- N refs/heads/asf-site (603526b9e6) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .htaccess | 42 +- .well-known/security.txt |2 +- camel-k/next/installation/installation.html| 20 +- camel-spring-boot/next/spring-boot.html|2 +- components/next/azure-cosmosdb-component.html |2 +- components/next/azure-key-vault-component.html |6 +- components/next/others/main.html |2 +- ...de-3_3.html => camel-4x-upgrade-guide-4_4.html} |7 +- manual/camel-4x-upgrade-guide.html |2 +- manual/security.html |4 + ...print-3.20.4.xsd => camel-blueprint-3.20.9.xsd} |2 +- ...sd => camel-cxf-blueprint-3.20.9-blueprint.xsd} |0 ...xsd => camel-cxf-spring-rest-3.20.9-spring.xsd} |0 ...xsd => camel-cxf-spring-soap-3.20.9-spring.xsd} |0 ...0.0-M2.xsd => camel-spring-security-3.20.9.xsd} |0 .../camel-spring-xml-3.20.9.xsd} |2 +- ...-M2.xsd => camel-spring-integration-3.20.9.xsd} |0 site-manifest.json |8 +- sitemap-camel-core.xml | 12 +- sitemap-camel-k.xml| 1088 ++-- sitemap-camel-kafka-connector.xml | 806 +-- sitemap-camel-kamelets.xml | 1740 +++--- sitemap-camel-karaf.xml| 52 +- sitemap-camel-quarkus.xml | 2686 - sitemap-camel-spring-boot.xml | 52 +- sitemap-components.xml | 5764 ++-- sitemap-manual.xml | 416 +- 27 files changed, 6369 insertions(+), 6348 deletions(-) copy manual/{camel-3x-upgrade-guide-3_3.html => camel-4x-upgrade-guide-4_4.html} (72%) copy schema/blueprint/{camel-blueprint-3.20.4.xsd => camel-blueprint-3.20.9.xsd} (99%) copy schema/cxf/{camel-cxf-3.0.0-M2-blueprint.xsd => camel-cxf-blueprint-3.20.9-blueprint.xsd} (100%) copy schema/cxf/jaxrs/{camel-cxf-rest-3.18.0-spring.xsd => camel-cxf-spring-rest-3.20.9-spring.xsd} (100%) copy schema/cxf/jaxws/{camel-cxf-soap-3.18.0-spring.xsd => camel-cxf-spring-soap-3.20.9-spring.xsd} (100%) copy schema/spring-security/{camel-spring-security-3.0.0-M2.xsd => camel-spring-security-3.20.9.xsd} (100%) copy schema/{spring/camel-spring-3.20.5.xsd => spring-xml/camel-spring-xml-3.20.9.xsd} (99%) copy schema/spring/integration/{camel-spring-integration-3.0.0-M2.xsd => camel-spring-integration-3.20.9.xsd} (100%)
Re: [PR] CAMEL-18590 - Camel-Azure components: Define a unique configuration for authentication - Azure Eventhubs [camel]
github-actions[bot] commented on PR #12442: URL: https://github.com/apache/camel/pull/12442#issuecomment-1853860430 :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