[camel] branch regen_bot updated (3dbbbc4 -> c50bff7)
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 3dbbbc4 CAMEL-17373: Fix FhirComponent startup (#6629) add 8b685d8 CAMEL-17430 Add endpoint parameters if operation parameters is null (#6639) add c50bff7 Upgrade AWS SDK v2 to version 2.17.104 No new revisions were added by this update. Summary of changes: .../component/rest/openapi/RestOpenApiEndpoint.java | 20 parent/pom.xml | 2 +- 2 files changed, 13 insertions(+), 9 deletions(-)
[camel] branch regen_bot_3.14.x updated (eff8709 -> a477579)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot_3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git. from eff8709 Bump mybatis 3.5.8 (#6632) add a477579 CAMEL-17430 Add endpoint parameters if operation parameters is null (#6639) No new revisions were added by this update. Summary of changes: .../component/rest/openapi/RestOpenApiEndpoint.java | 20 1 file changed, 12 insertions(+), 8 deletions(-)
[camel] branch regen_bot updated (8b685d8 -> 3dbbbc4)
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 8b685d8 CAMEL-17430 Add endpoint parameters if operation parameters is null (#6639) This update removed existing revisions from the reference, leaving the reference pointing at a previous point in the repository history. * -- * -- N refs/heads/regen_bot (3dbbbc4) \ O -- O -- O (8b685d8) Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../component/rest/openapi/RestOpenApiEndpoint.java | 20 1 file changed, 8 insertions(+), 12 deletions(-)
[camel] branch regen_bot updated (9f69452 -> 8b685d8)
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 9f69452 Regen for commit 05e80da91921d90e91c2eadee849ac292cf552e7 add 3dbbbc4 CAMEL-17373: Fix FhirComponent startup (#6629) add 8b685d8 CAMEL-17430 Add endpoint parameters if operation parameters is null (#6639) No new revisions were added by this update. Summary of changes: .../apache/camel/component/fhir/FhirComponent.java | 22 +-- .../camel/component/fhir/FhirConfigurationIT.java | 5 +- .../fhir/{FhirCreateIT.java => FhirSimpleIT.java} | 70 +- .../rest/openapi/RestOpenApiEndpoint.java | 20 --- .../support/component/AbstractApiComponent.java| 6 ++ 5 files changed, 68 insertions(+), 55 deletions(-) copy components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/{FhirCreateIT.java => FhirSimpleIT.java} (51%)
[camel] branch regen_bot updated (7c379ff -> 9f69452)
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 7c379ff Regen for commit 05e80da91921d90e91c2eadee849ac292cf552e7 add 9f69452 Regen for commit 05e80da91921d90e91c2eadee849ac292cf552e7 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 (7c379ff) \ N -- N -- N refs/heads/regen_bot (9f69452) 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] fpapon opened a new pull request #6654: [CAMEL-17425] camel-quartz - OSGi compatibility is broken for loading…
fpapon opened a new pull request #6654: URL: https://github.com/apache/camel/pull/6654 … resources from classloader -- 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: Upgrade AWS SDK v2 to version 2.17.104
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 c50bff7 Upgrade AWS SDK v2 to version 2.17.104 c50bff7 is described below commit c50bff75326b9288fe11128fc97458e8ea5cb044 Author: Andrea Cosentino AuthorDate: Wed Jan 5 06:45:46 2022 +0100 Upgrade AWS SDK v2 to version 2.17.104 --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index ff7b679..cfd0348 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -80,7 +80,7 @@ 1.11.0 1.11.0 4.1.1 -2.17.103 +2.17.104 2.6.1 1.2.14 2.11.3
[camel] branch camel-3.14.x updated: CAMEL-17430 Add endpoint parameters if operation parameters is null (#6639)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.14.x by this push: new a477579 CAMEL-17430 Add endpoint parameters if operation parameters is null (#6639) a477579 is described below commit a477579264e8bd092221d69c2c4ad4fc95cf20f9 Author: henka-rl <67908385+henka...@users.noreply.github.com> AuthorDate: Wed Jan 5 07:09:02 2022 +0100 CAMEL-17430 Add endpoint parameters if operation parameters is null (#6639) --- .../component/rest/openapi/RestOpenApiEndpoint.java | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java index 17b6d1e..6836bde 100644 --- a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java +++ b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java @@ -530,16 +530,20 @@ public final class RestOpenApiEndpoint extends DefaultEndpoint { } // Add rest endpoint parameters -if (this.parameters != null && operation.getParameters() != null) { -for (Map.Entry entry : this.parameters.entrySet()) { -for (OasParameter param : operation.getParameters()) { -// skip parameters that are part of the operation as path as otherwise -// it will be duplicated as query parameter as well -boolean clash = "path".equals(param.in) && entry.getKey().equals(param.getName()); -if (!clash) { -nestedParameters.put(entry.getKey(), entry.getValue()); +if (this.parameters != null) { +if (operation.getParameters() != null) { +for (Map.Entry entry : this.parameters.entrySet()) { +for (OasParameter param : operation.getParameters()) { +// skip parameters that are part of the operation as path as otherwise +// it will be duplicated as query parameter as well +boolean clash = "path".equals(param.in) && entry.getKey().equals(param.getName()); +if (!clash) { +nestedParameters.put(entry.getKey(), entry.getValue()); +} } } +} else { +nestedParameters.putAll(this.parameters); } }
[camel] branch main updated (3dbbbc4 -> 8b685d8)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from 3dbbbc4 CAMEL-17373: Fix FhirComponent startup (#6629) add 8b685d8 CAMEL-17430 Add endpoint parameters if operation parameters is null (#6639) No new revisions were added by this update. Summary of changes: .../component/rest/openapi/RestOpenApiEndpoint.java | 20 1 file changed, 12 insertions(+), 8 deletions(-)
[camel] branch main updated (9f69452 -> 3dbbbc4)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from 9f69452 Regen for commit 05e80da91921d90e91c2eadee849ac292cf552e7 add 3dbbbc4 CAMEL-17373: Fix FhirComponent startup (#6629) No new revisions were added by this update. Summary of changes: .../apache/camel/component/fhir/FhirComponent.java | 22 +-- .../camel/component/fhir/FhirConfigurationIT.java | 5 +- .../fhir/{FhirCreateIT.java => FhirSimpleIT.java} | 70 +- .../support/component/AbstractApiComponent.java| 6 ++ 4 files changed, 56 insertions(+), 47 deletions(-) copy components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/{FhirCreateIT.java => FhirSimpleIT.java} (51%)
[camel] branch main updated (05e80da -> 9f69452)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from 05e80da (chores) camel-csimple-maven-plugin: cleanup code duplication add 9f69452 Regen for commit 05e80da91921d90e91c2eadee849ac292cf552e7 No new revisions were added by this update. Summary of changes: .../org/apache/camel/catalog/main/camel-main-configuration-metadata.json | 1 + 1 file changed, 1 insertion(+)
[GitHub] [camel] davsclaus commented on pull request #6583: CAMEL-17345: camel-jbang create maven project
davsclaus commented on pull request #6583: URL: https://github.com/apache/camel/pull/6583#issuecomment-1005414774 @Croway before we merge, then I wonder if you would add some docs about this new command to the camel-jbang.adoc file (see in docs folder) -- 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] davsclaus merged pull request #6639: CAMEL-17430 Add endpoint parameters if operation parameters is null
davsclaus merged pull request #6639: URL: https://github.com/apache/camel/pull/6639 -- 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] davsclaus merged pull request #6629: CAMEL-17373: Fix FhirComponent startup
davsclaus merged pull request #6629: URL: https://github.com/apache/camel/pull/6629 -- 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] davsclaus commented on a change in pull request #6634: CAMEL-17429: removed JDK 9 profiles
davsclaus commented on a change in pull request #6634: URL: https://github.com/apache/camel/pull/6634#discussion_r778564862 ## File path: core/camel-core-engine/pom.xml ## @@ -349,43 +357,6 @@ - - -jdk9s-build - -[9,) - - - - -org.codehaus.woodstox -woodstox-core-asl -test - - - - - -maven-surefire-plugin - - - - org/apache/camel/component/file/stress/**.java - **/DistributedCompletionIntervalTest.java - **/DistributedConcurrentPerCorrelationKeyTest.java -${platform.skip.tests} - - 3000 - - -myserver Review comment: I think these ENV are used during test of camel-core. Not sure if we set them in another way. ## File path: core/camel-management-api/pom.xml ## @@ -242,42 +249,5 @@ - - -jdk9s-build - -[9,) - - - - -org.codehaus.woodstox -woodstox-core-asl -test - - - - - -maven-surefire-plugin - - - - org/apache/camel/component/file/stress/**.java - **/DistributedCompletionIntervalTest.java - **/DistributedConcurrentPerCorrelationKeyTest.java -${platform.skip.tests} - - 3000 - - -myserver Review comment: Same as prev comment ## File path: parent/pom.xml ## @@ -4048,6 +4110,13 @@ org.apache.camel camel-package-maven-plugin ${project.version} + Review comment: Oh maybe this jaxb dependency should be added directly to camel-package-maven-plugin so its not needed to be added in this special way ## File path: parent/pom.xml ## @@ -4040,6 +4040,68 @@ + Review comment: We should in another PR see what of this crap we can get rid of -- 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 opened a new issue #2848: Release 1.8.0
oscerd opened a new issue #2848: URL: https://github.com/apache/camel-k/issues/2848 I think we should release 1.8.0 3.14.0 is out from a while, camel-k-runtime is already aligned to 3.14.0 and we released a new kamelets catalog 0.6.0 Do we have something pending? -- 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] oscerd merged pull request #6633: Generated sources regen
oscerd merged pull request #6633: URL: https://github.com/apache/camel/pull/6633 -- 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] 03/04: Disable Fhir tests
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 6046caa2d35cda65bf9ebfd1156eeef3bc7ab93c Author: Zineb Bendhiba AuthorDate: Fri Dec 24 12:36:00 2021 +0100 Disable Fhir tests --- .../java/org/apache/camel/quarkus/component/fhir/it/FhirClientIT.java | 2 ++ .../java/org/apache/camel/quarkus/component/fhir/it/FhirClientTest.java | 2 ++ .../org/apache/camel/quarkus/component/fhir/it/FhirDataformatIT.java| 2 ++ .../org/apache/camel/quarkus/component/fhir/it/FhirDataformatTest.java | 2 ++ 4 files changed, 8 insertions(+) diff --git a/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirClientIT.java b/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirClientIT.java index 27d3862..7da92c4 100644 --- a/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirClientIT.java +++ b/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirClientIT.java @@ -17,8 +17,10 @@ package org.apache.camel.quarkus.component.fhir.it; import io.quarkus.test.junit.NativeImageTest; +import org.junit.jupiter.api.Disabled; @NativeImageTest +@Disabled //https://github.com/apache/camel-quarkus/issues/3416 class FhirClientIT extends FhirClientTest { } diff --git a/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirClientTest.java b/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirClientTest.java index b5967a3..3f677ce 100644 --- a/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirClientTest.java +++ b/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirClientTest.java @@ -24,10 +24,12 @@ import io.restassured.http.ContentType; import org.apache.camel.quarkus.component.fhir.FhirFlags; import org.apache.camel.quarkus.test.EnabledIf; import org.jboss.logging.Logger; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @QuarkusTest @QuarkusTestResource(FhirTestResource.class) +@Disabled //https://github.com/apache/camel-quarkus/issues/3416 class FhirClientTest { private static final Logger LOG = Logger.getLogger(FhirClientTest.class); diff --git a/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirDataformatIT.java b/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirDataformatIT.java index d6b0209..9ee54ee 100644 --- a/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirDataformatIT.java +++ b/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirDataformatIT.java @@ -17,7 +17,9 @@ package org.apache.camel.quarkus.component.fhir.it; import io.quarkus.test.junit.NativeImageTest; +import org.junit.jupiter.api.Disabled; @NativeImageTest +@Disabled //https://github.com/apache/camel-quarkus/issues/3416 class FhirDataformatIT extends FhirDataformatTest { } diff --git a/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirDataformatTest.java b/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirDataformatTest.java index b2a4193..9f8229d 100644 --- a/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirDataformatTest.java +++ b/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirDataformatTest.java @@ -24,9 +24,11 @@ import org.apache.camel.quarkus.component.fhir.FhirFlags; import org.apache.camel.quarkus.test.EnabledIf; import org.hl7.fhir.dstu3.model.Patient; import org.jboss.logging.Logger; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @QuarkusTest +@Disabled //https://github.com/apache/camel-quarkus/issues/3416 class FhirDataformatTest { private static final Logger LOG = Logger.getLogger(FhirDataformatTest.class);
[camel-quarkus] 01/04: ⬆️ Upgrade to Camel 3.15
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit a7a52e861dee6fa3d3c40312f77a4259be1b9765 Author: Zineb Bendhiba AuthorDate: Wed Dec 22 16:16:52 2021 +0100 ⬆️ Upgrade to Camel 3.15 --- docs/antora.yml | 6 +++--- docs/modules/ROOT/examples/components/azure-eventhubs.yml| 2 +- docs/modules/ROOT/examples/components/azure-storage-blob.yml | 2 +- docs/modules/ROOT/examples/components/azure-storage-datalake.yml | 2 +- docs/modules/ROOT/examples/components/azure-storage-queue.yml| 2 +- pom.xml | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/antora.yml b/docs/antora.yml index 5d11b0b..aee4fea 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -29,9 +29,9 @@ asciidoc: min-maven-version: 3.6.2 # replace ${min-maven-version} target-maven-version: 3.8.4 # replace ${target-maven-version} -camel-version: 3.14.0 # replace ${camel.version} -camel-docs-version: 3.14.x # replace ${camel.docs.components.version} +camel-version: 3.15.0-SNAPSHOT # replace ${camel.version} +camel-docs-version: 3.15.x # replace ${camel.docs.components.version} quarkus-version: 2.6.0.Final # replace ${quarkus.version} # attributes used in xrefs to other Antora components -cq-camel-components: 3.14.x@components # replace ${camel.docs.components.xref} +cq-camel-components: 3.15.x@components # replace ${camel.docs.components.xref} quarkus-examples-version: latest diff --git a/docs/modules/ROOT/examples/components/azure-eventhubs.yml b/docs/modules/ROOT/examples/components/azure-eventhubs.yml index 52f94e8..4d09d2a 100644 --- a/docs/modules/ROOT/examples/components/azure-eventhubs.yml +++ b/docs/modules/ROOT/examples/components/azure-eventhubs.yml @@ -9,5 +9,5 @@ cqJvmSince: 1.7.0 cqNativeSince: 1.7.0 cqCamelPartName: azure-eventhubs cqCamelPartTitle: Azure Event Hubs -cqCamelPartDescription: The azure-eventhubs component that integrates Azure Event Hubs using AMQP protocol. Azure EventHubs is a highly scalable publish-subscribe service that can ingest millions of events per second and stream them to multiple consumers. +cqCamelPartDescription: Send and receive events to/from Azure Event Hubs using AMQP protocol. cqExtensionPageTitle: Azure Event Hubs diff --git a/docs/modules/ROOT/examples/components/azure-storage-blob.yml b/docs/modules/ROOT/examples/components/azure-storage-blob.yml index dfce732..42cfb5c 100644 --- a/docs/modules/ROOT/examples/components/azure-storage-blob.yml +++ b/docs/modules/ROOT/examples/components/azure-storage-blob.yml @@ -9,5 +9,5 @@ cqJvmSince: 1.1.0 cqNativeSince: 1.6.0 cqCamelPartName: azure-storage-blob cqCamelPartTitle: Azure Storage Blob Service -cqCamelPartDescription: Store and retrieve blobs from Azure Storage Blob Service using SDK v12. +cqCamelPartDescription: Store and retrieve blobs from Azure Storage Blob Service. cqExtensionPageTitle: Azure Storage Blob Service diff --git a/docs/modules/ROOT/examples/components/azure-storage-datalake.yml b/docs/modules/ROOT/examples/components/azure-storage-datalake.yml index c66aa04..a768d99 100644 --- a/docs/modules/ROOT/examples/components/azure-storage-datalake.yml +++ b/docs/modules/ROOT/examples/components/azure-storage-datalake.yml @@ -9,5 +9,5 @@ cqJvmSince: 1.8.0 cqNativeSince: n/a cqCamelPartName: azure-storage-datalake cqCamelPartTitle: Azure Storage Datalake Service -cqCamelPartDescription: Camel Azure Datalake Gen2 Component +cqCamelPartDescription: Sends and receives files to/from Azure DataLake Storage. cqExtensionPageTitle: Azure storage datalake service diff --git a/docs/modules/ROOT/examples/components/azure-storage-queue.yml b/docs/modules/ROOT/examples/components/azure-storage-queue.yml index edb634d..87d5d8e 100644 --- a/docs/modules/ROOT/examples/components/azure-storage-queue.yml +++ b/docs/modules/ROOT/examples/components/azure-storage-queue.yml @@ -9,5 +9,5 @@ cqJvmSince: 1.1.0 cqNativeSince: 1.7.0 cqCamelPartName: azure-storage-queue cqCamelPartTitle: Azure Storage Queue Service -cqCamelPartDescription: The azure-storage-queue component is used for storing and retrieving the messages to/from Azure Storage Queue using Azure SDK v12. +cqCamelPartDescription: Stores and retrieves messages to/from Azure Storage Queue. cqExtensionPageTitle: Azure Storage Queue Service diff --git a/pom.xml b/pom.xml index f0cc01f..433c411 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ org.apache.camel camel-dependencies -3.14.0 +3.15.0-SNAPSHOT org.apache.camel.quarkus @@ -39,8 +39,8 @@ -3.14 -${camel.major.minor}.0 +3.15 +${camel.major.minor}.0-SNAPSHOT
[camel-quarkus] 02/04: Upgrade Yaml Routes to Yaml 3.15 style
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 95b6c974f197a8372c2686a13d85d9807f74c4ac Author: Zineb Bendhiba AuthorDate: Thu Dec 23 15:04:58 2021 +0100 Upgrade Yaml Routes to Yaml 3.15 style --- .../route-configurations/src/main/resources/yaml/routes.yaml | 11 ++- .../main-yaml/src/main/resources/routes/my-rests.yaml | 9 + .../main-yaml/src/main/resources/routes/my-routes.yaml| 11 ++- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/integration-test-groups/foundation/route-configurations/src/main/resources/yaml/routes.yaml b/integration-test-groups/foundation/route-configurations/src/main/resources/yaml/routes.yaml index 6e5418f..fd4dc34 100644 --- a/integration-test-groups/foundation/route-configurations/src/main/resources/yaml/routes.yaml +++ b/integration-test-groups/foundation/route-configurations/src/main/resources/yaml/routes.yaml @@ -17,8 +17,9 @@ - route: route-configuration-id: "xmlRouteConfiguration" -from: "direct:yamlRoute" -steps: - - throw-exception: - exception-type: "org.apache.camel.quarkus.core.it.routeconfigurations.RouteConfigurationsException" - message: "Intentional exception to trigger onException in xmlRouteConfiguration" \ No newline at end of file +from: +uri: "direct:yamlRoute" +steps: + - throw-exception: + exception-type: "org.apache.camel.quarkus.core.it.routeconfigurations.RouteConfigurationsException" + message: "Intentional exception to trigger onException in xmlRouteConfiguration" \ No newline at end of file diff --git a/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml b/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml index b246556..fd1f1b6 100644 --- a/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml +++ b/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml @@ -22,7 +22,8 @@ to: "direct:rest" - route: id: "rest-route" -from: "direct:rest" -steps: - - set-body: - constant: "Hello World!!!" +from: + uri: "direct:rest" + steps: +- set-body: +constant: "Hello World!!!" diff --git a/integration-tests/main-yaml/src/main/resources/routes/my-routes.yaml b/integration-tests/main-yaml/src/main/resources/routes/my-routes.yaml index e6ae42f..d0a6f53 100644 --- a/integration-tests/main-yaml/src/main/resources/routes/my-routes.yaml +++ b/integration-tests/main-yaml/src/main/resources/routes/my-routes.yaml @@ -17,8 +17,9 @@ - route: id: "my-yaml-route" -from: "timer:from-xml?period=3000" -steps: - - set-body: - constant: "Hello World!!!" - - to: "log:from-yaml" +from: + uri: "timer:from-xml?period=3000" + steps: +- set-body: +constant: "Hello World!!!" +- to: "log:from-yaml"
[camel-quarkus] 04/04: Update to latest Camel API changes
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit f7ad6cbb8347e80f3777026b63c1c1d2a7b1fcf4 Author: James Netherton AuthorDate: Tue Jan 4 09:29:59 2022 + Update to latest Camel API changes --- catalog/pom.xml| 13 --- .../modules/ROOT/examples/components/beanstalk.yml | 2 +- docs/modules/ROOT/examples/components/elsql.yml| 2 +- .../modules/ROOT/examples/components/etcd-keys.yml | 2 +- .../ROOT/examples/components/etcd-stats.yml| 2 +- .../ROOT/examples/components/etcd-watch.yml| 2 +- docs/modules/ROOT/examples/components/ganglia.yml | 2 +- docs/modules/ROOT/examples/components/ipfs.yml | 2 +- docs/modules/ROOT/examples/components/jing.yml | 2 +- .../ROOT/examples/components/json-patch.yml| 2 +- .../ROOT/examples/components/kamelet-reify.yml | 13 --- .../ROOT/examples/components/milo-browse.yml | 13 +++ docs/modules/ROOT/examples/components/msv.yml | 2 +- docs/modules/ROOT/examples/components/nagios.yml | 2 +- docs/modules/ROOT/examples/components/nsq.yml | 2 +- docs/modules/ROOT/examples/components/sip.yml | 2 +- docs/modules/ROOT/examples/components/soroush.yml | 2 +- docs/modules/ROOT/examples/components/yammer.yml | 2 +- docs/modules/ROOT/nav.adoc | 1 - .../ROOT/pages/reference/extensions/beanstalk.adoc | 6 +- .../ROOT/pages/reference/extensions/elsql.adoc | 6 +- .../ROOT/pages/reference/extensions/etcd.adoc | 6 +- .../ROOT/pages/reference/extensions/ganglia.adoc | 6 +- .../ROOT/pages/reference/extensions/ipfs.adoc | 6 +- .../ROOT/pages/reference/extensions/jing.adoc | 6 +- .../pages/reference/extensions/kamelet-reify.adoc | 35 --- .../ROOT/pages/reference/extensions/milo.adoc | 1 + .../ROOT/pages/reference/extensions/msv.adoc | 6 +- .../ROOT/pages/reference/extensions/nagios.adoc| 6 +- .../ROOT/pages/reference/extensions/nsq.adoc | 6 +- .../ROOT/pages/reference/extensions/sip.adoc | 6 +- .../ROOT/pages/reference/extensions/soroush.adoc | 6 +- .../ROOT/pages/reference/extensions/yammer.adoc| 6 +- extensions-jvm/kamelet-reify/deployment/pom.xml| 61 .../reify/deployment/KameletReifyProcessor.java| 46 - extensions-jvm/kamelet-reify/pom.xml | 37 --- extensions-jvm/kamelet-reify/runtime/pom.xml | 110 - .../main/resources/META-INF/quarkus-extension.yaml | 33 --- extensions-jvm/pom.xml | 1 - integration-tests-jvm/kamelet-reify/pom.xml| 82 --- .../kamelet/reify/it/KameletReifyResource.java | 51 -- .../kamelet/reify/it/KameletReifyTest.java | 34 --- integration-tests-jvm/pom.xml | 1 - poms/bom/pom.xml | 15 --- 44 files changed, 65 insertions(+), 584 deletions(-) diff --git a/catalog/pom.xml b/catalog/pom.xml index 41b80fa..e114596 100644 --- a/catalog/pom.xml +++ b/catalog/pom.xml @@ -2328,19 +2328,6 @@ org.apache.camel.quarkus -camel-quarkus-kamelet-reify -${project.version} -pom -test - - -* -* - - - - -org.apache.camel.quarkus camel-quarkus-kotlin ${project.version} pom diff --git a/docs/modules/ROOT/examples/components/beanstalk.yml b/docs/modules/ROOT/examples/components/beanstalk.yml index 958aec5..e30d3f1 100644 --- a/docs/modules/ROOT/examples/components/beanstalk.yml +++ b/docs/modules/ROOT/examples/components/beanstalk.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-beanstalk cqArtifactIdBase: beanstalk cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: beanstalk diff --git a/docs/modules/ROOT/examples/components/elsql.yml b/docs/modules/ROOT/examples/components/elsql.yml index 45eb0bf..151dea2 100644 --- a/docs/modules/ROOT/examples/components/elsql.yml +++ b/docs/modules/ROOT/examples/components/elsql.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-elsql cqArtifactIdBase: elsql cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: elsql diff --git a/docs/modules/ROOT/examples/components/etcd-keys.yml b/docs/modules/ROOT/examples/components/etcd-keys.yml index 91d76e2..0d4228d 100644 --- a/docs/modules/ROOT/examples/components/etcd-keys.yml +++ b/docs/modules/ROOT/examples/components/etcd-keys.yml @@ -4,7 +4,7 @@ cqArtifactId:
[camel-quarkus] branch camel-main updated (cd2e4c6 -> f7ad6cb)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. discard cd2e4c6 Update to latest Camel API changes discard 165b2ca Disable Fhir tests discard 625706a Upgrade Yaml Routes to Yaml 3.15 style discard 9973b37 ⬆️ Upgrade to Camel 3.15 add e37ecd9 Restore maven-compiler-plugin source & target properties for intellij add 0d04362 Add test coverage for Quarkus SecurityIdentity & Principal in platform-http routes add b660cc6 Fix timestamp validation in syslog integration tests add 7bce4da Exclude commons-logging from htmlunit-driver add 288bcd0 Setup a reproducer showing that camel.main.durationMaxSeconds is not honoured #3394 new a7a52e8 ⬆️ Upgrade to Camel 3.15 new 95b6c97 Upgrade Yaml Routes to Yaml 3.15 style new 6046caa Disable Fhir tests new f7ad6cb Update to latest Camel API changes 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 (cd2e4c6) \ N -- N -- N refs/heads/camel-main (f7ad6cb) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../pages/reference/extensions/platform-http.adoc | 17 +++ .../platform-http/runtime/src/main/doc/usage.adoc | 17 +++ .../apache/camel/quarkus/main/cmd/CamelRoute.java | 5 ++-- .../src/main/resources/application.properties | 18 .../camel/quarkus/main/cmd/it/CommandModeTest.java | 34 ++ integration-tests/platform-http/pom.xml| 4 +++ .../platform/http/it/PlatformHttpRouteBuilder.java | 16 ++ .../src/main/resources/application.properties | 7 + .../component/http/server/it/PlatformHttpTest.java | 29 ++ .../quarkus/component/syslog/it/SyslogTest.java| 21 +++-- .../syslog/src/test/resources/rfc3164.txt | 1 - .../syslog/src/test/resources/rfc5425.txt | 1 - pom.xml| 2 ++ poms/bom-test/pom.xml | 10 +++ 14 files changed, 146 insertions(+), 36 deletions(-) delete mode 100644 integration-tests/main-command-mode/src/main/resources/application.properties delete mode 100644 integration-tests/syslog/src/test/resources/rfc3164.txt delete mode 100644 integration-tests/syslog/src/test/resources/rfc5425.txt
[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-1005381356 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 1656485511-622-ea4d66cd-f1d8-47f7-8663-6be472f99956 * Camel Quarkus Commit: 63dad6459ba90b2f8687fd0684059241a9e5604a * Quarkus Main Commit: 288bcd051b33c5c0419455ff5f2ce92625933ad4 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1656485511 -- 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] djencks opened a new pull request #6653: CAMEL-17434 update antora usage (3.7.x)
djencks opened a new pull request #6653: URL: https://github.com/apache/camel/pull/6653 See https://issues.apache.org/jira/browse/CAMEL-17434 -- 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] djencks opened a new pull request #6652: CAMEL-17434 update to attachment$ usage (3.11.x)
djencks opened a new pull request #6652: URL: https://github.com/apache/camel/pull/6652 See https://issues.apache.org/jira/browse/CAMEL-17434 -- 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] djencks opened a new pull request #6651: CAMEL-17434 update to attachment$ usage (3.12.x)
djencks opened a new pull request #6651: URL: https://github.com/apache/camel/pull/6651 See https://issues.apache.org/jira/browse/CAMEL-17434 -- 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] djencks opened a new pull request #6650: CAMEL-17434 update to attachment$ usage (3.13.x)
djencks opened a new pull request #6650: URL: https://github.com/apache/camel/pull/6650 See https://issues.apache.org/jira/browse/CAMEL-17434 -- 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] djencks opened a new pull request #6649: CAMEL-17434 update to attachment$ usage (3.14.x)
djencks opened a new pull request #6649: URL: https://github.com/apache/camel/pull/6649 See https://issues.apache.org/jira/browse/CAMEL-17434 -- 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] djencks opened a new pull request #6648: CAMEL-17434 update attachments$ usage (main)
djencks opened a new pull request #6648: URL: https://github.com/apache/camel/pull/6648 See https://issues.apache.org/jira/browse/CAMEL-17434 -- 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 2de0558 Updated CHANGELOG.md 2de0558 is described below commit 2de05581a78444f5fab1b85a4e043a149a75efef Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Jan 5 03:13:29 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 8 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 067a8cb..5e2ae3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ [Full Changelog](https://github.com/apache/camel-quarkus/compare/2.6.0...HEAD) +**Fixed bugs:** + +- SecurityIdentity is not propagated to Camel route [\#3353](https://github.com/apache/camel-quarkus/issues/3353) + **Closed issues:** - camel.main.durationMaxSeconds is not honoured [\#3433](https://github.com/apache/camel-quarkus/issues/3433) @@ -15,6 +19,10 @@ **Merged pull requests:** +- Exclude commons-logging from htmlunit-driver [\#3438](https://github.com/apache/camel-quarkus/pull/3438) ([jamesnetherton](https://github.com/jamesnetherton)) +- Fix timestamp validation in syslog integration tests [\#3437](https://github.com/apache/camel-quarkus/pull/3437) ([jamesnetherton](https://github.com/jamesnetherton)) +- Add test coverage for Quarkus SecurityIdentity & Principal in platform-http routes [\#3435](https://github.com/apache/camel-quarkus/pull/3435) ([jamesnetherton](https://github.com/jamesnetherton)) +- Setup a reproducer showing that camel.main.durationMaxSeconds is not … [\#3434](https://github.com/apache/camel-quarkus/pull/3434) ([aldettinger](https://github.com/aldettinger)) - Explicit that the cron extension should be used in conjunction with a… [\#3431](https://github.com/apache/camel-quarkus/pull/3431) ([aldettinger](https://github.com/aldettinger)) - camel-website \#701: RI info \(main\) [\#3426](https://github.com/apache/camel-quarkus/pull/3426) ([djencks](https://github.com/djencks)) - main update to docs local build v2 [\#3422](https://github.com/apache/camel-quarkus/pull/3422) ([djencks](https://github.com/djencks))
[camel-k-runtime] 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-k-runtime.git The following commit(s) were added to refs/heads/main by this push: new dedbfd5 Updated CHANGELOG.md dedbfd5 is described below commit dedbfd516bae6ab8125aa4cb62c2548e8569b5e5 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Jan 5 03:04:54 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68f2428..4af66d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ **Closed issues:** - Cannot use event broker other than default [\#764](https://github.com/apache/camel-k-runtime/issues/764) +- Set YamlDeserializationMode.FLOW on camel-context [\#707](https://github.com/apache/camel-k-runtime/issues/707) **Merged pull requests:**
[GitHub] [camel] djencks opened a new pull request #6647: CAMEL-17433 fix JavadocHelper (3.7.x)
djencks opened a new pull request #6647: URL: https://github.com/apache/camel/pull/6647 See https://issues.apache.org/jira/browse/CAMEL-17433 -- 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] djencks opened a new pull request #6646: CAMEL-17433 fix JavadocHelper (3.11.x)
djencks opened a new pull request #6646: URL: https://github.com/apache/camel/pull/6646 See https://issues.apache.org/jira/browse/CAMEL-17433 -- 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] djencks opened a new pull request #6645: CAMEL-17433 fix JavadocHelper (3.12.x)
djencks opened a new pull request #6645: URL: https://github.com/apache/camel/pull/6645 See https://issues.apache.org/jira/browse/CAMEL-17433 -- 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] djencks opened a new pull request #6644: CAMEL-17433 fix JavadocHelper (3.13.x)
djencks opened a new pull request #6644: URL: https://github.com/apache/camel/pull/6644 See https://issues.apache.org/jira/browse/CAMEL-17433 -- 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] djencks opened a new pull request #6643: CAMEL-17433 fix JavadocHelper (3.14.x)
djencks opened a new pull request #6643: URL: https://github.com/apache/camel/pull/6643 See https://issues.apache.org/jira/browse/CAMEL-17433 -- 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] djencks opened a new pull request #6642: CAMEL-17433 fix JavadocHelper (main)
djencks opened a new pull request #6642: URL: https://github.com/apache/camel/pull/6642 See https://issues.apache.org/jira/browse/CAMEL-17433 -- 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] djencks merged pull request #743: Main antora 3 final
djencks merged pull request #743: URL: https://github.com/apache/camel-website/pull/743 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] 02/02: generated yarn cache changes
This is an automated email from the ASF dual-hosted git repository. djencks pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git commit 29998467476db26513db48c1ef72a3159e5747d8 Author: David Jencks AuthorDate: Mon Dec 27 12:32:59 2021 -0800 generated yarn cache changes --- .pnp.cjs | 179 +- ...doc-loader-npm-3.0.0-691ac44a81-f2bfa50278.zip} | Bin 24196 -> 24160 bytes ...antora-cli-npm-3.0.0-02208b09d4-68b8530c74.zip} | Bin 12506 -> 12496 bytes ...-aggregator-npm-3.0.0-4518a3ac9f-12dfbc3dea.zip | Bin 0 -> 28515 bytes ...egator-npm-3.0.0-rc.2-e61d158f2b-b7ced90a19.zip | Bin 28382 -> 0 bytes ...classifier-npm-3.0.0-edef487091-6226522eee.zip} | Bin 21194 -> 21186 bytes ...-converter-npm-3.0.0-4ee8952431-cc4a26f5b1.zip} | Bin 10233 -> 10226 bytes ...-publisher-npm-3.0.0-b184089ed3-b4fa7a48bb.zip} | Bin 12555 -> 12543 bytes ...ora-logger-npm-3.0.0-1d41811740-aa7908066c.zip} | Bin 11313 -> 11295 bytes ...on-builder-npm-3.0.0-9a93c15d1e-2294991f2f.zip} | Bin 10060 -> 10053 bytes ...e-composer-npm-3.0.0-128704405e-4f82a6bd3b.zip} | Bin 15061 -> 15067 bytes ...ok-builder-npm-3.0.0-6f058ad7da-c5e1c3507f.zip} | Bin 14749 -> 14745 bytes ...t-producer-npm-3.0.0-6e1ff99143-0450adf691.zip} | Bin 10354 -> 10348 bytes ...-generator-npm-3.0.0-2dd87effbf-48104504dc.zip} | Bin 11698 -> 11712 bytes ...ite-mapper-npm-3.0.0-1ad7aad642-0dcfcd1c16.zip} | Bin 9812 -> 9806 bytes ...-publisher-npm-3.0.0-dc0ac5ca52-afbf4387a1.zip} | Bin 7632 -> 7625 bytes ...-ui-loader-npm-3.0.0-4dbc54924f-52655bc9bf.zip} | Bin 14249 -> 14246 bytes .../joycon-npm-3.0.1-1489fed95a-1fb67a921e.zip | Bin 5771 -> 0 bytes .../joycon-npm-3.1.1-3033e0e5f4-8003c9c3fc.zip | Bin 0 -> 5753 bytes ...ip => pino-npm-7.6.1-606dcde267-9b56990264.zip} | Bin 144089 -> 150432 bytes ...ino-pretty-npm-7.3.0-2ee6bd0043-28320e4f7d.zip} | Bin 205532 -> 206813 bytes yarn.lock | 207 ++--- 22 files changed, 192 insertions(+), 194 deletions(-) diff --git a/.pnp.cjs b/.pnp.cjs index 7dc1031..a9a85ee 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -45,8 +45,8 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { [null, { "packageLocation": "./", "packageDependencies": [ -["@antora/cli", "npm:3.0.0-rc.2"], -["@antora/site-generator", "npm:3.0.0-rc.2"], +["@antora/cli", "npm:3.0.0"], +["@antora/site-generator", "npm:3.0.0"], ["@deadlinks/cargo-deadlinks", "github-release:deadlinks/cargo-deadlinks:0.8.0/deadlinks-linux"], ["@djencks/antora-aggregate-collector", "npm:0.1.0-beta.1"], ["@djencks/antora-site-manifest", "npm:0.0.3-rc.2"], @@ -225,11 +225,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["@antora/asciidoc-loader", [ -["npm:3.0.0-rc.2", { - "packageLocation": "./.yarn/cache/@antora-asciidoc-loader-npm-3.0.0-rc.2-d3cf6a1a09-8910e5f8a4.zip/node_modules/@antora/asciidoc-loader/", +["npm:3.0.0", { + "packageLocation": "./.yarn/cache/@antora-asciidoc-loader-npm-3.0.0-691ac44a81-f2bfa50278.zip/node_modules/@antora/asciidoc-loader/", "packageDependencies": [ -["@antora/asciidoc-loader", "npm:3.0.0-rc.2"], -["@antora/logger", "npm:3.0.0-rc.2"], +["@antora/asciidoc-loader", "npm:3.0.0"], +["@antora/logger", "npm:3.0.0"], ["@antora/user-require-helper", "npm:2.0.0"], ["@asciidoctor/core", "npm:2.2.5"] ], @@ -237,12 +237,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["@antora/cli", [ -["npm:3.0.0-rc.2", { - "packageLocation": "./.yarn/cache/@antora-cli-npm-3.0.0-rc.2-f0a441cf95-1874e28817.zip/node_modules/@antora/cli/", +["npm:3.0.0", { + "packageLocation": "./.yarn/cache/@antora-cli-npm-3.0.0-02208b09d4-68b8530c74.zip/node_modules/@antora/cli/", "packageDependencies": [ -["@antora/cli", "npm:3.0.0-rc.2"], -["@antora/logger", "npm:3.0.0-rc.2"], -["@antora/playbook-builder", "npm:3.0.0-rc.2"], +["@antora/cli", "npm:3.0.0"], +["@antora/logger", "npm:3.0.0"], +["@antora/playbook-builder", "npm:3.0.0"], ["@antora/user-require-helper", "npm:2.0.0"], ["commander", "npm:8.3.0"] ], @@ -250,10 +250,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["@antora/content-aggregator", [ -["npm:3.0.0-rc.2", { - "packageLocation": "./.yarn/cache/@antora-content-aggregator-npm-3.0.0-rc.2-e61d158f2b-b7ced90a19.zip/node_modules/@antora/content-aggregator/", +["npm:3.0.0", { + "packageLocation":
[camel-website] 01/02: antora 3 final in package.json
This is an automated email from the ASF dual-hosted git repository. djencks pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git commit 1cc608f42bba657433bd690eb84fef2f8d5850f8 Author: David Jencks AuthorDate: Mon Dec 27 12:18:31 2021 -0800 antora 3 final in package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8cbf5c1..4aacc10 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ "build:antora-local-quick": "antora antora-playbook-local-quick.yml --stacktrace" }, "devDependencies": { -"@antora/cli": "^3.0.0-rc.2", -"@antora/site-generator": "^3.0.0-rc.2", +"@antora/cli": "^3.0.0", +"@antora/site-generator": "^3.0.0", "@deadlinks/cargo-deadlinks": "github-release:deadlinks/cargo-deadlinks:0.8.0/deadlinks-linux", "@djencks/antora-aggregate-collector": "^0.1.0-beta.1", "@djencks/antora-site-manifest": "^0.0.3-rc.2",
[camel-website] branch main updated (2bd1745 -> 2999846)
This is an automated email from the ASF dual-hosted git repository. djencks pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git. from 2bd1745 Publish Kamelets 0.6.x docs new 1cc608f antora 3 final in package.json new 2999846 generated yarn cache changes 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: .pnp.cjs | 179 +- ...doc-loader-npm-3.0.0-691ac44a81-f2bfa50278.zip} | Bin 24196 -> 24160 bytes ...antora-cli-npm-3.0.0-02208b09d4-68b8530c74.zip} | Bin 12506 -> 12496 bytes ...-aggregator-npm-3.0.0-4518a3ac9f-12dfbc3dea.zip | Bin 0 -> 28515 bytes ...egator-npm-3.0.0-rc.2-e61d158f2b-b7ced90a19.zip | Bin 28382 -> 0 bytes ...classifier-npm-3.0.0-edef487091-6226522eee.zip} | Bin 21194 -> 21186 bytes ...-converter-npm-3.0.0-4ee8952431-cc4a26f5b1.zip} | Bin 10233 -> 10226 bytes ...-publisher-npm-3.0.0-b184089ed3-b4fa7a48bb.zip} | Bin 12555 -> 12543 bytes ...ora-logger-npm-3.0.0-1d41811740-aa7908066c.zip} | Bin 11313 -> 11295 bytes ...on-builder-npm-3.0.0-9a93c15d1e-2294991f2f.zip} | Bin 10060 -> 10053 bytes ...e-composer-npm-3.0.0-128704405e-4f82a6bd3b.zip} | Bin 15061 -> 15067 bytes ...ok-builder-npm-3.0.0-6f058ad7da-c5e1c3507f.zip} | Bin 14749 -> 14745 bytes ...t-producer-npm-3.0.0-6e1ff99143-0450adf691.zip} | Bin 10354 -> 10348 bytes ...-generator-npm-3.0.0-2dd87effbf-48104504dc.zip} | Bin 11698 -> 11712 bytes ...ite-mapper-npm-3.0.0-1ad7aad642-0dcfcd1c16.zip} | Bin 9812 -> 9806 bytes ...-publisher-npm-3.0.0-dc0ac5ca52-afbf4387a1.zip} | Bin 7632 -> 7625 bytes ...-ui-loader-npm-3.0.0-4dbc54924f-52655bc9bf.zip} | Bin 14249 -> 14246 bytes .../joycon-npm-3.0.1-1489fed95a-1fb67a921e.zip | Bin 5771 -> 0 bytes .../joycon-npm-3.1.1-3033e0e5f4-8003c9c3fc.zip | Bin 0 -> 5753 bytes ...ip => pino-npm-7.6.1-606dcde267-9b56990264.zip} | Bin 144089 -> 150432 bytes ...ino-pretty-npm-7.3.0-2ee6bd0043-28320e4f7d.zip} | Bin 205532 -> 206813 bytes package.json | 4 +- yarn.lock | 207 ++--- 23 files changed, 194 insertions(+), 196 deletions(-) rename .yarn/cache/{@antora-asciidoc-loader-npm-3.0.0-rc.2-d3cf6a1a09-8910e5f8a4.zip => @antora-asciidoc-loader-npm-3.0.0-691ac44a81-f2bfa50278.zip} (89%) rename .yarn/cache/{@antora-cli-npm-3.0.0-rc.2-f0a441cf95-1874e28817.zip => @antora-cli-npm-3.0.0-02208b09d4-68b8530c74.zip} (81%) create mode 100644 .yarn/cache/@antora-content-aggregator-npm-3.0.0-4518a3ac9f-12dfbc3dea.zip delete mode 100644 .yarn/cache/@antora-content-aggregator-npm-3.0.0-rc.2-e61d158f2b-b7ced90a19.zip rename .yarn/cache/{@antora-content-classifier-npm-3.0.0-rc.2-1a846468b0-f7f5015051.zip => @antora-content-classifier-npm-3.0.0-edef487091-6226522eee.zip} (91%) rename .yarn/cache/{@antora-document-converter-npm-3.0.0-rc.2-98b6748333-35996878bf.zip => @antora-document-converter-npm-3.0.0-4ee8952431-cc4a26f5b1.zip} (87%) rename .yarn/cache/{@antora-file-publisher-npm-3.0.0-rc.2-8729c3e54b-66030e642f.zip => @antora-file-publisher-npm-3.0.0-b184089ed3-b4fa7a48bb.zip} (85%) rename .yarn/cache/{@antora-logger-npm-3.0.0-rc.2-5a957def06-9f70dbfc96.zip => @antora-logger-npm-3.0.0-1d41811740-aa7908066c.zip} (59%) rename .yarn/cache/{@antora-navigation-builder-npm-3.0.0-rc.2-ecc9225dc1-af66f39412.zip => @antora-navigation-builder-npm-3.0.0-9a93c15d1e-2294991f2f.zip} (89%) rename .yarn/cache/{@antora-page-composer-npm-3.0.0-rc.2-c00b6e0b78-28b09092d7.zip => @antora-page-composer-npm-3.0.0-128704405e-4f82a6bd3b.zip} (80%) rename .yarn/cache/{@antora-playbook-builder-npm-3.0.0-rc.2-1ba8a83c71-55da169a71.zip => @antora-playbook-builder-npm-3.0.0-6f058ad7da-c5e1c3507f.zip} (93%) rename .yarn/cache/{@antora-redirect-producer-npm-3.0.0-rc.2-2727ea46cb-8a75eae89a.zip => @antora-redirect-producer-npm-3.0.0-6e1ff99143-0450adf691.zip} (89%) rename .yarn/cache/{@antora-site-generator-npm-3.0.0-rc.2-06634ec2ff-5cbb84c78f.zip => @antora-site-generator-npm-3.0.0-2dd87effbf-48104504dc.zip} (62%) rename .yarn/cache/{@antora-site-mapper-npm-3.0.0-rc.2-15c85ad7ec-688f1375ce.zip => @antora-site-mapper-npm-3.0.0-1ad7aad642-0dcfcd1c16.zip} (80%) rename .yarn/cache/{@antora-site-publisher-npm-3.0.0-rc.2-70f728bd09-2d5d67ce31.zip => @antora-site-publisher-npm-3.0.0-dc0ac5ca52-afbf4387a1.zip} (84%) rename .yarn/cache/{@antora-ui-loader-npm-3.0.0-rc.2-05aeb5dc65-d35bf78933.zip => @antora-ui-loader-npm-3.0.0-4dbc54924f-52655bc9bf.zip} (92%) delete mode 100644 .yarn/cache/joycon-npm-3.0.1-1489fed95a-1fb67a921e.zip create mode 100644 .yarn/cache/joycon-npm-3.1.1-3033e0e5f4-8003c9c3fc.zip rename .yarn/cache/{pino-npm-7.5.1-e97f7aed9d-2f71ebadb0.zip =>
[GitHub] [camel-k] astefanutti commented on a change in pull request #2771: feat(cmd/run): autogenerated configmap for resource/config local files
astefanutti commented on a change in pull request #2771: URL: https://github.com/apache/camel-k/pull/2771#discussion_r778378721 ## File path: pkg/trait/mount.go ## @@ -0,0 +1,199 @@ +/* +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package trait + +import ( + "fmt" + "strings" + + appsv1 "k8s.io/api/apps/v1" + "k8s.io/api/batch/v1beta1" + corev1 "k8s.io/api/core/v1" + + serving "knative.dev/serving/pkg/apis/serving/v1" + + v1 "github.com/apache/camel-k/pkg/apis/camel/v1" + "github.com/apache/camel-k/pkg/util/kubernetes" + utilResource "github.com/apache/camel-k/pkg/util/resource" +) + +// The Mount trait can be used to configure volumes mounted on the Integration Pods. +// +// +camel-k:trait=mount +// nolint: tagliatelle +type mountTrait struct { + BaseTrait `property:",squash"` + // A list of configuration pointing to configmap/secret. + // The configuration are expected to be UTF-8 resources as they are processed by runtime Camel Context and tried to be parsed as property files. + // They are also made available on the classpath in order to ease their usage directly from the Route. + // Syntax: [configmap|secret]:name[key], where name represents the resource name and key optionally represents the resource key to be filtered + Configs []string `property:"configs" json:"configs,omitempty"` + // A list of resources (text or binary content) pointing to configmap/secret. + // The resources are expected to be any resource type (text or binary content). + // The destination path can be either a default location or any path specified by the user. + // Syntax: [configmap|secret]:name[/key][@path], where name represents the resource name, key optionally represents the resource key to be filtered and path represents the destination path + Resources []string `property:"resources" json:"resources,omitempty"` + // A list of Persistent Volume Claims to be mounted. Syntax: [pvcname:/container/path] + Volumes []string `property:"volumes" json:"volumes,omitempty"` +} + +func newMountTrait() Trait { + return { + // Must follow immediately the container trait + BaseTrait: NewBaseTrait("mount", 1610), + } +} + +func (t *mountTrait) Configure(e *Environment) (bool, error) { + if IsFalse(t.Enabled) { + return false, nil + } + + if e.IntegrationInPhase(v1.IntegrationPhaseInitialization) || + (!e.IntegrationInPhase(v1.IntegrationPhaseInitialization) && !e.IntegrationInRunningPhases()) { + return false, nil + } + + // Validate resources and pvcs + for _, c := range t.Configs { + if !strings.HasPrefix(c, "configmap:") && !strings.HasPrefix(c, "secret:") { + return false, fmt.Errorf("unsupported config %s, must be a configmap or secret resource", c) + } + } + for _, r := range t.Resources { + if !strings.HasPrefix(r, "configmap:") && !strings.HasPrefix(r, "secret:") { + return false, fmt.Errorf("unsupported resource %s, must be a configmap or secret resource", r) + } + } + + return true, nil +} + +func (t *mountTrait) Apply(e *Environment) error { + if e.IntegrationInPhase(v1.IntegrationPhaseInitialization) { + return nil + } + + container := e.GetIntegrationContainer() + if container == nil { + return fmt.Errorf("unable to find integration container: %s", e.Integration.Name) + } + + var volumes *[]corev1.Volume + visited := false + + // Deployment + if err := e.Resources.VisitDeploymentE(func(deployment *appsv1.Deployment) error { + volumes = + visited = true + return nil + }); err != nil { + return err + } + + // Knative Service + if err := e.Resources.VisitKnativeServiceE(func(service *serving.Service) error { + volumes = + visited = true + return nil + }); err != nil { + return err +
[GitHub] [camel-k] haifzhan opened a new issue #2847: Scaling integration pod, the replicas are not able to receive traffic
haifzhan opened a new issue #2847: URL: https://github.com/apache/camel-k/issues/2847 Hi Apache Camel team: Situation: 1. I have a integration pod is listening on UDP 8444 and forward it to 30006, and it is configured in `my-integration-service.yaml` 2. I am trying to scale the integration followed the document [CAMEL K INTEGRATION SCALING ](https://camel.apache.org/camel-k/1.7.x/scaling/integration.html) For instance I have 2 pods running after scale and only the first pod is capable of receiving incoming events. I see a similar question under Issues [scaling out camel-k integrations are not working correctly #1806](https://github.com/apache/camel-k/issues/1806). The service was enabled as a node port. As far as I know, the service trait only works for TCP not UDP. Please help. my-integration-service.yaml ``` apiVersion: v1 kind: Service metadata: name: my-integration spec: type: NodePort selector: camel.apache.org/integration: my-integration ports: - protocol: UDP port: 8444 targetPort: 8444 nodePort: 30006 ``` -- 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 opened a new pull request #6641: CAMEL-17432: replace compiler source and target flags with release
orpiske opened a new pull request #6641: URL: https://github.com/apache/camel/pull/6641 -- 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 opened a new pull request #6640: CAMEL-17431: prevent Apache parent java source and target version from leaking
orpiske opened a new pull request #6640: URL: https://github.com/apache/camel/pull/6640 -- 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] haifzhan edited a comment on issue #1806: scaling out camel-k integrations are not working correctly
haifzhan edited a comment on issue #1806: URL: https://github.com/apache/camel-k/issues/1806#issuecomment-1005129752 @arijitmazumdar Hi there, I am facing the same issue my replicas are not able to receive any traffic. Is trait `-t service.node-port=true` the only configuration required(I already have my service template and the port forwarding has been applied)? Thanks! I have enabled the trait but my replica still not seeing anything. Would you mind explain what is `scale up the integration component to 2` please? -- 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] haifzhan edited a comment on issue #1806: scaling out camel-k integrations are not working correctly
haifzhan edited a comment on issue #1806: URL: https://github.com/apache/camel-k/issues/1806#issuecomment-1005129752 @arijitmazumdar Hi there, I am facing the same issue my replicas are not able to receive any traffic. Is trait `-t service.node-port=true` the only configuration required(I already have my service template and the port forwarding has been applied)? Thanks! I have enabled the trait but my replica still not seeing anything. -- 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] haifzhan commented on issue #1806: scaling out camel-k integrations are not working correctly
haifzhan commented on issue #1806: URL: https://github.com/apache/camel-k/issues/1806#issuecomment-1005129752 @arijitmazumdar Hi there, I am facing the same issue my replicas are not able to receive any traffic. Is trait `-t service.node-port=true` the only configuration required(I already have my service template and the port forwarding has been applied)? Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske opened a new pull request #6638: CAMEL-17429: adjust doclint for Java 11
orpiske opened a new pull request #6638: URL: https://github.com/apache/camel/pull/6638 I think Javadoc often causes problems during releases, so it might be good to double check this one. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] aldettinger merged pull request #3434: Setup a reproducer showing that camel.main.durationMaxSeconds is not …
aldettinger merged pull request #3434: URL: https://github.com/apache/camel-quarkus/pull/3434 -- 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: Setup a reproducer showing that camel.main.durationMaxSeconds is not honoured #3394
This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 288bcd0 Setup a reproducer showing that camel.main.durationMaxSeconds is not honoured #3394 288bcd0 is described below commit 288bcd051b33c5c0419455ff5f2ce92625933ad4 Author: aldettinger AuthorDate: Mon Jan 3 17:23:05 2022 +0100 Setup a reproducer showing that camel.main.durationMaxSeconds is not honoured #3394 --- .../apache/camel/quarkus/main/cmd/CamelRoute.java | 5 ++-- .../src/main/resources/application.properties | 18 .../camel/quarkus/main/cmd/it/CommandModeTest.java | 34 ++ 3 files changed, 32 insertions(+), 25 deletions(-) diff --git a/integration-tests/main-command-mode/src/main/java/org/apache/camel/quarkus/main/cmd/CamelRoute.java b/integration-tests/main-command-mode/src/main/java/org/apache/camel/quarkus/main/cmd/CamelRoute.java index 9ac5cb6..77f491e 100644 --- a/integration-tests/main-command-mode/src/main/java/org/apache/camel/quarkus/main/cmd/CamelRoute.java +++ b/integration-tests/main-command-mode/src/main/java/org/apache/camel/quarkus/main/cmd/CamelRoute.java @@ -18,6 +18,7 @@ package org.apache.camel.quarkus.main.cmd; import javax.enterprise.context.ApplicationScoped; +import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.eclipse.microprofile.config.inject.ConfigProperty; @@ -29,8 +30,8 @@ public class CamelRoute extends RouteBuilder { @Override public void configure() { -from("timer:hello?delay=-1=1") +from("timer:hello?delay=-1=3") .setBody().constant("Hello " + greetedSubject + "!") -.to("log:hello"); +.log("Logging ${body} - from timer named ${headers." + Exchange.TIMER_NAME + "}"); } } diff --git a/integration-tests/main-command-mode/src/main/resources/application.properties b/integration-tests/main-command-mode/src/main/resources/application.properties deleted file mode 100644 index ade6fba..000 --- a/integration-tests/main-command-mode/src/main/resources/application.properties +++ /dev/null @@ -1,18 +0,0 @@ -## --- -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## --- - -camel.main.duration-max-messages = 1 diff --git a/integration-tests/main-command-mode/src/test/java/org/apache/camel/quarkus/main/cmd/it/CommandModeTest.java b/integration-tests/main-command-mode/src/test/java/org/apache/camel/quarkus/main/cmd/it/CommandModeTest.java index d3a8c8e..ff128aa 100644 --- a/integration-tests/main-command-mode/src/test/java/org/apache/camel/quarkus/main/cmd/it/CommandModeTest.java +++ b/integration-tests/main-command-mode/src/test/java/org/apache/camel/quarkus/main/cmd/it/CommandModeTest.java @@ -17,25 +17,32 @@ package org.apache.camel.quarkus.main.cmd.it; import java.io.IOException; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.apache.camel.quarkus.test.support.process.QuarkusProcessExecutor; import org.apache.camel.util.StringHelper; import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.zeroturnaround.exec.InvalidExitValueException; import org.zeroturnaround.exec.ProcessResult; +import org.zeroturnaround.exec.StartedProcess; import static org.assertj.core.api.Assertions.assertThat; public class CommandModeTest { @Test -void hello() throws InvalidExitValueException, IOException, InterruptedException, TimeoutException { -final ProcessResult result = new QuarkusProcessExecutor("-Dgreeted.subject=Joe").execute(); +void testMainStopsAfterFirstMessage() +throws InvalidExitValueException, IOException, InterruptedException, TimeoutException { +final ProcessResult result = new
[GitHub] [camel] orpiske commented on pull request #6637: CAMEL-17429: removed JDK 8 profile on the base pom
orpiske commented on pull request #6637: URL: https://github.com/apache/camel/pull/6637#issuecomment-1005081250 > Oops. This one is broken ... It should be fine now. -- 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 #6637: CAMEL-17429: removed JDK 8 profile on the base pom
orpiske commented on pull request #6637: URL: https://github.com/apache/camel/pull/6637#issuecomment-1005079655 Oops. This one is broken ... -- 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 opened a new pull request #6637: CAMEL-17429: removed JDK 8 profile on the base pom
orpiske opened a new pull request #6637: URL: https://github.com/apache/camel/pull/6637 -- 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 opened a new pull request #6636: CAMEL-17429: removed JDK 9 profiles (itests / toolling)
orpiske opened a new pull request #6636: URL: https://github.com/apache/camel/pull/6636 -- 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 opened a new pull request #6635: CAMEL-17429: removed JDK 9 profiles (component poms)
orpiske opened a new pull request #6635: URL: https://github.com/apache/camel/pull/6635 -- 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: Exclude commons-logging from htmlunit-driver
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 7bce4da Exclude commons-logging from htmlunit-driver 7bce4da is described below commit 7bce4daf061558cbb9534055da6c27a5eb2d8835 Author: James Netherton AuthorDate: Tue Jan 4 15:32:24 2022 + Exclude commons-logging from htmlunit-driver --- poms/bom-test/pom.xml | 10 ++ 1 file changed, 10 insertions(+) diff --git a/poms/bom-test/pom.xml b/poms/bom-test/pom.xml index 7abea76..74b76afd 100644 --- a/poms/bom-test/pom.xml +++ b/poms/bom-test/pom.xml @@ -263,6 +263,16 @@ org.seleniumhq.selenium htmlunit-driver ${htmlunit-driver.version} + + +org.apache.httpcomponents +httpmime + + +commons-logging +commons-logging + + org.zeroturnaround
[camel-quarkus] branch main updated: Fix timestamp validation in syslog integration tests
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new b660cc6 Fix timestamp validation in syslog integration tests b660cc6 is described below commit b660cc65fa331d3afa990d737a9e63e6cfdbd16c Author: James Netherton AuthorDate: Tue Jan 4 14:46:59 2022 + Fix timestamp validation in syslog integration tests --- .../quarkus/component/syslog/it/SyslogTest.java | 21 - .../syslog/src/test/resources/rfc3164.txt | 1 - .../syslog/src/test/resources/rfc5425.txt | 1 - 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/integration-tests/syslog/src/test/java/org/apache/camel/quarkus/component/syslog/it/SyslogTest.java b/integration-tests/syslog/src/test/java/org/apache/camel/quarkus/component/syslog/it/SyslogTest.java index 858a899..ec1c0ac 100644 --- a/integration-tests/syslog/src/test/java/org/apache/camel/quarkus/component/syslog/it/SyslogTest.java +++ b/integration-tests/syslog/src/test/java/org/apache/camel/quarkus/component/syslog/it/SyslogTest.java @@ -16,14 +16,14 @@ */ package org.apache.camel.quarkus.component.syslog.it; -import java.io.IOException; -import java.nio.charset.StandardCharsets; +import java.time.Year; +import java.util.HashMap; import java.util.Locale; +import java.util.Map; import io.quarkus.test.common.QuarkusTestResource; import io.quarkus.test.junit.QuarkusTest; import io.restassured.RestAssured; -import org.apache.commons.io.IOUtils; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; @@ -35,10 +35,17 @@ import static org.hamcrest.Matchers.startsWith; @QuarkusTestResource(SyslogTestResource.class) class SyslogTest { +private static final Map SYSLOG_MESSAGES = new HashMap<>() { +{ +put("rfc3164", "<1>Feb 2 10:11:12 localhost Test SysLog RFC3164 Message"); +put("rfc5425", "<1>1 " + Year.now() + "-02-02T10:11:12Z localhost test - ID01 - Test SysLog RFC5425 Message"); +} +}; + @ParameterizedTest @ValueSource(strings = { "rfc3164", "rfc5425" }) public void syslogDataFormat(String rfcVersion) throws Exception { -final String message = readSyslogMessage(rfcVersion); +final String message = SYSLOG_MESSAGES.get(rfcVersion); // Send message RestAssured.given() @@ -55,7 +62,7 @@ class SyslogTest { .body( "hostname", equalTo("localhost"), "logMessage", equalTo("Test SysLog " + rfcVersion.toUpperCase(Locale.US) + " Message"), -"timestamp", startsWith("2021-02-02T10:11:12")); +"timestamp", startsWith(Year.now() + "-02-02T10:11:12")); // Get the raw SyslogMessage marshalled message RestAssured.get("/syslog/messages/raw") @@ -63,8 +70,4 @@ class SyslogTest { .statusCode(200) .body(is(message)); } - -private String readSyslogMessage(String rfcVersion) throws IOException { -return IOUtils.toString(SyslogTest.class.getResourceAsStream("/" + rfcVersion + ".txt"), StandardCharsets.UTF_8); -} } diff --git a/integration-tests/syslog/src/test/resources/rfc3164.txt b/integration-tests/syslog/src/test/resources/rfc3164.txt deleted file mode 100644 index b4875ae..000 --- a/integration-tests/syslog/src/test/resources/rfc3164.txt +++ /dev/null @@ -1 +0,0 @@ -<1>Feb 2 10:11:12 localhost Test SysLog RFC3164 Message \ No newline at end of file diff --git a/integration-tests/syslog/src/test/resources/rfc5425.txt b/integration-tests/syslog/src/test/resources/rfc5425.txt deleted file mode 100644 index c3d1863..000 --- a/integration-tests/syslog/src/test/resources/rfc5425.txt +++ /dev/null @@ -1 +0,0 @@ -<1>1 2021-02-02T10:11:12Z localhost test - ID01 - Test SysLog RFC5425 Message \ No newline at end of file
[GitHub] [camel-quarkus] jamesnetherton merged pull request #3438: Exclude commons-logging from htmlunit-driver
jamesnetherton merged pull request #3438: URL: https://github.com/apache/camel-quarkus/pull/3438 -- 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 commented on pull request #3438: Exclude commons-logging from htmlunit-driver
jamesnetherton commented on pull request #3438: URL: https://github.com/apache/camel-quarkus/pull/3438#issuecomment-1005039626 Test failures are unrelated to this change... -- 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 merged pull request #3437: Fix timestamp validation in syslog integration tests
jamesnetherton merged pull request #3437: URL: https://github.com/apache/camel-quarkus/pull/3437 -- 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 commented on issue #3296: Use InfinispanTestResource in the Infinispan integration tests
jamesnetherton commented on issue #3296: URL: https://github.com/apache/camel-quarkus/issues/3296#issuecomment-1005036576 > I may be out of context and in such case, please discard my message :) , but isn't the test resource already using a random port ? Yeah, my bad. It should work as you describe. -- 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 opened a new pull request #6634: CAMEL-17429: removed JDK 9 profiles
orpiske opened a new pull request #6634: URL: https://github.com/apache/camel/pull/6634 Obs.: there's more, but I am separating in smaller PRs to make it easier to review. -- 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] lburgazzoli edited a comment on issue #3296: Use InfinispanTestResource in the Infinispan integration tests
lburgazzoli edited a comment on issue #3296: URL: https://github.com/apache/camel-quarkus/issues/3296#issuecomment-1005012766 I may be out of context and in such case, please discard my message :) , but isn't the test resource already using a random port ? My understanding is that the call to `withExposedPorts(11222);` setting the port from the point of view of the container but for the host, then it will be a random port and you can get it with `container.getMappedPort(11222)`. The test resource seems to do so here: https://github.com/quarkusio/quarkus/blob/main/test-framework/infinispan-client/src/main/java/io/quarkus/test/infinispan/client/InfinispanTestResource.java#L45-L46 -- 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] lburgazzoli commented on issue #3296: Use InfinispanTestResource in the Infinispan integration tests
lburgazzoli commented on issue #3296: URL: https://github.com/apache/camel-quarkus/issues/3296#issuecomment-1005012766 I may be out of context and in such case, please discard my message, but isn't the test resource already using a random port ? My understanding is that the call to `withExposedPorts(11222);` setting the port from the point of view of the container but for the host, then it will be a random port and you can get it with `container.getMappedPort(11222)`. The test resource seems to do so here: https://github.com/quarkusio/quarkus/blob/main/test-framework/infinispan-client/src/main/java/io/quarkus/test/infinispan/client/InfinispanTestResource.java#L45-L46 -- 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 #3296: Use InfinispanTestResource in the Infinispan integration tests
ppalaga commented on issue #3296: URL: https://github.com/apache/camel-quarkus/issues/3296#issuecomment-1005004045 > I don't actually see the port arg being used at all to set up the container. I guess because [`InfinispanContainer`](https://github.com/infinispan/infinispan-test/blob/master/testcontainers/src/main/java/org/infinispan/test/testcontainers/InfinispanContainer.java#L27) hard codes the port to use. That's interesting! We should definitely report that. -- 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 (e2f15a2 -> 7c379ff)
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. discard e2f15a2 Regen for commit 12006fdf7e79b3d428d2a86f2511e33676f1d12b add 05e80da (chores) camel-csimple-maven-plugin: cleanup code duplication add 7c379ff Regen for commit 05e80da91921d90e91c2eadee849ac292cf552e7 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 (e2f15a2) \ N -- N -- N refs/heads/regen_bot (7c379ff) 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: .../java/org/apache/camel/maven/GenerateMojo.java | 73 +- 1 file changed, 45 insertions(+), 28 deletions(-)
[camel] branch regen_bot updated (6f34fbc -> e2f15a2)
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 6f34fbc CAMEL-10152: minor refactoring to camel-kafka add 14709dc CAMEL-17420: camel-core - Add flag to turn on|off source loc:line add 12006fd Polished doc add e2f15a2 Regen for commit 12006fdf7e79b3d428d2a86f2511e33676f1d12b No new revisions were added by this update. Summary of changes: .../main/camel-main-configuration-metadata.json| 1 + .../camel/impl/debugger/CamelDebuggerFactory.java | 2 ++ components/camel-jfr/src/main/docs/jfr.adoc| 6 ++-- .../main/java/org/apache/camel/CamelContext.java | 18 +++ .../camel/impl/engine/AbstractCamelContext.java| 11 +++ .../camel/impl/ExtendedCamelContextConfigurer.java | 6 .../camel/impl/lw/LightweightCamelContext.java | 10 ++ .../impl/lw/LightweightRuntimeCamelContext.java| 10 ++ .../apache/camel/model/ProcessorDefinition.java| 3 +- .../org/apache/camel/model/RouteDefinition.java| 5 ++- java => LineNumberProcessorDebuggingTest.java} | 37 ++ .../camel/processor/LineNumberProcessorTest.java | 2 +- ...st.java => LineNumberProcessorTracingTest.java} | 36 ++--- .../MainConfigurationPropertiesConfigurer.java | 6 .../camel-main-configuration-metadata.json | 1 + core/camel-main/src/main/docs/main.adoc| 3 +- .../camel/main/DefaultConfigurationConfigurer.java | 3 ++ .../camel/main/DefaultConfigurationProperties.java | 28 18 files changed, 136 insertions(+), 52 deletions(-) copy core/camel-core/src/test/java/org/apache/camel/processor/{LineNumberProcessorTest.java => LineNumberProcessorDebuggingTest.java} (71%) copy core/camel-core/src/test/java/org/apache/camel/processor/{LineNumberProcessorTest.java => LineNumberProcessorTracingTest.java} (73%)
[GitHub] [camel] github-actions[bot] opened a new pull request #6633: Generated sources regen
github-actions[bot] opened a new pull request #6633: URL: https://github.com/apache/camel/pull/6633 Regen bot :robot: found some uncommited changes after running build on :camel: main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot_3.14.x updated (ddfefb6 -> eff8709)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot_3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git. from ddfefb6 CAMEL-17389: ToD using file endpoints windows path issue. add eff8709 Bump mybatis 3.5.8 (#6632) No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[GitHub] [camel-quarkus] zhfeng commented on pull request #2525: [WIP] Fix #1384 camel-mybatis native support
zhfeng commented on pull request #2525: URL: https://github.com/apache/camel-quarkus/pull/2525#issuecomment-1004935124 quarkus-mybatis 0.0.11 bump mybatis to 3.5.8 and it still needs to bump mybatis version in camel-3.14.x refer to https://github.com/apache/camel/pull/6632 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: (chores) camel-csimple-maven-plugin: cleanup code duplication
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 05e80da (chores) camel-csimple-maven-plugin: cleanup code duplication 05e80da is described below commit 05e80da91921d90e91c2eadee849ac292cf552e7 Author: Otavio Rodolfo Piske AuthorDate: Tue Jan 4 14:50:33 2022 +0100 (chores) camel-csimple-maven-plugin: cleanup code duplication --- .../java/org/apache/camel/maven/GenerateMojo.java | 73 +- 1 file changed, 45 insertions(+), 28 deletions(-) diff --git a/catalog/camel-csimple-maven-plugin/src/main/java/org/apache/camel/maven/GenerateMojo.java b/catalog/camel-csimple-maven-plugin/src/main/java/org/apache/camel/maven/GenerateMojo.java index 8bdc986..01e5cff 100644 --- a/catalog/camel-csimple-maven-plugin/src/main/java/org/apache/camel/maven/GenerateMojo.java +++ b/catalog/camel-csimple-maven-plugin/src/main/java/org/apache/camel/maven/GenerateMojo.java @@ -349,10 +349,7 @@ public class GenerateMojo extends AbstractExecMojo { // exclude take precedence if (excludes != null) { for (String exclude : excludes.split(",")) { -exclude = exclude.trim(); -// try both with and without directory in the name -String fqn = stripRootPath(asRelativeFile(file.getAbsolutePath())); -boolean match = PatternHelper.matchPattern(fqn, exclude) || PatternHelper.matchPattern(file.getName(), exclude); +boolean match = isMatch(exclude, file); if (match) { return false; } @@ -362,10 +359,7 @@ public class GenerateMojo extends AbstractExecMojo { // include if (includes != null) { for (String include : includes.split(",")) { -include = include.trim(); -// try both with and without directory in the name -String fqn = stripRootPath(asRelativeFile(file.getAbsolutePath())); -boolean match = PatternHelper.matchPattern(fqn, include) || PatternHelper.matchPattern(file.getName(), include); +boolean match = isMatch(include, file); if (match) { return true; } @@ -378,6 +372,13 @@ public class GenerateMojo extends AbstractExecMojo { return true; } +private boolean isMatch(String include, File file) { +include = include.trim(); +// try both with and without directory in the name +String fqn = stripRootPath(asRelativeFile(file.getAbsolutePath())); +return PatternHelper.matchPattern(fqn, include) || PatternHelper.matchPattern(file.getName(), include); +} + private String asRelativeFile(String name) { String answer = name; @@ -395,15 +396,29 @@ public class GenerateMojo extends AbstractExecMojo { private String stripRootPath(String name) { // strip out any leading source / resource directory -List list = project.getCompileSourceRoots(); -for (Object obj : list) { -String dir = (String) obj; -dir = asRelativeFile(dir); -if (name.startsWith(dir)) { -return name.substring(dir.length() + 1); -} +String compileSourceRoot = findInCompileSourceRoots(name); +if (compileSourceRoot != null) { +return compileSourceRoot; +} + +String buildPath = findInResources(name); +if (buildPath != null) { +return buildPath; +} + +return name; +} + +private String findInCompileSourceRoots(String name) { +String compileSourceRoot = findInCompileSourceRoots(project.getCompileSourceRoots(), name); +if (compileSourceRoot != null) { +return compileSourceRoot; } -list = project.getTestCompileSourceRoots(); + +return findInCompileSourceRoots(project.getTestCompileSourceRoots(), name); +} + +private String findInCompileSourceRoots(List list, String name) { for (Object obj : list) { String dir = (String) obj; dir = asRelativeFile(dir); @@ -411,24 +426,26 @@ public class GenerateMojo extends AbstractExecMojo { return name.substring(dir.length() + 1); } } -List resources = project.getResources(); -for (Object obj : resources) { -Resource resource = (Resource) obj; -String dir = asRelativeFile(resource.getDirectory()); -if (name.startsWith(dir)) { -return name.substring(dir.length() + 1); -} +return null; +} + +private String findInResources(String name) { +String buildPath = findInResources(project.getResources(), name); +if (buildPath
[GitHub] [camel-quarkus] gus-maurizio commented on issue #3394: camel.main.durationMaxSeconds is not honoured
gus-maurizio commented on issue #3394: URL: https://github.com/apache/camel-quarkus/issues/3394#issuecomment-1004929280 Just to provide a bit of context, along with congratulations to this team for working and finding the root cause. This functionality is important in the context of running camel quarkus AWS lambda functions that are limited to at most 15 minutes. We leverage this and establish two criteria for termination, maxMessages (which is the preferred) and a fail-safe of maxDuration (to about 13 or 14 minutes) to ensure the routes can properly end what is in flight before being terminated by the underlying engine. Merci bien Alexandre! -- 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 merged pull request #6631: (chores) camel-csimple-maven-plugin: cleanup code duplication
orpiske merged pull request #6631: URL: https://github.com/apache/camel/pull/6631 -- 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 pull request #3438: Exclude commons-logging from htmlunit-driver
jamesnetherton opened a new pull request #3438: URL: https://github.com/apache/camel-quarkus/pull/3438 Relates to #3421. -- 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 commented on issue #3296: Use InfinispanTestResource in the Infinispan integration tests
jamesnetherton commented on issue #3296: URL: https://github.com/apache/camel-quarkus/issues/3296#issuecomment-1004922564 > So can we live with a fixed port Probably in the short term. We do it for some other things out of necessity. > propose some change to InfinispanTestResource to use a random port I guess we should do that. Looking again at `InfinispanTestResource` I don't actually see the port arg being used at all to set up the container. I guess because [`InfinispanContainer`](https://github.com/infinispan/infinispan-test/blob/master/testcontainers/src/main/java/org/infinispan/test/testcontainers/InfinispanContainer.java#L27) hard codes the port to use. -- 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] JiriOndrusek commented on issue #3436: deadLetterChannel does not work in BaseRouteBuilder configure method
JiriOndrusek commented on issue #3436: URL: https://github.com/apache/camel-quarkus/issues/3436#issuecomment-1004921263 @Chexpir I' was able to simulate an error. Probably the same as you are seeing: ``` Caused by: java.lang.IllegalArgumentException: AmazonSQSClient or accessKey and secretKey must be specified. at org.apache.camel.component.aws2.sqs.Sqs2Component.createEndpoint(Sqs2Component.java:73) at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171) at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:934) ... 72 more ``` To be sure: Are you using quarkus client ? (defined via quarkus properties - https://camel.apache.org/camel-quarkus/2.6.x/reference/extensions/aws2-sqs.html#_optional_integration_with_quarkus_amazon_sqs) -- 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: Polished doc
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 12006fd Polished doc 12006fd is described below commit 12006fdf7e79b3d428d2a86f2511e33676f1d12b Author: Claus Ibsen AuthorDate: Tue Jan 4 16:45:42 2022 +0100 Polished doc --- components/camel-jfr/src/main/docs/jfr.adoc | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/camel-jfr/src/main/docs/jfr.adoc b/components/camel-jfr/src/main/docs/jfr.adoc index 4d07c6f..7f716df 100644 --- a/components/camel-jfr/src/main/docs/jfr.adoc +++ b/components/camel-jfr/src/main/docs/jfr.adoc @@ -17,19 +17,17 @@ This allows to monitor and troubleshoot your Camel applications with JFR. The camel-jfr component emits lifecycle events for startup to JFR. This can for example be used to pin-point which Camel routes may be slow to startup. -[[jfr-Options]] - See the __startupRecorder__ options from xref:components:others:main.adoc[Camel Main] -[[jfr-Example]] == Example To enable you just need to add `camel-jfr` to the classpath, and enable JFR recording. JFR recordings can be started either at: + - When running the JVM using JVM arguments - When starting Camel by setting `camel.main.startup-recorder-recording=true`. -See the `camel-example-flight-recorder` from the Camel Examples. +See the `flight-recorder` from the Camel Examples. include::spring-boot:partial$starter.adoc[]
[camel] branch main updated: CAMEL-17420: camel-core - Add flag to turn on|off source loc:line
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 14709dc CAMEL-17420: camel-core - Add flag to turn on|off source loc:line 14709dc is described below commit 14709dcf54bcbf379059ccb077af929d2e518ef1 Author: Claus Ibsen AuthorDate: Tue Jan 4 16:42:23 2022 +0100 CAMEL-17420: camel-core - Add flag to turn on|off source loc:line --- .../camel/impl/debugger/CamelDebuggerFactory.java | 2 ++ .../main/java/org/apache/camel/CamelContext.java | 18 +++ .../camel/impl/engine/AbstractCamelContext.java| 11 +++ .../camel/impl/ExtendedCamelContextConfigurer.java | 6 .../camel/impl/lw/LightweightCamelContext.java | 10 ++ .../impl/lw/LightweightRuntimeCamelContext.java| 10 ++ .../apache/camel/model/ProcessorDefinition.java| 3 +- .../org/apache/camel/model/RouteDefinition.java| 5 ++- java => LineNumberProcessorDebuggingTest.java} | 37 ++ .../camel/processor/LineNumberProcessorTest.java | 2 +- ...st.java => LineNumberProcessorTracingTest.java} | 36 ++--- .../MainConfigurationPropertiesConfigurer.java | 6 .../camel-main-configuration-metadata.json | 1 + core/camel-main/src/main/docs/main.adoc| 3 +- .../camel/main/DefaultConfigurationConfigurer.java | 3 ++ .../camel/main/DefaultConfigurationProperties.java | 28 16 files changed, 133 insertions(+), 48 deletions(-) diff --git a/components/camel-debug/src/main/java/org/apache/camel/impl/debugger/CamelDebuggerFactory.java b/components/camel-debug/src/main/java/org/apache/camel/impl/debugger/CamelDebuggerFactory.java index 5bd2f54..b2ea55d 100644 --- a/components/camel-debug/src/main/java/org/apache/camel/impl/debugger/CamelDebuggerFactory.java +++ b/components/camel-debug/src/main/java/org/apache/camel/impl/debugger/CamelDebuggerFactory.java @@ -30,6 +30,8 @@ public class CamelDebuggerFactory implements DebuggerFactory { public Debugger createDebugger(CamelContext camelContext) throws Exception { // must enable message history for debugger to capture more details camelContext.setMessageHistory(true); +// must enable source location so debugger tooling knows to map breakpoints to source code +camelContext.setSourceLocationEnabled(true); BacklogDebugger backlog = BacklogDebugger.createDebugger(camelContext); // we need to enable debugger after context is started diff --git a/core/camel-api/src/main/java/org/apache/camel/CamelContext.java b/core/camel-api/src/main/java/org/apache/camel/CamelContext.java index 74138f6..749a16a 100644 --- a/core/camel-api/src/main/java/org/apache/camel/CamelContext.java +++ b/core/camel-api/src/main/java/org/apache/camel/CamelContext.java @@ -1187,6 +1187,24 @@ public interface CamelContext extends CamelContextLifecycle, RuntimeConfiguratio void setLoadHealthChecks(Boolean loadHealthChecks); /** + * Whether to capture precise source location:line-number for all EIPs in Camel routes. + * + * Enabling this will impact parsing Java based routes (also Groovy, Kotlin, etc.) on startup as this uses + * {@link StackTraceElement} to calculate the location from the Camel route, which comes with a performance cost. + * This only impact startup, not the performance of the routes at runtime. + */ +Boolean isSourceLocationEnabled(); + +/** + * Whether to capture precise source location:line-number for all EIPs in Camel routes. + * + * Enabling this will impact parsing Java based routes (also Groovy, Kotlin, etc.) on startup as this uses + * {@link StackTraceElement} to calculate the location from the Camel route, which comes with a performance cost. + * This only impact startup, not the performance of the routes at runtime. + */ +void setSourceLocationEnabled(Boolean sourceLocationEnabled); + +/** * Whether or not type converter statistics is enabled. * * By default the type converter utilization statistics is disabled. Notice: If enabled then there is a diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java index de9eea0..30e7215 100644 --- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java +++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java @@ -261,6 +261,7 @@ public abstract class AbstractCamelContext extends BaseService private Boolean disableJMX = Boolean.FALSE; private Boolean loadTypeConverters = Boolean.FALSE; private Boolean loadHealthChecks = Boolean.FALSE; +private
[camel-spring-boot] branch main updated: CAMEL-17420: camel-core - Add flag to turn on|off source loc:line
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new ee18e78 CAMEL-17420: camel-core - Add flag to turn on|off source loc:line ee18e78 is described below commit ee18e78fc6942a89c170c04af82b65a1657973dd Author: Claus Ibsen AuthorDate: Tue Jan 4 16:42:05 2022 +0100 CAMEL-17420: camel-core - Add flag to turn on|off source loc:line --- core/camel-spring-boot/src/main/docs/spring-boot.json| 7 +++ .../apache/camel/spring/boot/CamelConfigurationProperties.java | 9 + 2 files changed, 16 insertions(+) diff --git a/core/camel-spring-boot/src/main/docs/spring-boot.json b/core/camel-spring-boot/src/main/docs/spring-boot.json index e0997bc..1735db6 100644 --- a/core/camel-spring-boot/src/main/docs/spring-boot.json +++ b/core/camel-spring-boot/src/main/docs/spring-boot.json @@ -945,6 +945,13 @@ "defaultValue": 300 }, { + "name": "camel.springboot.source-location-enabled", + "type": "java.lang.Boolean", + "description": "Whether to capture precise source location:line-number for all EIPs in Camel routes. Enabling this will impact parsing Java based routes (also Groovy, Kotlin, etc.) on startup as this uses JDK StackTraceElement to calculate the location from the Camel route, which comes with a performance cost. This only impact startup, not the performance of the routes at runtime.", + "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties", + "defaultValue": false +}, +{ "name": "camel.springboot.startup-recorder", "type": "java.lang.String", "description": "To use startup recorder for capturing execution time during starting Camel. The recorder can be one of: false (or off), logging, java-flight-recorder (or jfr).", diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java index 90b13ed..000351b 100644 --- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java +++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java @@ -364,6 +364,15 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties private boolean messageHistory = true; /** + * Whether to capture precise source location:line-number for all EIPs in Camel routes. + * + * Enabling this will impact parsing Java based routes (also Groovy, Kotlin, etc.) on startup as this uses JDK + * StackTraceElement to calculate the location from the Camel route, which comes with a performance cost. This only + * impact startup, not the performance of the routes at runtime. + */ +private boolean sourceLocationEnabled; + +/** * Sets whether log mask is enabled or not. * * Default is false.
[GitHub] [camel-quarkus] davsclaus commented on issue #3394: camel.main.durationMaxSeconds is not honoured
davsclaus commented on issue #3394: URL: https://github.com/apache/camel-quarkus/issues/3394#issuecomment-1004917018 Ah so you do not extend the camel-main class but do you own. Yeah then those methods needs to be protected so you can call them. -- 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 #3296: Use InfinispanTestResource in the Infinispan integration tests
ppalaga commented on issue #3296: URL: https://github.com/apache/camel-quarkus/issues/3296#issuecomment-1004910545 So can we live with a fixed port, or we propose some change to InfinispanTestResource to use a random port (ideally by default)? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (71b8dfd -> 6f34fbc)
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 71b8dfd Upgrade AWS SDK v2 to version 2.17.103 add 6f34fbc CAMEL-10152: minor refactoring to camel-kafka No new revisions were added by this update. Summary of changes: .../camel/component/kafka/KafkaConsumer.java | 2 +- .../camel/component/kafka/KafkaFetchRecords.java | 136 ++- .../consumer/support/KafkaRecordProcessor.java | 32 + .../support/KafkaRecordProcessorFacade.java| 151 + .../kafka/consumer/support/ProcessingResult.java} | 33 ++--- 5 files changed, 186 insertions(+), 168 deletions(-) create mode 100644 components/camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/support/KafkaRecordProcessorFacade.java copy components/{camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/batch/Olingo4BatchRequest.java => camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/support/ProcessingResult.java} (55%)
[GitHub] [camel-quarkus] aldettinger commented on issue #3394: camel.main.durationMaxSeconds is not honoured
aldettinger commented on issue #3394: URL: https://github.com/apache/camel-quarkus/issues/3394#issuecomment-1004907832 This issue can be reproduced with camel-quarkus 2.6.0 while it's working with pure camel 3.14.0, so the issue relies in camel-quakus. After investigations: + A CamelMainRuntime is assembled and [started](https://github.com/apache/camel-quarkus/blob/main/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/main/CamelMainRuntime.java#L49) + oacq.main.CamelMain.runEngine() calls [waitUntilCompleted()](https://github.com/apache/camel-quarkus/blob/main/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/main/CamelMain.java#L150) + `durationMaxSeconds` is equals to zero in [oac.main.MainSupport.waitUntilCompleted()](https://github.com/apache/camel/blob/main/core/camel-main/src/main/java/org/apache/camel/main/MainSupport.java#L301..L304) while **it should not** It looks that `durationMaxSeconds` should be set in [internalBeforeStart()](https://github.com/apache/camel/blob/main/core/camel-main/src/main/java/org/apache/camel/main/MainSupport.java#L66..L72) which is [private](https://github.com/apache/camel/blob/main/core/camel-main/src/main/java/org/apache/camel/main/MainSupport.java#L108..L112). From there I wonder whether `internalBeforeStart()` should be made protected ? Or maybe `oacq.main.CamelMain` should be changed ? @ppalaga @davsclaus What do you think ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch camel-3.14.x updated: Bump mybatis 3.5.8 (#6632)
This is an automated email from the ASF dual-hosted git repository. zhfeng pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.14.x by this push: new eff8709 Bump mybatis 3.5.8 (#6632) eff8709 is described below commit eff87099237b480acdc7f1df347e27b89c494891 Author: Amos Feng AuthorDate: Tue Jan 4 23:19:09 2022 +0800 Bump mybatis 3.5.8 (#6632) --- camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index dae48bd..97535d7 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -426,7 +426,7 @@ 2013.6.1 0.9.10 2.4.13.Final -3.5.7 +3.5.8 5.12.1.Final 0.4.0 1.0.0.Beta4 diff --git a/parent/pom.xml b/parent/pom.xml index 5f80dd7..de5d4f4 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -412,7 +412,7 @@ 2013.6.1 0.9.10 2.4.13.Final -3.5.7 +3.5.8 5.12.1.Final 1.0.0.Beta4 1.0.1
[GitHub] [camel] zhfeng merged pull request #6632: Bump mybatis 3.5.8 backport to camel-3.14.x
zhfeng merged pull request #6632: URL: https://github.com/apache/camel/pull/6632 -- 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] zhfeng opened a new pull request #6632: Bump mybatis 3.5.8 backport to camel-3.14.x
zhfeng opened a new pull request #6632: URL: https://github.com/apache/camel/pull/6632 -- 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 commented on issue #3296: Use InfinispanTestResource in the Infinispan integration tests
jamesnetherton commented on issue #3296: URL: https://github.com/apache/camel-quarkus/issues/3296#issuecomment-1004873014 > I can only set a constant Yes, I think you're right... -- 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] JiriOndrusek commented on issue #3436: deadLetterChannel does not work in BaseRouteBuilder configure method
JiriOndrusek commented on issue #3436: URL: https://github.com/apache/camel-quarkus/issues/3436#issuecomment-1004871006 @Chexpir thanks for the information. I'll try to simulate problem on my machine and will try to find a solution. -- 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-karavan] mgubaidullin merged pull request #153: Karavan Decomposition
mgubaidullin merged pull request #153: URL: https://github.com/apache/camel-karavan/pull/153 -- 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-karavan] mgubaidullin opened a new pull request #153: Karavan Decomposition
mgubaidullin opened a new pull request #153: URL: https://github.com/apache/camel-karavan/pull/153 1. karavan-core - designer DSL models and API 2. karavan-designer - designer UI only (might become a reusable/embeddable React Component) 3. karavan-vscode - VSCode extension 4. karavan-app - standalone/cloud application 5. karavan-generator - generates main karavan-core models and api 6. karavan-demo - demo resources for karavan-app cloud mode -- 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] Chexpir edited a comment on issue #3436: deadLetterChannel does not work in BaseRouteBuilder configure method
Chexpir edited a comment on issue #3436: URL: https://github.com/apache/camel-quarkus/issues/3436#issuecomment-1004864051 @JiriOndrusek Temporary working solution for me is the following (adding sqsClient into camel Registry and explicitly adding it to the camel route): ``` public void configure() { camelContext.getRegistry().bind("sqsClient", sqsClient); errorHandler(deadLetterChannel("aws2-sqs://nameoftheDLqueue?amazonSQSClient=#sqsClient") .log("Error processing message and sending to the Dead Letter Queue: Body: " + body()) .useOriginalMessage()); ``` -- 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] Chexpir commented on issue #3436: deadLetterChannel does not work in BaseRouteBuilder configure method
Chexpir commented on issue #3436: URL: https://github.com/apache/camel-quarkus/issues/3436#issuecomment-1004864051 @JiriOndrusek Temporary working solution for me is the following (adding sqsClient into camel Registry and explicitly adding it to the camel route): ``` camelContext.getRegistry().bind("sqsClient", sqsClient); errorHandler(deadLetterChannel("aws2-sqs://nameoftheDLqueue?amazonSQSClient=#sqsClient") .log("Error processing message and sending to the Dead Letter Queue: Body: " + body()) .useOriginalMessage()); ``` -- 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 #3296: Use InfinispanTestResource in the Infinispan integration tests
ppalaga commented on issue #3296: URL: https://github.com/apache/camel-quarkus/issues/3296#issuecomment-1004858771 > > `InfinispanTestResource` does not seem to support setting a random port > > Seems you can set the port via `initArgs` if needed. I see that option, but from within Java annotation, I can only set a constant, no? -- 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 (71b8dfd -> 6f34fbc)
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 71b8dfd Upgrade AWS SDK v2 to version 2.17.103 add 6f34fbc CAMEL-10152: minor refactoring to camel-kafka No new revisions were added by this update. Summary of changes: .../camel/component/kafka/KafkaConsumer.java | 2 +- .../camel/component/kafka/KafkaFetchRecords.java | 136 ++- .../consumer/support/KafkaRecordProcessor.java | 32 + .../support/KafkaRecordProcessorFacade.java| 151 + .../kafka/consumer/support/ProcessingResult.java} | 33 ++--- 5 files changed, 186 insertions(+), 168 deletions(-) create mode 100644 components/camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/support/KafkaRecordProcessorFacade.java copy components/{camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/batch/Olingo4BatchRequest.java => camel-kafka/src/main/java/org/apache/camel/component/kafka/consumer/support/ProcessingResult.java} (55%)
[GitHub] [camel] orpiske merged pull request #6630: CAMEL-10152: minor refactoring to camel-kafka
orpiske merged pull request #6630: URL: https://github.com/apache/camel/pull/6630 -- 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 change in pull request #6629: CAMEL-17373: Fix FhirComponent startup
orpiske commented on a change in pull request #6629: URL: https://github.com/apache/camel/pull/6629#discussion_r778118738 ## File path: components/camel-fhir/camel-fhir-component/src/main/java/org/apache/camel/component/fhir/FhirComponent.java ## @@ -45,18 +45,28 @@ protected FhirApiName getApiName(String apiNameStr) { return getCamelContext().getTypeConverter().convertTo(FhirApiName.class, apiNameStr); } +@Override +protected void afterPropertiesSet(FhirConfiguration endpointConfiguration) { +// ensure a client is set on the config +if (endpointConfiguration.getClient() == null && configuration.getClient() == null) { +if (configuration != null) { Review comment: Thanks for double-checking. -- 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] Croway commented on a change in pull request #6629: CAMEL-17373: Fix FhirComponent startup
Croway commented on a change in pull request #6629: URL: https://github.com/apache/camel/pull/6629#discussion_r778117928 ## File path: components/camel-fhir/camel-fhir-component/src/main/java/org/apache/camel/component/fhir/FhirComponent.java ## @@ -45,18 +45,28 @@ protected FhirApiName getApiName(String apiNameStr) { return getCamelContext().getTypeConverter().convertTo(FhirApiName.class, apiNameStr); } +@Override +protected void afterPropertiesSet(FhirConfiguration endpointConfiguration) { +// ensure a client is set on the config +if (endpointConfiguration.getClient() == null && configuration.getClient() == null) { +if (configuration != null) { Review comment: many thanks @orpiske ! actually no test were failing due to NPE, but I noticed that all tests were using a custom FhirComponent, if someone use the default one, NPE will happend, I just created a new test for this usecase FhirSimpleIT.java -- 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 commented on issue #3296: Use InfinispanTestResource in the Infinispan integration tests
jamesnetherton commented on issue #3296: URL: https://github.com/apache/camel-quarkus/issues/3296#issuecomment-1004842076 > `InfinispanTestResource` does not seem to support setting a random port Seems you can set the port via `initArgs` if needed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] github-actions[bot] commented on pull request #748: Publish Kamelets 0.6.x docs
github-actions[bot] commented on pull request #748: URL: https://github.com/apache/camel-website/pull/748#issuecomment-1004839671 Preview is available at https://pr-748--camel.netlify.app -- 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