[GitHub] [camel-website] orpiske commented on pull request #998: Added support for tabs in asciidoc files
orpiske commented on PR #998: URL: https://github.com/apache/camel-website/pull/998#issuecomment-1524771448 Wow, if it's going to look like on the issue, IMHO, it will look awesome. Great one @iMashtak! -- 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 camel-spring-boot-3.x updated: [create-pull-request] automated change
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-spring-boot-3.x in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/camel-spring-boot-3.x by this push: new b335f1208c4 [create-pull-request] automated change b335f1208c4 is described below commit b335f1208c4ac765e1fef0dcb563afd9df2f6648 Author: orpiske AuthorDate: Thu Apr 27 01:09:28 2023 + [create-pull-request] automated change --- .../resources/org/apache/camel/springboot/catalog/components/solr.json | 2 +- .../org/apache/camel/springboot/catalog/components/solrCloud.json | 2 +- .../resources/org/apache/camel/springboot/catalog/components/solrs.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solr.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solr.json index cc6e257835b..081bdf4e21e 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solr.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solr.json @@ -4,7 +4,7 @@ "name": "solr", "title": "Solr", "description": "Perform operations against Apache Lucene Solr.", -"deprecated": false, +"deprecated": true, "firstVersion": "2.9.0", "label": "monitoring,search", "javaType": "org.apache.camel.component.solr.SolrComponent", diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solrCloud.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solrCloud.json index 8ba863c1fa4..d1de89f0002 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solrCloud.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solrCloud.json @@ -4,7 +4,7 @@ "name": "solrCloud", "title": "Solr", "description": "Perform operations against Apache Lucene Solr.", -"deprecated": false, +"deprecated": true, "firstVersion": "2.9.0", "label": "monitoring,search", "javaType": "org.apache.camel.component.solr.SolrComponent", diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solrs.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solrs.json index b4ac9f59442..2753052c8d8 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solrs.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solrs.json @@ -4,7 +4,7 @@ "name": "solrs", "title": "Solr (Secure)", "description": "Perform operations against Apache Lucene Solr.", -"deprecated": false, +"deprecated": true, "firstVersion": "2.9.0", "label": "monitoring,search", "javaType": "org.apache.camel.component.solr.SolrComponent",
[GitHub] [camel-spring-boot] oscerd merged pull request #825: [Github Actions] Periodic Sync Camel Spring Boot (Camel 3)
oscerd merged PR #825: URL: https://github.com/apache/camel-spring-boot/pull/825 -- 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
[GitHub] [camel-k] athira000babu commented on issue #4279: is there a component for kafka queue to create routes
athira000babu commented on issue #4279: URL: https://github.com/apache/camel-k/issues/4279#issuecomment-1524690254 means how can i give a queue instead of topic in kafka configuration -- 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
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2926: [CI] - Quarkus Main Branch Build Failure
github-actions[bot] commented on issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-1524688948 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 4815281850-1099-b63ff595-d14a-4351-9d20-ebfb8f1f4d2c * Camel Quarkus Commit: a64ed266d65ceeb0bf8dfea4879d8dd43dfbe8f4 * Quarkus Main Commit: 844cf135ad05b51c958393cc25249be17b4d0116 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/4815281850 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-k] branch main updated: Fix website build
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-k.git The following commit(s) were added to refs/heads/main by this push: new e31d325d1 Fix website build e31d325d1 is described below commit e31d325d13a13bf29b64c46f1916afb62a7854cb Author: Claus Ibsen AuthorDate: Thu Apr 27 06:22:41 2023 +0200 Fix website build --- docs/modules/ROOT/pages/kamelets/kameletbindings-error-handler.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/kamelets/kameletbindings-error-handler.adoc b/docs/modules/ROOT/pages/kamelets/kameletbindings-error-handler.adoc index 4fc59f1bb..bc128ce38 100644 --- a/docs/modules/ROOT/pages/kamelets/kameletbindings-error-handler.adoc +++ b/docs/modules/ROOT/pages/kamelets/kameletbindings-error-handler.adoc @@ -1,5 +1,5 @@ [[bindings-error-handler]] -=Pipes Error Handler += Pipes Error Handler Pipes offer a mechanism to specify an error policy to adopt in case an event produced by a `source` or consumed by a `sink`. Through the definition of an `errorHandler` you will be able to apply certain logic to the failing event, such as simply logging, ignoring the event or posting the event to a `Sink`.
[GitHub] [camel-quarkus] github-actions[bot] commented on pull request #4831: Bump quarkiverse-minio.version from 3.0.0.Alpha3 to 3.0.0
github-actions[bot] commented on PR #4831: URL: https://github.com/apache/camel-quarkus/pull/4831#issuecomment-1524676317 Branch auto synchronized due to changes in generated files. New workflow run triggered: https://github.com/apache/camel-quarkus/actions/runs/4815865110 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch dependabot/maven/quarkiverse-minio.version-3.0.0 updated (1dd9160434 -> b02c6dbeb3)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/quarkiverse-minio.version-3.0.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git from 1dd9160434 Bump quarkiverse-minio.version from 3.0.0.Alpha3 to 3.0.0 add b02c6dbeb3 Auto generated changes for dependabot commit 1dd91604341a9c999269b263d498732e9d4248a8 No new revisions were added by this update. Summary of changes: pom.xml | 2 +- poms/bom/src/main/generated/flattened-full-pom.xml| 10 +- poms/bom/src/main/generated/flattened-reduced-pom.xml | 10 +- poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 10 +- 4 files changed, 16 insertions(+), 16 deletions(-)
[camel-quarkus] branch dependabot/maven/quarkiverse-minio.version-3.0.0 updated (e89d400573 -> 1dd9160434)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/quarkiverse-minio.version-3.0.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git omit e89d400573 Auto generated changes for dependabot commit cf6d70a07638381869612e500d957659c507510b omit cf6d70a076 Bump quarkiverse-minio.version from 3.0.0.Alpha3 to 3.0.0 add 61392055f2 Updated CHANGELOG.md add 844cf135ad camel-quarkus-ldap (fixes #4821): * Added usage docs * Added ldap search tests over TCP and TLS * Added test for LdapHelper * Added build step to enable JNDI usage. * Promoted extension to native mode (fixes #1735) add 543178e072 Updated CHANGELOG.md add 7e59a8b1a5 Upgrade to Quarkus 3.0.1.Final (#4835) add 1dd9160434 Bump quarkiverse-minio.version from 3.0.0.Alpha3 to 3.0.0 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (e89d400573) \ N -- N -- N refs/heads/dependabot/maven/quarkiverse-minio.version-3.0.0 (1dd9160434) 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: CHANGELOG.md | 8 ++ docs/antora.yml| 2 +- docs/modules/ROOT/examples/components/ldap.yml | 6 +- .../ROOT/pages/reference/extensions/ldap.adoc | 160 - extensions-jvm/pom.xml | 1 - .../ldap/deployment/pom.xml| 0 .../component/ldap/deployment/LdapProcessor.java | 23 ++- {extensions-jvm => extensions}/ldap/pom.xml| 8 +- .../ldap/runtime/pom.xml | 1 + extensions/ldap/runtime/src/main/doc/usage.adoc| 139 ++ .../main/resources/META-INF/quarkus-extension.yaml | 3 +- extensions/pom.xml | 1 + integration-tests-jvm/ldap/pom.xml | 83 --- .../quarkus/component/ldap/it/LdapResource.java| 50 --- .../camel/quarkus/component/ldap/it/LdapTest.java | 34 - integration-tests-jvm/pom.xml | 1 - integration-tests/ldap/build.xml | 67 + integration-tests/{avro => ldap}/pom.xml | 128 ++--- .../component/ldap/it/CustomSSLSocketFactory.java | 107 ++ .../quarkus/component/ldap/it/LdapResource.java| 137 ++ .../quarkus/component/ldap/it/LdapRoutes.java} | 8 +- .../camel/quarkus/component/ldap/it/LdapIT.java| 4 +- .../camel/quarkus/component/ldap/it/LdapTest.java | 152 .../ldap/src/test/resources/LdapRouteTest.ldif | 67 + integration-tests/pom.xml | 1 + pom.xml| 6 +- poms/bom-test/pom.xml | 13 +- poms/bom/pom.xml | 4 + poms/bom/src/main/generated/flattened-full-pom.xml | 14 +- .../src/main/generated/flattened-reduced-pom.xml | 14 +- .../generated/flattened-reduced-verbose-pom.xml| 14 +- tooling/scripts/test-categories.yaml | 1 + 32 files changed, 985 insertions(+), 272 deletions(-) rename {extensions-jvm => extensions}/ldap/deployment/pom.xml (100%) rename {extensions-jvm => extensions}/ldap/deployment/src/main/java/org/apache/camel/quarkus/component/ldap/deployment/LdapProcessor.java (68%) rename {extensions-jvm => extensions}/ldap/pom.xml (82%) rename {extensions-jvm => extensions}/ldap/runtime/pom.xml (98%) create mode 100644 extensions/ldap/runtime/src/main/doc/usage.adoc rename {extensions-jvm => extensions}/ldap/runtime/src/main/resources/META-INF/quarkus-extension.yaml (97%) delete mode 100644 integration-tests-jvm/ldap/pom.xml delete mode 100644 integration-tests-jvm/ldap/src/main/java/org/apache/camel/quarkus/component/ldap/it/LdapResource.java delete mode 100644 integration-tests-jvm/ldap/src/test/java/org/apache/camel/quarkus/component/ldap/it/LdapTest.java create mode 100644 integration-tests/ldap/build.xml copy integration-tests/{avro => ldap}/pom.xml (70%) create mode 100644 integration-tests/ldap/src/main/java/org/apache/camel/quarkus/component/ldap/it/CustomSSLSocketFactory.java create mode 100644 integration-tests/ldap/src/main/java/org/apache/camel/quarkus/component/ldap/it/LdapResource.java copy
[GitHub] [camel-quarkus] zhfeng commented on pull request #4831: Bump quarkiverse-minio.version from 3.0.0.Alpha3 to 3.0.0
zhfeng commented on PR #4831: URL: https://github.com/apache/camel-quarkus/pull/4831#issuecomment-1524647808 @dependabot rebase -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch main updated (543178e072 -> 7e59a8b1a5)
This is an automated email from the ASF dual-hosted git repository. zhfeng pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git from 543178e072 Updated CHANGELOG.md add 7e59a8b1a5 Upgrade to Quarkus 3.0.1.Final (#4835) No new revisions were added by this update. Summary of changes: docs/antora.yml | 2 +- pom.xml | 2 +- poms/bom/pom.xml | 4 poms/bom/src/main/generated/flattened-full-pom.xml| 4 poms/bom/src/main/generated/flattened-reduced-pom.xml | 4 poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 4 6 files changed, 18 insertions(+), 2 deletions(-)
[GitHub] [camel-quarkus] zhfeng merged pull request #4835: Upgrade to Quarkus 3.0.1.Final
zhfeng merged PR #4835: URL: https://github.com/apache/camel-quarkus/pull/4835 -- 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
[GitHub] [camel-quarkus] zhfeng commented on pull request #4837: Bump quarkus-amazon-services-bom from 2.0.1 to 2.1.0
zhfeng commented on PR #4837: URL: https://github.com/apache/camel-quarkus/pull/4837#issuecomment-1524646126 ``` [INFO] --- maven-antrun-plugin:3.0.0:run (generate-keystore) @ camel-quarkus-integration-test-ldap --- [INFO] Executing tasks [INFO] [exec] keytool error: java.lang.RuntimeException: java.io.IOException: Invalid IPAddress: fv-az216-146 Error: [exec] Result: 1 [INFO] [exec] keytool error: java.lang.Exception: Keystore file does not exist: /home/runner/work/camel-quarkus/camel-quarkus/integration-tests/ldap/target/keystore.jks Error: [exec] Result: 1 [INFO] [exec] keytool error: java.io.FileNotFoundException: /home/runner/work/camel-quarkus/camel-quarkus/integration-tests/ldap/target/ldap-cert (No such file or directory) Error: [exec] Result: 1 [INFO] Executed tasks ``` It looks like unrelated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch 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-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 543178e072 Updated CHANGELOG.md 543178e072 is described below commit 543178e0722ce5ae155ca599d5ef2953d0314235 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Apr 27 03:13:38 2023 + Updated CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70ad243340..2461673dba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ **Closed issues:** +- Add tests and usage guide for LDAP extension [\#4821](https://github.com/apache/camel-quarkus/issues/4821) - Snmp: add native support [\#4820](https://github.com/apache/camel-quarkus/issues/4820) - FHIR integration test native image build fails [\#4811](https://github.com/apache/camel-quarkus/issues/4811) - \[camel-main\] Add `quarkus-jackson-jq-extra` to jq extension runtime module dependencies [\#4799](https://github.com/apache/camel-quarkus/issues/4799) @@ -19,11 +20,13 @@ - Add Build-Date in MANIFEST.MF in Camel Quarkus release JARs [\#4711](https://github.com/apache/camel-quarkus/issues/4711) - Olingo4 olingo4endpointPropertyNames are missing queryParams for read method [\#4654](https://github.com/apache/camel-quarkus/issues/4654) - Camel 3.19 - Add camel-cli-connector extension [\#4051](https://github.com/apache/camel-quarkus/issues/4051) +- LDAP native support [\#1735](https://github.com/apache/camel-quarkus/issues/1735) **Merged pull requests:** - Fix handling of Quarkus quartz scheduler autowiring [\#4826](https://github.com/apache/camel-quarkus/pull/4826) ([jamesnetherton](https://github.com/jamesnetherton)) - Upgrade Cyclonedx Maven Plugin to version 2.7.7 [\#4824](https://github.com/apache/camel-quarkus/pull/4824) ([oscerd](https://github.com/oscerd)) +- Added ldap tests, updated docs and promoted to native. [\#4822](https://github.com/apache/camel-quarkus/pull/4822) ([djcoleman](https://github.com/djcoleman)) - Generated sources regen for SBOM [\#4819](https://github.com/apache/camel-quarkus/pull/4819) ([github-actions[bot]](https://github.com/apps/github-actions)) - Bump quarkiverse-pooled-jms.version from 2.0.0.CR2 to 2.0.0 [\#4818](https://github.com/apache/camel-quarkus/pull/4818) ([dependabot[bot]](https://github.com/apps/dependabot)) - Improve handling of optional FHIR schematron and hapi-fhir-server dependencies [\#4817](https://github.com/apache/camel-quarkus/pull/4817) ([jamesnetherton](https://github.com/jamesnetherton))
[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 17928330 Updated CHANGELOG.md 17928330 is described below commit 179283303532c9c521b83b812efe862a9d0c9205 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Apr 27 03:09:58 2023 + Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index eef763ae..5695780f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Closed issues:** +- Remove Solr Kamelets [\#1456](https://github.com/apache/camel-kamelets/issues/1456) - Add a Simple Filter Action [\#1448](https://github.com/apache/camel-kamelets/issues/1448) - Upgrade to Camel 3.20.3 [\#1428](https://github.com/apache/camel-kamelets/issues/1428) - Release 4.0.0-M2 [\#1427](https://github.com/apache/camel-kamelets/issues/1427)
[GitHub] [camel-spring-boot] github-actions[bot] opened a new pull request, #825: [Github Actions] Periodic Sync Camel Spring Boot (Camel 3)
github-actions[bot] opened a new pull request, #825: URL: https://github.com/apache/camel-spring-boot/pull/825 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-camel-3.yml -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch automatic-periodic-sync updated (0ea315b2cab -> ed737f08acd)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git from 0ea315b2cab Regen add a0b205e25a2 Regen add 7f06eb65961 CAMEL-19230: Added camel-optaplanner-starter back add edd49f4a031 CAMEL-19290 - camel-solr - Remove component as its not maintainable add 554ff3f663f CAMEL-19290 - camel-solr - Remove component as its not maintainable add b0310cf5b57 CAMEL-19290 - camel-solr - Remove component as its not maintainable add 4c9fc5e2d18 CAMEL-19290 - camel-solr - Remove component as its not maintainable add ed737f08acd CAMEL-19290 - camel-solr - Remove component as its not maintainable No new revisions were added by this update. Summary of changes: .../camel/springboot/catalog/components.properties | 4 +- .../springboot/catalog/components/optaplanner.json | 12 +- .../camel/springboot/catalog/components/solr.json | 58 -- .../springboot/catalog/components/solrCloud.json | 58 -- .../camel/springboot/catalog/components/solrs.json | 58 -- .../pom.xml| 6 +- .../src/main/docs/optaplanner.json}| 30 +-- .../OptaPlannerComponentAutoConfiguration.java}| 20 +- .../OptaPlannerComponentConfiguration.java}| 10 +- .../src/main/resources/META-INF/LICENSE.txt| 0 .../src/main/resources/META-INF/NOTICE.txt | 0 .../src/main/resources/META-INF/spring.provides| 2 +- ...rk.boot.autoconfigure.AutoConfiguration.imports | 2 +- components-starter/camel-solr-starter/pom.xml | 57 -- .../camel-solr-starter/src/main/docs/solr.json | 43 - .../springboot/SolrComponentAutoConfiguration.java | 77 .../springboot/SolrComponentConfiguration.java | 73 .../src/main/resources/META-INF/LICENSE.txt| 203 - .../src/main/resources/META-INF/NOTICE.txt | 11 -- .../src/main/resources/META-INF/spring.provides| 17 -- ...rk.boot.autoconfigure.AutoConfiguration.imports | 18 -- components-starter/pom.xml | 2 +- .../camel/itest/springboot/CamelSolrTest.java | 51 -- .../itest/springboot/util/ArquillianPackager.java | 1 - tooling/camel-spring-boot-bom/pom.xml | 10 +- tooling/camel-spring-boot-dependencies/pom.xml | 20 +- 26 files changed, 58 insertions(+), 785 deletions(-) delete mode 100644 catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solr.json delete mode 100644 catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solrCloud.json delete mode 100644 catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/solrs.json copy components-starter/{camel-cxf-rest-starter => camel-optaplanner-starter}/pom.xml (92%) copy components-starter/{camel-huaweicloud-obs-starter/src/main/docs/huaweicloud-obs.json => camel-optaplanner-starter/src/main/docs/optaplanner.json} (63%) copy components-starter/{camel-openstack-starter/src/main/java/org/apache/camel/component/openstack/glance/springboot/GlanceComponentAutoConfiguration.java => camel-optaplanner-starter/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentAutoConfiguration.java} (84%) copy components-starter/{camel-spring-starter/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java => camel-optaplanner-starter/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentConfiguration.java} (92%) copy {archetypes/camel-archetype-spring-boot => components-starter/camel-optaplanner-starter}/src/main/resources/META-INF/LICENSE.txt (100%) copy {archetypes/camel-archetype-spring-boot => components-starter/camel-optaplanner-starter}/src/main/resources/META-INF/NOTICE.txt (100%) copy components-starter/{camel-amqp-starter => camel-optaplanner-starter}/src/main/resources/META-INF/spring.provides (97%) copy components-starter/{camel-asn1-starter => camel-optaplanner-starter}/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports (91%) delete mode 100644 components-starter/camel-solr-starter/pom.xml delete mode 100644 components-starter/camel-solr-starter/src/main/docs/solr.json delete mode 100644 components-starter/camel-solr-starter/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java delete mode 100644 components-starter/camel-solr-starter/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentConfiguration.java delete mode 100644 components-starter/camel-solr-starter/src/main/resources/META-INF/LICENSE.txt delete mode 100644
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2927: [CI] - Camel Main Branch Build Failure
github-actions[bot] commented on issue #2927: URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-1524313543 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 4814549519-995-610007dd-7fbe-4476-a004-b391861d274e * Camel Quarkus Commit: 7d3cb615c7cfaf5fc196245942d069a23ca57937 * Camel Main Commit: 844cf135ad05b51c958393cc25249be17b4d0116 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/4814549519 -- 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
[GitHub] [camel-quarkus] jamesnetherton opened a new issue, #2927: [CI] - Camel Main Branch Build Failure
jamesnetherton opened a new issue, #2927: URL: https://github.com/apache/camel-quarkus/issues/2927 This is a placeholder issue used by the [nightly sync workflow](https://github.com/apache/camel-quarkus/actions/workflows/camel-master-cron.yaml) for the [`camel-main`](https://github.com/apache/camel-quarkus/tree/camel-main) branch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-k] branch release-1.12.x updated: chore: changelog automatic update
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch release-1.12.x in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/release-1.12.x by this push: new 470e49f65 chore: changelog automatic update 470e49f65 is described below commit 470e49f65396573f7daacbef515c14084e96047d Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Apr 26 23:42:31 2023 + chore: changelog automatic update --- CHANGELOG.md | 7 +++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ff4329f2..c5911f8ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,14 @@ **Closed issues:** +- Maximum number of running builds \(0\) exceeded [\#4290](https://github.com/apache/camel-k/issues/4290) +- Should uninstall --all remove PersistentVolumeClaim? [\#4285](https://github.com/apache/camel-k/issues/4285) +- Camel-k install and uninstall on a fresh kind cluster in Linux [\#4277](https://github.com/apache/camel-k/issues/4277) +- Kamelet redis-source not working [\#4276](https://github.com/apache/camel-k/issues/4276) - Failed to fetch data from Mysql database using camel-k [\#4264](https://github.com/apache/camel-k/issues/4264) - unable to access the URL and unable to expose port after the integration build is successfully deployed. [\#4256](https://github.com/apache/camel-k/issues/4256) - unable to execute "kamel run" in secure mode [\#4249](https://github.com/apache/camel-k/issues/4249) +- Acquiring lock at startup is taking long [\#4246](https://github.com/apache/camel-k/issues/4246) - Builder pod that hit timeout is not terminated [\#4241](https://github.com/apache/camel-k/issues/4241) - Introduce Code Coverage badge [\#4227](https://github.com/apache/camel-k/issues/4227) - CamelCatalog reconciliation fail [\#4226](https://github.com/apache/camel-k/issues/4226) @@ -23,6 +28,7 @@ - Creation of monitoring resources fail in a new GKE cluster [\#4191](https://github.com/apache/camel-k/issues/4191) - Unable to produce and consume in camel-k to apache kafka, getting error like "Connection to node -1 \(localhost/127.0.0.1:9092\) could not be established. Broker may not be available." [\#4186](https://github.com/apache/camel-k/issues/4186) - Remove additional custom labels utility [\#4183](https://github.com/apache/camel-k/issues/4183) +- Camel K 2.x upgrade 1.x strategy [\#4179](https://github.com/apache/camel-k/issues/4179) - Makefile not working on Mac [\#4175](https://github.com/apache/camel-k/issues/4175) - Kamelet development using Camel DSL instead of YAML DSL [\#4174](https://github.com/apache/camel-k/issues/4174) - Default integrationPlatform created at operator startup dose not honor OPERATOR\_ID config [\#4167](https://github.com/apache/camel-k/issues/4167) @@ -42,6 +48,7 @@ - \[E2E\] Add tests for enabling traits at IntegrationPlatform [\#3476](https://github.com/apache/camel-k/issues/3476) - Move from release nightly to Continuous Delivery [\#3260](https://github.com/apache/camel-k/issues/3260) - OLM basic installation integration test [\#3180](https://github.com/apache/camel-k/issues/3180) +- A better name for KameletBinding [\#2625](https://github.com/apache/camel-k/issues/2625) - Default to using Micrometer for integration monitoring [\#1773](https://github.com/apache/camel-k/issues/1773) ## [2.0.0-nightly](https://github.com/apache/camel-k/tree/2.0.0-nightly) (2023-03-22)
[camel-k] branch main updated (861f9831f -> ed6752757)
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 861f9831f fix(cmd): uninstall to wait the operator pod new f14127e56 chore: changelog automatic update new ed6752757 chore: nightly resource refresh 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 | 7 +++ pkg/resources/resources.go | 45 ++--- 2 files changed, 25 insertions(+), 27 deletions(-)
[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 main in repository https://gitbox.apache.org/repos/asf/camel-k.git commit f14127e56d752b9fb3f09bda90daf77942f2f3a0 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Apr 26 23:42:25 2023 + chore: changelog automatic update --- CHANGELOG.md | 7 +++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ff4329f2..c5911f8ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,14 @@ **Closed issues:** +- Maximum number of running builds \(0\) exceeded [\#4290](https://github.com/apache/camel-k/issues/4290) +- Should uninstall --all remove PersistentVolumeClaim? [\#4285](https://github.com/apache/camel-k/issues/4285) +- Camel-k install and uninstall on a fresh kind cluster in Linux [\#4277](https://github.com/apache/camel-k/issues/4277) +- Kamelet redis-source not working [\#4276](https://github.com/apache/camel-k/issues/4276) - Failed to fetch data from Mysql database using camel-k [\#4264](https://github.com/apache/camel-k/issues/4264) - unable to access the URL and unable to expose port after the integration build is successfully deployed. [\#4256](https://github.com/apache/camel-k/issues/4256) - unable to execute "kamel run" in secure mode [\#4249](https://github.com/apache/camel-k/issues/4249) +- Acquiring lock at startup is taking long [\#4246](https://github.com/apache/camel-k/issues/4246) - Builder pod that hit timeout is not terminated [\#4241](https://github.com/apache/camel-k/issues/4241) - Introduce Code Coverage badge [\#4227](https://github.com/apache/camel-k/issues/4227) - CamelCatalog reconciliation fail [\#4226](https://github.com/apache/camel-k/issues/4226) @@ -23,6 +28,7 @@ - Creation of monitoring resources fail in a new GKE cluster [\#4191](https://github.com/apache/camel-k/issues/4191) - Unable to produce and consume in camel-k to apache kafka, getting error like "Connection to node -1 \(localhost/127.0.0.1:9092\) could not be established. Broker may not be available." [\#4186](https://github.com/apache/camel-k/issues/4186) - Remove additional custom labels utility [\#4183](https://github.com/apache/camel-k/issues/4183) +- Camel K 2.x upgrade 1.x strategy [\#4179](https://github.com/apache/camel-k/issues/4179) - Makefile not working on Mac [\#4175](https://github.com/apache/camel-k/issues/4175) - Kamelet development using Camel DSL instead of YAML DSL [\#4174](https://github.com/apache/camel-k/issues/4174) - Default integrationPlatform created at operator startup dose not honor OPERATOR\_ID config [\#4167](https://github.com/apache/camel-k/issues/4167) @@ -42,6 +48,7 @@ - \[E2E\] Add tests for enabling traits at IntegrationPlatform [\#3476](https://github.com/apache/camel-k/issues/3476) - Move from release nightly to Continuous Delivery [\#3260](https://github.com/apache/camel-k/issues/3260) - OLM basic installation integration test [\#3180](https://github.com/apache/camel-k/issues/3180) +- A better name for KameletBinding [\#2625](https://github.com/apache/camel-k/issues/2625) - Default to using Micrometer for integration monitoring [\#1773](https://github.com/apache/camel-k/issues/1773) ## [2.0.0-nightly](https://github.com/apache/camel-k/tree/2.0.0-nightly) (2023-03-22)
[camel-k] 02/02: chore: nightly resource refresh
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 ed67527572a038aeee9ba24c8d4244f34d737d54 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Apr 26 23:48:19 2023 + chore: nightly resource refresh --- pkg/resources/resources.go | 45 ++--- 1 file changed, 18 insertions(+), 27 deletions(-) diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go index 87b3e101b..41e4a81e8 100644 --- a/pkg/resources/resources.go +++ b/pkg/resources/resources.go @@ -166,26 +166,14 @@ var assets = func() http.FileSystem { "/crd/bases/camel.apache.org_pipes.yaml": ۰CompressedFileInfo{ name: "camel.apache.org_pipes.yaml", modTime: time.Time{}, - uncompressedSize: 571456, + uncompressedSize: 572326, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x6b\x73\x23\xb7\xb5\x28\xfa\x3d\xbf\x02\x35\x71\x1d\x49\xdb\x22\x35\xe3\x24\xae\x64\x2a\x75\x5c\xda\x1a\xd9\xd6\xf5\x8c\x86\x35\x92\x9d\xe3\x1a\x7b\xdb\x60\x37\x48\xe2\xa8\x09\x74\x00\x34\x25\xfa\xfa\xfe\xf7\x5b\x58\x00\xba\xd1\x7c\x09\xab\x29\x29\x9a\xa4\x91\x2a\x67\x48\xb1\x57\xe3\xb5\xde\xaf\x3f\x0c\x06\x83\x3f\xd0\x92\xff\xc0\x94\xe6\x52\xbc\x26\xb4\xe4\xec\xce\x30\x61\x3f\xe9\xe1\xcd\x5f\xf5\x90\xcb\x93\x [...] + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x79\x73\x1b\x37\xb6\x38\x0c\xff\xef\x4f\x81\x92\x53\x3f\x49\x37\x22\x65\x67\x96\x9a\xf1\x3b\x75\x53\xba\xb2\xec\xe8\x8d\x2d\xb3\x2c\x25\xf9\xa5\x9c\xdc\x04\xec\x06\x49\x5c\x75\x03\x7d\x01\x34\x25\xe6\xf1\xf3\xdd\x9f\xc2\x01\xd0\x0b\x37\xe1\x34\x25\x8d\x3c\xd3\x98\xaa\x8c\x49\xb1\x4f\x63\x3b\xfb\xf6\x9c\x0c\xee\x6f\x3c\x7b\x4e\xde\xf1\x84\x09\xcd\x52\x62\x24\x31\x33\x46\x4e\x0a\x9a\xcc\x18\xb9\x94\x13\x73\x43\x [...] }, "/manager": ۰DirInfo{ name:"manager", modTime: time.Time{}, }, - "/manager/bundle": ۰DirInfo{ - name:"bundle", - modTime: time.Time{}, - }, - "/manager/bundle/manifests": ۰DirInfo{ - name:"manifests", - modTime: time.Time{}, - }, - "/manager/bundle/metadata": ۰DirInfo{ - name:"metadata", - modTime: time.Time{}, - }, "/manager/operator-deployment.yaml": ۰CompressedFileInfo{ name: "operator-deployment.yaml", modTime: time.Time{}, @@ -493,13 +481,6 @@ var assets = func() http.FileSystem { name:"bases", modTime: time.Time{}, }, - "/samples/bases/camel_v1_binding.yaml": ۰CompressedFileInfo{ - name: "camel_v1_binding.yaml", - modTime: time.Time{}, - uncompressedSize: 1277, - - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\xae\xdb\x36\x10\xbc\xf3\x2b\x06\xd6\x25\x01\x1c\xb9\xe9\xd1\x3d\x39\x8e\x8d\x08\x49\x6d\xe0\xc9\x69\x90\xe3\x5a\x5a\x4b\x0b\x53\x24\x4b\x52\xd6\xf3\xdf\x17\x94\xec\xc6\x46\x8b\xa2\x87\xf0\x44\x51\xcb\x9d\x99\x9d\x61\x86\x77\x3f\x6f\xa9\x0c\x5f\xa4\x62\x13\xb8\x46\xb4\x88\x2d\x63\xe5\xa8\x6a\x19\xa5\x3d\xc5\x81\x3c\x63\x6b\x7b\x53\x53\x14\x6b\xf0\x66\x55\x6e\xdf\xa2\x37\x35\x7b\x58\xc3\xb0\x1e\x9d\xf5\xac\x [...] - }, "/samples/bases/camel_v1_build.yaml": ۰CompressedFileInfo{ name: "camel_v1_build.yaml", modTime: time.Time{}, @@ -542,6 +523,20 @@ var assets = func() http.FileSystem { compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\x4d\x6f\xe3\x46\x0c\xbd\xeb\x57\x3c\x58\x97\x5d\x20\x76\x92\x1e\xd5\x93\x9b\x75\x50\x63\xb7\xf6\x22\xf2\x76\xb1\x47\x5a\xa2\x65\xc2\xd2\xcc\x74\x86\x8a\xe2\x7f\x5f\x8c\x3e\x62\x27\x45\x6f\xd1\x6d\x38\x1c\xf2\x3d\xbe\x47\xa5\x98\x7f\xdc\x97\xa4\xf8\x26\x05\x9b\xc0\x25\xd4\x42\x8f\x8c\xa5\xa3\xe2\xc8\xc8\xed\x41\x3b\xf2\x8c\x47\xdb\x9a\x92\x54\xac\xc1\xa7\x65\xfe\xf8\x19\xad\x29\xd9\xc3\x1a\x86\xf5\x68\xac\xe7\x [...] }, + "/samples/bases/camel_v1_pipe.yaml": ۰CompressedFileInfo{ + name: "camel_v1_pipe.yaml", + modTime: time.Time{}, + uncompressedSize: 1268, + + compressedContent:
[camel-k] branch release-1.10.x updated: chore: changelog automatic update
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch release-1.10.x in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/release-1.10.x by this push: new 3ba3bb2af chore: changelog automatic update 3ba3bb2af is described below commit 3ba3bb2af2dd4f105e826c77d67cff887ebe1ef4 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Apr 26 23:42:16 2023 + chore: changelog automatic update --- CHANGELOG.md | 7 +++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ff4329f2..c5911f8ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,14 @@ **Closed issues:** +- Maximum number of running builds \(0\) exceeded [\#4290](https://github.com/apache/camel-k/issues/4290) +- Should uninstall --all remove PersistentVolumeClaim? [\#4285](https://github.com/apache/camel-k/issues/4285) +- Camel-k install and uninstall on a fresh kind cluster in Linux [\#4277](https://github.com/apache/camel-k/issues/4277) +- Kamelet redis-source not working [\#4276](https://github.com/apache/camel-k/issues/4276) - Failed to fetch data from Mysql database using camel-k [\#4264](https://github.com/apache/camel-k/issues/4264) - unable to access the URL and unable to expose port after the integration build is successfully deployed. [\#4256](https://github.com/apache/camel-k/issues/4256) - unable to execute "kamel run" in secure mode [\#4249](https://github.com/apache/camel-k/issues/4249) +- Acquiring lock at startup is taking long [\#4246](https://github.com/apache/camel-k/issues/4246) - Builder pod that hit timeout is not terminated [\#4241](https://github.com/apache/camel-k/issues/4241) - Introduce Code Coverage badge [\#4227](https://github.com/apache/camel-k/issues/4227) - CamelCatalog reconciliation fail [\#4226](https://github.com/apache/camel-k/issues/4226) @@ -23,6 +28,7 @@ - Creation of monitoring resources fail in a new GKE cluster [\#4191](https://github.com/apache/camel-k/issues/4191) - Unable to produce and consume in camel-k to apache kafka, getting error like "Connection to node -1 \(localhost/127.0.0.1:9092\) could not be established. Broker may not be available." [\#4186](https://github.com/apache/camel-k/issues/4186) - Remove additional custom labels utility [\#4183](https://github.com/apache/camel-k/issues/4183) +- Camel K 2.x upgrade 1.x strategy [\#4179](https://github.com/apache/camel-k/issues/4179) - Makefile not working on Mac [\#4175](https://github.com/apache/camel-k/issues/4175) - Kamelet development using Camel DSL instead of YAML DSL [\#4174](https://github.com/apache/camel-k/issues/4174) - Default integrationPlatform created at operator startup dose not honor OPERATOR\_ID config [\#4167](https://github.com/apache/camel-k/issues/4167) @@ -42,6 +48,7 @@ - \[E2E\] Add tests for enabling traits at IntegrationPlatform [\#3476](https://github.com/apache/camel-k/issues/3476) - Move from release nightly to Continuous Delivery [\#3260](https://github.com/apache/camel-k/issues/3260) - OLM basic installation integration test [\#3180](https://github.com/apache/camel-k/issues/3180) +- A better name for KameletBinding [\#2625](https://github.com/apache/camel-k/issues/2625) - Default to using Micrometer for integration monitoring [\#1773](https://github.com/apache/camel-k/issues/1773) ## [2.0.0-nightly](https://github.com/apache/camel-k/tree/2.0.0-nightly) (2023-03-22)
[GitHub] [camel-quarkus] github-actions[bot] commented on pull request #4837: Bump quarkus-amazon-services-bom from 2.0.1 to 2.1.0
github-actions[bot] commented on PR #4837: URL: https://github.com/apache/camel-quarkus/pull/4837#issuecomment-1524128238 Branch auto synchronized due to changes in generated files. New workflow run triggered: https://github.com/apache/camel-quarkus/actions/runs/4813958880 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch dependabot/maven/io.quarkiverse.amazonservices-quarkus-amazon-services-bom-2.1.0 updated (3d80822656 -> 2eea095ee6)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/io.quarkiverse.amazonservices-quarkus-amazon-services-bom-2.1.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git from 3d80822656 Bump quarkus-amazon-services-bom from 2.0.1 to 2.1.0 add 2eea095ee6 Auto generated changes for dependabot commit 3d808226560fdbceb9e731b7fcb419d2282e2272 No new revisions were added by this update. Summary of changes: pom.xml|4 +- poms/bom/src/main/generated/flattened-full-pom.xml | ++-- .../src/main/generated/flattened-reduced-pom.xml | 86 +- .../generated/flattened-reduced-verbose-pom.xml| 254 +-- 4 files changed, 1283 insertions(+), 1283 deletions(-)
[camel-quarkus] branch dependabot/maven/io.quarkiverse.amazonservices-quarkus-amazon-services-bom-2.1.0 created (now 3d80822656)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/io.quarkiverse.amazonservices-quarkus-amazon-services-bom-2.1.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git at 3d80822656 Bump quarkus-amazon-services-bom from 2.0.1 to 2.1.0 No new revisions were added by this update.
[GitHub] [camel-quarkus] dependabot[bot] opened a new pull request, #4837: Bump quarkus-amazon-services-bom from 2.0.1 to 2.1.0
dependabot[bot] opened a new pull request, #4837: URL: https://github.com/apache/camel-quarkus/pull/4837 Bumps quarkus-amazon-services-bom from 2.0.1 to 2.1.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.quarkiverse.amazonservices:quarkus-amazon-services-bom=maven=2.0.1=2.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot 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
[GitHub] [camel-quarkus] zeppelinux commented on issue #4836: Camel (3.0.0-M1) dependencies in the Quarkus 3 project break the dev mode
zeppelinux commented on issue #4836: URL: https://github.com/apache/camel-quarkus/issues/4836#issuecomment-1524107128 Hi @ppalaga, to reproduce checkout https://github.com/melloware/quarkus-faces and add this to the pom.xml org.apache.camel.quarkus camel-quarkus-direct 3.0.0-M1 Then try to modify any .java file and re-load the page or invoke some ajax action -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga commented on issue #4836: Camel (3.0.0-M1) dependencies in the Quarkus 3 project break the dev mode
ppalaga commented on issue #4836: URL: https://github.com/apache/camel-quarkus/issues/4836#issuecomment-1524080898 Thanks for the report, @zeppelinux Could you please be more specific about how we can reproduce? A minimal runnable zip or git repo would be ideal. "bunch of different dependencies" is really hard to start with. -- 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
[GitHub] [camel-quarkus] zeppelinux opened a new issue, #4836: Camel (3.0.0-M1) dependencies in the Quarkus 3 project break the dev mode
zeppelinux opened a new issue, #4836: URL: https://github.com/apache/camel-quarkus/issues/4836 I have a project with bunch of different dependencies and the org.apache.camel.quarkus:camel-quarkus-direct:3.0.0-M1 is one of them. I noticed when this dependency is present in a pom.xml the dev mode (quarkus:dev) is broken. If any class is modified, Quarkus fails to replace it via instrumentation: `2023-04-26 14:14:40,214 ERROR [io.qua.dep.dev.RuntimeUpdatesProcessor] (Timer-0) Failed to replace classes via instrumentation: java.lang.ClassNotFoundException: com.mypackege.MyClass at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:516) at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:466) at io.quarkus.deployment.dev.RuntimeUpdatesProcessor.doScan(RuntimeUpdatesProcessor.java:496) at io.quarkus.deployment.dev.RuntimeUpdatesProcessor.doScan(RuntimeUpdatesProcessor.java:441) at org.apache.camel.quarkus.core.devmode.CamelHotReplacementSetup$1.run(CamelHotReplacementSetup.java:36) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) ` So, the whole app is restarted, but then there is a problem with JSF/Primefaces renderKit (solved only by mvn clean compile quarkus:dev): `java.lang.NullPointerException: Cannot invoke "jakarta.faces.render.RenderKit.getResponseStateManager()" because "renderKit" is null at org.apache.myfaces.context.servlet.FacesContextImpl.isPostback(FacesContextImpl.java:408) at jakarta.faces.context.FacesContextWrapper.isPostback(FacesContextWrapper.java:188) at org.primefaces.clientwindow.PrimeClientWindowUtils.isPost(PrimeClientWindowUtils.java:77) at org.primefaces.clientwindow.PrimeClientWindow.decode(PrimeClientWindow.java:61) at org.primefaces.clientwindow.PrimeClientWindowLifecycle.attachWindow(PrimeClientWindowLifecycle.java:50) at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:220) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) at org.omnifaces.filter.CacheControlFilter.doFilter(CacheControlFilter.java:239) at org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) at org.omnifaces.filter.GzipResponseFilter.doFilter(GzipResponseFilter.java:183) at org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) at org.omnifaces.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:123) at org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:63) at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:67) at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:133) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:65) at
[camel] branch regen_bot updated (aa166d42e21 -> d4626e9d9c8)
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 aa166d42e21 Regen for commit 5443df2c0333469df47e37a2d50fcef52c1ff41c add 51f526ed6a8 Regen for commit 5443df2c0333469df47e37a2d50fcef52c1ff41c (#9957) add d4626e9d9c8 (chores) performance: use native array copying which may benefit from intrinsic functions No new revisions were added by this update. Summary of changes: .../src/main/java/org/apache/camel/support/AbstractExchange.java | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-)
[camel] branch main updated: (chores) performance: use native array copying which may benefit from intrinsic functions
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new d4626e9d9c8 (chores) performance: use native array copying which may benefit from intrinsic functions d4626e9d9c8 is described below commit d4626e9d9c82c490bf8a49e09c34b6d54492824a Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 19:38:05 2023 +0200 (chores) performance: use native array copying which may benefit from intrinsic functions --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index 0336f57e462..d125612d4c1 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -689,12 +689,7 @@ class AbstractExchange implements Exchange { void copyInternalProperties(Exchange target) { AbstractExchange ae = (AbstractExchange) target; -for (int i = 0; i < internalProperties.length; i++) { -Object value = internalProperties[i]; -if (value != null) { -ae.internalProperties[i] = value; -} -} +System.arraycopy(internalProperties, 0, ae.internalProperties, 0, INTERNAL_LENGTH); } Map getInternalProperties() {
[GitHub] [camel] orpiske merged pull request #9954: (chores) performance: use native array copying which may benefit from intrinsic functions
orpiske merged PR #9954: URL: https://github.com/apache/camel/pull/9954 -- 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
[GitHub] [camel-k] christophd opened a new pull request, #4291: fix: Add max running builds CLI option
christophd opened a new pull request, #4291: URL: https://github.com/apache/camel-k/pull/4291 - Add option to CLI install command to set max running builds setting **Release Note** ```release-note Add max running builds CLI option on install command ``` -- 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
[GitHub] [camel-k] christophd commented on issue #4290: Maximum number of running builds (0) exceeded
christophd commented on issue #4290: URL: https://github.com/apache/camel-k/issues/4290#issuecomment-1523997138 yes, you should be able to use `--max-running-builds` option on `kamel install` but I just see that I have missed to add the option. Will fix it, thx -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (f24ca17b88d -> aa166d42e21)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git omit f24ca17b88d Regen for commit 5443df2c0333469df47e37a2d50fcef52c1ff41c add 6c83bcf72f0 Regen for commit 1e7715192a013e5d554d7c8b9e6ae582dface65c add aa166d42e21 Regen for commit 5443df2c0333469df47e37a2d50fcef52c1ff41c 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 (f24ca17b88d) \ N -- N -- N refs/heads/regen_bot (aa166d42e21) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes:
[camel] branch main updated: Regen for commit 5443df2c0333469df47e37a2d50fcef52c1ff41c (#9957)
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 51f526ed6a8 Regen for commit 5443df2c0333469df47e37a2d50fcef52c1ff41c (#9957) 51f526ed6a8 is described below commit 51f526ed6a8eb1d8b2477c63662ac6584b50cc90 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Apr 26 22:04:32 2023 +0200 Regen for commit 5443df2c0333469df47e37a2d50fcef52c1ff41c (#9957) Signed-off-by: GitHub Co-authored-by: orpiske
[GitHub] [camel] davsclaus merged pull request #9957: Generated sources regen
davsclaus merged PR #9957: URL: https://github.com/apache/camel/pull/9957 -- 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
[GitHub] [camel] github-actions[bot] opened a new pull request, #9957: Generated sources regen
github-actions[bot] opened a new pull request, #9957: URL: https://github.com/apache/camel/pull/9957 Regen bot :robot: found some uncommitted changes after running build on :camel: `main` branch. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] mertdotcc commented on issue #4290: Maximum number of running builds (0) exceeded
mertdotcc commented on issue #4290: URL: https://github.com/apache/camel-k/issues/4290#issuecomment-1523968556 Another question: I see that the default value for `maxRunningBuilds` is set to 10. Is this something we will give the option to specify during the `kamel install` command with a flag maybe? Or is this something the users basically will go to and edit directly in the IntegrationPlatform resource? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: Regen for commit 5443df2c0333469df47e37a2d50fcef52c1ff41c
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new aa166d42e21 Regen for commit 5443df2c0333469df47e37a2d50fcef52c1ff41c aa166d42e21 is described below commit aa166d42e211374e533063be33b75596797c416b Author: orpiske AuthorDate: Wed Apr 26 19:29:30 2023 + Regen for commit 5443df2c0333469df47e37a2d50fcef52c1ff41c Signed-off-by: GitHub --- .../src/main/java/org/apache/camel/support/AbstractExchange.java| 2 -- 1 file changed, 2 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index 9893d567fda..0336f57e462 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -16,7 +16,6 @@ */ package org.apache.camel.support; -import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -35,7 +34,6 @@ import org.apache.camel.Message; import org.apache.camel.MessageHistory; import org.apache.camel.SafeCopyProperty; import org.apache.camel.spi.HeadersMapFactory; -import org.apache.camel.spi.Synchronization; import org.apache.camel.spi.UnitOfWork; import org.apache.camel.util.ObjectHelper;
[GitHub] [camel] oscerd merged pull request #9956: Generated sources regen
oscerd merged PR #9956: URL: https://github.com/apache/camel/pull/9956 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (23e6511cd53 -> f24ca17b88d)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git omit 23e6511cd53 Regen for commit 1e7715192a013e5d554d7c8b9e6ae582dface65c add 5443df2c033 CAMEL-15105: cleaned up handling the unit of work and onCompletions add f24ca17b88d Regen for commit 5443df2c0333469df47e37a2d50fcef52c1ff41c 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 (23e6511cd53) \ N -- N -- N refs/heads/regen_bot (f24ca17b88d) 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: .../org/apache/camel/support/AbstractExchange.java | 70 +- .../camel/support/DefaultPooledExchange.java | 6 -- .../camel/support/ExtendedExchangeExtension.java | 67 +++-- 3 files changed, 64 insertions(+), 79 deletions(-)
[GitHub] [camel] github-actions[bot] opened a new pull request, #9956: Generated sources regen
github-actions[bot] opened a new pull request, #9956: URL: https://github.com/apache/camel/pull/9956 Regen bot :robot: found some uncommitted changes after running build on :camel: `main` branch. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #9954: (chores) performance: use native array copying which may benefit from intrinsic functions
github-actions[bot] commented on PR #9954: URL: https://github.com/apache/camel/pull/9954#issuecomment-1523913775 :no_entry_sign: There are (likely) no components to be tested in this PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: Regen for commit 1e7715192a013e5d554d7c8b9e6ae582dface65c
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 6c83bcf72f0 Regen for commit 1e7715192a013e5d554d7c8b9e6ae582dface65c 6c83bcf72f0 is described below commit 6c83bcf72f07897b6de9b7991a526bc2e1ae6b06 Author: orpiske AuthorDate: Wed Apr 26 18:49:29 2023 + Regen for commit 1e7715192a013e5d554d7c8b9e6ae582dface65c Signed-off-by: GitHub --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index 096f65eb59c..9893d567fda 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -25,7 +25,6 @@ import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArrayList; -import org.apache.camel.AsyncCallback; import org.apache.camel.CamelContext; import org.apache.camel.CamelExecutionException; import org.apache.camel.Endpoint;
[GitHub] [camel] oscerd merged pull request #9955: Generated sources regen
oscerd merged PR #9955: URL: https://github.com/apache/camel/pull/9955 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (4c1f2f29cc8 -> 23e6511cd53)
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 4c1f2f29cc8 (chores) style: disable checkstyle on auto-generated files in camel-xml-jaxb-dsl add 466b8f67c2a CAMEL-15105: move the fromRouteId to the extension add 93b6dab2904 CAMEL-15105: move the stream cache flag to the extension add ddcb672460c CAMEL-15105: move the re-delivery exhausted flag to the extension add f4b502bee09 CAMEL-15105: move the history node id flag to the extension add 8ebfb88e57d CAMEL-15105: move the history node source flag to the extension add 40cae08f4cb CAMEL-15105: move the history node label to the extension add 7b0ff81957b CAMEL-15105: move the transacted flag to the extension add 374d2f30ba4 CAMEL-15105: move the notify event flag to the extension add 382a201fbbb CAMEL-15105: move the interruptable flag to the extension add 760c15b0594 CAMEL-15105: move the interrupted flag to the extension add 0ace438fdb0 CAMEL-15105: move the default consumer callback instance to the extension add 1e7715192a0 CAMEL-15105: cleaned up resetting the extension add 23e6511cd53 Regen for commit 1e7715192a013e5d554d7c8b9e6ae582dface65c No new revisions were added by this update. Summary of changes: .../org/apache/camel/support/AbstractExchange.java | 40 +++- .../camel/support/DefaultPooledExchange.java | 11 +--- .../camel/support/ExtendedExchangeExtension.java | 71 -- 3 files changed, 61 insertions(+), 61 deletions(-)
[GitHub] [camel] github-actions[bot] opened a new pull request, #9955: Generated sources regen
github-actions[bot] opened a new pull request, #9955: URL: https://github.com/apache/camel/pull/9955 Regen bot :robot: found some uncommitted changes after running build on :camel: `main` branch. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] mertdotcc commented on issue #4290: Maximum number of running builds (0) exceeded
mertdotcc commented on issue #4290: URL: https://github.com/apache/camel-k/issues/4290#issuecomment-1523892200 You were right. My feature branch was not rebased to the main branch. I can see the new `maxRunningBuilds` property now. Many thanks for the help! -- 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
[GitHub] [camel-k] mertdotcc closed issue #4290: Maximum number of running builds (0) exceeded
mertdotcc closed issue #4290: Maximum number of running builds (0) exceeded URL: https://github.com/apache/camel-k/issues/4290 -- 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
[GitHub] [camel-k] christophd commented on issue #4290: Maximum number of running builds (0) exceeded
christophd commented on issue #4290: URL: https://github.com/apache/camel-k/issues/4290#issuecomment-1523888964 You should be seeing this new property set in the Status resource of the IntegrationPlatform `kubectl get ip -n -o yaml` -- 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
[GitHub] [camel-k] christophd commented on issue #4290: Maximum number of running builds (0) exceeded
christophd commented on issue #4290: URL: https://github.com/apache/camel-k/issues/4290#issuecomment-1523884380 The new property on the IntegrationPlatform is called `maxRunningBuilds` see https://github.com/apache/camel-k/blob/main/config/crd/bases/camel.apache.org_integrationplatforms.yaml#L245 -- 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
[GitHub] [camel-k] mertdotcc commented on issue #4290: Maximum number of running builds (0) exceeded
mertdotcc commented on issue #4290: URL: https://github.com/apache/camel-k/issues/4290#issuecomment-1523882141 Might be somewhat of a useful information: - This is a new minikube cluster that I created today. - My local `camel-k` directory is up-to-date. - I made a clean install with the `kamel` binary that I produced through the `Makefile`. - I can see both versions of `Kamelets` CRD and also the new `Pipe` CRD, so I am assuming that all my CRDs are up-to-date. ``` ~ kubectl get crds builds.camel.apache.org 2023-04-26T18:04:08Z camelcatalogs.camel.apache.org 2023-04-26T18:04:08Z integrationkits.camel.apache.org2023-04-26T18:04:08Z integrationplatforms.camel.apache.org 2023-04-26T18:04:08Z integrations.camel.apache.org 2023-04-26T18:04:08Z kameletbindings.camel.apache.org2023-04-26T18:04:08Z kamelets.camel.apache.org 2023-04-26T18:04:08Z pipes.camel.apache.org 2023-04-26T18:04:09Z ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot_3x updated (f6b7b6c2e27 -> ff022200583)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot_3x in repository https://gitbox.apache.org/repos/asf/camel.git omit f6b7b6c2e27 Regen for commit 77d84b45e9d3f75212071a23caaf1d712095307f add ff022200583 Regen for commit 77d84b45e9d3f75212071a23caaf1d712095307f (#9951) 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 (f6b7b6c2e27) \ N -- N -- N refs/heads/regen_bot_3x (ff022200583) 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:
[GitHub] [camel-k] christophd commented on issue #4290: Maximum number of running builds (0) exceeded
christophd commented on issue #4290: URL: https://github.com/apache/camel-k/issues/4290#issuecomment-1523876699 This is a new enhancement to limit the maximum number of builds running on the operator in parallel. The enhancement has been merged today. The value `0` definitely does not make sense here. The setting comes with the IntegrationPlatform custom resource. Can you please check that the IntegrationPlatform CRD has been updated on your local cluster? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: CAMEL-15105: cleaned up handling the unit of work and onCompletions
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 5443df2c033 CAMEL-15105: cleaned up handling the unit of work and onCompletions 5443df2c033 is described below commit 5443df2c0333469df47e37a2d50fcef52c1ff41c Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 19:20:19 2023 +0200 CAMEL-15105: cleaned up handling the unit of work and onCompletions --- .../org/apache/camel/support/AbstractExchange.java | 68 +- .../camel/support/DefaultPooledExchange.java | 6 -- .../camel/support/ExtendedExchangeExtension.java | 67 +++-- 3 files changed, 64 insertions(+), 77 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index ba484068884..096f65eb59c 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -66,9 +66,7 @@ class AbstractExchange implements Exchange { Message out; Exception exception; String exchangeId; -UnitOfWork unitOfWork; ExchangePattern pattern; -List onCompletions; Boolean externalRedelivered; boolean routeStop; boolean rollbackOnly; @@ -92,11 +90,11 @@ class AbstractExchange implements Exchange { this.context = parent.getContext(); this.pattern = parent.getPattern(); this.created = parent.getCreated(); -this.unitOfWork = parent.getUnitOfWork(); privateExtension = new ExtendedExchangeExtension(this); privateExtension.setFromEndpoint(parent.getFromEndpoint()); privateExtension.setFromRouteId(parent.getFromRouteId()); +privateExtension.setUnitOfWork(parent.getUnitOfWork()); } public AbstractExchange(Endpoint fromEndpoint) { @@ -678,69 +676,7 @@ class AbstractExchange implements Exchange { @Override public UnitOfWork getUnitOfWork() { -return unitOfWork; -} - -void setUnitOfWork(UnitOfWork unitOfWork) { -this.unitOfWork = unitOfWork; -if (unitOfWork != null && onCompletions != null) { -// now an unit of work has been assigned so add the on completions -// we might have registered already -for (Synchronization onCompletion : onCompletions) { -unitOfWork.addSynchronization(onCompletion); -} -// cleanup the temporary on completion list as they now have been registered -// on the unit of work -onCompletions.clear(); -onCompletions = null; -} -} - -void addOnCompletion(Synchronization onCompletion) { -if (unitOfWork == null) { -// unit of work not yet registered so we store the on completion temporary -// until the unit of work is assigned to this exchange by the unit of work -if (onCompletions == null) { -onCompletions = new ArrayList<>(); -} -onCompletions.add(onCompletion); -} else { -getUnitOfWork().addSynchronization(onCompletion); -} -} - -boolean containsOnCompletion(Synchronization onCompletion) { -if (unitOfWork != null) { -// if there is an unit of work then the completions is moved there -return unitOfWork.containsSynchronization(onCompletion); -} else { -// check temporary completions if no unit of work yet -return onCompletions != null && onCompletions.contains(onCompletion); -} -} - -void handoverCompletions(Exchange target) { -if (onCompletions != null) { -for (Synchronization onCompletion : onCompletions) { -target.getExchangeExtension().addOnCompletion(onCompletion); -} -// cleanup the temporary on completion list as they have been handed over -onCompletions.clear(); -onCompletions = null; -} else if (unitOfWork != null) { -// let unit of work handover -unitOfWork.handoverSynchronization(target); -} -} - -List handoverCompletions() { -List answer = null; -if (onCompletions != null) { -answer = new ArrayList<>(onCompletions); -onCompletions.clear(); -onCompletions = null; -} -return answer; +return privateExtension.getUnitOfWork(); } /** diff --git a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java index 21ac295a2b7..958b6b92179 100644 ---
[GitHub] [camel] orpiske merged pull request #9953: CAMEL-15105: cleaned up handling the unit of work and onCompletions
orpiske merged PR #9953: URL: https://github.com/apache/camel/pull/9953 -- 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
[GitHub] [camel] github-actions[bot] commented on pull request #9954: (chores) performance: use native array copying which may benefit from intrinsic functions
github-actions[bot] commented on PR #9954: URL: https://github.com/apache/camel/pull/9954#issuecomment-1523863823 :star2: Thank you for your contribution to the Apache Camel project! :star2: :warning: Please note that the changes on this PR may be **tested automatically**. If necessary Apache Camel Committers may access logs and test results in the job summaries! -- 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
[GitHub] [camel-k] mertdotcc opened a new issue, #4290: Maximum number of running builds (0) exceeded
mertdotcc opened a new issue, #4290: URL: https://github.com/apache/camel-k/issues/4290 I am currently working on a [PR](https://github.com/apache/camel-k/pull/4190) and using the `test-common` test to run the e2e tests in my minikube cluster. My test run basically gets stuck with the following output and times out: ``` ~ make test-common go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest FAILED=0; STAGING_RUNTIME_REPO=""; \ go test -timeout 30m -v ./e2e/common/support/startup_test.go -tags=integration || FAILED=1; \ go test -timeout 30m -v ./e2e/common/languages -tags=integration || FAILED=1; \ go test -timeout 30m -v ./e2e/common/cli -tags=integration || FAILED=1; \ go test -timeout 30m -v ./e2e/common/config -tags=integration || FAILED=1; \ go test -timeout 30m -v ./e2e/common/misc -tags=integration || FAILED=1; \ go test -timeout 30m -v ./e2e/common/support/teardown_test.go -tags=integration || FAILED=1; \ exit ${FAILED} === RUN TestCommonCamelKInstallStartup OLM is not available in the cluster. Fallback to regular installation. Using storage class "standard" to create "camel-k-pvc" volume for the operator Camel K installed in namespace test-91d9ae50-720c-4832-8c2d-7e9aee86488a --- PASS: TestCommonCamelKInstallStartup (4.35s) PASS ok command-line-arguments 4.819s === RUN TestRunSimpleGroovyExamples === RUN TestRunSimpleGroovyExamples/run_groovy Integration "groovy" created ``` Integrations seem to be stuck in the `Building Kit` phase: ``` ~ kubectl get it --all-namespaces NAMESPACE NAME PHASE KIT REPLICAS test-0d4ee664-6a89-4763-b4d9-e3f6d5c4f379 java Building Kit kit-ch4gks1lv79s73faigjg test-91d9ae50-720c-4832-8c2d-7e9aee86488a groovy Building Kit kit-ch4mi4lfsfdc73f56ar0 test-9a3ab09e-2f19-449e-9b0a-daccc04d25c9 java Building Kit kit-cglutm6lk10c73fc2e60 ``` The operator pods show the following: ``` {"level":"info","ts":1682533210.7732217,"logger":"camel-k.controller.build","msg":"Maximum number of running builds (0) exceeded - the build gets enqueued","request-namespace":"test-91d9ae50-720c-4832-8c2d-7e9aee86488a","request-name":"groovy","max-running-builds-limit":0,"api-version":"camel.apache.org/v1","kind":"Build","ns":"test-91d9ae50-720c-4832-8c2d-7e9aee86488a","name":"kit-ch4mi4lfsfdc73f56ar0"} {"level":"info","ts":1682533215.7854362,"logger":"camel-k.controller.build","msg":"Reconciling Build","request-namespace":"test-91d9ae50-720c-4832-8c2d-7e9aee86488a","request-name":"kit-ch4mi4lfsfdc73f56ar0"} {"level":"info","ts":1682533215.785816,"logger":"camel-k.controller.build","msg":"Invoking action schedule","request-namespace":"test-91d9ae50-720c-4832-8c2d-7e9aee86488a","request-name":"kit-ch4mi4lfsfdc73f56ar0","api-version":"camel.apache.org/v1","kind":"Build","ns":"test-91d9ae50-720c-4832-8c2d-7e9aee86488a","name":"kit-ch4mi4lfsfdc73f56ar0"} ``` First I thought that the changes I made in my branch might be causing this, so I checked out to the main branch and ran the `test-common` test there. Same problem. Am I missing something? Where does this number `0` come from? cc @christophd -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #9953: CAMEL-15105: cleaned up handling the unit of work and onCompletions
github-actions[bot] commented on PR #9953: URL: https://github.com/apache/camel/pull/9953#issuecomment-1523855249 :star2: Thank you for your contribution to the Apache Camel project! :star2: :warning: Please note that the changes on this PR may be **tested automatically**. If necessary Apache Camel Committers may access logs and test results in the job summaries! -- 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] 03/12: CAMEL-15105: move the re-delivery exhausted flag to the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit ddcb672460c7681527a4accd62f03dd0b663f08e Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 18:26:25 2023 +0200 CAMEL-15105: move the re-delivery exhausted flag to the extension --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 3 +-- .../main/java/org/apache/camel/support/DefaultPooledExchange.java| 2 +- .../java/org/apache/camel/support/ExtendedExchangeExtension.java | 5 +++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index 6c8ec5b966d..1f84aaf044c 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -80,7 +80,6 @@ class AbstractExchange implements Exchange { boolean notifyEvent; boolean interrupted; boolean interruptable = true; -boolean redeliveryExhausted; AsyncCallback defaultConsumerCallback; // optimize (do not reset) Map safeCopyProperties; private final ExtendedExchangeExtension privateExtension; @@ -154,7 +153,7 @@ class AbstractExchange implements Exchange { exchange.setRollbackOnlyLast(rollbackOnlyLast); final ExtendedExchangeExtension newExchangeExtension = exchange.getExchangeExtension(); newExchangeExtension.setNotifyEvent(notifyEvent); -newExchangeExtension.setRedeliveryExhausted(redeliveryExhausted); + newExchangeExtension.setRedeliveryExhausted(getExchangeExtension().isRedeliveryExhausted()); newExchangeExtension.setErrorHandlerHandled(getExchangeExtension().getErrorHandlerHandled()); newExchangeExtension.setStreamCacheDisabled(getExchangeExtension().isStreamCacheDisabled()); diff --git a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java index 4c8790d4f52..5036d995dc0 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java @@ -119,7 +119,7 @@ public final class DefaultPooledExchange extends AbstractExchange implements Poo this.notifyEvent = false; this.interrupted = false; this.interruptable = true; -this.redeliveryExhausted = false; +getExchangeExtension().setRedeliveryExhausted(false); getExchangeExtension().setErrorHandlerHandled(null); getExchangeExtension().setStreamCacheDisabled(false); diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index 2d5bb8199ea..0aed71aafd6 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -35,6 +35,7 @@ public class ExtendedExchangeExtension implements ExchangeExtension { private Endpoint fromEndpoint; private String fromRouteId; private boolean streamCacheDisabled; +private boolean redeliveryExhausted; ExtendedExchangeExtension(AbstractExchange exchange) { this.exchange = exchange; @@ -100,12 +101,12 @@ public class ExtendedExchangeExtension implements ExchangeExtension { @Override public boolean isRedeliveryExhausted() { -return this.exchange.redeliveryExhausted; +return this.redeliveryExhausted; } @Override public void setRedeliveryExhausted(boolean redeliveryExhausted) { -this.exchange.redeliveryExhausted = redeliveryExhausted; +this.redeliveryExhausted = redeliveryExhausted; } @Override
[camel] 11/12: CAMEL-15105: move the default consumer callback instance to the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 0ace438fdb0ac8f8d0d00f983c7da51149f1389c Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 18:48:13 2023 +0200 CAMEL-15105: move the default consumer callback instance to the extension --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 9 - .../java/org/apache/camel/support/ExtendedExchangeExtension.java | 5 +++-- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index be7d6bb6d97..ba484068884 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -73,7 +73,6 @@ class AbstractExchange implements Exchange { boolean routeStop; boolean rollbackOnly; boolean rollbackOnlyLast; -AsyncCallback defaultConsumerCallback; // optimize (do not reset) Map safeCopyProperties; private final ExtendedExchangeExtension privateExtension; @@ -776,14 +775,6 @@ class AbstractExchange implements Exchange { return map; } -public AsyncCallback getDefaultConsumerCallback() { -return defaultConsumerCallback; -} - -public void setDefaultConsumerCallback(AsyncCallback defaultConsumerCallback) { -this.defaultConsumerCallback = defaultConsumerCallback; -} - protected String createExchangeId() { return context.getUuidGenerator().generateExchangeUuid(); } diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index e72395c2989..5265a008cd0 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -43,6 +43,7 @@ public class ExtendedExchangeExtension implements ExchangeExtension { private boolean notifyEvent; private boolean interruptable = true; private boolean interrupted; +private AsyncCallback defaultConsumerCallback; // optimize (do not reset) ExtendedExchangeExtension(AbstractExchange exchange) { this.exchange = exchange; @@ -224,12 +225,12 @@ public class ExtendedExchangeExtension implements ExchangeExtension { @Override public AsyncCallback getDefaultConsumerCallback() { -return this.exchange.defaultConsumerCallback; +return this.defaultConsumerCallback; } @Override public void setDefaultConsumerCallback(AsyncCallback callback) { -this.exchange.defaultConsumerCallback = callback; +this.defaultConsumerCallback = callback; } @Override
[camel] 02/12: CAMEL-15105: move the stream cache flag to the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 93b6dab2904dc46e23677ab6347108aee750de2c Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 18:25:11 2023 +0200 CAMEL-15105: move the stream cache flag to the extension --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 3 +-- .../main/java/org/apache/camel/support/DefaultPooledExchange.java| 2 +- .../java/org/apache/camel/support/ExtendedExchangeExtension.java | 5 +++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index 0e587225a30..6c8ec5b966d 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -81,7 +81,6 @@ class AbstractExchange implements Exchange { boolean interrupted; boolean interruptable = true; boolean redeliveryExhausted; -boolean streamCacheDisabled; AsyncCallback defaultConsumerCallback; // optimize (do not reset) Map safeCopyProperties; private final ExtendedExchangeExtension privateExtension; @@ -157,7 +156,7 @@ class AbstractExchange implements Exchange { newExchangeExtension.setNotifyEvent(notifyEvent); newExchangeExtension.setRedeliveryExhausted(redeliveryExhausted); newExchangeExtension.setErrorHandlerHandled(getExchangeExtension().getErrorHandlerHandled()); -newExchangeExtension.setStreamCacheDisabled(streamCacheDisabled); + newExchangeExtension.setStreamCacheDisabled(getExchangeExtension().isStreamCacheDisabled()); // copy properties after body as body may trigger lazy init if (hasProperties()) { diff --git a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java index fe44c36ef90..4c8790d4f52 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java @@ -121,7 +121,7 @@ public final class DefaultPooledExchange extends AbstractExchange implements Poo this.interruptable = true; this.redeliveryExhausted = false; getExchangeExtension().setErrorHandlerHandled(null); -this.streamCacheDisabled = false; +getExchangeExtension().setStreamCacheDisabled(false); if (onDone != null) { onDone.onDone(this); diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index 0777a14133e..2d5bb8199ea 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -34,6 +34,7 @@ public class ExtendedExchangeExtension implements ExchangeExtension { private boolean failureHandled; private Endpoint fromEndpoint; private String fromRouteId; +private boolean streamCacheDisabled; ExtendedExchangeExtension(AbstractExchange exchange) { this.exchange = exchange; @@ -62,14 +63,14 @@ public class ExtendedExchangeExtension implements ExchangeExtension { * Is stream caching disabled on the given exchange */ public boolean isStreamCacheDisabled() { -return this.exchange.streamCacheDisabled; +return this.streamCacheDisabled; } /** * Used to force disabling stream caching which some components can do in special use-cases. */ public void setStreamCacheDisabled(boolean streamCacheDisabled) { -this.exchange.streamCacheDisabled = streamCacheDisabled; +this.streamCacheDisabled = streamCacheDisabled; } @Override
[camel] 01/12: CAMEL-15105: move the fromRouteId to the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 466b8f67c2abb9fdbe039ffac0d473314a2333ee Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 17:20:15 2023 +0200 CAMEL-15105: move the fromRouteId to the extension --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 5 ++--- .../java/org/apache/camel/support/ExtendedExchangeExtension.java | 7 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index b6ee98fda89..0e587225a30 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -68,7 +68,6 @@ class AbstractExchange implements Exchange { String exchangeId; UnitOfWork unitOfWork; ExchangePattern pattern; -String fromRouteId; List onCompletions; Boolean externalRedelivered; String historyNodeId; @@ -103,11 +102,11 @@ class AbstractExchange implements Exchange { this.context = parent.getContext(); this.pattern = parent.getPattern(); this.created = parent.getCreated(); -this.fromRouteId = parent.getFromRouteId(); this.unitOfWork = parent.getUnitOfWork(); privateExtension = new ExtendedExchangeExtension(this); privateExtension.setFromEndpoint(parent.getFromEndpoint()); +privateExtension.setFromRouteId(parent.getFromRouteId()); } public AbstractExchange(Endpoint fromEndpoint) { @@ -613,7 +612,7 @@ class AbstractExchange implements Exchange { @Override public String getFromRouteId() { -return fromRouteId; +return privateExtension.getFromRouteId(); } @Override diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index 0972267c223..0777a14133e 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -33,6 +33,7 @@ public class ExtendedExchangeExtension implements ExchangeExtension { private Boolean errorHandlerHandled; private boolean failureHandled; private Endpoint fromEndpoint; +private String fromRouteId; ExtendedExchangeExtension(AbstractExchange exchange) { this.exchange = exchange; @@ -50,7 +51,11 @@ public class ExtendedExchangeExtension implements ExchangeExtension { @Override public void setFromRouteId(String fromRouteId) { -exchange.fromRouteId = fromRouteId; +this.fromRouteId = fromRouteId; +} + +public String getFromRouteId() { +return fromRouteId; } /**
[camel] 09/12: CAMEL-15105: move the interruptable flag to the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 382a201f9443a8d8110e97a55c85a901be3c Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 18:42:52 2023 +0200 CAMEL-15105: move the interruptable flag to the extension --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 3 +-- .../main/java/org/apache/camel/support/DefaultPooledExchange.java | 2 +- .../java/org/apache/camel/support/ExtendedExchangeExtension.java | 7 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index 1c204d3444e..28e267bbf82 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -74,7 +74,6 @@ class AbstractExchange implements Exchange { boolean rollbackOnly; boolean rollbackOnlyLast; boolean interrupted; -boolean interruptable = true; AsyncCallback defaultConsumerCallback; // optimize (do not reset) Map safeCopyProperties; private final ExtendedExchangeExtension privateExtension; @@ -747,7 +746,7 @@ class AbstractExchange implements Exchange { } void setInterrupted(boolean interrupted) { -if (interruptable) { +if (privateExtension.isInterruptable()) { this.interrupted = interrupted; } } diff --git a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java index f0028d111eb..74e4a16ac52 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java @@ -118,7 +118,7 @@ public final class DefaultPooledExchange extends AbstractExchange implements Poo this.rollbackOnlyLast = false; getExchangeExtension().setNotifyEvent(false); this.interrupted = false; -this.interruptable = true; +getExchangeExtension().setInterruptable(true); getExchangeExtension().setRedeliveryExhausted(false); getExchangeExtension().setErrorHandlerHandled(null); getExchangeExtension().setStreamCacheDisabled(false); diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index e20fed36bf0..34836f3de90 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -41,6 +41,7 @@ public class ExtendedExchangeExtension implements ExchangeExtension { private String historyNodeLabel; private boolean transacted; private boolean notifyEvent; +private boolean interruptable = true; ExtendedExchangeExtension(AbstractExchange exchange) { this.exchange = exchange; @@ -200,7 +201,11 @@ public class ExtendedExchangeExtension implements ExchangeExtension { @Override public void setInterruptable(boolean interruptable) { -this.exchange.interruptable = interruptable; +this.interruptable = interruptable; +} + +public boolean isInterruptable() { +return interruptable; } @Override
[camel] 10/12: CAMEL-15105: move the interrupted flag to the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 760c15b059494712a07c96940c5bb4e5b380e271 Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 18:46:05 2023 +0200 CAMEL-15105: move the interrupted flag to the extension --- .../main/java/org/apache/camel/support/AbstractExchange.java | 9 + .../java/org/apache/camel/support/DefaultPooledExchange.java | 2 +- .../org/apache/camel/support/ExtendedExchangeExtension.java | 11 +-- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index 28e267bbf82..be7d6bb6d97 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -73,7 +73,6 @@ class AbstractExchange implements Exchange { boolean routeStop; boolean rollbackOnly; boolean rollbackOnlyLast; -boolean interrupted; AsyncCallback defaultConsumerCallback; // optimize (do not reset) Map safeCopyProperties; private final ExtendedExchangeExtension privateExtension; @@ -583,7 +582,7 @@ class AbstractExchange implements Exchange { } if (t instanceof InterruptedException) { // mark the exchange as interrupted due to the interrupt exception -setInterrupted(true); +privateExtension.setInterrupted(true); } } @@ -745,12 +744,6 @@ class AbstractExchange implements Exchange { return answer; } -void setInterrupted(boolean interrupted) { -if (privateExtension.isInterruptable()) { -this.interrupted = interrupted; -} -} - /** * Configures the message after it has been set on the exchange */ diff --git a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java index 74e4a16ac52..5b0dbc2795f 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java @@ -117,7 +117,7 @@ public final class DefaultPooledExchange extends AbstractExchange implements Poo this.rollbackOnly = false; this.rollbackOnlyLast = false; getExchangeExtension().setNotifyEvent(false); -this.interrupted = false; +getExchangeExtension().setInterrupted(false); getExchangeExtension().setInterruptable(true); getExchangeExtension().setRedeliveryExhausted(false); getExchangeExtension().setErrorHandlerHandled(null); diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index 34836f3de90..e72395c2989 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -42,6 +42,7 @@ public class ExtendedExchangeExtension implements ExchangeExtension { private boolean transacted; private boolean notifyEvent; private boolean interruptable = true; +private boolean interrupted; ExtendedExchangeExtension(AbstractExchange exchange) { this.exchange = exchange; @@ -204,18 +205,16 @@ public class ExtendedExchangeExtension implements ExchangeExtension { this.interruptable = interruptable; } -public boolean isInterruptable() { -return interruptable; -} - @Override public boolean isInterrupted() { -return this.exchange.interrupted; +return this.interrupted; } @Override public void setInterrupted(boolean interrupted) { -this.exchange.setInterrupted(interrupted); +if (interruptable) { +this.interrupted = interrupted; +} } @Override
[camel] 12/12: CAMEL-15105: cleaned up resetting the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 1e7715192a013e5d554d7c8b9e6ae582dface65c Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 19:07:50 2023 +0200 CAMEL-15105: cleaned up resetting the extension --- .../java/org/apache/camel/support/DefaultPooledExchange.java | 11 ++- .../org/apache/camel/support/ExtendedExchangeExtension.java | 12 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java index 5b0dbc2795f..21ac295a2b7 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java @@ -110,18 +110,11 @@ public final class DefaultPooledExchange extends AbstractExchange implements Poo } // do not reset endpoint/fromRouteId as it would be the same consumer/endpoint again this.externalRedelivered = null; -getExchangeExtension().setHistoryNodeId(null); -getExchangeExtension().setHistoryNodeLabel(null); -getExchangeExtension().setTransacted(false); this.routeStop = false; this.rollbackOnly = false; this.rollbackOnlyLast = false; -getExchangeExtension().setNotifyEvent(false); -getExchangeExtension().setInterrupted(false); -getExchangeExtension().setInterruptable(true); -getExchangeExtension().setRedeliveryExhausted(false); -getExchangeExtension().setErrorHandlerHandled(null); -getExchangeExtension().setStreamCacheDisabled(false); + +getExchangeExtension().reset(); if (onDone != null) { onDone.onDone(this); diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index 5265a008cd0..8080af78e0c 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -252,4 +252,16 @@ public class ExtendedExchangeExtension implements ExchangeExtension { public void setFailureHandled(boolean failureHandled) { this.failureHandled = failureHandled; } + +public void reset() { +setHistoryNodeId(null); +setHistoryNodeLabel(null); +setTransacted(false); +setNotifyEvent(false); +setInterrupted(false); +setInterruptable(true); +setRedeliveryExhausted(false); +setErrorHandlerHandled(null); +setStreamCacheDisabled(false); +} }
[camel] branch main updated (4c1f2f29cc8 -> 1e7715192a0)
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from 4c1f2f29cc8 (chores) style: disable checkstyle on auto-generated files in camel-xml-jaxb-dsl new 466b8f67c2a CAMEL-15105: move the fromRouteId to the extension new 93b6dab2904 CAMEL-15105: move the stream cache flag to the extension new ddcb672460c CAMEL-15105: move the re-delivery exhausted flag to the extension new f4b502bee09 CAMEL-15105: move the history node id flag to the extension new 8ebfb88e57d CAMEL-15105: move the history node source flag to the extension new 40cae08f4cb CAMEL-15105: move the history node label to the extension new 7b0ff81957b CAMEL-15105: move the transacted flag to the extension new 374d2f30ba4 CAMEL-15105: move the notify event flag to the extension new 382a201fbbb CAMEL-15105: move the interruptable flag to the extension new 760c15b0594 CAMEL-15105: move the interrupted flag to the extension new 0ace438fdb0 CAMEL-15105: move the default consumer callback instance to the extension new 1e7715192a0 CAMEL-15105: cleaned up resetting the extension The 12 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: .../org/apache/camel/support/AbstractExchange.java | 39 +++- .../camel/support/DefaultPooledExchange.java | 11 +--- .../camel/support/ExtendedExchangeExtension.java | 71 -- 3 files changed, 61 insertions(+), 60 deletions(-)
[camel] 08/12: CAMEL-15105: move the notify event flag to the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 374d2f30ba4b47066bca98e8bc457b0f2dfa202d Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 18:41:01 2023 +0200 CAMEL-15105: move the notify event flag to the extension --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 3 +-- .../main/java/org/apache/camel/support/DefaultPooledExchange.java| 2 +- .../java/org/apache/camel/support/ExtendedExchangeExtension.java | 5 +++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index f26711aa6f7..1c204d3444e 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -73,7 +73,6 @@ class AbstractExchange implements Exchange { boolean routeStop; boolean rollbackOnly; boolean rollbackOnlyLast; -boolean notifyEvent; boolean interrupted; boolean interruptable = true; AsyncCallback defaultConsumerCallback; // optimize (do not reset) @@ -148,7 +147,7 @@ class AbstractExchange implements Exchange { exchange.setRollbackOnly(rollbackOnly); exchange.setRollbackOnlyLast(rollbackOnlyLast); final ExtendedExchangeExtension newExchangeExtension = exchange.getExchangeExtension(); -newExchangeExtension.setNotifyEvent(notifyEvent); + newExchangeExtension.setNotifyEvent(getExchangeExtension().isNotifyEvent()); newExchangeExtension.setRedeliveryExhausted(getExchangeExtension().isRedeliveryExhausted()); newExchangeExtension.setErrorHandlerHandled(getExchangeExtension().getErrorHandlerHandled()); newExchangeExtension.setStreamCacheDisabled(getExchangeExtension().isStreamCacheDisabled()); diff --git a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java index d80972babd7..f0028d111eb 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java @@ -116,7 +116,7 @@ public final class DefaultPooledExchange extends AbstractExchange implements Poo this.routeStop = false; this.rollbackOnly = false; this.rollbackOnlyLast = false; -this.notifyEvent = false; +getExchangeExtension().setNotifyEvent(false); this.interrupted = false; this.interruptable = true; getExchangeExtension().setRedeliveryExhausted(false); diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index baf4aece5ac..e20fed36bf0 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -40,6 +40,7 @@ public class ExtendedExchangeExtension implements ExchangeExtension { private String historyNodeSource; private String historyNodeLabel; private boolean transacted; +private boolean notifyEvent; ExtendedExchangeExtension(AbstractExchange exchange) { this.exchange = exchange; @@ -170,12 +171,12 @@ public class ExtendedExchangeExtension implements ExchangeExtension { @Override public boolean isNotifyEvent() { -return this.exchange.notifyEvent; +return this.notifyEvent; } @Override public void setNotifyEvent(boolean notifyEvent) { -this.exchange.notifyEvent = notifyEvent; +this.notifyEvent = notifyEvent; } @Override
[camel] 05/12: CAMEL-15105: move the history node source flag to the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 8ebfb88e57de4c6e759a98d89395a2ba672135dc Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 18:35:29 2023 +0200 CAMEL-15105: move the history node source flag to the extension --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 1 - .../java/org/apache/camel/support/ExtendedExchangeExtension.java | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index 31da48d4ed9..a19e5da1c60 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -71,7 +71,6 @@ class AbstractExchange implements Exchange { List onCompletions; Boolean externalRedelivered; String historyNodeLabel; -String historyNodeSource; boolean transacted; boolean routeStop; boolean rollbackOnly; diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index 10696473c67..ab1f93d6586 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -37,6 +37,7 @@ public class ExtendedExchangeExtension implements ExchangeExtension { private boolean streamCacheDisabled; private boolean redeliveryExhausted; private String historyNodeId; +private String historyNodeSource; ExtendedExchangeExtension(AbstractExchange exchange) { this.exchange = exchange; @@ -147,12 +148,12 @@ public class ExtendedExchangeExtension implements ExchangeExtension { @Override public String getHistoryNodeSource() { -return this.exchange.historyNodeSource; +return this.historyNodeSource; } @Override public void setHistoryNodeSource(String historyNodeSource) { -this.exchange.historyNodeSource = historyNodeSource; +this.historyNodeSource = historyNodeSource; } @Override
[camel] 07/12: CAMEL-15105: move the transacted flag to the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 7b0ff81957b01736ae293d7a9b91fded8db800f9 Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 18:40:37 2023 +0200 CAMEL-15105: move the transacted flag to the extension --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 3 +-- .../main/java/org/apache/camel/support/DefaultPooledExchange.java | 2 +- .../java/org/apache/camel/support/ExtendedExchangeExtension.java | 7 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index 60c8299e9a4..f26711aa6f7 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -70,7 +70,6 @@ class AbstractExchange implements Exchange { ExchangePattern pattern; List onCompletions; Boolean externalRedelivered; -boolean transacted; boolean routeStop; boolean rollbackOnly; boolean rollbackOnlyLast; @@ -630,7 +629,7 @@ class AbstractExchange implements Exchange { @Override public boolean isTransacted() { -return transacted; +return privateExtension.isTransacted(); } @Override diff --git a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java index 00bbbebfe2f..d80972babd7 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java @@ -112,7 +112,7 @@ public final class DefaultPooledExchange extends AbstractExchange implements Poo this.externalRedelivered = null; getExchangeExtension().setHistoryNodeId(null); getExchangeExtension().setHistoryNodeLabel(null); -this.transacted = false; +getExchangeExtension().setTransacted(false); this.routeStop = false; this.rollbackOnly = false; this.rollbackOnlyLast = false; diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index b59fb811e28..baf4aece5ac 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -39,6 +39,7 @@ public class ExtendedExchangeExtension implements ExchangeExtension { private String historyNodeId; private String historyNodeSource; private String historyNodeLabel; +private boolean transacted; ExtendedExchangeExtension(AbstractExchange exchange) { this.exchange = exchange; @@ -189,7 +190,11 @@ public class ExtendedExchangeExtension implements ExchangeExtension { @Override public void setTransacted(boolean transacted) { -this.exchange.transacted = transacted; +this.transacted = transacted; +} + +public boolean isTransacted() { +return transacted; } @Override
[camel] 04/12: CAMEL-15105: move the history node id flag to the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit f4b502bee09d4d9fc41241a95af6343c8f9cb535 Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 18:30:49 2023 +0200 CAMEL-15105: move the history node id flag to the extension --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 1 - .../main/java/org/apache/camel/support/DefaultPooledExchange.java| 2 +- .../java/org/apache/camel/support/ExtendedExchangeExtension.java | 5 +++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index 1f84aaf044c..31da48d4ed9 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -70,7 +70,6 @@ class AbstractExchange implements Exchange { ExchangePattern pattern; List onCompletions; Boolean externalRedelivered; -String historyNodeId; String historyNodeLabel; String historyNodeSource; boolean transacted; diff --git a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java index 5036d995dc0..9d08bed56d0 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java @@ -110,7 +110,7 @@ public final class DefaultPooledExchange extends AbstractExchange implements Poo } // do not reset endpoint/fromRouteId as it would be the same consumer/endpoint again this.externalRedelivered = null; -this.historyNodeId = null; +getExchangeExtension().setHistoryNodeId(null); this.historyNodeLabel = null; this.transacted = false; this.routeStop = false; diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index 0aed71aafd6..10696473c67 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -36,6 +36,7 @@ public class ExtendedExchangeExtension implements ExchangeExtension { private String fromRouteId; private boolean streamCacheDisabled; private boolean redeliveryExhausted; +private String historyNodeId; ExtendedExchangeExtension(AbstractExchange exchange) { this.exchange = exchange; @@ -136,12 +137,12 @@ public class ExtendedExchangeExtension implements ExchangeExtension { @Override public void setHistoryNodeId(String historyNodeId) { -this.exchange.historyNodeId = historyNodeId; +this.historyNodeId = historyNodeId; } @Override public String getHistoryNodeId() { -return this.exchange.historyNodeId; +return this.historyNodeId; } @Override
[camel] 06/12: CAMEL-15105: move the history node label to the extension
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 40cae08f4cbfb358bc784d4218207d868ad6a1a2 Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 18:36:56 2023 +0200 CAMEL-15105: move the history node label to the extension --- .../src/main/java/org/apache/camel/support/AbstractExchange.java | 1 - .../main/java/org/apache/camel/support/DefaultPooledExchange.java| 2 +- .../java/org/apache/camel/support/ExtendedExchangeExtension.java | 5 +++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java index a19e5da1c60..60c8299e9a4 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/AbstractExchange.java @@ -70,7 +70,6 @@ class AbstractExchange implements Exchange { ExchangePattern pattern; List onCompletions; Boolean externalRedelivered; -String historyNodeLabel; boolean transacted; boolean routeStop; boolean rollbackOnly; diff --git a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java index 9d08bed56d0..00bbbebfe2f 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/DefaultPooledExchange.java @@ -111,7 +111,7 @@ public final class DefaultPooledExchange extends AbstractExchange implements Poo // do not reset endpoint/fromRouteId as it would be the same consumer/endpoint again this.externalRedelivered = null; getExchangeExtension().setHistoryNodeId(null); -this.historyNodeLabel = null; +getExchangeExtension().setHistoryNodeLabel(null); this.transacted = false; this.routeStop = false; this.rollbackOnly = false; diff --git a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java index ab1f93d6586..b59fb811e28 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/ExtendedExchangeExtension.java @@ -38,6 +38,7 @@ public class ExtendedExchangeExtension implements ExchangeExtension { private boolean redeliveryExhausted; private String historyNodeId; private String historyNodeSource; +private String historyNodeLabel; ExtendedExchangeExtension(AbstractExchange exchange) { this.exchange = exchange; @@ -158,12 +159,12 @@ public class ExtendedExchangeExtension implements ExchangeExtension { @Override public String getHistoryNodeLabel() { -return this.exchange.historyNodeSource; +return this.historyNodeLabel; } @Override public void setHistoryNodeLabel(String historyNodeLabel) { -this.exchange.historyNodeLabel = historyNodeLabel; +this.historyNodeLabel = historyNodeLabel; } @Override
[GitHub] [camel] orpiske merged pull request #9952: CAMEL-15105: more exchange cleanups
orpiske merged PR #9952: URL: https://github.com/apache/camel/pull/9952 -- 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
[GitHub] [camel] orpiske commented on pull request #9952: CAMEL-15105: more exchange cleanups
orpiske commented on PR #9952: URL: https://github.com/apache/camel/pull/9952#issuecomment-1523832587 Checkstyle is issue is due to outdated buildingtools on the cache. It should be fine. -- 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
[GitHub] [camel] github-actions[bot] commented on pull request #9952: CAMEL-15105: more exchange cleanups
github-actions[bot] commented on PR #9952: URL: https://github.com/apache/camel/pull/9952#issuecomment-1523830141 :no_entry_sign: There are (likely) no components to be tested in this PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch camel-3.x updated: Regen for commit 77d84b45e9d3f75212071a23caaf1d712095307f (#9951)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.x by this push: new ff022200583 Regen for commit 77d84b45e9d3f75212071a23caaf1d712095307f (#9951) ff022200583 is described below commit ff02220058305ce91e2b30ecc9c7bf1c0c0eebe3 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Apr 26 19:50:27 2023 +0200 Regen for commit 77d84b45e9d3f75212071a23caaf1d712095307f (#9951) Signed-off-by: GitHub Co-authored-by: orpiske --- .../camel/component/kafka/integration/KafkaConsumerAuthIT.java | 6 +++--- .../component/kafka/integration/KafkaConsumerAuthInvalidIT.java | 6 +++--- .../kafka/integration/KafkaConsumerAuthInvalidWithReconnectIT.java | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthIT.java b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthIT.java index a12f5954104..c37436e2818 100644 --- a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthIT.java +++ b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthIT.java @@ -51,9 +51,9 @@ import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; @EnabledIfSystemProperties({ -@EnabledIfSystemProperty(named = "kafka.instance.type", matches = "local-kafka3-container", - disabledReason = "Requires Kafka 3.x"), -@EnabledIfSystemProperty(named = "kafka.instance.type", matches = "kafka", disabledReason = "Requires Kafka 3.x") +@EnabledIfSystemProperty(named = "kafka.instance.type", matches = "local-kafka3-container", + disabledReason = "Requires Kafka 3.x"), +@EnabledIfSystemProperty(named = "kafka.instance.type", matches = "kafka", disabledReason = "Requires Kafka 3.x") }) @TestMethodOrder(MethodOrderer.OrderAnnotation.class) @TestInstance(TestInstance.Lifecycle.PER_CLASS) diff --git a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthInvalidIT.java b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthInvalidIT.java index b2ae9058a7c..527838bc68c 100644 --- a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthInvalidIT.java +++ b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthInvalidIT.java @@ -49,9 +49,9 @@ import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.fail; @EnabledIfSystemProperties({ -@EnabledIfSystemProperty(named = "kafka.instance.type", matches = "local-kafka3-container", - disabledReason = "Requires Kafka 3.x"), -@EnabledIfSystemProperty(named = "kafka.instance.type", matches = "kafka", disabledReason = "Requires Kafka 3.x") +@EnabledIfSystemProperty(named = "kafka.instance.type", matches = "local-kafka3-container", + disabledReason = "Requires Kafka 3.x"), +@EnabledIfSystemProperty(named = "kafka.instance.type", matches = "kafka", disabledReason = "Requires Kafka 3.x") }) @DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Flaky on Github CI") @TestMethodOrder(MethodOrderer.OrderAnnotation.class) diff --git a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthInvalidWithReconnectIT.java b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthInvalidWithReconnectIT.java index 8afb6e89097..e7d4c296a3d 100644 --- a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthInvalidWithReconnectIT.java +++ b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/integration/KafkaConsumerAuthInvalidWithReconnectIT.java @@ -51,9 +51,9 @@ import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.fail; @EnabledIfSystemProperties({ -@EnabledIfSystemProperty(named = "kafka.instance.type", matches = "local-kafka3-container", - disabledReason = "Requires Kafka 3.x"), -@EnabledIfSystemProperty(named = "kafka.instance.type", matches = "kafka", disabledReason = "Requires Kafka 3.x") +@EnabledIfSystemProperty(named = "kafka.instance.type", matches = "local-kafka3-container", + disabledReason = "Requires Kafka
[GitHub] [camel] davsclaus merged pull request #9951: Generated sources regen (Camel 3)
davsclaus merged PR #9951: URL: https://github.com/apache/camel/pull/9951 -- 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
[GitHub] [camel] github-actions[bot] commented on pull request #9952: CAMEL-15105: more exchange cleanups
github-actions[bot] commented on PR #9952: URL: https://github.com/apache/camel/pull/9952#issuecomment-1523779197 :star2: Thank you for your contribution to the Apache Camel project! :star2: :warning: Please note that the changes on this PR may be **tested automatically**. If necessary Apache Camel Committers may access logs and test results in the job summaries! -- 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
[GitHub] [camel] github-actions[bot] commented on pull request #9939: CAMEL-17946 Introducing HTTPS support for AS2 component
github-actions[bot] commented on PR #9939: URL: https://github.com/apache/camel/pull/9939#issuecomment-1523766171 ### Components tested: | Total | Tested | Failed :x: | Passed :white_check_mark: | | --- | --- | --- | --- | | 1 | 1 | 1 | 0 | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (2410f239213 -> 4c1f2f29cc8)
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 2410f239213 CAMEL-19296: disable checkstyle on auto-generated files add 4c1f2f29cc8 (chores) style: disable checkstyle on auto-generated files in camel-xml-jaxb-dsl No new revisions were added by this update. Summary of changes: buildingtools/src/main/resources/camel-checkstyle-suppressions.xml | 3 +++ 1 file changed, 3 insertions(+)
[GitHub] [camel-k] fhossfel commented on issue #4266: [Regression] javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
fhossfel commented on issue #4266: URL: https://github.com/apache/camel-k/issues/4266#issuecomment-1523739914 We have analyzed the issue further: 1.) The described workaround works for the xslt-saxon component but it does not work for the xtokenize splitter. I will complain about a missing XPathFactory. I have not found out which dependency to add to fix that. 2.) This is related to the upgrade of Saxon from 9.9 (?) to version 11.4 during the 1.12. We have currently downgraded to Camel-K version 1.11.1 which ships with Saxon 9.9 and xslt-saxon and tokenize both work in that version. However, we need XSLT 3.0 features (xsl:evaluate) so we are currently adding a dependency on net.sf.saxon:Saxon-HE:10.9. This works for the moment but is a bit hackish. If I do find the time I will upgrade Camel-K to 1.12 again and see if I can downgrade Saxon to 10.9. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-k] branch main updated: fix(cmd): uninstall to wait the operator pod
This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/main by this push: new 861f9831f fix(cmd): uninstall to wait the operator pod 861f9831f is described below commit 861f9831f4b4c3a8563a4821254b5f35102f876a Author: Pasquale Congiusti AuthorDate: Fri Apr 14 17:15:33 2023 +0200 fix(cmd): uninstall to wait the operator pod Closes #4246 --- pkg/cmd/uninstall.go| 16 pkg/util/watch/watch.go | 26 ++ 2 files changed, 42 insertions(+) diff --git a/pkg/cmd/uninstall.go b/pkg/cmd/uninstall.go index 06b97db15..6b9731bd2 100644 --- a/pkg/cmd/uninstall.go +++ b/pkg/cmd/uninstall.go @@ -20,6 +20,7 @@ package cmd import ( "context" "fmt" + "time" "github.com/pkg/errors" "github.com/spf13/cobra" @@ -35,7 +36,9 @@ import ( v1 "github.com/apache/camel-k/v2/pkg/apis/camel/v1" "github.com/apache/camel-k/v2/pkg/client" + "github.com/apache/camel-k/v2/pkg/platform" "github.com/apache/camel-k/v2/pkg/util/olm" + "github.com/apache/camel-k/v2/pkg/util/watch" ) func newCmdUninstall(rootCmdOptions *RootCmdOptions) (*cobra.Command, *uninstallCmdOptions) { @@ -156,6 +159,19 @@ func (o *uninstallCmdOptions) uninstall(cmd *cobra.Command, _ []string) error { return err } fmt.Fprintf(cmd.OutOrStdout(), "Camel K Operator removed from namespace %s\n", o.Namespace) + + // Let's wait the Pod has completed all the tasks before removing roles, as it may cause + // problems during the shutdown + + pod := platform.GetOperatorPod(o.Context, c, o.Namespace) + if pod != nil { + tctx, cancel := context.WithTimeout(o.Context, 15*time.Second) + defer cancel() + err := watch.WaitPodToTerminate(tctx, c, pod) + if err != nil { + return errors.Wrap(err, "error while waiting the operator pod to terminate gracefully") + } + } } if err = o.uninstallNamespaceRoles(o.Context, cmd, c); err != nil { diff --git a/pkg/util/watch/watch.go b/pkg/util/watch/watch.go index e975ce8c8..32ee72788 100644 --- a/pkg/util/watch/watch.go +++ b/pkg/util/watch/watch.go @@ -23,6 +23,7 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/watch" v1 "github.com/apache/camel-k/v2/pkg/apis/camel/v1" "github.com/apache/camel-k/v2/pkg/client" @@ -212,6 +213,31 @@ func HandleIntegrationPlatformEvents(ctx context.Context, c client.Client, p *v1 } } +// WaitPodToTerminate will wait for a given pod to teminate. +func WaitPodToTerminate(ctx context.Context, c client.Client, pod *corev1.Pod) error { + opts := metav1.ListOptions{ + TypeMeta: metav1.TypeMeta{}, + FieldSelector: fmt.Sprintf("metadata.name=%s", pod.Name), + } + watcher, err := c.CoreV1().Pods(pod.Namespace).Watch(ctx, opts) + if err != nil { + return err + } + + defer watcher.Stop() + + for { + select { + case event := <-watcher.ResultChan(): + if event.Type == watch.Deleted { + return nil + } + case <-ctx.Done(): + return nil + } + } +} + func isAllowed(lastEvent, event *corev1.Event, baseTime int64) bool { if lastEvent == nil { return true
[GitHub] [camel-k] squakez closed issue #4246: Acquiring lock at startup is taking long
squakez closed issue #4246: Acquiring lock at startup is taking long URL: https://github.com/apache/camel-k/issues/4246 -- 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
[GitHub] [camel-k] squakez merged pull request #4280: fix(cmd): uninstall to wait the operator pod
squakez merged PR #4280: URL: https://github.com/apache/camel-k/pull/4280 -- 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
[GitHub] [camel-k-runtime] squakez opened a new pull request, #1017: feat(ci): automatically align to Camel Quarkus
squakez opened a new pull request, #1017: URL: https://github.com/apache/camel-k-runtime/pull/1017 * Use the same version used by Camel Quarkus * Provide automation to perform a scan on each Camel Quarkus release Ref https://github.com/apache/camel-k/issues/4282 **Release Note** ```release-note feat(ci): automatically align to Camel Quarkus ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-k] branch main updated: chore(doc): Fix documentation for camel-website generation
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-k.git The following commit(s) were added to refs/heads/main by this push: new e7ddc2ffa chore(doc): Fix documentation for camel-website generation e7ddc2ffa is described below commit e7ddc2ffa9659619ec8582d4d82912e0dd742b0f Author: Gaelle Fournier AuthorDate: Wed Apr 26 18:02:20 2023 +0200 chore(doc): Fix documentation for camel-website generation --- docs/modules/ROOT/pages/architecture/cr/build.adoc | 4 ++-- docs/modules/ROOT/pages/kamelets/kamelets-user.adoc | 2 +- docs/modules/ROOT/pages/kamelets/kamelets.adoc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/modules/ROOT/pages/architecture/cr/build.adoc b/docs/modules/ROOT/pages/architecture/cr/build.adoc index e7502616a..306fb22bf 100644 --- a/docs/modules/ROOT/pages/architecture/cr/build.adoc +++ b/docs/modules/ROOT/pages/architecture/cr/build.adoc @@ -28,7 +28,7 @@ the full go definition can be found https://github.com/apache/camel-k/blob/main/ image::architecture/camel-k-state-machine-build.png[life cycle] [[build-strategy]] -= Build strategy +== Build strategy You can choose from different build strategies. The build strategy defines how a build should be executed. At the moment the available strategies are: @@ -37,7 +37,7 @@ At the moment the available strategies are: - buildStrategy: routine (each build is run as a go routine inside the operator pod) [[build-queue]] -= Build queues +== Build queues IntegrationKits and its base images should be reused for multiple Integrations in order to accomplish an efficient resource management and to optimize build and startup times for Camel K Integrations. diff --git a/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc b/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc index 217e5b298..c5509a060 100644 --- a/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc +++ b/docs/modules/ROOT/pages/kamelets/kamelets-user.adoc @@ -390,7 +390,7 @@ To comply with the Knative specifications, in case an "http" or "https" URI is u === Error Handling -You can configure an error handler in order to specify what to do when some event ends up with failure. See xref:kamelets/bindings-error-handler.adoc[Pipes Error Handler User Guide] for more detail. +You can configure an error handler in order to specify what to do when some event ends up with failure. See xref:kamelets/kameletbindings-error-handler.adoc[Pipes Error Handler User Guide] for more detail. === Trait via annotations diff --git a/docs/modules/ROOT/pages/kamelets/kamelets.adoc b/docs/modules/ROOT/pages/kamelets/kamelets.adoc index e4ba888da..d908064f6 100644 --- a/docs/modules/ROOT/pages/kamelets/kamelets.adoc +++ b/docs/modules/ROOT/pages/kamelets/kamelets.adoc @@ -4,5 +4,5 @@ This section of the documentation contains information about Kamelets from both a user and a developer point of view: - The xref:kamelets/kamelets-user.adoc[Kamelets User Guide] is for users that want to use Kamelets for connecting systems with their applications -- The xref:kamelets/bindings-error-handler.adoc[Pipes Error Handler User Guide] explains how to configure an error handler on a `Pipe` +- The xref:kamelets/kameletbindings-error-handler.adoc[Pipes Error Handler User Guide] explains how to configure an error handler on a `Pipe` - The xref:kamelets/kamelets-dev.adoc[Kamelets Developer Guide] is a reference for developers that want to create new Kamelets and share them with users
[GitHub] [camel-k] oscerd commented on pull request #4289: chore(doc): Fix documentation for camel-website generation
oscerd commented on PR #4289: URL: https://github.com/apache/camel-k/pull/4289#issuecomment-1523702209 Thanks a lot! -- 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
[GitHub] [camel-k] oscerd merged pull request #4289: chore(doc): Fix documentation for camel-website generation
oscerd merged PR #4289: URL: https://github.com/apache/camel-k/pull/4289 -- 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
[GitHub] [camel] orpiske commented on a diff in pull request #9939: CAMEL-17946 Introducing HTTPS support for AS2 component
orpiske commented on code in PR #9939: URL: https://github.com/apache/camel/pull/9939#discussion_r1178111915 ## components/camel-as2/camel-as2-component/src/test/java/org/apache/camel/component/as2/MendelsonCertLoader.java: ## @@ -0,0 +1,183 @@ +package org.apache.camel.component.as2; + +import java.io.IOException; +import java.io.InputStream; +import java.nio.charset.StandardCharsets; +import java.security.KeyManagementException; +import java.security.KeyStore; +import java.security.KeyStoreException; +import java.security.NoSuchAlgorithmException; +import java.security.PrivateKey; +import java.security.UnrecoverableKeyException; +import java.security.cert.Certificate; +import java.security.cert.CertificateException; +import java.security.cert.CertificateFactory; +import java.security.spec.InvalidKeySpecException; +import java.util.ArrayList; +import java.util.Base64; +import java.util.List; + +import javax.net.ssl.SSLContext; + +import org.apache.commons.io.IOUtils; +import org.apache.http.conn.ssl.TrustAllStrategy; +import org.apache.http.ssl.SSLContexts; + +/** + * That's a utility class for preparing Mendelson-specific certificate chain, private key, ssl context + */ +public class MendelsonCertLoader { Review Comment: What I am considering here is: if this is disabled, it won't be tested often. If it won't be tested often, the code will rot and it will be upon us (maintainers/committers) to figure out - several months in the future - if it's still relevant or not (and, as things change, certificates get expired, etc) it's one hell of a pain to update and fix things on these obscure technologies. So, by making it generic and configurable ... users themselves can handle this and put more burden on the maintainers. I am -1 on this, but let's see what others have to say. -- 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
[GitHub] [camel-k] gansheer commented on pull request #4289: chore(doc): Fix documentation for camel-website generation
gansheer commented on PR #4289: URL: https://github.com/apache/camel-k/pull/4289#issuecomment-1523693334 I checked with doc/local-build.sh, it works :ok_hand: -- 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
[GitHub] [camel-website] iMashtak opened a new pull request, #998: Added support for tabs in asciidoc files
iMashtak opened a new pull request, #998: URL: https://github.com/apache/camel-website/pull/998 Resolved https://github.com/apache/camel-website/issues/997 -- 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
[GitHub] [camel-k] oscerd commented on pull request #4289: chore(doc): Fix documentation for camel-website generation
oscerd commented on PR #4289: URL: https://github.com/apache/camel-k/pull/4289#issuecomment-1523678348 I think in docs there is a script for local build. I'm from mobile. I could check tomorrow -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: (chores) style: disable checkstyle on auto-generated files in camel-xml-jaxb-dsl
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 4c1f2f29cc8 (chores) style: disable checkstyle on auto-generated files in camel-xml-jaxb-dsl 4c1f2f29cc8 is described below commit 4c1f2f29cc828d0b2c63d52c72c7ec2af80445cf Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 16:53:31 2023 +0200 (chores) style: disable checkstyle on auto-generated files in camel-xml-jaxb-dsl --- buildingtools/src/main/resources/camel-checkstyle-suppressions.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml b/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml index 22bd52d4106..08794c10e51 100644 --- a/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml +++ b/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml @@ -72,4 +72,7 @@ +
[GitHub] [camel] orpiske merged pull request #9950: (chores) style: disable checkstyle on auto-generated files in camel-xml-jaxb-dsl
orpiske merged PR #9950: URL: https://github.com/apache/camel/pull/9950 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch camel-3.20.x updated (fff894a1fff -> b74f779d826)
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a change to branch camel-3.20.x in repository https://gitbox.apache.org/repos/asf/camel.git from fff894a1fff CAMEL-18985: Updated `SyncCommitManager` to perform offsets auto-commit of the last `poll()` only if the auto-commit is enabled in the configuration. new ed692cc49d7 CAMEL-19296: disable checkstyle on auto-generated files new b74f779d826 (chores) style: disable checkstyle on auto-generated files in camel-xml-jaxb-dsl 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: buildingtools/src/main/resources/camel-checkstyle-suppressions.xml | 6 ++ 1 file changed, 6 insertions(+)
[camel] 01/02: CAMEL-19296: disable checkstyle on auto-generated files
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch camel-3.20.x in repository https://gitbox.apache.org/repos/asf/camel.git commit ed692cc49d778d3fa705c3799fb87f03484f0567 Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 14:36:09 2023 +0200 CAMEL-19296: disable checkstyle on auto-generated files --- buildingtools/src/main/resources/camel-checkstyle-suppressions.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml b/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml index d684a586a3f..22bd52d4106 100644 --- a/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml +++ b/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml @@ -69,4 +69,7 @@ +
[camel] 02/02: (chores) style: disable checkstyle on auto-generated files in camel-xml-jaxb-dsl
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch camel-3.20.x in repository https://gitbox.apache.org/repos/asf/camel.git commit b74f779d82674221dd7e25e53c62da0d2a3697b8 Author: Otavio Rodolfo Piske AuthorDate: Wed Apr 26 16:53:31 2023 +0200 (chores) style: disable checkstyle on auto-generated files in camel-xml-jaxb-dsl --- buildingtools/src/main/resources/camel-checkstyle-suppressions.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml b/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml index 22bd52d4106..08794c10e51 100644 --- a/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml +++ b/buildingtools/src/main/resources/camel-checkstyle-suppressions.xml @@ -72,4 +72,7 @@ +