[camel-quarkus] 03/04: Disable DatasonnetIT due to #4284
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 2486aef4e909b493cc0526e9964cfcf4b6052378 Author: James Netherton AuthorDate: Mon Nov 21 08:51:08 2022 + Disable DatasonnetIT due to #4284 --- .../org/apache/camel/quarkus/component/datasonnet/it/DatasonnetIT.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration-tests/datasonnet/src/test/java/org/apache/camel/quarkus/component/datasonnet/it/DatasonnetIT.java b/integration-tests/datasonnet/src/test/java/org/apache/camel/quarkus/component/datasonnet/it/DatasonnetIT.java index 124bb7e75e..31fbf1e959 100644 --- a/integration-tests/datasonnet/src/test/java/org/apache/camel/quarkus/component/datasonnet/it/DatasonnetIT.java +++ b/integration-tests/datasonnet/src/test/java/org/apache/camel/quarkus/component/datasonnet/it/DatasonnetIT.java @@ -17,7 +17,9 @@ package org.apache.camel.quarkus.component.datasonnet.it; import io.quarkus.test.junit.QuarkusIntegrationTest; +import org.junit.jupiter.api.Disabled; +@Disabled("https://github.com/apache/camel-quarkus/issues/4284";) @QuarkusIntegrationTest class DatasonnetIT extends DatasonnetTest {
[camel-quarkus] 02/04: Disable microprofile-fault-tolerance testing due to #4225
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 7c9636a92becde14b39f5d23a440e68ee86d2a36 Author: James Netherton AuthorDate: Mon Oct 31 08:56:00 2022 + Disable microprofile-fault-tolerance testing due to #4225 --- .../it/CoreFaultToleranceProducers.java| 35 -- integration-tests/foundation-grouped/pom.xml | 6 +++- integration-tests/microprofile/pom.xml | 2 ++ .../MicroProfileFaultToleranceRoutes.java | 20 ++--- .../MicroprofileFaultToleranceIT.java | 2 ++ .../MicroprofileFaultToleranceTest.java| 2 ++ tooling/scripts/group-tests.groovy | 6 +++- 7 files changed, 58 insertions(+), 15 deletions(-) diff --git a/integration-test-groups/foundation/core-fault-tolerance/src/main/java/org/apache/camel/quarkus/core/faulttolerance/it/CoreFaultToleranceProducers.java b/integration-test-groups/foundation/core-fault-tolerance/src/main/java/org/apache/camel/quarkus/core/faulttolerance/it/CoreFaultToleranceProducers.java index aa9394108c..67f580041d 100644 --- a/integration-test-groups/foundation/core-fault-tolerance/src/main/java/org/apache/camel/quarkus/core/faulttolerance/it/CoreFaultToleranceProducers.java +++ b/integration-test-groups/foundation/core-fault-tolerance/src/main/java/org/apache/camel/quarkus/core/faulttolerance/it/CoreFaultToleranceProducers.java @@ -18,29 +18,32 @@ package org.apache.camel.quarkus.core.faulttolerance.it; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; +import java.util.concurrent.TimeUnit; import javax.enterprise.context.ApplicationScoped; +import javax.enterprise.inject.Disposes; import javax.inject.Named; import io.smallrye.faulttolerance.core.FaultToleranceStrategy; import io.smallrye.faulttolerance.core.InvocationContext; import io.smallrye.faulttolerance.core.circuit.breaker.CircuitBreaker; import io.smallrye.faulttolerance.core.stopwatch.SystemStopwatch; +import io.smallrye.faulttolerance.core.timer.ThreadTimer; import io.smallrye.faulttolerance.core.util.ExceptionDecision; public class CoreFaultToleranceProducers { @ApplicationScoped @Named("customCircuitBreaker") -CircuitBreaker produceCustomCircuitBreaker() { +CircuitBreaker produceCustomCircuitBreaker(ThreadTimer threadTimer) { FaultToleranceStrategy delegate = new FaultToleranceStrategy() { @Override public Integer apply(InvocationContext ctx) { return null; } }; -return new CircuitBreaker(delegate, "description", ExceptionDecision.ALWAYS_FAILURE, 10, 40, 0.1, -2, new SystemStopwatch()) { +return new CircuitBreaker<>(delegate, "description", ExceptionDecision.ALWAYS_FAILURE, 10, 40, 0.1, +2, SystemStopwatch.INSTANCE, threadTimer) { @Override public String toString() { return "customCircuitBreaker"; @@ -54,4 +57,30 @@ public class CoreFaultToleranceProducers { return Executors.newFixedThreadPool(2); } +@ApplicationScoped +@Named("threadTimer") +ThreadTimer threadTimer(@Named("threadTimerExecutor") ExecutorService executorService) { +return new ThreadTimer(executorService); +} + +@ApplicationScoped +@Named("threadTimerExecutor") +ExecutorService threadTimerExecutor() { +return Executors.newSingleThreadExecutor(); +} + +void disposeThreadTimerExecutor(@Disposes @Named("threadTimerExecutor") ExecutorService threadTimerExecutor, +ThreadTimer timer) { +try { +timer.shutdown(); +} catch (InterruptedException e) { +Thread.currentThread().interrupt(); +} + +try { +threadTimerExecutor.awaitTermination(10, TimeUnit.SECONDS); +} catch (InterruptedException e) { +Thread.currentThread().interrupt(); +} +} } diff --git a/integration-tests/foundation-grouped/pom.xml b/integration-tests/foundation-grouped/pom.xml index 70cf7efb29..741e00836a 100644 --- a/integration-tests/foundation-grouped/pom.xml +++ b/integration-tests/foundation-grouped/pom.xml @@ -96,10 +96,12 @@ org.apache.camel.quarkus camel-quarkus-log + org.apache.camel.quarkus camel-quarkus-mock @@ -210,7 +212,9 @@ ${maven.multiModuleProjectDirectory}/integration-test-groups/foundation ${project.basedir} - src/main/resources/application.properties + src/main/resources/application.properties + +
[camel-quarkus] 01/04: Upgrade Quarkus to 2.15.0.CR1
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 18cb6414bdcefcb9a1095eec453ae3f7731905cc Author: James Netherton AuthorDate: Fri Oct 28 07:24:15 2022 +0100 Upgrade Quarkus to 2.15.0.CR1 --- docs/antora.yml | 2 +- pom.xml | 12 ++-- poms/bom/src/main/generated/flattened-full-pom.xml | 12 ++-- poms/bom/src/main/generated/flattened-reduced-pom.xml| 10 +- .../bom/src/main/generated/flattened-reduced-verbose-pom.xml | 10 +- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/docs/antora.yml b/docs/antora.yml index 347e2c9a10..66590918f5 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -30,7 +30,7 @@ asciidoc: # Project versions camel-version: 3.18.2 # replace ${camel.version} camel-docs-version: 3.18.x # replace ${camel.docs.components.version} -quarkus-version: 2.14.0.Final # replace ${quarkus.version} +quarkus-version: 999-SNAPSHOT # replace ${quarkus.version} graalvm-version: 22.2.0 # replace ${graalvm.version} graalvm-docs-version: 22.2 min-maven-version: 3.8.2 # replace ${min-maven-version} diff --git a/pom.xml b/pom.xml index 5a564c35b4..e21778d8ae 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ 1.0.4 1.0.6 1.0.3 -2.14.0.Final +999-SNAPSHOT 3.0.0 0.39.0 @@ -95,8 +95,8 @@ 1.111 1.7.0 ${google-oauth-client-version} -22.2.0 -1.50.2 +22.3.0 +1.51.0 ${hapi-version} ${hapi-base-version} ${hapi-fhir-version} @@ -124,7 +124,7 @@ 2.4.7 3.3.1 ${kudu-version} -1.7.20 +1.7.21 2.24.0 ${libthrift-version} 1.13.1 @@ -132,11 +132,11 @@ ${squareup-okio-version} 0.31.0 0.25.0 -3.19.6 +3.21.9 3.4.22 ${reactor-netty-version} 2.5.0 - 3.21.0 + 3.22.0 ${spring5-version} 1.33 0.43.1 diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml b/poms/bom/src/main/generated/flattened-full-pom.xml index 7682ff88d1..3c6bb0bf8c 100644 --- a/poms/bom/src/main/generated/flattened-full-pom.xml +++ b/poms/bom/src/main/generated/flattened-full-pom.xml @@ -10069,7 +10069,7 @@ io.smallrye.reactive smallrye-reactive-messaging-camel -3.21.0 +3.22.0 jakarta.activation @@ -10326,12 +10326,12 @@ org.graalvm.js js -22.2.0 +22.3.0 org.graalvm.js js-scriptengine -22.2.0 +22.3.0 org.influxdb @@ -10346,17 +10346,17 @@ org.jetbrains.kotlin kotlin-script-util -1.7.20 +1.7.21 org.jetbrains.kotlin kotlin-scripting-jvm -1.7.20 +1.7.21 org.jetbrains.kotlin kotlin-scripting-jvm-host -1.7.20 +1.7.21 org.jruby.jcodings diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml b/poms/bom/src/main/generated/flattened-reduced-pom.xml index 0324aa3a07..b492b39a41 100644 --- a/poms/bom/src/main/generated/flattened-reduced-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml @@ -10069,7 +10069,7 @@ io.smallrye.reactive smallrye-reactive-messaging-camel -3.21.0 +3.22.0 jakarta.activation @@ -10321,7 +10321,7 @@ org.graalvm.js js -22.2.0 +22.3.0 org.influxdb @@ -10336,17 +10336,17 @@ org.jetbrains.kotlin kotlin-script-util -1.7.20 +1.7.21 org.jetbrains.kotlin kotlin-scripting-jvm -1.7.20 +1.7.21 org.jetbrains.kotlin kotlin-scripting-jvm-host -1.7.20 +1.7.21 org.jruby.jcodings diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml index f04e36fb24..9520cddf76 100644 --- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml @@ -10069,7 +10069,7 @@ io.smallrye.reactive smallrye-reactive-messaging-camel -3.21.0 +3.22.0 jakarta.activation @@ -10321,7 +10321,7 @@ org.graalvm.js js -22.2.0 +22.3.0
[camel-quarkus] 04/04: Add temporary dependency override for JSONata4Java #4294
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit ab01cf97b498e141e5be0188a38ebc6f4c9e791f Author: James Netherton AuthorDate: Fri Nov 25 08:24:15 2022 + Add temporary dependency override for JSONata4Java #4294 --- pom.xml | 1 + poms/bom/pom.xml | 5 + poms/bom/src/main/generated/flattened-full-pom.xml| 5 + poms/bom/src/main/generated/flattened-reduced-pom.xml | 5 + poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 5 + 5 files changed, 21 insertions(+) diff --git a/pom.xml b/pom.xml index e21778d8ae..e2d29c7b2c 100644 --- a/pom.xml +++ b/pom.xml @@ -120,6 +120,7 @@ 6.3.0.202209071007-r 5.6.0 2.1.2 +2.2.4 ${json-path-version} 2.4.7 3.3.1 diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 3b660bfc6c..3a67785200 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -9920,6 +9920,11 @@ core ${zxing.version} + +com.ibm.jsonata4java +JSONata4Java +${jsonata4java.version} + com.jayway.jsonpath json-path diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml b/poms/bom/src/main/generated/flattened-full-pom.xml index 3c6bb0bf8c..0862b2e49f 100644 --- a/poms/bom/src/main/generated/flattened-full-pom.xml +++ b/poms/bom/src/main/generated/flattened-full-pom.xml @@ -9854,6 +9854,11 @@ core 3.3.3 + +com.ibm.jsonata4java +JSONata4Java +2.2.4 + com.jayway.jsonpath json-path diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml b/poms/bom/src/main/generated/flattened-reduced-pom.xml index b492b39a41..eff0bedfa7 100644 --- a/poms/bom/src/main/generated/flattened-reduced-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml @@ -9854,6 +9854,11 @@ core 3.3.3 + +com.ibm.jsonata4java +JSONata4Java +2.2.4 + com.jayway.jsonpath json-path diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml index 9520cddf76..aad3a748ec 100644 --- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml @@ -9854,6 +9854,11 @@ core 3.3.3 + +com.ibm.jsonata4java +JSONata4Java +2.2.4 + com.jayway.jsonpath json-path
[camel-quarkus] branch quarkus-main updated (3639cacfba -> ab01cf97b4)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git discard 3639cacfba Add temporary dependency override for JSONata4Java #4294 discard 8ad5fd6f4d Disable DatasonnetIT due to #4284 discard 0cf3a43308 Disable microprofile-fault-tolerance testing due to #4225 discard 5e7a0f1d4d Upgrade Quarkus to 2.15.0.CR1 add 78c57e4723 Minor tidy up of controlbus extension documentation add 381fd3e8e0 Extend tests with RAW and CXF_MESSAGE dataFormats add 82d853a828 Updated CHANGELOG.md new 18cb6414bd Upgrade Quarkus to 2.15.0.CR1 new 7c9636a92b Disable microprofile-fault-tolerance testing due to #4225 new 2486aef4e9 Disable DatasonnetIT due to #4284 new ab01cf97b4 Add temporary dependency override for JSONata4Java #4294 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 (3639cacfba) \ N -- N -- N refs/heads/quarkus-main (ab01cf97b4) 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: CHANGELOG.md | 2 + .../pages/reference/extensions/controlbus.adoc | 16 +++-- .../runtime/src/main/doc/limitations.adoc | 8 ++- .../controlbus/runtime/src/main/doc/usage.adoc | 8 +-- .../cxf/soap/client/it/CxfSoapClientResource.java | 20 +++ .../cxf/soap/client/it/CxfSoapClientRoutes.java| 43 +- .../cxf/soap/client/it/CxfSoapClientTest.java | 17 ++ .../cxf/soap/server/it/CxfSoapRoutes.java | 69 ++ .../cxf/soap/server/it/CxfSoapServiceTest.java | 8 +++ 9 files changed, 179 insertions(+), 12 deletions(-)
[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-1328178403 Build fixed with: * Camel Quarkus Commit: ab01cf97b498e141e5be0188a38ebc6f4c9e791f * Quarkus Main Commit: 82d853a8285cfdefe3bb74bbba9374b47cf6f051 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/3556365012 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] github-actions[bot] closed issue #2926: [CI] - Quarkus Main Branch Build Failure
github-actions[bot] closed issue #2926: [CI] - Quarkus Main Branch Build Failure URL: https://github.com/apache/camel-quarkus/issues/2926 -- 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-kafka-connector] branch automatic-periodic-sync updated (01d25ed6e -> 004c6178b)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git from 01d25ed6e Updated CHANGELOG.md add 004c6178b [create-pull-request] automated change No new revisions were added by this update. Summary of changes: .../awscloudwatchsink/CamelAwscloudwatchsinkSinkConnector.java | 3 +-- .../awscloudwatchsink/CamelAwscloudwatchsinkSinkConnectorConfig.java | 3 +-- .../awscloudwatchsink/CamelAwscloudwatchsinkSinkTask.java | 3 +-- .../camel/kafkaconnector/awsddbsink/CamelAwsddbsinkSinkConnector.java | 3 +-- .../kafkaconnector/awsddbsink/CamelAwsddbsinkSinkConnectorConfig.java | 3 +-- .../camel/kafkaconnector/awsddbsink/CamelAwsddbsinkSinkTask.java | 3 +-- .../awsddbstreamssource/CamelAwsddbstreamssourceSourceConnector.java | 3 +-- .../CamelAwsddbstreamssourceSourceConnectorConfig.java | 3 +-- .../awsddbstreamssource/CamelAwsddbstreamssourceSourceTask.java| 3 +-- .../camel/kafkaconnector/awsec2sink/CamelAwsec2sinkSinkConnector.java | 3 +-- .../kafkaconnector/awsec2sink/CamelAwsec2sinkSinkConnectorConfig.java | 3 +-- .../camel/kafkaconnector/awsec2sink/CamelAwsec2sinkSinkTask.java | 3 +-- .../awseventbridgesink/CamelAwseventbridgesinkSinkConnector.java | 3 +-- .../awseventbridgesink/CamelAwseventbridgesinkSinkConnectorConfig.java | 3 +-- .../awseventbridgesink/CamelAwseventbridgesinkSinkTask.java| 3 +-- .../CamelAwskinesisfirehosesinkSinkConnector.java | 3 +-- .../CamelAwskinesisfirehosesinkSinkConnectorConfig.java| 3 +-- .../awskinesisfirehosesink/CamelAwskinesisfirehosesinkSinkTask.java| 3 +-- .../awskinesissink/CamelAwskinesissinkSinkConnector.java | 3 +-- .../awskinesissink/CamelAwskinesissinkSinkConnectorConfig.java | 3 +-- .../kafkaconnector/awskinesissink/CamelAwskinesissinkSinkTask.java | 3 +-- .../awskinesissource/CamelAwskinesissourceSourceConnector.java | 3 +-- .../awskinesissource/CamelAwskinesissourceSourceConnectorConfig.java | 3 +-- .../awskinesissource/CamelAwskinesissourceSourceTask.java | 3 +-- .../kafkaconnector/awslambdasink/CamelAwslambdasinkSinkConnector.java | 3 +-- .../awslambdasink/CamelAwslambdasinkSinkConnectorConfig.java | 3 +-- .../camel/kafkaconnector/awslambdasink/CamelAwslambdasinkSinkTask.java | 3 +-- .../awsredshiftsink/CamelAwsredshiftsinkSinkConnector.java | 3 +-- .../awsredshiftsink/CamelAwsredshiftsinkSinkConnectorConfig.java | 3 +-- .../kafkaconnector/awsredshiftsink/CamelAwsredshiftsinkSinkTask.java | 3 +-- .../awsredshiftsource/CamelAwsredshiftsourceSourceConnector.java | 3 +-- .../awsredshiftsource/CamelAwsredshiftsourceSourceConnectorConfig.java | 3 +-- .../awsredshiftsource/CamelAwsredshiftsourceSourceTask.java| 3 +-- .../camel/kafkaconnector/awss3sink/CamelAwss3sinkSinkConnector.java| 3 +-- .../kafkaconnector/awss3sink/CamelAwss3sinkSinkConnectorConfig.java| 3 +-- .../apache/camel/kafkaconnector/awss3sink/CamelAwss3sinkSinkTask.java | 3 +-- .../kafkaconnector/awss3source/CamelAwss3sourceSourceConnector.java| 3 +-- .../awss3source/CamelAwss3sourceSourceConnectorConfig.java | 3 +-- .../camel/kafkaconnector/awss3source/CamelAwss3sourceSourceTask.java | 3 +-- .../CamelAwss3streaminguploadsinkSinkConnector.java| 3 +-- .../CamelAwss3streaminguploadsinkSinkConnectorConfig.java | 3 +-- .../CamelAwss3streaminguploadsinkSinkTask.java | 3 +-- .../awssecretsmanagersink/CamelAwssecretsmanagersinkSinkConnector.java | 3 +-- .../CamelAwssecretsmanagersinkSinkConnectorConfig.java | 3 +-- .../awssecretsmanagersink/CamelAwssecretsmanagersinkSinkTask.java | 3 +-- .../camel/kafkaconnector/awssessink/CamelAwssessinkSinkConnector.java | 3 +-- .../kafkaconnector/awssessink/CamelAwssessinkSinkConnectorConfig.java | 3 +-- .../camel/kafkaconnector/awssessink/CamelAwssessinkSinkTask.java | 3 +-- .../awssnsfifosink/CamelAwssnsfifosinkSinkConnector.java | 3 +-- .../awssnsfifosink/CamelAwssnsfifosinkSinkConnectorConfig.java | 3 +-- .../kafkaconnector/awssnsfifosink/CamelAwssnsfifosinkSinkTask.java | 3 +-- .../camel/kafkaconnector/awssnssink/CamelAwssnssinkSinkConnector.java | 3 +-- .../kafkaconnector/awssnssink/CamelAwssnssinkSinkConnectorConfig.java | 3 +-- .../camel/kafkaconnector/awssnssink/CamelAwssnssinkSinkTask.java | 3 +-- .../awssqsbatchsink/CamelAwssqsbatchsinkSinkConnector.java | 3 +-- .../awssqsbatchsink/CamelAwssqsbatchsinkSinkConnectorConfig.java | 3 +-- .../kafkaconnector/awssqsbatchsink/CamelAwssqsbatchsinkSinkTask.java | 3 +-- .../awssqsfifosink/CamelAwssqsfifosinkSinkConnector.java
[GitHub] [camel-kafka-connector] github-actions[bot] opened a new pull request, #1477: [Github Actions] Periodic Sync Camel-kafka-connector main Branch
github-actions[bot] opened a new pull request, #1477: URL: https://github.com/apache/camel-kafka-connector/pull/1477 Periodic Sync of Camel Kafka connector main Branch with main Camel Main. see https://github.com/apache/camel-kafka-connector/blob/main/.github/workflows/automatic-sync-camel-main.yml -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] u5surf commented on issue #3813: TestRunAndLog refactoring
u5surf commented on issue #3813: URL: https://github.com/apache/camel-k/issues/3813#issuecomment-1328157135 @squakez Hi, I changed the test cases what you said, but It seems to be failed. ``` diff --git a/pkg/util/command_test.go b/pkg/util/command_test.go index 98187b097..d68a2e774 100644 --- a/pkg/util/command_test.go +++ b/pkg/util/command_test.go @@ -52,9 +52,9 @@ func TestRunAndLog(t *testing.T) { } func TestRunAndLogInvalid(t *testing.T) { - cmd := exec.CommandContext(context.Background(), "date", "-dsa") + cmd := exec.CommandContext(context.Background(), "go", "help", "dsa") err := RunAndLog(context.Background(), cmd, loggerInfo, loggerError) assert.NotNil(t, err) - assert.ErrorContains(t, err, "exit status 1") + assert.Equal(t, "go help dsa: unknown help topic. Run 'go help'.: exit status 2", err.Error()) } ``` If we check only phrase of the `: exit status 2`, we can check by assert.ErrorContains, but I'm confusing that it doen't satisfy what you said that "we're not testing what we expect to test as we need to check an additional message beside the exit status 1." ``` --- FAIL: TestRunAndLogInvalid (0.00s) command_test.go:59: Error Trace: /home/u5surf/camel-k/pkg/util/command_test.go:59 Error: Not equal: expected: "go help dsa: unknown help topic. Run 'go help'.: exit status 2" actual : ": exit status 2" Diff: --- Expected +++ Actual @@ -1 +1 @@ -go help dsa: unknown help topic. Run 'go help'.: exit status 2 +: exit status 2 Test: TestRunAndLogInvalid ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2927: [CI] - Camel Main Branch Build Failure
github-actions[bot] commented on issue #2927: URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-1328147644 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 3555948586-844-24d06b97-62fd-4a8f-bf21-f67c548590af * Camel Quarkus Commit: a0566b4409630ebf369b4f20568e000c79ae73b4 * Camel Main Commit: 82d853a8285cfdefe3bb74bbba9374b47cf6f051 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/3555948586 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch automatic-periodic-sync updated (6225c07f766 -> ac318f0418e)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git omit 6225c07f766 [create-pull-request] automated change add 9299a8c0808 [create-pull-request] automated change add 322ee00e390 CAMEL-18754: camel-micrometer - Add auto configuration for capturing metrics. WIP add 212288c1367 Regen add 06db46136bb Regen add ac318f0418e CAMEL-18754: camel-micrometer - Add auto configuration for capturing metrics. 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 (6225c07f766) \ N -- N -- N refs/heads/automatic-periodic-sync (ac318f0418e) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../camel/springboot/catalog/components/hdfs.json | 2 +- .../springboot/catalog/components/splunk-hec.json | 1 + .../camel-micrometer-starter/pom.xml | 10 +++ .../src/main/docs/micrometer.json | 33 + .../MicrometerTagsAutoConfiguration.java | 48 + .../metrics/CamelMetricsAutoConfiguration.java | 71 +++ .../metrics/CamelMetricsConfiguration.java | 82 ++ .../src/main/resources/META-INF/spring.factories | 4 +- 8 files changed, 249 insertions(+), 2 deletions(-) create mode 100644 components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/MicrometerTagsAutoConfiguration.java create mode 100644 components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsAutoConfiguration.java create mode 100644 components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsConfiguration.java
[camel-karaf] branch automatic-periodic-sync updated (548f3cd9 -> 99be5f25)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-karaf.git omit 548f3cd9 [create-pull-request] automated change add 99be5f25 [create-pull-request] automated change 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 (548f3cd9) \ N -- N -- N refs/heads/automatic-periodic-sync (99be5f25) 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-quarkus] ppalaga commented on pull request #4224: Add CXF WS-SecurityPolicy test
ppalaga commented on PR #4224: URL: https://github.com/apache/camel-quarkus/pull/4224#issuecomment-1328121956 Backporting note: for cq 2.13.x, quarkiverse CXF 1.5.7 should be taken instead of quarkiverse CXF 1.6.0 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] 04/04: CAMEL-18754: camel-micrometer - Add auto configuration for capturing metrics.
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 commit ac318f0418e55c56d0fb426607c67a5ceb1f6742 Author: Claus Ibsen AuthorDate: Sat Nov 26 15:08:14 2022 +0100 CAMEL-18754: camel-micrometer - Add auto configuration for capturing metrics. --- .../camel-micrometer-starter/pom.xml | 10 + .../src/main/docs/micrometer.json | 12 +++--- .../MicrometerTagsAutoConfiguration.java | 48 ++ .../CamelMetricsAutoConfiguration.java}| 44 +--- .../CamelMetricsConfiguration.java}| 4 +- .../src/main/resources/META-INF/spring.factories | 3 +- 6 files changed, 88 insertions(+), 33 deletions(-) diff --git a/components-starter/camel-micrometer-starter/pom.xml b/components-starter/camel-micrometer-starter/pom.xml index 9821efd078b..42c632a242e 100644 --- a/components-starter/camel-micrometer-starter/pom.xml +++ b/components-starter/camel-micrometer-starter/pom.xml @@ -34,6 +34,16 @@ spring-boot-starter ${spring-boot-version} + + org.springframework.boot + spring-boot-starter-web + ${spring-boot-version} + + + org.springframework.boot + spring-boot-starter-actuator + ${spring-boot-version} + org.apache.camel camel-micrometer diff --git a/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json b/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json index 3872996642d..e6c174b84c0 100644 --- a/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json +++ b/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json @@ -13,8 +13,8 @@ }, { "name": "camel.metrics", - "type": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration", - "sourceType": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration" + "type": "org.apache.camel.component.micrometer.springboot.metrics.CamelMetricsConfiguration", + "sourceType": "org.apache.camel.component.micrometer.springboot.metrics.CamelMetricsConfiguration" } ], "properties": [ @@ -53,28 +53,28 @@ "name": "camel.metrics.enable-exchange-event-notifier", "type": "java.lang.Boolean", "description": "Set whether to enable the MicrometerExchangeEventNotifier for capturing metrics on exchange processing times.", - "sourceType": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration", + "sourceType": "org.apache.camel.component.micrometer.springboot.metrics.CamelMetricsConfiguration", "defaultValue": true }, { "name": "camel.metrics.enable-message-history", "type": "java.lang.Boolean", "description": "Set whether to enable the MicrometerMessageHistoryFactory for capturing metrics on individual route node processing times. Depending on the number of configured route nodes, there is the potential to create a large volume of metrics. Therefore, this option is disabled by default.", - "sourceType": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration", + "sourceType": "org.apache.camel.component.micrometer.springboot.metrics.CamelMetricsConfiguration", "defaultValue": false }, { "name": "camel.metrics.enable-route-event-notifier", "type": "java.lang.Boolean", "description": "Set whether to enable the MicrometerRouteEventNotifier for capturing metrics on the total number of routes and total number of routes running.", - "sourceType": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration", + "sourceType": "org.apache.camel.component.micrometer.springboot.metrics.CamelMetricsConfiguration", "defaultValue": true }, { "name": "camel.metrics.enable-route-policy", "type": "java.lang.Boolean", "description": "Set whether to enable the MicrometerRoutePolicyFactory for capturing metrics on route processing times.", - "sourceType": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration", + "sourceType": "org.apache.camel.component.micrometer.springboot.metrics.CamelMetricsConfiguration", "defaultValue": true } ], diff --git a/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/MicrometerTagsAutoConfiguration.java b/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/MicrometerTagsAutoConfiguration.java new file mode 100644 index 000..5745cc72aee --- /dev/null +++ b/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/MicrometerTagsAutoConfi
[camel-spring-boot] 02/04: Regen
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git commit 212288c13671b319120704e98fc8bf7c70258a26 Author: Claus Ibsen AuthorDate: Sat Nov 26 12:54:05 2022 +0100 Regen --- .../camel/springboot/catalog/components/hdfs.json | 2 +- .../CamelMicrometerAutoConfiguration.java | 41 +- .../src/main/resources/META-INF/spring.factories | 2 +- 3 files changed, 19 insertions(+), 26 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hdfs.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hdfs.json index 108624560b5..46135f2cda9 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hdfs.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/hdfs.json @@ -61,7 +61,7 @@ "bufferSize": { "kind": "parameter", "displayName": "Buffer Size", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 4096, "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "The buffer size used by HDFS" }, "checkIdleInterval": { "kind": "parameter", "displayName": "Check Idle Interval", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 500, "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "How often (time in millis) in to run the idle checker background task. This option is only in use if the [...] "chunkSize": { "kind": "parameter", "displayName": "Chunk Size", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 4096, "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "When reading a normal file, this is split into chunks producing a message per chunk." }, -"compressionCodec": { "kind": "parameter", "displayName": "Compression Codec", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.hdfs.HdfsCompressionCodec", "enum": [ "DEFAULT", "GZIP", "BZIP2", "SNAPPY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "DEFAULT", "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "The [...] +"compressionCodec": { "kind": "parameter", "displayName": "Compression Codec", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.hdfs.HdfsCompressionCodec", "enum": [ "DEFAULT", "GZIP", "BZIP2", "SNAPPY", "LZ4", "ZSTANDARD" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "DEFAULT", "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", [...] "compressionType": { "kind": "parameter", "displayName": "Compression Type", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.hadoop.io.SequenceFile.CompressionType", "enum": [ "NONE", "RECORD", "BLOCK" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "NONE", "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "The compression type to [...] "openedSuffix": { "kind": "parameter", "displayName": "Opened Suffix", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "opened", "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "When a file is opened for reading\/writing the file is renamed with this suffix to avoid to read it [...] "readSuffix": { "kind": "parameter", "displayName": "Read Suffix", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "read", "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "Once the file has been read is renamed with this suffix to avoid to read
[camel-spring-boot] 03/04: Regen
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git commit 06db46136bb245b2d9014228dcc88896e475ad80 Author: Claus Ibsen AuthorDate: Sat Nov 26 12:59:53 2022 +0100 Regen --- .../org/apache/camel/springboot/catalog/components/splunk-hec.json | 1 + 1 file changed, 1 insertion(+) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/splunk-hec.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/splunk-hec.json index 2acf7ae15ba..04ffbf62046 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/splunk-hec.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/splunk-hec.json @@ -37,6 +37,7 @@ "index": { "kind": "parameter", "displayName": "Index", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "camel", "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Splunk index to write to" }, "source": { "kind": "parameter", "displayName": "Source", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "camel", "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Splunk source argument" }, "sourceType": { "kind": "parameter", "displayName": "Source Type", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "camel", "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Splunk sourcetype argument" }, +"splunkEndpoint": { "kind": "parameter", "displayName": "Splunk Endpoint", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "\/services\/collector\/event", "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Splunk endpoint Defaults to \/services\/collector\/event To writ [...] "time": { "kind": "parameter", "displayName": "Time", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Time this even occurred. By default, the time will be when this event hits the splunk server." }, "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may other [...] "https": { "kind": "parameter", "displayName": "Https", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Contact HEC over https." },
[camel-spring-boot] 01/04: CAMEL-18754: camel-micrometer - Add auto configuration for capturing metrics. WIP
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 commit 322ee00e390d0f6c3f8655b54f8d81b1951d7599 Author: Claus Ibsen AuthorDate: Sat Nov 26 12:53:57 2022 +0100 CAMEL-18754: camel-micrometer - Add auto configuration for capturing metrics. WIP --- .../src/main/docs/micrometer.json | 33 + .../CamelMicrometerAutoConfiguration.java | 82 ++ .../springboot/CamelMicrometerConfiguration.java | 82 ++ .../src/main/resources/META-INF/spring.factories | 3 +- 4 files changed, 199 insertions(+), 1 deletion(-) diff --git a/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json b/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json index c550e60be08..3872996642d 100644 --- a/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json +++ b/components-starter/camel-micrometer-starter/src/main/docs/micrometer.json @@ -10,6 +10,11 @@ "type": "org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties", "sourceType": "org.apache.camel.component.micrometer.springboot.MicrometerComponentConfiguration", "sourceMethod": "getCustomizer()" +}, +{ + "name": "camel.metrics", + "type": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration", + "sourceType": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration" } ], "properties": [ @@ -43,6 +48,34 @@ "type": "io.micrometer.core.instrument.MeterRegistry", "description": "To use a custom configured MetricRegistry. The option is a io.micrometer.core.instrument.MeterRegistry type.", "sourceType": "org.apache.camel.component.micrometer.springboot.MicrometerComponentConfiguration" +}, +{ + "name": "camel.metrics.enable-exchange-event-notifier", + "type": "java.lang.Boolean", + "description": "Set whether to enable the MicrometerExchangeEventNotifier for capturing metrics on exchange processing times.", + "sourceType": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration", + "defaultValue": true +}, +{ + "name": "camel.metrics.enable-message-history", + "type": "java.lang.Boolean", + "description": "Set whether to enable the MicrometerMessageHistoryFactory for capturing metrics on individual route node processing times. Depending on the number of configured route nodes, there is the potential to create a large volume of metrics. Therefore, this option is disabled by default.", + "sourceType": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration", + "defaultValue": false +}, +{ + "name": "camel.metrics.enable-route-event-notifier", + "type": "java.lang.Boolean", + "description": "Set whether to enable the MicrometerRouteEventNotifier for capturing metrics on the total number of routes and total number of routes running.", + "sourceType": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration", + "defaultValue": true +}, +{ + "name": "camel.metrics.enable-route-policy", + "type": "java.lang.Boolean", + "description": "Set whether to enable the MicrometerRoutePolicyFactory for capturing metrics on route processing times.", + "sourceType": "org.apache.camel.component.micrometer.springboot.CamelMicrometerConfiguration", + "defaultValue": true } ], "hints": [] diff --git a/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/CamelMicrometerAutoConfiguration.java b/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/CamelMicrometerAutoConfiguration.java new file mode 100644 index 000..24b8f647855 --- /dev/null +++ b/components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/CamelMicrometerAutoConfiguration.java @@ -0,0 +1,82 @@ +/* + * 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 gover
[camel-spring-boot] branch main updated (9299a8c0808 -> ac318f0418e)
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-spring-boot.git from 9299a8c0808 [create-pull-request] automated change new 322ee00e390 CAMEL-18754: camel-micrometer - Add auto configuration for capturing metrics. WIP new 212288c1367 Regen new 06db46136bb Regen new ac318f0418e CAMEL-18754: camel-micrometer - Add auto configuration for capturing metrics. The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../camel/springboot/catalog/components/hdfs.json | 2 +- .../springboot/catalog/components/splunk-hec.json | 1 + .../camel-micrometer-starter/pom.xml | 10 +++ .../src/main/docs/micrometer.json | 33 + .../MicrometerTagsAutoConfiguration.java | 48 + .../metrics/CamelMetricsAutoConfiguration.java | 71 +++ .../metrics/CamelMetricsConfiguration.java | 82 ++ .../src/main/resources/META-INF/spring.factories | 4 +- 8 files changed, 249 insertions(+), 2 deletions(-) create mode 100644 components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/MicrometerTagsAutoConfiguration.java create mode 100644 components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsAutoConfiguration.java create mode 100644 components-starter/camel-micrometer-starter/src/main/java/org/apache/camel/component/micrometer/springboot/metrics/CamelMetricsConfiguration.java
[GitHub] [camel-k] Kaushik-Iyer opened a new pull request, #3851: Remove KEP cryptic message when installing
Kaushik-Iyer opened a new pull request, #3851: URL: https://github.com/apache/camel-k/pull/3851 Solves #3829 **Release Note** ```release-note NONE ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] mertdotcc opened a new pull request, #3850: fix: type on operator.adoc
mertdotcc opened a new pull request, #3850: URL: https://github.com/apache/camel-k/pull/3850 Fix minor typo on Camel K Operator monitoring docs -- 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 (164f82f6a88 -> 608a71c3b37)
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 164f82f6a88 Regen for commit 732a503b089d042b5bc1b5d10bc547380a77fca9 add 608a71c3b37 Regen for commit 732a503b089d042b5bc1b5d10bc547380a77fca9 (#8781) 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 (164f82f6a88) \ N -- N -- N refs/heads/regen_bot (608a71c3b37) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes:
[camel] branch main updated: Regen for commit 732a503b089d042b5bc1b5d10bc547380a77fca9 (#8781)
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 608a71c3b37 Regen for commit 732a503b089d042b5bc1b5d10bc547380a77fca9 (#8781) 608a71c3b37 is described below commit 608a71c3b37a3c432b9547fbfd9878c7c696de50 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Sat Nov 26 13:41:39 2022 +0100 Regen for commit 732a503b089d042b5bc1b5d10bc547380a77fca9 (#8781) Signed-off-by: GitHub Signed-off-by: GitHub Co-authored-by: davsclaus --- .../component/splunkhec/SplunkHECConfiguration.java | 17 +++-- .../camel/component/splunkhec/SplunkHECProducer.java| 2 +- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECConfiguration.java b/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECConfiguration.java index 6d1695ce67b..60a3f234440 100644 --- a/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECConfiguration.java +++ b/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECConfiguration.java @@ -102,16 +102,14 @@ public class SplunkHECConfiguration { } /** - * Splunk endpoint - * Defaults to /services/collector/event - * To write RAW data like JSON use /services/collector/raw - * For a list of all endpoints refer to splunk documentation (HTTP Event Collector REST API endpoints) - * Example for Spunk 8.2.x: https://docs.splunk.com/Documentation/SplunkCloud/8.2.2203/Data/HECRESTendpoints + * Splunk endpoint Defaults to /services/collector/event To write RAW data like JSON use /services/collector/raw For + * a list of all endpoints refer to splunk documentation (HTTP Event Collector REST API endpoints) Example for Spunk + * 8.2.x: https://docs.splunk.com/Documentation/SplunkCloud/8.2.2203/Data/HECRESTendpoints * - * To extract timestamps in Splunk>8.0 /services/collector/event?auto_extract_timestamp=true - * Remember to utilize RAW{} for questionmarks or slashes in parameters, see: - * https://camel.apache.org/manual/faq/how-do-i-configure-endpoints.html - * #HowdoIconfigureendpoints-Configuringparametervaluesusingrawvalues + * To extract timestamps in Splunk>8.0 /services/collector/event?auto_extract_timestamp=true Remember to utilize + * RAW{} for questionmarks or slashes in parameters, see: + * https://camel.apache.org/manual/faq/how-do-i-configure-endpoints.html + * #HowdoIconfigureendpoints-Configuringparametervaluesusingrawvalues */ public void setSplunkEndpoint(String splunkEndpoint) { this.splunkEndpoint = splunkEndpoint; @@ -176,5 +174,4 @@ public class SplunkHECConfiguration { this.time = time; } - } diff --git a/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECProducer.java b/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECProducer.java index e1c5314ad04..3cdc7bc9be8 100644 --- a/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECProducer.java +++ b/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECProducer.java @@ -73,7 +73,7 @@ public class SplunkHECProducer extends DefaultProducer { HttpPost httppost = new HttpPost( (endpoint.getConfiguration().isHttps() ? "https" : "http") + "://" -+ endpoint.getSplunkURL() + endpoint.getConfiguration().getSplunkEndpoint()); + + endpoint.getSplunkURL() + endpoint.getConfiguration().getSplunkEndpoint()); httppost.addHeader("Authorization", " Splunk " + endpoint.getToken()); EntityTemplate entityTemplate = new EntityTemplate(outputStream -> MAPPER.writer().writeValue(outputStream, payload));
[GitHub] [camel] davsclaus merged pull request #8781: Generated sources regen
davsclaus merged PR #8781: URL: https://github.com/apache/camel/pull/8781 -- 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 (2d12ce1fa8c -> 164f82f6a88)
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 2d12ce1fa8c Regen for commit f0a7bf34258740d1cf66af9efbc9c78f86fa0024 add 2a4ff7f827e Regen add 732a503b089 Update shiro 1.10.1 add 164f82f6a88 Regen for commit 732a503b089d042b5bc1b5d10bc547380a77fca9 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 (2d12ce1fa8c) \ N -- N -- N refs/heads/regen_bot (164f82f6a88) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml| 2 +- .../endpoint/dsl/SplunkHECEndpointBuilderFactory.java | 19 +++ parent/pom.xml| 2 +- 3 files changed, 21 insertions(+), 2 deletions(-)
[GitHub] [camel] github-actions[bot] opened a new pull request, #8781: Generated sources regen
github-actions[bot] opened a new pull request, #8781: URL: https://github.com/apache/camel/pull/8781 Regen bot :robot: found some uncommitted 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 updated (eded67677de -> 2d12ce1fa8c)
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 eded67677de Regen add f0a7bf34258 camel-splunk-hec - Add endpoint url suffix configuration to enable options and raw transports (#8774) add 2d12ce1fa8c Regen for commit f0a7bf34258740d1cf66af9efbc9c78f86fa0024 No new revisions were added by this update. Summary of changes: .../apache/camel/catalog/components/splunk-hec.json | 1 + .../splunkhec/SplunkHECEndpointConfigurer.java | 6 ++ .../splunkhec/SplunkHECEndpointUriFactory.java | 3 ++- .../camel/component/splunkhec/splunk-hec.json | 1 + .../component/splunkhec/SplunkHECConfiguration.java | 21 + .../component/splunkhec/SplunkHECProducer.java | 4 ++-- .../splunkhec/SplunkHECConfigurationTest.java | 6 ++ 7 files changed, 39 insertions(+), 3 deletions(-)
[camel] 02/02: Update shiro 1.10.1
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 commit 732a503b089d042b5bc1b5d10bc547380a77fca9 Author: Claus Ibsen AuthorDate: Sat Nov 26 12:52:56 2022 +0100 Update shiro 1.10.1 --- 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 9c251af95fa..4d4dd39709a 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -487,7 +487,7 @@ 2.11.12 2.9.0 [3,4) -1.9.1 +1.10.1 2.0.0 3.6.3 3.1.4 diff --git a/parent/pom.xml b/parent/pom.xml index 342e2e0dec7..89b71fee0b6 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -473,7 +473,7 @@ 2.13.9 2.9.0 [3,4) -1.9.1 +1.10.1 2.0.0 3.6.3
[camel] 01/02: Regen
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 2a4ff7f827e10525bbd06f0a71ab3f6ff07a1c0b Author: Claus Ibsen AuthorDate: Sat Nov 26 12:52:37 2022 +0100 Regen --- .../apache/camel/catalog/components/splunk-hec.json | 1 + .../endpoint/dsl/SplunkHECEndpointBuilderFactory.java | 19 +++ 2 files changed, 20 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json index acb073ed6c7..5ff292cb02e 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json @@ -37,6 +37,7 @@ "index": { "kind": "parameter", "displayName": "Index", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "camel", "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Splunk index to write to" }, "source": { "kind": "parameter", "displayName": "Source", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "camel", "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Splunk source argument" }, "sourceType": { "kind": "parameter", "displayName": "Source Type", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "camel", "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Splunk sourcetype argument" }, +"splunkEndpoint": { "kind": "parameter", "displayName": "Splunk Endpoint", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "\/services\/collector\/event", "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Splunk endpoint Defaults to \/services\/collector\/event To writ [...] "time": { "kind": "parameter", "displayName": "Time", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Time this even occurred. By default, the time will be when this event hits the splunk server." }, "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may other [...] "https": { "kind": "parameter", "displayName": "Https", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.splunkhec.SplunkHECConfiguration", "configurationField": "configuration", "description": "Contact HEC over https." }, diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SplunkHECEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SplunkHECEndpointBuilderFactory.java index 73db8b43b03..b53e371b115 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SplunkHECEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SplunkHECEndpointBuilderFactory.java @@ -164,6 +164,25 @@ public interface SplunkHECEndpointBuilderFactory { doSetProperty("sourceType", sourceType); return this; } +/** + * Splunk endpoint Defaults to /services/collector/event To write RAW + * data like JSON use /services/collector/raw For a list of all +
[camel] branch main updated (f0a7bf34258 -> 732a503b089)
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 f0a7bf34258 camel-splunk-hec - Add endpoint url suffix configuration to enable options and raw transports (#8774) new 2a4ff7f827e Regen new 732a503b089 Update shiro 1.10.1 The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: camel-dependencies/pom.xml| 2 +- .../apache/camel/catalog/components/splunk-hec.json | 1 + .../endpoint/dsl/SplunkHECEndpointBuilderFactory.java | 19 +++ parent/pom.xml| 2 +- 4 files changed, 22 insertions(+), 2 deletions(-)
[camel] branch main updated: camel-splunk-hec - Add endpoint url suffix configuration to enable options and raw transports (#8774)
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 f0a7bf34258 camel-splunk-hec - Add endpoint url suffix configuration to enable options and raw transports (#8774) f0a7bf34258 is described below commit f0a7bf34258740d1cf66af9efbc9c78f86fa0024 Author: Martin Kremers AuthorDate: Sat Nov 26 12:32:32 2022 +0100 camel-splunk-hec - Add endpoint url suffix configuration to enable options and raw transports (#8774) Signed-off-by: Martin Kremers --- .../splunkhec/SplunkHECEndpointConfigurer.java | 6 ++ .../splunkhec/SplunkHECEndpointUriFactory.java | 3 ++- .../camel/component/splunkhec/splunk-hec.json | 1 + .../splunkhec/SplunkHECConfiguration.java | 24 ++ .../component/splunkhec/SplunkHECProducer.java | 4 ++-- .../splunkhec/SplunkHECConfigurationTest.java | 6 ++ 6 files changed, 41 insertions(+), 3 deletions(-) diff --git a/components/camel-splunk-hec/src/generated/java/org/apache/camel/component/splunkhec/SplunkHECEndpointConfigurer.java b/components/camel-splunk-hec/src/generated/java/org/apache/camel/component/splunkhec/SplunkHECEndpointConfigurer.java index 24bfee9ad62..b87621b0bff 100644 --- a/components/camel-splunk-hec/src/generated/java/org/apache/camel/component/splunkhec/SplunkHECEndpointConfigurer.java +++ b/components/camel-splunk-hec/src/generated/java/org/apache/camel/component/splunkhec/SplunkHECEndpointConfigurer.java @@ -35,6 +35,8 @@ public class SplunkHECEndpointConfigurer extends PropertyConfigurerSupport imple case "source": target.getConfiguration().setSource(property(camelContext, java.lang.String.class, value)); return true; case "sourcetype": case "sourceType": target.getConfiguration().setSourceType(property(camelContext, java.lang.String.class, value)); return true; +case "splunkendpoint": +case "splunkEndpoint": target.getConfiguration().setSplunkEndpoint(property(camelContext, java.lang.String.class, value)); return true; case "time": target.getConfiguration().setTime(property(camelContext, java.lang.Long.class, value)); return true; default: return false; } @@ -57,6 +59,8 @@ public class SplunkHECEndpointConfigurer extends PropertyConfigurerSupport imple case "source": return java.lang.String.class; case "sourcetype": case "sourceType": return java.lang.String.class; +case "splunkendpoint": +case "splunkEndpoint": return java.lang.String.class; case "time": return java.lang.Long.class; default: return null; } @@ -80,6 +84,8 @@ public class SplunkHECEndpointConfigurer extends PropertyConfigurerSupport imple case "source": return target.getConfiguration().getSource(); case "sourcetype": case "sourceType": return target.getConfiguration().getSourceType(); +case "splunkendpoint": +case "splunkEndpoint": return target.getConfiguration().getSplunkEndpoint(); case "time": return target.getConfiguration().getTime(); default: return null; } diff --git a/components/camel-splunk-hec/src/generated/java/org/apache/camel/component/splunkhec/SplunkHECEndpointUriFactory.java b/components/camel-splunk-hec/src/generated/java/org/apache/camel/component/splunkhec/SplunkHECEndpointUriFactory.java index 6f56ca456b4..071689b1ac5 100644 --- a/components/camel-splunk-hec/src/generated/java/org/apache/camel/component/splunkhec/SplunkHECEndpointUriFactory.java +++ b/components/camel-splunk-hec/src/generated/java/org/apache/camel/component/splunkhec/SplunkHECEndpointUriFactory.java @@ -21,7 +21,7 @@ public class SplunkHECEndpointUriFactory extends org.apache.camel.support.compon private static final Set SECRET_PROPERTY_NAMES; private static final Set MULTI_VALUE_PREFIXES; static { -Set props = new HashSet<>(12); +Set props = new HashSet<>(13); props.add("bodyOnly"); props.add("headersOnly"); props.add("host"); @@ -31,6 +31,7 @@ public class SplunkHECEndpointUriFactory extends org.apache.camel.support.compon props.add("skipTlsVerify"); props.add("source"); props.add("sourceType"); +props.add("splunkEndpoint"); props.add("splunkURL"); props.add("time"); props.add("token"); diff --git a/components/camel-splunk-hec/src/generated/resources/org/apache/camel/component/splunkhec/splunk-hec.json b/components/camel-splunk-hec/src/generated/resources/org/apache/camel/component/splunkhec/splunk-hec.json index acb073ed6c7..5ff292cb02e 100644 --- a/components/camel-splunk-hec/src/generated/resources/org/apache/camel/component/splunkhec/splunk-hec.json +++ b/components/camel-splunk-hec/src/g
[GitHub] [camel] davsclaus merged pull request #8774: camel-splunk-hec - Add endpoint url suffix configuration to enable op…
davsclaus merged PR #8774: URL: https://github.com/apache/camel/pull/8774 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] oscerd commented on a diff in pull request #3838: Fix tests related to recent camel-k-runtime changes
oscerd commented on code in PR #3838: URL: https://github.com/apache/camel-k/pull/3838#discussion_r1032763796 ## pkg/util/dsl/template.go: ## @@ -41,7 +41,7 @@ func TemplateToYamlDSL(template v1.Template, id string) ([]byte, error) { jsondata["id"] = id } templateWrapper := make(map[string]interface{}, 2) - templateWrapper["template"] = jsondata Review Comment: +1 for me, I'll wait for @squakez advice -- 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 commented on pull request #8713: Prototype: make span current and clear scope
oscerd commented on PR #8713: URL: https://github.com/apache/camel/pull/8713#issuecomment-1328013886 I'm sorry, too. It was on my to-do list to review this and I forgot about it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #8774: camel-splunk-hec - Add endpoint url suffix configuration to enable op…
github-actions[bot] commented on PR #8774: URL: https://github.com/apache/camel/pull/8774#issuecomment-1328013669 :leftwards_arrow_with_hook: There are either **too many** changes to be tested in this PR or the code **needs be rebased**: (31 components likely to be affected) -- 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 diff in pull request #8646: [CAMEL-18618] Milo component: Return status from write
davsclaus commented on code in PR #8646: URL: https://github.com/apache/camel/pull/8646#discussion_r1032763357 ## components/camel-milo/src/main/java/org/apache/camel/component/milo/client/MiloClientProducer.java: ## @@ -91,7 +92,13 @@ public boolean process(Exchange exchange, AsyncCallback async) { final Boolean await = msg.getHeader(MiloConstants.HEADER_AWAIT, this.defaultAwaitWrites, Boolean.class); if (TRUE.equals(await)) { -future.whenComplete((v, ex) -> async.done(false)); +future.whenComplete((o, throwable) -> { +final DefaultMessage newMessage = new DefaultMessage(exchange); Review Comment: I dont think you need to set a new message as this leads to loosing headers and whatnot. You usually just set the result directly on the message, eg exchange.getMessage().setBody(...) -- 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 pull request #8713: Prototype: make span current and clear scope
davsclaus commented on PR #8713: URL: https://github.com/apache/camel/pull/8713#issuecomment-1328013234 Sorry for not giving this PR attention - however we have been buys (as usual). Observability with open-telemtry and micrometer is important and thanks for helping with this. -- 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 pull request #8778: CAMEL-18731: Add result type and different sources of input data to languages
davsclaus commented on PR #8778: URL: https://github.com/apache/camel/pull/8778#issuecomment-1328013051 Thanks for this great work to cleanup and align the languages. -- 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 (e458fda54f2 -> eded67677de)
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 e458fda54f2 📝 Add SB Autoconfiguration paragraph (#8779) add e21fa754461 CAMEL-18762: camel-hdfs - Add LZ4 and Zstd compression support (#8780) add eded67677de Regen No new revisions were added by this update. Summary of changes: .../org/apache/camel/catalog/components/hdfs.json | 2 +- components/camel-hdfs/pom.xml | 6 ++ .../org/apache/camel/component/hdfs/hdfs.json | 2 +- .../camel/component/hdfs/HdfsCompressionCodec.java | 16 + .../camel/component/hdfs/HdfsProducerTest.java | 77 ++ 5 files changed, 101 insertions(+), 2 deletions(-)
[camel-spring-boot] branch main updated: [create-pull-request] automated change
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-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new 9299a8c0808 [create-pull-request] automated change 9299a8c0808 is described below commit 9299a8c0808515a13ce5bb5c27c1a1815be0f5ff Author: oscerd AuthorDate: Sat Nov 26 01:19:21 2022 + [create-pull-request] automated change --- .../springboot/catalog/components/xquery.json | 1 + .../camel/springboot/catalog/languages/bean.json | 1 + .../springboot/catalog/languages/datasonnet.json | 2 +- .../camel/springboot/catalog/languages/groovy.json | 1 + .../springboot/catalog/languages/hl7terser.json| 3 ++ .../camel/springboot/catalog/languages/joor.json | 2 +- .../camel/springboot/catalog/languages/jq.json | 3 +- .../camel/springboot/catalog/languages/js.json | 1 - .../springboot/catalog/languages/jsonpath.json | 5 +- .../camel/springboot/catalog/languages/mvel.json | 1 + .../camel/springboot/catalog/languages/ognl.json | 1 + .../camel/springboot/catalog/languages/python.json | 1 - .../camel/springboot/catalog/languages/spel.json | 1 + .../camel/springboot/catalog/languages/xpath.json | 3 +- .../camel/springboot/catalog/languages/xquery.json | 4 +- .../springboot/catalog/languages/xtokenize.json| 3 +- .../camel-core-starter/src/main/docs/core.json | 6 +++ .../springboot/TokenizeLanguageConfiguration.java | 13 + .../camel-hl7-starter/src/main/docs/hl7.json | 12 + .../springboot/Hl7TerserLanguageConfiguration.java | 26 ++ .../src/main/docs/javascript.json | 6 --- .../JavaScriptLanguageConfiguration.java | 13 - .../camel-jq-starter/src/main/docs/jq.json | 6 +++ .../jq/springboot/JqLanguageConfiguration.java | 13 + .../src/main/docs/jsonpath.json| 8 +++- .../springboot/JsonPathLanguageConfiguration.java | 30 .../camel-python-starter/src/main/docs/python.json | 6 --- .../springboot/PythonLanguageConfiguration.java| 13 - .../camel-saxon-starter/src/main/docs/saxon.json | 6 +++ .../springboot/XQueryLanguageConfiguration.java| 13 + .../camel-stax-starter/src/main/docs/stax.json | 6 +++ .../XMLTokenizeLanguageConfiguration.java | 13 + .../camel-xpath-starter/src/main/docs/xpath.json | 6 +++ .../springboot/XPathLanguageConfiguration.java | 13 + tooling/camel-spring-boot-dependencies/pom.xml | 56 +++--- 35 files changed, 213 insertions(+), 85 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/xquery.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/xquery.json index 91bc7b4c1d7..9b5417a02ed 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/xquery.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/xquery.json @@ -34,6 +34,7 @@ "allowStAX": { "kind": "parameter", "displayName": "Allow St AX", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to allow using StAX mode" }, "headerName": { "kind": "parameter", "displayName": "Header Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "To use a Camel Message header as the input source instead of Message body." }, "namespacePrefixes": { "kind": "parameter", "displayName": "Namespace Prefixes", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map", "deprecated": false, "autowired": false, "secret": false, "description": "Allows to control which namespace prefixes to use for a set of namespace mappings" }, +"propertyName": { "kind": "parameter", "displayName": "Property Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "To use a Camel Exchange property as the input source instead of Message body. It has a lower precedent than the name of header if both are set." }, "resultsFormat": { "kind": "parameter", "displayName": "Results Format", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.xquery.ResultFormat", "enum": [ "Bytes", "BytesSource", "DOM", "DOMSource", "List", "String", "StringSource" ], "deprecated": false, "autow
[GitHub] [camel-spring-boot] oscerd merged pull request #674: [Github Actions] Periodic Sync Camel Spring Boot Main Branch
oscerd merged PR #674: URL: https://github.com/apache/camel-spring-boot/pull/674 -- 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-karaf] branch main updated: [create-pull-request] automated change
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-karaf.git The following commit(s) were added to refs/heads/main by this push: new 99be5f25 [create-pull-request] automated change 99be5f25 is described below commit 99be5f258dceecda0d81659ec64df4ffd00393db Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Sat Nov 26 01:02:12 2022 + [create-pull-request] automated change --- .../resources/org/apache/camel/catalog/karaf/languages/bean.json | 1 + .../resources/org/apache/camel/catalog/karaf/languages/constant.json | 2 +- .../resources/org/apache/camel/catalog/karaf/languages/csimple.json | 2 +- .../org/apache/camel/catalog/karaf/languages/datasonnet.json | 2 +- .../resources/org/apache/camel/catalog/karaf/languages/file.json | 2 +- .../resources/org/apache/camel/catalog/karaf/languages/groovy.json | 1 + .../org/apache/camel/catalog/karaf/languages/hl7terser.json | 3 +++ .../resources/org/apache/camel/catalog/karaf/languages/joor.json | 2 +- .../main/resources/org/apache/camel/catalog/karaf/languages/jq.json | 3 ++- .../main/resources/org/apache/camel/catalog/karaf/languages/js.json | 1 - .../resources/org/apache/camel/catalog/karaf/languages/jsonpath.json | 5 +++-- .../resources/org/apache/camel/catalog/karaf/languages/mvel.json | 1 + .../resources/org/apache/camel/catalog/karaf/languages/ognl.json | 1 + .../resources/org/apache/camel/catalog/karaf/languages/python.json | 1 - .../main/resources/org/apache/camel/catalog/karaf/languages/ref.json | 1 + .../resources/org/apache/camel/catalog/karaf/languages/simple.json | 2 +- .../resources/org/apache/camel/catalog/karaf/languages/spel.json | 1 + .../resources/org/apache/camel/catalog/karaf/languages/tokenize.json | 3 ++- .../resources/org/apache/camel/catalog/karaf/languages/xpath.json| 3 ++- .../resources/org/apache/camel/catalog/karaf/languages/xquery.json | 4 +++- .../org/apache/camel/catalog/karaf/languages/xtokenize.json | 3 ++- 21 files changed, 29 insertions(+), 15 deletions(-) diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/bean.json b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/bean.json index 60faf895..7824135b 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/bean.json +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/bean.json @@ -20,6 +20,7 @@ "method": { "kind": "attribute", "displayName": "Method", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of method to call" }, "beanType": { "kind": "attribute", "displayName": "Bean Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Class name (fully qualified) of the bean to use Will lookup in registry and if there is a single instance of the same type, then the existing bean is used, otherwise a new bean is created (requires a default no-arg constructor)." }, "scope": { "kind": "attribute", "displayName": "Scope", "label": "advanced", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "Singleton", "Request", "Prototype" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Singleton", "description": "Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent th [...] +"resultType": { "kind": "attribute", "displayName": "Result Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the class of the result type (type from output)" }, "trim": { "kind": "attribute", "displayName": "Trim", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the value to remove leading and trailing whitespaces and line breaks" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" } } diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/languages/constant.json b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/langu
[GitHub] [camel-karaf] oscerd merged pull request #213: [Github Actions] Periodic Sync Camel Karaf Main Branch
oscerd merged PR #213: URL: https://github.com/apache/camel-karaf/pull/213 -- 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 diff in pull request #8774: camel-splunk-hec - Add endpoint url suffix configuration to enable op…
davsclaus commented on code in PR #8774: URL: https://github.com/apache/camel/pull/8774#discussion_r1032757600 ## components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECConfiguration.java: ## @@ -36,6 +36,8 @@ public class SplunkHECConfiguration { private String source = "camel"; @UriParam private String host; +@UriParam(defaultValue = "/services/collector/event") +private String splunkRESTEndpoint = "/services/collector/event"; Review Comment: Thanks that was quick -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: Regen
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 eded67677de Regen eded67677de is described below commit eded67677de4c0c6d634ebb666b05d664a78b70e Author: Claus Ibsen AuthorDate: Sat Nov 26 09:28:00 2022 +0100 Regen --- .../generated/resources/org/apache/camel/catalog/components/hdfs.json | 2 +- .../src/generated/resources/org/apache/camel/component/hdfs/hdfs.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hdfs.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hdfs.json index c7a4535ce23..e3ef623f847 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hdfs.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hdfs.json @@ -61,7 +61,7 @@ "bufferSize": { "kind": "parameter", "displayName": "Buffer Size", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 4096, "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "The buffer size used by HDFS" }, "checkIdleInterval": { "kind": "parameter", "displayName": "Check Idle Interval", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 500, "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "How often (time in millis) in to run the idle checker background task. This option is only in use if the [...] "chunkSize": { "kind": "parameter", "displayName": "Chunk Size", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 4096, "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "When reading a normal file, this is split into chunks producing a message per chunk." }, -"compressionCodec": { "kind": "parameter", "displayName": "Compression Codec", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.hdfs.HdfsCompressionCodec", "enum": [ "DEFAULT", "GZIP", "BZIP2", "SNAPPY" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "DEFAULT", "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "The [...] +"compressionCodec": { "kind": "parameter", "displayName": "Compression Codec", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.hdfs.HdfsCompressionCodec", "enum": [ "DEFAULT", "GZIP", "BZIP2", "SNAPPY", "LZ4", "ZSTANDARD" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "DEFAULT", "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", [...] "compressionType": { "kind": "parameter", "displayName": "Compression Type", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.hadoop.io.SequenceFile.CompressionType", "enum": [ "NONE", "RECORD", "BLOCK" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "NONE", "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "The compression type to [...] "openedSuffix": { "kind": "parameter", "displayName": "Opened Suffix", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "opened", "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "When a file is opened for reading\/writing the file is renamed with this suffix to avoid to read it [...] "readSuffix": { "kind": "parameter", "displayName": "Read Suffix", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "read", "configurationClass": "org.apache.camel.component.hdfs.HdfsConfiguration", "configurationField": "config", "description": "Once the file has been read is renamed with this suffix to avoid to read it again." }, diff --git a/c
[camel] branch regen_bot updated (83d6774519e -> e458fda54f2)
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 83d6774519e Remove duplicate dependency add e458fda54f2 📝 Add SB Autoconfiguration paragraph (#8779) No new revisions were added by this update. Summary of changes: .../src/main/docs/elasticsearch-component.adoc | 13 + 1 file changed, 13 insertions(+)
[GitHub] [camel] kremers commented on a diff in pull request #8774: camel-splunk-hec - Add endpoint url suffix configuration to enable op…
kremers commented on code in PR #8774: URL: https://github.com/apache/camel/pull/8774#discussion_r1032755328 ## components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECConfiguration.java: ## @@ -36,6 +36,8 @@ public class SplunkHECConfiguration { private String source = "camel"; @UriParam private String host; +@UriParam(defaultValue = "/services/collector/event") +private String splunkRESTEndpoint = "/services/collector/event"; Review Comment: Yes, I'll change it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org