[camel] branch main updated: Make sure the tmpdir can't be bypassed
This is an automated email from the ASF dual-hosted git repository. coheigea 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 5cf8212 Make sure the tmpdir can't be bypassed 5cf8212 is described below commit 5cf8212e83728dc5329762c7db31dc0b9408d76f Author: Colm O hEigeartaigh AuthorDate: Wed Jan 26 07:53:12 2022 + Make sure the tmpdir can't be bypassed --- .../src/main/java/org/apache/camel/component/jira/FileConverter.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/camel-jira/src/main/java/org/apache/camel/component/jira/FileConverter.java b/components/camel-jira/src/main/java/org/apache/camel/component/jira/FileConverter.java index 11048af..587dd24 100644 --- a/components/camel-jira/src/main/java/org/apache/camel/component/jira/FileConverter.java +++ b/components/camel-jira/src/main/java/org/apache/camel/component/jira/FileConverter.java @@ -38,6 +38,9 @@ public final class FileConverter { if (body instanceof byte[]) { byte[] bos = (byte[]) body; String destDir = System.getProperty("java.io.tmpdir"); +if (!destDir.endsWith(File.separator)) { +destDir += File.separator; +} file = new File(destDir, genericFile.getFileName()); if (!file.getCanonicalPath().startsWith(destDir)) { throw new IOException("File is not jailed to the destination directory");
[camel-quarkus] branch quarkus-main updated (1ebe43d -> d1cc739)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. discard 1ebe43d Upgrade to Quarkus 2.8.0.CR1 add f8f6cf3 RI-table compatibility table add 097daeb Updated CHANGELOG.md add d378bf9 Bump Optaplanner to 8.16.0.Final and enable CI tests Fixes #3483 add 7936c0a Update Salesforce doc, with more details on setting developer account add 1490868 Remove quarkus.camel.main.enabled configuration property add 1389b06 Manage all Camel artifacts we depend on #3302 add e28af49 Manage ca.uhn.hapi:hapi-base for more determinism accross extensions #3302 add 9714a16 jackson-asl can have a different from jackson1 version on some occassions #3302 add 3b9e5ce Updated CHANGELOG.md new d1cc739 Upgrade to Quarkus 2.8.0.CR1 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (1ebe43d) \ N -- N -- N refs/heads/quarkus-main (d1cc739) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CHANGELOG.md | 9 ++ docs/antora.yml| 2 + docs/modules/ROOT/examples/js/quarkus.js | 6 +- docs/modules/ROOT/pages/index.adoc | 17 +++ docs/modules/ROOT/pages/migration-guide/2.7.0.adoc | 5 + .../ROOT/pages/reference/extensions/core.adoc | 6 - .../core/deployment/CamelContextProcessor.java | 71 .../main/CamelMainHotDeploymentProcessor.java | 3 +- .../main/CamelMainNativeImageProcessor.java| 5 +- .../core/deployment/main/CamelMainProcessor.java | 27 ++--- .../core/deployment/main/spi/CamelMainEnabled.java | 40 --- .../core/deployment/main/DisabledMainTest.java | 79 - extensions-core/core/runtime/pom.xml | 4 - .../camel/quarkus/core/CamelCapabilities.java | 1 - .../apache/camel/quarkus/main/CamelMainConfig.java | 8 -- .../csimple/deployment/CSimpleXmlProcessor.java| 79 +++-- .../component/jfr/deployment/JfrProcessor.java | 3 +- .../deployment/OptaplannerProcessor.java | 9 -- .../deployment/CustomRoutesCollectorProcessor.java | 2 +- integration-tests/main-disabled/pom.xml| 122 - .../camel/quarkus/main/MainDisabledResource.java | 78 - .../MainDisabledRouteConfigurationException.java | 29 - .../main/MainDisabledRouteConfigurations.java | 31 -- .../main/MainDisabledRouteConfigurationsCDI.java | 34 -- .../camel/quarkus/main/MainDisabledRoutes.java | 44 .../camel/quarkus/main/MainDisabledRoutesCDI.java | 47 .../src/main/resources/application.properties | 21 .../apache/camel/quarkus/main/MainDisabledIT.java | 23 .../camel/quarkus/main/MainDisabledTest.java | 85 -- .../optaplanner/it/bootstrap/DataGenerator.java| 4 +- .../component/optaplanner/it/domain/Lesson.java| 2 +- .../component/optaplanner/it/domain/Room.java | 2 +- .../component/optaplanner/it/domain/TimeTable.java | 2 +- .../component/optaplanner/it/domain/Timeslot.java | 2 +- .../it/solver/TimeTableConstraintProvider.java | 2 +- .../src/main/resources/application.properties | 2 +- .../component/optaplanner/it/OptaplannerIT.java| 3 - .../component/optaplanner/it/OptaplannerTest.java | 3 - integration-tests/pom.xml | 1 - integration-tests/salesforce/README.adoc | 2 + pom.xml| 9 +- poms/bom/pom.xml | 121 +++- tooling/scripts/test-categories.yaml | 1 - 43 files changed, 222 insertions(+), 824 deletions(-) delete mode 100644 extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/main/spi/CamelMainEnabled.java delete mode 100644 extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/deployment/main/DisabledMainTest.java delete mode 100644
[camel-quarkus] 01/01: Upgrade to Quarkus 2.8.0.CR1
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit d1cc7397c3a4646b98dca2b18d6287bc9a241d93 Author: James Netherton AuthorDate: Thu Jan 20 07:52:37 2022 + Upgrade to Quarkus 2.8.0.CR1 --- docs/antora.yml | 2 +- pom.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/antora.yml b/docs/antora.yml index 009e4bb..dd716ed 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -31,7 +31,7 @@ asciidoc: target-maven-version: 3.8.4 # replace ${target-maven-version} camel-version: 3.14.0 # replace ${camel.version} camel-docs-version: 3.14.x # replace ${camel.docs.components.version} -quarkus-version: 2.7.0.CR1 # replace ${quarkus.version} +quarkus-version: 999-SNAPSHOT # replace ${quarkus.version} graalvm-version: 21.3.0 # replace ${graalvm.version} graalvm-docs-version: 21.3 # attributes used in xrefs to other Antora components diff --git a/pom.xml b/pom.xml index e35e08c..88f7c2d 100644 --- a/pom.xml +++ b/pom.xml @@ -55,7 +55,7 @@ 1.0.0 2.3.0 1.0.3 -2.7.0.CR1 +999-SNAPSHOT 2.0.0 0.30.0 @@ -113,7 +113,7 @@ 2.1.2 2.4.7 1.1.3 -3.0.0 +3.1.0 ${kudu-version} 1.6.10 ${libthrift-version} @@ -121,7 +121,7 @@ ${mvel-version} ${squareup-okhttp-version} ${squareup-okio-version} -3.19.2 +3.19.3 2.5.0 1.5.3 2.12.15
[camel-quarkus] 02/02: deadLetterChannel does not work in BaseRouteBuilder configure method #3436
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 40710c05eecb2ec852bc8f314d122f169a1f89fb Author: JiriOndrusek AuthorDate: Mon Jan 10 13:26:13 2022 +0100 deadLetterChannel does not work in BaseRouteBuilder configure method #3436 --- .../it/Aws2SqsQuarkusClientTestEnvCustomizer.java | 3 ++ .../component/aws2/sqs/it/DeadLetterBuilder.java | 41 ++ .../quarkus/component/aws2/sqs/it/Aws2SqsTest.java | 20 +++ .../aws2/sqs/it/Aws2SqsTestEnvCustomizer.java | 23 +++- 4 files changed, 86 insertions(+), 1 deletion(-) diff --git a/integration-test-groups/aws2-quarkus-client/aws2-sqs/src/test/java/org/apache/camel/quarkus/component/aws2/sqs/it/Aws2SqsQuarkusClientTestEnvCustomizer.java b/integration-test-groups/aws2-quarkus-client/aws2-sqs/src/test/java/org/apache/camel/quarkus/component/aws2/sqs/it/Aws2SqsQuarkusClientTestEnvCustomizer.java index 361459f..64e290d 100644 --- a/integration-test-groups/aws2-quarkus-client/aws2-sqs/src/test/java/org/apache/camel/quarkus/component/aws2/sqs/it/Aws2SqsQuarkusClientTestEnvCustomizer.java +++ b/integration-test-groups/aws2-quarkus-client/aws2-sqs/src/test/java/org/apache/camel/quarkus/component/aws2/sqs/it/Aws2SqsQuarkusClientTestEnvCustomizer.java @@ -34,6 +34,9 @@ public class Aws2SqsQuarkusClientTestEnvCustomizer extends Aws2SqsTestEnvCustomi super.customize(envContext); +//remove camel properties for client creation to ensure that client is not created by camel component +envContext.removeClient(localstackServices()); + Map envContextProperties = envContext.getProperies(); envContext.property("quarkus.sqs.aws.credentials.static-provider.access-key-id", envContext.getAccessKey()); diff --git a/integration-test-groups/aws2/aws2-sqs/src/main/java/org/apache/camel/quarkus/component/aws2/sqs/it/DeadLetterBuilder.java b/integration-test-groups/aws2/aws2-sqs/src/main/java/org/apache/camel/quarkus/component/aws2/sqs/it/DeadLetterBuilder.java new file mode 100644 index 000..6d611ef --- /dev/null +++ b/integration-test-groups/aws2/aws2-sqs/src/main/java/org/apache/camel/quarkus/component/aws2/sqs/it/DeadLetterBuilder.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.component.aws2.sqs.it; + +import javax.enterprise.context.ApplicationScoped; + +import org.apache.camel.builder.RouteBuilder; +import org.eclipse.microprofile.config.ConfigProvider; + +@ApplicationScoped +public class DeadLetterBuilder extends RouteBuilder { + +@Override +public void configure() { +String name = ConfigProvider.getConfig().getValue("aws-sqs.failing-name", String.class); +String deadLetterName = ConfigProvider.getConfig().getValue("aws-sqs.deadletter-name", String.class); +errorHandler(deadLetterChannel("aws2-sqs://" + deadLetterName) +.log("Error processing message and sending to the Dead Letter Queue: Body: " + body()) +.useOriginalMessage()); + +from("aws2-sqs://" + name) +.process(e -> { +throw new IllegalArgumentException(); +}); + +} +} diff --git a/integration-test-groups/aws2/aws2-sqs/src/test/java/org/apache/camel/quarkus/component/aws2/sqs/it/Aws2SqsTest.java b/integration-test-groups/aws2/aws2-sqs/src/test/java/org/apache/camel/quarkus/component/aws2/sqs/it/Aws2SqsTest.java index b0a928b..87d924e 100644 --- a/integration-test-groups/aws2/aws2-sqs/src/test/java/org/apache/camel/quarkus/component/aws2/sqs/it/Aws2SqsTest.java +++ b/integration-test-groups/aws2/aws2-sqs/src/test/java/org/apache/camel/quarkus/component/aws2/sqs/it/Aws2SqsTest.java @@ -55,6 +55,14 @@ class Aws2SqsTest { return ConfigProvider.getConfig().getValue("aws-sqs.queue-name", String.class); } +private String getPredefinedFailingQueueName() { +return ConfigProvider.getConfig().getValue("aws-sqs.failing-name", String.class); +} + +private String getPredefinedDeadletterQueueName() {
[camel-quarkus] branch camel-main updated (ff0bda6 -> 40710c0)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. discard ff0bda6 deadLetterChannel does not work in BaseRouteBuilder configure method #3436 discard 4387ddd Upgrade to Camel 3.15.0 add d378bf9 Bump Optaplanner to 8.16.0.Final and enable CI tests Fixes #3483 add 7936c0a Update Salesforce doc, with more details on setting developer account add 1490868 Remove quarkus.camel.main.enabled configuration property add 1389b06 Manage all Camel artifacts we depend on #3302 add e28af49 Manage ca.uhn.hapi:hapi-base for more determinism accross extensions #3302 add 9714a16 jackson-asl can have a different from jackson1 version on some occassions #3302 add 3b9e5ce Updated CHANGELOG.md new 3459d9d Upgrade to Camel 3.15.0 new 40710c0 deadLetterChannel does not work in BaseRouteBuilder configure method #3436 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 (ff0bda6) \ N -- N -- N refs/heads/camel-main (40710c0) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CHANGELOG.md | 7 ++ .../{components/ldap.yml => others/management.yml} | 12 +- docs/modules/ROOT/pages/migration-guide/2.7.0.adoc | 5 + .../ROOT/pages/reference/extensions/core.adoc | 6 - .../pages/reference/extensions/management.adoc | 6 + .../core/deployment/CamelContextProcessor.java | 71 .../main/CamelMainHotDeploymentProcessor.java | 3 +- .../main/CamelMainNativeImageProcessor.java| 5 +- .../core/deployment/main/CamelMainProcessor.java | 27 ++--- .../core/deployment/main/spi/CamelMainEnabled.java | 40 --- .../core/deployment/main/DisabledMainTest.java | 79 - extensions-core/core/runtime/pom.xml | 4 - .../camel/quarkus/core/CamelCapabilities.java | 1 - .../apache/camel/quarkus/main/CamelMainConfig.java | 8 -- .../csimple/deployment/CSimpleXmlProcessor.java| 79 +++-- .../component/jfr/deployment/JfrProcessor.java | 3 +- .../deployment/MicroProfileHealthProcessor.java| 3 +- .../deployment/OptaplannerProcessor.java | 9 -- .../deployment/CustomRoutesCollectorProcessor.java | 2 +- integration-tests/main-disabled/pom.xml| 122 - .../camel/quarkus/main/MainDisabledResource.java | 78 - .../MainDisabledRouteConfigurationException.java | 29 - .../main/MainDisabledRouteConfigurations.java | 31 -- .../main/MainDisabledRouteConfigurationsCDI.java | 34 -- .../camel/quarkus/main/MainDisabledRoutes.java | 44 .../camel/quarkus/main/MainDisabledRoutesCDI.java | 47 .../src/main/resources/application.properties | 21 .../apache/camel/quarkus/main/MainDisabledIT.java | 23 .../camel/quarkus/main/MainDisabledTest.java | 85 -- .../optaplanner/it/bootstrap/DataGenerator.java| 4 +- .../component/optaplanner/it/domain/Lesson.java| 2 +- .../component/optaplanner/it/domain/Room.java | 2 +- .../component/optaplanner/it/domain/TimeTable.java | 2 +- .../component/optaplanner/it/domain/Timeslot.java | 2 +- .../it/solver/TimeTableConstraintProvider.java | 2 +- .../src/main/resources/application.properties | 2 +- .../component/optaplanner/it/OptaplannerIT.java| 3 - .../component/optaplanner/it/OptaplannerTest.java | 3 - integration-tests/pom.xml | 1 - integration-tests/salesforce/README.adoc | 2 + pom.xml| 5 +- poms/bom/pom.xml | 121 +++- tooling/scripts/test-categories.yaml | 1 - 43 files changed, 207 insertions(+), 829 deletions(-) copy docs/modules/ROOT/examples/{components/ldap.yml => others/management.yml} (50%) delete mode 100644 extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/main/spi/CamelMainEnabled.java delete mode
[camel] branch regen_bot_3.14.x updated (2cfebb0 -> 7141cb2)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot_3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git. from 2cfebb0 CAMEL-17536 Fixed: ServicePool.doStop hangs during shutdown add 7141cb2 adding an example to setHeader-eip.adoc (#6827) No new revisions were added by this update. Summary of changes: .../src/main/docs/modules/eips/pages/setHeader-eip.adoc| 10 ++ 1 file changed, 10 insertions(+)
[camel] branch regen_bot updated (f7b58aa -> 82681c5)
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 f7b58aa adding an example to setHeader-eip.adoc (#6828) add 82681c5 [CAMEL-4271] JDBCAggregateRepository and Recovery in a Cluster (#6812) No new revisions were added by this update. Summary of changes: .../camel-sql/src/main/docs/sql-component.adoc | 11 ++ .../jdbc/ClusteredJdbcAggregationRepository.java | 203 + ...=> ClusteredPostgresAggregationRepository.java} | 14 +- .../aggregate/jdbc/JdbcAggregationRepository.java | 24 ++- .../jdbc/PostgresAggregationRepository.java| 4 +- ...bstractClusteredJdbcAggregationTestSupport.java | 65 +++ .../jdbc/ClusteredJdbcAggregateRecoverTest.java| 87 + .../aggregate/jdbc/JdbcSpringDataSource.xml| 22 ++- .../camel-sql/src/test/resources/sql/init5.sql | 30 +++ 9 files changed, 442 insertions(+), 18 deletions(-) create mode 100644 components/camel-sql/src/main/java/org/apache/camel/processor/aggregate/jdbc/ClusteredJdbcAggregationRepository.java copy components/camel-sql/src/main/java/org/apache/camel/processor/aggregate/jdbc/{PostgresAggregationRepository.java => ClusteredPostgresAggregationRepository.java} (86%) create mode 100644 components/camel-sql/src/test/java/org/apache/camel/processor/aggregate/jdbc/AbstractClusteredJdbcAggregationTestSupport.java create mode 100644 components/camel-sql/src/test/java/org/apache/camel/processor/aggregate/jdbc/ClusteredJdbcAggregateRecoverTest.java create mode 100644 components/camel-sql/src/test/resources/sql/init5.sql
[camel] branch regen_bot updated (5fdabcd -> f7b58aa)
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 5fdabcd Fix typo in HazelcastSetProducer and disable JDK11 warning (#6826) add f7b58aa adding an example to setHeader-eip.adoc (#6828) No new revisions were added by this update. Summary of changes: .../src/main/docs/modules/eips/pages/setHeader-eip.adoc| 10 ++ 1 file changed, 10 insertions(+)
[camel] branch regen_bot updated (93a8cd7 -> 5fdabcd)
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 93a8cd7 CAMEL-17379: upgrade to optaplanner 8.16.0.Final (#6824) add 5fdabcd Fix typo in HazelcastSetProducer and disable JDK11 warning (#6826) No new revisions were added by this update. Summary of changes: components/camel-hazelcast/pom.xml | 1 + .../org/apache/camel/component/hazelcast/set/HazelcastSetProducer.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
[GitHub] [camel-website] davsclaus commented on pull request #766: chore: camel k 1.8 announcement
davsclaus commented on pull request #766: URL: https://github.com/apache/camel-website/pull/766#issuecomment-1021890344 We should update the date to today, and merge this so it can be published -- 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-kamelets] oscerd commented on issue #736: Bean reference and processors seem to be non-existent
oscerd commented on issue #736: URL: https://github.com/apache/camel-kamelets/issues/736#issuecomment-1021890070 In the past, for camel-k, you were able to pass multiple java/yaml/xml file, while running your integration with kamel run, this behavior has been updated at some point: https://github.com/apache/camel-k/issues/1821 So, no, there is no more "direct" way. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch camel-3.14.x updated: adding an example to setHeader-eip.adoc (#6827)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.14.x by this push: new 7141cb2 adding an example to setHeader-eip.adoc (#6827) 7141cb2 is described below commit 7141cb29eac0c657840c7b4d8c5216b05ec7a842 Author: Chirag AuthorDate: Wed Jan 26 00:54:18 2022 -0500 adding an example to setHeader-eip.adoc (#6827) Updating setHeader-eip.adoc to include a sample of fluent syntax. --- .../src/main/docs/modules/eips/pages/setHeader-eip.adoc| 10 ++ 1 file changed, 10 insertions(+) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/setHeader-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/setHeader-eip.adoc index 671a6e6..2ef8ba9 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/setHeader-eip.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/setHeader-eip.adoc @@ -61,6 +61,16 @@ And in XML: +Header can be set using fluent syntax. + +[source,java] + +from("direct:a") +.setHeader("randomNumber").simple("${random(1,100)}") +.to("direct:b"); + +See xref:components:languages:jsonpath-language.adoc#_using_header_as_input[JSONPath] for another example. + === Setting a header from another header You can also set a header with the value from another header.
[GitHub] [camel] davsclaus merged pull request #6827: adding an example to setHeader-eip.adoc
davsclaus merged pull request #6827: URL: https://github.com/apache/camel/pull/6827 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: [CAMEL-4271] JDBCAggregateRepository and Recovery in a Cluster (#6812)
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 82681c5 [CAMEL-4271] JDBCAggregateRepository and Recovery in a Cluster (#6812) 82681c5 is described below commit 82681c5505ddb7c8fcb2dad59d7fdcf5eb78d437 Author: Benjamin BONNET AuthorDate: Wed Jan 26 06:53:22 2022 +0100 [CAMEL-4271] JDBCAggregateRepository and Recovery in a Cluster (#6812) * CAMEL-4271 : recover task in cluster * Specializing JdbcAggregationRepository for cluster --- .../camel-sql/src/main/docs/sql-component.adoc | 11 ++ .../jdbc/ClusteredJdbcAggregationRepository.java | 203 + ...=> ClusteredPostgresAggregationRepository.java} | 14 +- .../aggregate/jdbc/JdbcAggregationRepository.java | 24 ++- .../jdbc/PostgresAggregationRepository.java| 4 +- ...bstractClusteredJdbcAggregationTestSupport.java | 65 +++ .../jdbc/ClusteredJdbcAggregateRecoverTest.java| 87 + .../aggregate/jdbc/JdbcSpringDataSource.xml| 22 ++- .../camel-sql/src/test/resources/sql/init5.sql | 30 +++ 9 files changed, 442 insertions(+), 18 deletions(-) diff --git a/components/camel-sql/src/main/docs/sql-component.adoc b/components/camel-sql/src/main/docs/sql-component.adoc index 82ba8c0..6988467 100644 --- a/components/camel-sql/src/main/docs/sql-component.adoc +++ b/components/camel-sql/src/main/docs/sql-component.adoc @@ -747,6 +747,17 @@ class="org.apache.camel.processor.aggregate.jdbc.JdbcAggregationRepository"> Propagation is specified by constants of `org.springframework.transaction.TransactionDefinition` interface, so `propagationBehaviorName` is convenient setter that allows to use names of the constants. +=== Clustering +JdbcAggregationRepository does not provide recovery in a clustered environment. + +You may use ClusteredJdbcAggregationRepository that provides a limited support for recovery in a clustered environment : recovery mechanism is dealt separately by members of the cluster, i.e. a member may only recover exchanges that it completed itself. + +To enable this behaviour, property `recoverByInstance` must be set to true, and `instanceId` property must be defined using a unique identifier (a string) for each member of the cluster. + +Besides, completed table must have a `instance_id VARCHAR(255)` column. + +N.B. : since each member is the only responsible for the recovery of its completed exchanges, if a member is stopped, its completed exchanges will not be recovered until it is restarted, unless you update completed table to affect them to another member (by changing `instance_id` for those completed exchanges). + === PostgreSQL case There's special database that may cause problems with optimistic locking used by `JdbcAggregationRepository`. diff --git a/components/camel-sql/src/main/java/org/apache/camel/processor/aggregate/jdbc/ClusteredJdbcAggregationRepository.java b/components/camel-sql/src/main/java/org/apache/camel/processor/aggregate/jdbc/ClusteredJdbcAggregationRepository.java new file mode 100644 index 000..b65f35d --- /dev/null +++ b/components/camel-sql/src/main/java/org/apache/camel/processor/aggregate/jdbc/ClusteredJdbcAggregationRepository.java @@ -0,0 +1,203 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.processor.aggregate.jdbc; + +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Set; + +import javax.sql.DataSource; + +import org.apache.camel.CamelContext; +import org.apache.camel.Exchange; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.jdbc.core.RowMapper; +import org.springframework.jdbc.core.support.AbstractLobCreatingPreparedStatementCallback; +import org.springframework.jdbc.support.lob.LobCreator; +import org.springframework.transaction.PlatformTransactionManager; +import org.springframework.transaction.TransactionStatus; +import
[GitHub] [camel] davsclaus merged pull request #6812: [CAMEL-4271] JDBCAggregateRepository and Recovery in a Cluster
davsclaus merged pull request #6812: URL: https://github.com/apache/camel/pull/6812 -- 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-kamelets] oscerd commented on pull request #737: Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
oscerd commented on pull request #737: URL: https://github.com/apache/camel-kamelets/pull/737#issuecomment-1021888314 It makes sense to backport this on 0.7.x too. -- 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: 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-karaf.git The following commit(s) were added to refs/heads/main by this push: new d7d7738 Regen d7d7738 is described below commit d7d7738517d12f53bd5f6894989d2b1c31536db7 Author: Claus Ibsen AuthorDate: Wed Jan 26 06:49:09 2022 +0100 Regen --- .../apache/camel/catalog/karaf/components/activemq.json| 2 ++ .../org/apache/camel/catalog/karaf/components/amqp.json| 2 ++ .../org/apache/camel/catalog/karaf/components/ftp.json | 1 - .../camel/catalog/karaf/components/google-calendar.json| 8 ++-- .../camel/catalog/karaf/components/google-drive.json | 14 +++--- .../camel/catalog/karaf/components/google-sheets.json | 6 ++ .../org/apache/camel/catalog/karaf/components/jms.json | 2 ++ .../org/apache/camel/catalog/karaf/components/log.json | 2 ++ 8 files changed, 31 insertions(+), 6 deletions(-) diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/activemq.json b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/activemq.json index 1b9a386..7b84617 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/activemq.json +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/activemq.json @@ -52,6 +52,7 @@ "eagerLoadingOfProperties": { "kind": "property", "displayName": "Eager Loading Of Properties", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Enables eager loading of JMS properties and payload as soon [...] "eagerPoisonBody": { "kind": "property", "displayName": "Eager Poison Body", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Poison JMS message due to ${exception.message}", "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "If eagerLoadingOfProperties [...] "exposeListenerSession": { "kind": "property", "displayName": "Expose Listener Session", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Specifies whether the listener session should be exposed when consu [...] +"replyToConsumerType": { "kind": "property", "displayName": "Reply To Consumer Type", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.jms.ConsumerType", "enum": [ "Simple", "Default", "Custom" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Default", "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "des [...] "replyToSameDestinationAllowed": { "kind": "property", "displayName": "Reply To Same Destination Allowed", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Whether a JMS consumer is allowed to send a reply [...] "taskExecutor": { "kind": "property", "displayName": "Task Executor", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.springframework.core.task.TaskExecutor", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Allows you to specify a custom task executor for consuming messages." }, "deliveryDelay": { "kind": "property", "displayName": "Delivery Delay", "group": "producer", "label": "producer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": -1, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Sets
[GitHub] [camel-karavan] davsclaus opened a new issue #158: Upgrade to Camel 3.15.0
davsclaus opened a new issue #158: URL: https://github.com/apache/camel-karavan/issues/158 when its released -- 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 (5fdabcd -> f7b58aa)
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 5fdabcd Fix typo in HazelcastSetProducer and disable JDK11 warning (#6826) add f7b58aa adding an example to setHeader-eip.adoc (#6828) No new revisions were added by this update. Summary of changes: .../src/main/docs/modules/eips/pages/setHeader-eip.adoc| 10 ++ 1 file changed, 10 insertions(+)
[camel] branch main updated (93a8cd7 -> 5fdabcd)
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 93a8cd7 CAMEL-17379: upgrade to optaplanner 8.16.0.Final (#6824) add 5fdabcd Fix typo in HazelcastSetProducer and disable JDK11 warning (#6826) No new revisions were added by this update. Summary of changes: components/camel-hazelcast/pom.xml | 1 + .../org/apache/camel/component/hazelcast/set/HazelcastSetProducer.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
[GitHub] [camel] davsclaus merged pull request #6828: adding an example to setHeader-eip.adoc
davsclaus merged pull request #6828: URL: https://github.com/apache/camel/pull/6828 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] davsclaus merged pull request #6826: Fix typo in HazelcastSetProducer and disable JDK11 warning
davsclaus merged pull request #6826: URL: https://github.com/apache/camel/pull/6826 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 3b9e5ce Updated CHANGELOG.md 3b9e5ce is described below commit 3b9e5ce3d43befd0e4599ed8a8b19b9f6cd044ce Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Jan 26 03:12:47 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 7 +++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8f60b6..76e90c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,18 +6,25 @@ **Closed issues:** +- \[Quarkus 2.7\] Otplanner tests failing with latest Optaplanner version [\#3483](https://github.com/apache/camel-quarkus/issues/3483) - java.lang.IllegalStateException: The stream has no active subscriptions smallrye-reactive-messaging-camel [\#3474](https://github.com/apache/camel-quarkus/issues/3474) - Health check `CamelBeanBuildItem` should use the check id as the name [\#3470](https://github.com/apache/camel-quarkus/issues/3470) - Ban netty-all [\#3464](https://github.com/apache/camel-quarkus/issues/3464) - quarkus 2.6 - debezium mysql error [\#3463](https://github.com/apache/camel-quarkus/issues/3463) - aws2-quarkus-client Verify that no client except quarkus one is used during test [\#3447](https://github.com/apache/camel-quarkus/issues/3447) +- Deprecate / remove `quarkus.camel.main.enabled` configuration property [\#3446](https://github.com/apache/camel-quarkus/issues/3446) - \[Quarkus 2.7.0\] : CI : Found Banned Dependency: commons-logging:commons-logging [\#3421](https://github.com/apache/camel-quarkus/issues/3421) - \[quarkus-main\]crypto test failure in native mode [\#3402](https://github.com/apache/camel-quarkus/issues/3402) - Refactor aws2-quarkus-client-ddb\(s3\) by copying files \(not duplicating\) [\#3236](https://github.com/apache/camel-quarkus/issues/3236) - jsonpath : Unexpected character \('r' \(code 114\)\): was expecting double-quote to start field name [\#2676](https://github.com/apache/camel-quarkus/issues/2676) +- Use Micrometer instead of MP metrics in observability example [\#2487](https://github.com/apache/camel-quarkus/issues/2487) **Merged pull requests:** +- Dependency management tweaks [\#3486](https://github.com/apache/camel-quarkus/pull/3486) ([ppalaga](https://github.com/ppalaga)) +- Remove quarkus.camel.main.enabled configuration property [\#3485](https://github.com/apache/camel-quarkus/pull/3485) ([jamesnetherton](https://github.com/jamesnetherton)) +- Bump Optaplanner to 8.16.0.Final and enable CI tests [\#3484](https://github.com/apache/camel-quarkus/pull/3484) ([zbendhiba](https://github.com/zbendhiba)) +- Update Salesforce doc, with more details on setting developer account [\#3482](https://github.com/apache/camel-quarkus/pull/3482) ([zbendhiba](https://github.com/zbendhiba)) - camel-website \#701 camel-quarkus RI table setup \(main\) [\#3477](https://github.com/apache/camel-quarkus/pull/3477) ([djencks](https://github.com/djencks)) - Add NOTE section for smallrye-reactive-messaging usage docs [\#3476](https://github.com/apache/camel-quarkus/pull/3476) ([jamesnetherton](https://github.com/jamesnetherton)) - Avoid creating `CamelBeanBuildItem` for health checks if they are disabled [\#3475](https://github.com/apache/camel-quarkus/pull/3475) ([jamesnetherton](https://github.com/jamesnetherton))
[camel-k] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/main by this push: new aa14889 Updated CHANGELOG.md aa14889 is described below commit aa14889d03c27d27b6b03e8f07948cbdcd662957 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Jan 26 03:09:55 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5113c5..7bbb066 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Closed issues:** +- Enabling prometheus causes KameletBindings to be stuck in status "Creating" [\#2896](https://github.com/apache/camel-k/issues/2896) - Stale bot is setting issue `stale` where marked as `never-stale` [\#2893](https://github.com/apache/camel-k/issues/2893) - camel-k-client binary is missing in the latest release assets [\#2892](https://github.com/apache/camel-k/issues/2892) - Release 1.8.0 [\#2848](https://github.com/apache/camel-k/issues/2848) @@ -13,6 +14,7 @@ **Merged pull requests:** +- fix: Fix number of found deployments in dump [\#2933](https://github.com/apache/camel-k/pull/2933) ([christophd](https://github.com/christophd)) - chore: Bump version to 1.9.0-SNAPSHOT [\#2930](https://github.com/apache/camel-k/pull/2930) ([astefanutti](https://github.com/astefanutti)) - fix: Camel Catalog generation fails with empty Maven effective settings [\#2929](https://github.com/apache/camel-k/pull/2929) ([astefanutti](https://github.com/astefanutti)) - Release Documentation: It's release-helm and not generate-helm command [\#2919](https://github.com/apache/camel-k/pull/2919) ([oscerd](https://github.com/oscerd))
[camel-kafka-connector] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/main by this push: new 66331e1 Updated CHANGELOG.md 66331e1 is described below commit 66331e14e887ff423fe7d94b6ea408122156c591 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Jan 26 03:03:45 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b131e8b..0ce90de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Closed issues:** +- UNAUTHENTICATED: Credentials require channel with PRIVACY\_AND\_INTEGRITY security level. Observed security level: NONE [\#1330](https://github.com/apache/camel-kafka-connector/issues/1330) - Connectors Webpage Links to Older Version [\#1326](https://github.com/apache/camel-kafka-connector/issues/1326) - Pubsub kafka connector error: java.net.UnknownHostException: pubsub.googleapis.com: Name or service not known [\#1319](https://github.com/apache/camel-kafka-connector/issues/1319) - camel-salesforce-kafka-connector-0.11.0 There is an Exception during HANDSHAKE: Invalid protocol null [\#1304](https://github.com/apache/camel-kafka-connector/issues/1304)
[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-1021816390 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 1748351712-539-ebaea2ef-8259-4603-b1a9-fbe3bf81df6b * Camel Quarkus Commit: e12ef53e256118043c8ffbacba9d8b655ff3d6a1 * Camel Main Commit: 9714a1635358ce7181f23eda03e616805cfe6386 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1748351712 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2926: [CI] - Quarkus Main Branch Build Failure
github-actions[bot] commented on issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-1021799146 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 1748738359-643-93bc3696-e7bf-4a35-807f-ef26b54c3643 * Camel Quarkus Commit: 1ebe43d6c5c4293f4f70a4f62ed533c2e32c1767 * Quarkus Main Commit: Unknown * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1748738359 -- 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] chiragsanghavi opened a new pull request #6828: adding an example to setHeader-eip.adoc
chiragsanghavi opened a new pull request #6828: URL: https://github.com/apache/camel/pull/6828 Updating setHeader-eip.adoc to include a sample of fluent syntax. -- 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] chiragsanghavi opened a new pull request #6827: adding an example to setHeader-eip.adoc
chiragsanghavi opened a new pull request #6827: URL: https://github.com/apache/camel/pull/6827 Updating setHeader-eip.adoc to include a sample of fluent syntax. -- 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] bonnetb commented on pull request #6812: [CAMEL-4271] JDBCAggregateRepository and Recovery in a Cluster
bonnetb commented on pull request #6812: URL: https://github.com/apache/camel/pull/6812#issuecomment-1021695451 Back to main JdbcAggretationRepository, changing field visibility and I extended it in ClusteredJdbcAggregationRepository, updated doc, and added a JUnit test. -- 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] zbendhiba opened a new pull request #6826: Fix typo in HazelcastSetProducer and disable JDK11 warning
zbendhiba opened a new pull request #6826: URL: https://github.com/apache/camel/pull/6826 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] branch asf-site updated (ee2cad7 -> 291113b)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website.git. discard ee2cad7 Website updated to 581abd16f377c42f7b744323339f198a1c0dd9b5 discard 2996396 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 22012ac Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 291113b Website updated to d00cb1e02a0d1eac5cbc0936884b3130101589fe 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 (ee2cad7) \ N -- N -- N refs/heads/asf-site (291113b) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .htaccess | 52 +- camel-kamelets/next/aws-s3-source.html| 10 +- camel-quarkus/next/migration-guide/2.7.0.html |2 +- camel-quarkus/next/reference/extensions/core.html |2 +- community/index.xml |2 +- community/team/index.html |2 +- components/next/debezium-mysql-component.html |2 +- components/next/log-component.html|2 +- index.xml |2 +- manual/camel-jbang.html |6 +- manual/what-are-the-dependencies.html |2 +- site-manifest.json|2 +- sitemap-camel-k.xml | 1054 +-- sitemap-camel-kafka-connector.xml | 1706 ++--- sitemap-camel-kamelets.xml| 1246 ++-- sitemap-camel-karaf.xml | 82 +- sitemap-camel-quarkus.xml | 2774 sitemap-camel-spring-boot.xml | 62 +- sitemap-components.xml| 7900 ++--- sitemap-manual.xml| 386 +- 20 files changed, 7646 insertions(+), 7650 deletions(-)
[camel] branch regen_bot updated (e4f0b72 -> 93a8cd7)
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 e4f0b72 CAMEL-17550: Use same-version image container f... add 6b5f64a Fix typo add 93a8cd7 CAMEL-17379: upgrade to optaplanner 8.16.0.Final (#6824) No new revisions were added by this update. Summary of changes: .../camel-debezium-mysql/src/main/docs/debezium-mysql-component.adoc| 2 +- .../org/apache/camel/component/optaplanner/daemonSolverConfig.xml | 2 +- .../resources/org/apache/camel/component/optaplanner/solverConfig.xml | 2 +- parent/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
[GitHub] [camel-k] phantomjinx commented on a change in pull request #2711: E2E development allowing injection of secrets denoting testing on custom clusters
phantomjinx commented on a change in pull request #2711: URL: https://github.com/apache/camel-k/pull/2711#discussion_r792026301 ## File path: config/rbac/kustomization.yaml ## @@ -25,6 +25,7 @@ resources: - user-cluster-role.yaml - operator-role-events.yaml - operator-role-knative.yaml +- operator-role-olm.yaml Review comment: There is a [tecton test](https://github.com/apache/camel-k/blob/main/e2e/common/tekton_test.go) which installs kamel, executed by the camel-k-operator service-account. On OCP, the OLM is available hence it tries to install via that mechanism but throws permission errors as the SA has no privileges for subscriptions etc... Therefore, this role allows this test to pass. -- 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] phantomjinx commented on a change in pull request #2711: E2E development allowing injection of secrets denoting testing on custom clusters
phantomjinx commented on a change in pull request #2711: URL: https://github.com/apache/camel-k/pull/2711#discussion_r792026301 ## File path: config/rbac/kustomization.yaml ## @@ -25,6 +25,7 @@ resources: - user-cluster-role.yaml - operator-role-events.yaml - operator-role-knative.yaml +- operator-role-olm.yaml Review comment: There is a [tecton test](https://github.com/apache/camel-k/blob/main/e2e/common/tekton_test.go) which installs kamel, executed by the camel-k-operator service-account. On OCP, the OLM is available hence it tries to install via the mechanism but throws permission errors as the SA has no privileges for subscriptions etc... Therefore, this role allows this test to pass. -- 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] phantomjinx commented on a change in pull request #2711: E2E development allowing injection of secrets denoting testing on custom clusters
phantomjinx commented on a change in pull request #2711: URL: https://github.com/apache/camel-k/pull/2711#discussion_r792026301 ## File path: config/rbac/kustomization.yaml ## @@ -25,6 +25,7 @@ resources: - user-cluster-role.yaml - operator-role-events.yaml - operator-role-knative.yaml +- operator-role-olm.yaml Review comment: There is a [tecton test](https://github.com/apache/camel-k/blob/main/e2e/common/tekton_test.go) which installs kamel and is executed by the camel-k-operator service-account. On OCP, the OLM is available hence it tries to install via the mechanism but throws permission errors as the SA has no privileges for subscriptions etc... Therefore, this role allows this test to pass. -- 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] phantomjinx commented on a change in pull request #2711: E2E development allowing injection of secrets denoting testing on custom clusters
phantomjinx commented on a change in pull request #2711: URL: https://github.com/apache/camel-k/pull/2711#discussion_r792026301 ## File path: config/rbac/kustomization.yaml ## @@ -25,6 +25,7 @@ resources: - user-cluster-role.yaml - operator-role-events.yaml - operator-role-knative.yaml +- operator-role-olm.yaml Review comment: There is a tecton test which installs kamel and is executed by the camel-k-operator service-account. On OCP, the OLM is available hence it tries to install via the mechanism but throws permission errors as the SA has no privileges for subscriptions etc... Therefore, this role allows this test to pass. -- 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] phantomjinx commented on a change in pull request #2711: E2E development allowing injection of secrets denoting testing on custom clusters
phantomjinx commented on a change in pull request #2711: URL: https://github.com/apache/camel-k/pull/2711#discussion_r792023934 ## File path: e2e/common/operator_metrics_test.go ## @@ -171,6 +172,17 @@ func TestMetrics(t *testing.T) { )) }) + /* +* TODO +* The duration_seconds tests keep randomly failing on OCP4 with slightly different duration values +* May need to lessen the strict checking parameters +* +* Adding CAMEL_K_TEST_SKIP_PROBLEMATIC env var for the moment. +*/ + if os.Getenv("CAMEL_K_TEST_SKIP_PROBLEMATIC") == "true" { Review comment: That is the case. Only in the nightly OCP test suite is CAMEL_K_TEST_SKIP_PROBLEMATIC set to "true". Upstream is empty. -- 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-kamelets] dbaggett commented on issue #736: Bean reference and processors seem to be non-existent
dbaggett commented on issue #736: URL: https://github.com/apache/camel-kamelets/issues/736#issuecomment-1021500512 Yes, new camel-k user here. I see and that's where https://camel.apache.org/camel-k/1.7.x/configuration/dependencies.html would come in. I assume there's not a more "direct" way to make that dependency available atm? -- 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-kamelets] oscerd commented on issue #736: Bean reference and processors seem to be non-existent
oscerd commented on issue #736: URL: https://github.com/apache/camel-kamelets/issues/736#issuecomment-1021494275 You need to pack it in a dependency, like jitpack or a maven one and reference it in your project. You're using camel-k right? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] dbaggett commented on issue #736: Bean reference and processors seem to be non-existent
dbaggett commented on issue #736: URL: https://github.com/apache/camel-kamelets/issues/736#issuecomment-1021493513 Ok picture is clearer now, I found it https://github.com/apache/camel-kamelets/blob/0.5.x/library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/transform/ExtractField.java. Part of my previous question remains, how would you make a custom bean like this available in the k8s environment. -- 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-kamelets] dbaggett removed a comment on issue #736: Bean reference and processors seem to be non-existent
dbaggett removed a comment on issue #736: URL: https://github.com/apache/camel-kamelets/issues/736#issuecomment-1021490271 Nvm part of my last response on "org.apache.camel.kamelets.utils.transform.ExtractField", I see you linked 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
[camel] branch regen_bot updated (6b5f64a -> e4f0b72)
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 6b5f64a Fix typo This update removed existing revisions from the reference, leaving the reference pointing at a previous point in the repository history. * -- * -- N refs/heads/regen_bot (e4f0b72) \ O -- O -- O (6b5f64a) 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-debezium-mysql/src/main/docs/debezium-mysql-component.adoc| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[GitHub] [camel-kamelets] dbaggett commented on issue #736: Bean reference and processors seem to be non-existent
dbaggett commented on issue #736: URL: https://github.com/apache/camel-kamelets/issues/736#issuecomment-1021490271 Nvm part of my last response on "org.apache.camel.kamelets.utils.transform.ExtractField", I see you linked 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
[camel-website] branch main updated: Add Karen Lease to committers
This is an automated email from the ASF dual-hosted git repository. klease pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git The following commit(s) were added to refs/heads/main by this push: new d00cb1e Add Karen Lease to committers d00cb1e is described below commit d00cb1e02a0d1eac5cbc0936884b3130101589fe Author: klease AuthorDate: Tue Jan 25 19:33:52 2022 +0100 Add Karen Lease to committers --- content/community/team.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/community/team.md b/content/community/team.md index 8dbaab1..1366e08 100644 --- a/content/community/team.md +++ b/content/community/team.md @@ -51,6 +51,7 @@ When posting to the mailing lists, use plain text mails. Do not use HTML mails. | Jonathan Anstey| janstey | Red Hat| | James Netherton| | Red Hat| | James Strachan | jstrachan|| +| Karen Lease| klease || | Luca Burgazzoli| lburgazzoli | Red Hat| | Martin Krasser | krasserm || | Nicky Sandhu | nsandhu ||
[GitHub] [camel-kamelets] dbaggett commented on issue #736: Bean reference and processors seem to be non-existent
dbaggett commented on issue #736: URL: https://github.com/apache/camel-kamelets/issues/736#issuecomment-1021487911 This is getting me closer than before, so yes, big help indeed. I am still a little fuzzy on how to pull all this together though. Would it be possible to see the definition for "org.apache.camel.kamelets.utils.transform.ExtractField". It's not quite clear how you would define that with yaml. Also, what steps would you need to take to make the bean available in your own flow? Please forgive me if this is documented somewhere. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: CAMEL-17379: upgrade to optaplanner 8.16.0.Final (#6824)
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 93a8cd7 CAMEL-17379: upgrade to optaplanner 8.16.0.Final (#6824) 93a8cd7 is described below commit 93a8cd7dac6c920e0a66a067084056701d283a89 Author: Zineb BENDHIBA AuthorDate: Tue Jan 25 19:27:38 2022 +0100 CAMEL-17379: upgrade to optaplanner 8.16.0.Final (#6824) --- .../org/apache/camel/component/optaplanner/daemonSolverConfig.xml | 2 +- .../resources/org/apache/camel/component/optaplanner/solverConfig.xml | 2 +- parent/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/camel-optaplanner/src/test/resources/org/apache/camel/component/optaplanner/daemonSolverConfig.xml b/components/camel-optaplanner/src/test/resources/org/apache/camel/component/optaplanner/daemonSolverConfig.xml index 7407971..18fea1b 100644 --- a/components/camel-optaplanner/src/test/resources/org/apache/camel/component/optaplanner/daemonSolverConfig.xml +++ b/components/camel-optaplanner/src/test/resources/org/apache/camel/component/optaplanner/daemonSolverConfig.xml @@ -32,7 +32,7 @@ - org/optaplanner/examples/cloudbalancing/solver/cloudBalancingConstraints.drl + org/optaplanner/examples/cloudbalancing/optional/score/cloudBalancingConstraints.drl diff --git a/components/camel-optaplanner/src/test/resources/org/apache/camel/component/optaplanner/solverConfig.xml b/components/camel-optaplanner/src/test/resources/org/apache/camel/component/optaplanner/solverConfig.xml index 6c6b8d8..c6b3130 100644 --- a/components/camel-optaplanner/src/test/resources/org/apache/camel/component/optaplanner/solverConfig.xml +++ b/components/camel-optaplanner/src/test/resources/org/apache/camel/component/optaplanner/solverConfig.xml @@ -28,7 +28,7 @@ - org/optaplanner/examples/cloudbalancing/solver/cloudBalancingConstraints.drl + org/optaplanner/examples/cloudbalancing/optional/score/cloudBalancingConstraints.drl diff --git a/parent/pom.xml b/parent/pom.xml index f25376c..b89c22a 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -433,7 +433,7 @@ 0.33.0 0.1.8 -8.9.1.Final +8.16.0.Final 1.7.0 1.2.5 2.7
[GitHub] [camel] davsclaus merged pull request #6824: CAMEL-17379: upgrade to optaplanner 8.16.0.Final
davsclaus merged pull request #6824: URL: https://github.com/apache/camel/pull/6824 -- 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 (e4f0b72 -> 6b5f64a)
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 e4f0b72 CAMEL-17550: Use same-version image container f... add 6b5f64a Fix typo No new revisions were added by this update. Summary of changes: .../camel-debezium-mysql/src/main/docs/debezium-mysql-component.adoc| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[camel] branch regen_bot updated (e9ad569 -> e4f0b72)
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 e9ad569 Regen for commit 96ece733aa11fb65174541afbf139f9ea687964c (#6822) add e4f0b72 CAMEL-17550: Use same-version image container f... No new revisions were added by this update. Summary of changes: components/camel-pulsar/pom.xml | 3 +++ 1 file changed, 3 insertions(+)
[camel-kamelets] branch regen_bot updated (971c39e -> 0bab919)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git. from 971c39e Fix #729 to use toD for dynamic to eip add cc71e06 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source add 6a8f7a9 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source add 0bab919 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source No new revisions were added by this update. Summary of changes: kamelets/aws-s3-source.kamelet.yaml | 20 +++- .../resources/kamelets/aws-s3-source.kamelet.yaml| 20 +++- 2 files changed, 30 insertions(+), 10 deletions(-)
[GitHub] [camel-kamelets] oscerd merged pull request #737: Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
oscerd merged pull request #737: URL: https://github.com/apache/camel-kamelets/pull/737 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] 02/03: Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 6a8f7a9744254bd5f807040047b0d513d912cdbd Author: Andrea Cosentino AuthorDate: Tue Jan 25 18:30:04 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source --- kamelets/aws-s3-source.kamelet.yaml | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kamelets/aws-s3-source.kamelet.yaml b/kamelets/aws-s3-source.kamelet.yaml index 6d7cf7c..1b63ebf 100644 --- a/kamelets/aws-s3-source.kamelet.yaml +++ b/kamelets/aws-s3-source.kamelet.yaml @@ -14,7 +14,11 @@ spec: definition: title: "AWS S3 Source" description: |- - Receive data from AWS S3. + Receive data from AWS S3 Bucket. + + Access Key/Secret Key are the basic method for authenticating to the AWS S3 Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the S3 client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - bucketNameOrArn - region
[camel-kamelets] 01/03: Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit cc71e06a3b33ede2f0ce51fd5af17195a696830e Author: Andrea Cosentino AuthorDate: Tue Jan 25 18:17:44 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source --- kamelets/aws-s3-source.kamelet.yaml| 14 ++ .../src/main/resources/kamelets/aws-s3-source.kamelet.yaml | 14 ++ 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/kamelets/aws-s3-source.kamelet.yaml b/kamelets/aws-s3-source.kamelet.yaml index c049040..6d7cf7c 100644 --- a/kamelets/aws-s3-source.kamelet.yaml +++ b/kamelets/aws-s3-source.kamelet.yaml @@ -17,8 +17,6 @@ spec: Receive data from AWS S3. required: - bucketNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -80,6 +78,13 @@ spec: x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox' default: false + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-s3" - "camel:kamelet" @@ -88,12 +93,13 @@ spec: uri: "aws2-s3:{{bucketNameOrArn}}" parameters: autoCreateBucket: "{{autoCreateBucket}}" -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" includeBody: "{{includeBody}}" ignoreBody: "{{ignoreBody}}" deleteAfterRead: "{{deleteAfterRead}}" prefix: "{{?prefix}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" steps: - to: "kamelet:sink" diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml index c049040..6d7cf7c 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml @@ -17,8 +17,6 @@ spec: Receive data from AWS S3. required: - bucketNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -80,6 +78,13 @@ spec: x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox' default: false + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-s3" - "camel:kamelet" @@ -88,12 +93,13 @@ spec: uri: "aws2-s3:{{bucketNameOrArn}}" parameters: autoCreateBucket: "{{autoCreateBucket}}" -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" includeBody: "{{includeBody}}" ignoreBody: "{{ignoreBody}}" deleteAfterRead: "{{deleteAfterRead}}" prefix: "{{?prefix}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" steps: - to: "kamelet:sink"
[camel-kamelets] 03/03: Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 0bab919912f45107c27a1c540df65ea7daf60478 Author: Andrea Cosentino AuthorDate: Tue Jan 25 18:39:00 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source --- .../src/main/resources/kamelets/aws-s3-source.kamelet.yaml | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml index 6d7cf7c..1b63ebf 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml @@ -14,7 +14,11 @@ spec: definition: title: "AWS S3 Source" description: |- - Receive data from AWS S3. + Receive data from AWS S3 Bucket. + + Access Key/Secret Key are the basic method for authenticating to the AWS S3 Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the S3 client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - bucketNameOrArn - region
[camel-kamelets] branch main updated (971c39e -> 0bab919)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git. from 971c39e Fix #729 to use toD for dynamic to eip new cc71e06 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source new 6a8f7a9 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source new 0bab919 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source The 3 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: kamelets/aws-s3-source.kamelet.yaml | 20 +++- .../resources/kamelets/aws-s3-source.kamelet.yaml| 20 +++- 2 files changed, 30 insertions(+), 10 deletions(-)
[GitHub] [camel-kamelets] oscerd opened a new pull request #737: Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
oscerd opened a new pull request #737: URL: https://github.com/apache/camel-kamelets/pull/737 Related to #735 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] 03/03: Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-default-cred-provider in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 7ffb9c706ae4dc797dda812aad1e347ab4757275 Author: Andrea Cosentino AuthorDate: Tue Jan 25 18:39:00 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source --- .../src/main/resources/kamelets/aws-s3-source.kamelet.yaml | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml index 6d7cf7c..1b63ebf 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml @@ -14,7 +14,11 @@ spec: definition: title: "AWS S3 Source" description: |- - Receive data from AWS S3. + Receive data from AWS S3 Bucket. + + Access Key/Secret Key are the basic method for authenticating to the AWS S3 Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the S3 client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - bucketNameOrArn - region
[camel-kamelets] 02/03: Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-default-cred-provider in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit edba49665bf5a691370798c380ff606e929c3f5c Author: Andrea Cosentino AuthorDate: Tue Jan 25 18:30:04 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source --- kamelets/aws-s3-source.kamelet.yaml | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kamelets/aws-s3-source.kamelet.yaml b/kamelets/aws-s3-source.kamelet.yaml index 6d7cf7c..1b63ebf 100644 --- a/kamelets/aws-s3-source.kamelet.yaml +++ b/kamelets/aws-s3-source.kamelet.yaml @@ -14,7 +14,11 @@ spec: definition: title: "AWS S3 Source" description: |- - Receive data from AWS S3. + Receive data from AWS S3 Bucket. + + Access Key/Secret Key are the basic method for authenticating to the AWS S3 Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the S3 client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - bucketNameOrArn - region
[camel-kamelets] branch 735-default-cred-provider created (now 7ffb9c7)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch 735-default-cred-provider in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git. at 7ffb9c7 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source This branch includes the following new commits: new 6d9eb9e Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source new edba496 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source new 7ffb9c7 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[camel-kamelets] 01/03: Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-default-cred-provider in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 6d9eb9e5d068d5a4945df2b002192bde6096b010 Author: Andrea Cosentino AuthorDate: Tue Jan 25 18:17:44 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Source --- kamelets/aws-s3-source.kamelet.yaml| 14 ++ .../src/main/resources/kamelets/aws-s3-source.kamelet.yaml | 14 ++ 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/kamelets/aws-s3-source.kamelet.yaml b/kamelets/aws-s3-source.kamelet.yaml index c049040..6d7cf7c 100644 --- a/kamelets/aws-s3-source.kamelet.yaml +++ b/kamelets/aws-s3-source.kamelet.yaml @@ -17,8 +17,6 @@ spec: Receive data from AWS S3. required: - bucketNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -80,6 +78,13 @@ spec: x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox' default: false + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-s3" - "camel:kamelet" @@ -88,12 +93,13 @@ spec: uri: "aws2-s3:{{bucketNameOrArn}}" parameters: autoCreateBucket: "{{autoCreateBucket}}" -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" includeBody: "{{includeBody}}" ignoreBody: "{{ignoreBody}}" deleteAfterRead: "{{deleteAfterRead}}" prefix: "{{?prefix}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" steps: - to: "kamelet:sink" diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml index c049040..6d7cf7c 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-source.kamelet.yaml @@ -17,8 +17,6 @@ spec: Receive data from AWS S3. required: - bucketNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -80,6 +78,13 @@ spec: x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox' default: false + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-s3" - "camel:kamelet" @@ -88,12 +93,13 @@ spec: uri: "aws2-s3:{{bucketNameOrArn}}" parameters: autoCreateBucket: "{{autoCreateBucket}}" -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" includeBody: "{{includeBody}}" ignoreBody: "{{ignoreBody}}" deleteAfterRead: "{{deleteAfterRead}}" prefix: "{{?prefix}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" steps: - to: "kamelet:sink"
[camel-quarkus] 01/03: Manage all Camel artifacts we depend on #3302
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch 2.2.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit a2318d54ce87084ce4b817cd982ee889cae7782f Author: Peter Palaga AuthorDate: Mon Jan 24 17:12:28 2022 +0100 Manage all Camel artifacts we depend on #3302 --- poms/bom/pom.xml | 110 +++ 1 file changed, 110 insertions(+) diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 4f1b95e..0606a01 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -178,6 +178,11 @@ org.apache.camel +camel-as2-api +${camel.version} + + +org.apache.camel camel-asn1 ${camel.version} @@ -516,6 +521,11 @@ org.apache.camel +camel-base-engine +${camel.version} + + +org.apache.camel camel-base64 ${camel.version} @@ -556,6 +566,11 @@ org.apache.camel +camel-box-api +${camel.version} + + +org.apache.camel camel-braintree ${camel.version} @@ -606,6 +621,11 @@ org.apache.camel +camel-cluster +${camel.version} + + +org.apache.camel camel-cm-sms ${camel.version} @@ -682,11 +702,21 @@ org.apache.camel +camel-core-model +${camel.version} + + +org.apache.camel camel-core-processor ${camel.version} org.apache.camel +camel-core-reifier +${camel.version} + + +org.apache.camel camel-couchbase ${camel.version} @@ -788,6 +818,11 @@ org.apache.camel +camel-dsl-support +${camel.version} + + +org.apache.camel camel-ehcache ${camel.version} @@ -858,6 +893,11 @@ org.apache.camel +camel-fhir-api +${camel.version} + + +org.apache.camel camel-file ${camel.version} @@ -1049,6 +1089,11 @@ org.apache.camel +camel-groovy-dsl-common +${camel.version} + + +org.apache.camel camel-grpc ${camel.version} @@ -1139,6 +1184,11 @@ org.apache.camel +camel-http-base +${camel.version} + + +org.apache.camel camel-http-common ${camel.version} @@ -1186,6 +1236,11 @@ org.apache.camel +camel-infinispan-common +${camel.version} + + +org.apache.camel camel-influxdb ${camel.version} @@ -1569,6 +1624,11 @@ org.apache.camel +camel-management-api +${camel.version} + + +org.apache.camel camel-master ${camel.version} @@ -1730,6 +1790,11 @@ org.apache.camel +camel-olingo4-api +${camel.version} + + +org.apache.camel camel-openapi-java ${camel.version} @@ -1808,6 +1873,11 @@ org.apache.camel +camel-platform-http +${camel.version} + + +org.apache.camel camel-platform-http-vertx ${camel.version} @@ -2165,6 +2235,16 @@ org.apache.camel +camel-tooling-model +${camel.version} + + +org.apache.camel +camel-tracing +${camel.version} + +
[camel-quarkus] 02/03: Manage ca.uhn.hapi:hapi-base for more determinism accross extensions #3302
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch 2.2.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 08afe036ea167964c47e09e04e1975bd1f7fce22 Author: Peter Palaga AuthorDate: Tue Jan 25 13:59:22 2022 +0100 Manage ca.uhn.hapi:hapi-base for more determinism accross extensions #3302 --- poms/bom/pom.xml | 5 + 1 file changed, 5 insertions(+) diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 0606a01..053d217 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -5835,6 +5835,11 @@ ca.uhn.hapi +hapi-base +${hapi.version} + + +ca.uhn.hapi hapi-structures-v21 ${hapi.version}
[camel-quarkus] branch 2.2.x updated (3b6859b -> 7daecc6)
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a change to branch 2.2.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. from 3b6859b Commit the auto-generated change in qute.json new a2318d5 Manage all Camel artifacts we depend on #3302 new 08afe03 Manage ca.uhn.hapi:hapi-base for more determinism accross extensions #3302 new 7daecc6 jackson-asl can have a different from jackson1 version on some occassions #3302 The 3 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: pom.xml | 3 +- poms/bom/pom.xml | 121 +-- 2 files changed, 120 insertions(+), 4 deletions(-)
[camel-quarkus] 03/03: jackson-asl can have a different from jackson1 version on some occassions #3302
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch 2.2.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 7daecc6dcd349e5955f3389616235cffd97c5715 Author: Peter Palaga AuthorDate: Tue Jan 25 14:19:49 2022 +0100 jackson-asl can have a different from jackson1 version on some occassions #3302 --- pom.xml | 3 ++- poms/bom/pom.xml | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index e6f34db..12d8ec0 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,8 @@ ${hbase-version} 4.2.0-incubating ${influx-java-driver-version} -1.9.13 +1.9.13 +${jackson1.version} 2.0.3 2.1.0 2.3.3 diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 053d217..88d2bba 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -6175,17 +6175,17 @@ org.codehaus.jackson jackson-jaxrs -${jackson-asl.version} +${jackson1.version} org.codehaus.jackson jackson-mapper-asl -${jackson-asl.version} +${jackson1.version} org.codehaus.jackson jackson-xc -${jackson-asl.version} +${jackson1.version} org.codehaus.mojo
[camel-quarkus] 03/03: jackson-asl can have a different from jackson1 version on some occassions #3302
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 9714a1635358ce7181f23eda03e616805cfe6386 Author: Peter Palaga AuthorDate: Tue Jan 25 14:19:49 2022 +0100 jackson-asl can have a different from jackson1 version on some occassions #3302 --- pom.xml | 3 ++- poms/bom/pom.xml | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 6d01436..e35e08c 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,8 @@ ${hbase-version} 4.2.0-incubating ${influx-java-driver-version} -1.9.13 +1.9.13 +${jackson1.version} 2.0.3 2.1.0 2.3.3 diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 0d11e4f..75f70d0 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -6282,17 +6282,17 @@ org.codehaus.jackson jackson-jaxrs -${jackson-asl.version} +${jackson1.version} org.codehaus.jackson jackson-mapper-asl -${jackson-asl.version} +${jackson1.version} org.codehaus.jackson jackson-xc -${jackson-asl.version} +${jackson1.version} org.codehaus.mojo
[camel-quarkus] 01/03: Manage all Camel artifacts we depend on #3302
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 1389b06727f5a6e86015a6bba32c1dc76b6ab893 Author: Peter Palaga AuthorDate: Mon Jan 24 17:12:28 2022 +0100 Manage all Camel artifacts we depend on #3302 --- poms/bom/pom.xml | 110 +++ 1 file changed, 110 insertions(+) diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 5bd8d9b..8a78fb3 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -185,6 +185,11 @@ org.apache.camel +camel-as2-api +${camel.version} + + +org.apache.camel camel-asn1 ${camel.version} @@ -523,6 +528,11 @@ org.apache.camel +camel-base-engine +${camel.version} + + +org.apache.camel camel-base64 ${camel.version} @@ -563,6 +573,11 @@ org.apache.camel +camel-box-api +${camel.version} + + +org.apache.camel camel-braintree ${camel.version} @@ -613,6 +628,11 @@ org.apache.camel +camel-cluster +${camel.version} + + +org.apache.camel camel-cm-sms ${camel.version} @@ -693,11 +713,21 @@ org.apache.camel +camel-core-model +${camel.version} + + +org.apache.camel camel-core-processor ${camel.version} org.apache.camel +camel-core-reifier +${camel.version} + + +org.apache.camel camel-couchbase ${camel.version} @@ -799,6 +829,11 @@ org.apache.camel +camel-dsl-support +${camel.version} + + +org.apache.camel camel-ehcache ${camel.version} @@ -869,6 +904,11 @@ org.apache.camel +camel-fhir-api +${camel.version} + + +org.apache.camel camel-file ${camel.version} @@ -1100,6 +1140,11 @@ org.apache.camel +camel-groovy-dsl-common +${camel.version} + + +org.apache.camel camel-grpc ${camel.version} @@ -1190,6 +1235,11 @@ org.apache.camel +camel-http-base +${camel.version} + + +org.apache.camel camel-http-common ${camel.version} @@ -1237,6 +1287,11 @@ org.apache.camel +camel-infinispan-common +${camel.version} + + +org.apache.camel camel-influxdb ${camel.version} @@ -1625,6 +1680,11 @@ org.apache.camel +camel-management-api +${camel.version} + + +org.apache.camel camel-master ${camel.version} @@ -1792,6 +1852,11 @@ org.apache.camel +camel-olingo4-api +${camel.version} + + +org.apache.camel camel-openapi-java ${camel.version} @@ -1870,6 +1935,11 @@ org.apache.camel +camel-platform-http +${camel.version} + + +org.apache.camel camel-platform-http-vertx ${camel.version} @@ -2227,6 +2297,16 @@ org.apache.camel +camel-tooling-model +${camel.version} + + +org.apache.camel +camel-tracing +${camel.version} + +
[camel-quarkus] branch main updated (1490868 -> 9714a16)
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. from 1490868 Remove quarkus.camel.main.enabled configuration property new 1389b06 Manage all Camel artifacts we depend on #3302 new e28af49 Manage ca.uhn.hapi:hapi-base for more determinism accross extensions #3302 new 9714a16 jackson-asl can have a different from jackson1 version on some occassions #3302 The 3 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: pom.xml | 3 +- poms/bom/pom.xml | 121 +-- 2 files changed, 120 insertions(+), 4 deletions(-)
[camel-quarkus] 02/03: Manage ca.uhn.hapi:hapi-base for more determinism accross extensions #3302
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit e28af49dd40706921249f12d768975e8f88f845e Author: Peter Palaga AuthorDate: Tue Jan 25 13:59:22 2022 +0100 Manage ca.uhn.hapi:hapi-base for more determinism accross extensions #3302 --- poms/bom/pom.xml | 5 + 1 file changed, 5 insertions(+) diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 8a78fb3..0d11e4f 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -5882,6 +5882,11 @@ ca.uhn.hapi +hapi-base +${hapi.version} + + +ca.uhn.hapi hapi-structures-v21 ${hapi.version}
[GitHub] [camel-kamelets] oscerd commented on issue #736: Bean reference and processors seem to be non-existent
oscerd commented on issue #736: URL: https://github.com/apache/camel-kamelets/issues/736#issuecomment-1021443195 Let me know if this answer your question. -- 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-kamelets] oscerd commented on issue #736: Bean reference and processors seem to be non-existent
oscerd commented on issue #736: URL: https://github.com/apache/camel-kamelets/issues/736#issuecomment-1021442679 Hello and thanks for the interest in camel-kamelets and Apache Camel in general. In pure Kamelet is really hard to add custom logic like bean, but you can always write your own kamelet without troubles. For example you could something like this: https://github.com/apache/camel-kamelets/blob/main/kamelets/extract-field-action.kamelet.yaml#L106 This is a way of calling a bean inside the Kamelet body, but I do think you're thinking about calling something like from kamelet-source steps kamelet-bean to kamelet-sink and this is not possible currently and I think in the future too. The aim of Kamelets is abstracting the Apache Camel technical details by hiding them into logical unit, like a pre-baked endpoint, like a Kamelet is. You could always create a yaml route using the camel-kamelet components, like for example: ``` - route: from: uri: "kamelet:aws-s3-source" parameters: accesKey: "peppe" secretKey: "peppe" region: "eu-west-1" bucketNameOrArn: "camel-kafka-connector" useDefaultCredentialsProvider: "true" steps: - bean: "org.apache.camel.kamelets.utils.transform.ExtractField" - to: uri: "kamelet:log-sink" parameters: showHeaders: "true" ``` In yaml you'll have all the related definition from plain Camel https://github.com/apache/camel/blob/main/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camel-yaml-dsl.json#L1650 https://github.com/apache/camel/blob/main/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camel-yaml-dsl.json#L446 In case you need to do something complex, my suggestion is using camel-kamelet component as the example above, mixed with the Yaml construct available. HTH a bit. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga merged pull request #3487: Dependency management tweaks 2.2
ppalaga merged pull request #3487: URL: https://github.com/apache/camel-quarkus/pull/3487 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga merged pull request #3486: Dependency management tweaks
ppalaga merged pull request #3486: URL: https://github.com/apache/camel-quarkus/pull/3486 -- 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: Fix typo
This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 6b5f64a Fix typo 6b5f64a is described below commit 6b5f64a48bd664601818a54fe904a1e4b4f934a1 Author: aldettinger AuthorDate: Tue Jan 25 18:30:36 2022 +0100 Fix typo --- .../camel-debezium-mysql/src/main/docs/debezium-mysql-component.adoc| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-debezium/camel-debezium-mysql/src/main/docs/debezium-mysql-component.adoc b/components/camel-debezium/camel-debezium-mysql/src/main/docs/debezium-mysql-component.adoc index d4fedd5..a02880d 100644 --- a/components/camel-debezium/camel-debezium-mysql/src/main/docs/debezium-mysql-component.adoc +++ b/components/camel-debezium/camel-debezium-mysql/src/main/docs/debezium-mysql-component.adoc @@ -41,7 +41,7 @@ for this component. debezium-mysql:name[?options] --- -*Note:* Due to licensing issues, you will need to add the dependency for `mysql-conenctor-java` if you are using MySQL connector, just add the following to your POM file: +*Note:* Due to licensing issues, you will need to add the dependency for `mysql-connector-java` if you are using MySQL connector, just add the following to your POM file: [source,xml]
[camel] branch regen_bot updated (4ad361d -> e9ad569)
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 4ad361d Regen for commit a66edbbd0b9cb73c1e3c123cad181a16b424cfa3 add e9ad569 Regen for commit 96ece733aa11fb65174541afbf139f9ea687964c (#6822) 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 (4ad361d) \ N -- N -- N refs/heads/regen_bot (e9ad569) 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 created (now e4f0b72)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. at e4f0b72 CAMEL-17550: Use same-version image container f... This branch includes the following new commits: new e4f0b72 CAMEL-17550: Use same-version image container f... The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[camel] 01/01: CAMEL-17550: Use same-version image container f...
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit e4f0b728f8f4d558b53593cf042e98058881ff98 Author: Zoran Regvart AuthorDate: Tue Jan 25 18:08:55 2022 +0100 CAMEL-17550: Use same-version image container f... ...or Pulsar as client This makes sure that the version we declare in `camel-parent` via `pulsar-version` property is used to define the container image version launched by Testcontainer in integration tests. --- components/camel-pulsar/pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/camel-pulsar/pom.xml b/components/camel-pulsar/pom.xml index 1be0756..29d7636 100644 --- a/components/camel-pulsar/pom.xml +++ b/components/camel-pulsar/pom.xml @@ -92,6 +92,9 @@ 1 true 600 + + apachepulsar/pulsar:${pulsar-version} +
[GitHub] [camel-kamelets] dbaggett opened a new issue #736: Bean reference and processors seem to be non-existent
dbaggett opened a new issue #736: URL: https://github.com/apache/camel-kamelets/issues/736 It appears that references to beans and processor EIP are not a thing in kamelets. I think the reasons are pretty obvious given it's difficult to do custom logic in a static yaml template. I just want to make sure I am not missing something. Is there an idiomatic way to do custom processing in a kamelet. For example, multicast to multiple http endpoint and aggregating JSON from each respective response is a pattern I've used frequently. How could I replicate this in a kamelet? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] oscerd merged pull request #6825: Generated sources regen
oscerd merged pull request #6825: URL: https://github.com/apache/camel/pull/6825 -- 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 (df6a894 -> 4ad361d)
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 df6a894 Regen for commit 2dbbe61c2759b02d3e1c08bf7c16e06c2873b58c add a66edbb Update what-are-the-dependencies.adoc (#6819) add 4ad361d Regen for commit a66edbbd0b9cb73c1e3c123cad181a16b424cfa3 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 (df6a894) \ N -- N -- N refs/heads/regen_bot (4ad361d) 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: docs/user-manual/modules/ROOT/pages/what-are-the-dependencies.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[GitHub] [camel] github-actions[bot] opened a new pull request #6825: Generated sources regen
github-actions[bot] opened a new pull request #6825: URL: https://github.com/apache/camel/pull/6825 Regen bot :robot: found some uncommited changes after running build on :camel: main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-examples] branch main updated (8eab0d7 -> 606dd65)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-examples.git. from 8eab0d7 Add jbang example add a109722 CAMEL-11834: Add tests for activemq/aggregate/any23/artemis/csimple/cxf add 796bc1a CAMEL-11834: Fix checkstyle violations add 606dd65 CAMEL-11834: Use asProperties for useOverridePropertiesWithPropertiesComponent No new revisions were added by this update. Summary of changes: .gitignore | 3 + examples/activemq-tomcat/README.adoc | 7 +- examples/activemq-tomcat/pom.xml | 39 ++ .../src/main/resources/camel-config.xml| 1 - .../org/apache/camel/example/ActiveMQTomcatIT.java | 71 + examples/aggregate-dist/pom.xml| 8 ++ .../java/org/apache/camel/example/Application.java | 89 ++ .../camel/example/AggregateDistributedTest.java} | 19 +++-- examples/aggregate/README.adoc | 2 +- examples/aggregate/pom.xml | 2 +- .../resources/META-INF/spring/camel-context.xml| 1 - .../org/apache/camel/example/AggregateTest.java| 71 + examples/any23/README.adoc | 2 +- examples/any23/pom.xml | 6 ++ .../camel/example/any23/Any23RouteBuilder.java | 11 +-- .../camel/example/any23/Any23StartupMessage.java | 4 +- .../org/apache/camel/example/any23/Any23Test.java | 48 examples/artemis-large-messages/README.adoc| 2 +- examples/artemis-large-messages/pom.xml| 17 + .../resources/META-INF/spring/camel-context.xml| 2 +- .../camel/example/ArtemisLargeMessageTest.java | 88 + examples/artemis/README.adoc | 2 +- examples/artemis/pom.xml | 16 .../apache/camel/example/artemis/ArtemisMain.java | 2 +- .../camel/example/artemis/WidgetGadgetRoute.java | 6 +- .../apache/camel/example/artemis/ArtemisTest.java | 88 + .../example/kubernetes/jkube/CqlPopulateBean.java | 15 ++-- .../resources/META-INF/spring/camel-context.xml| 1 - examples/console/pom.xml | 10 ++- .../apache/camel/example/console/ConsoleTest.java | 68 + examples/couchbase-log/README.adoc | 2 +- examples/csimple-joor/pom.xml | 6 ++ examples/csimple-joor/src/main/data/foo.properties | 18 - .../org/apache/camel/example/MyRouteBuilder.java | 6 +- .../src/main/resources/application.properties | 2 +- .../org/apache/camel/example/CSimpleJOORTest.java | 54 + examples/csimple/pom.xml | 6 ++ examples/csimple/src/main/data/foo.properties | 18 - .../java/org/apache/camel/example/CSimpleTest.java | 53 + examples/cxf-proxy/pom.xml | 4 - examples/cxf-tomcat/README.adoc| 12 +-- examples/cxf-tomcat/pom.xml| 38 + .../org/apache/camel/example/cxf/CamelRoute.java | 34 - .../apache/camel/example/cxf/CamelRouteClient.java | 25 +++--- .../cxf-tomcat/src/main/resources/camel-config.xml | 5 +- .../org/apache/camel/example/cxf/CXFTomcatIT.java | 74 ++ examples/pom.xml | 5 +- 47 files changed, 896 insertions(+), 167 deletions(-) create mode 100644 examples/activemq-tomcat/src/test/java/org/apache/camel/example/ActiveMQTomcatIT.java copy examples/{aws/main-endpointdsl-aws2/aws2-sqs-consumer/src/main/java/org/apache/camel/example/MyRouteBuilder.java => aggregate-dist/src/test/java/org/apache/camel/example/AggregateDistributedTest.java} (68%) create mode 100644 examples/aggregate/src/test/java/org/apache/camel/example/AggregateTest.java create mode 100644 examples/any23/src/test/java/org/apache/camel/example/any23/Any23Test.java create mode 100644 examples/artemis-large-messages/src/test/java/org/apache/camel/example/ArtemisLargeMessageTest.java create mode 100644 examples/artemis/src/test/java/org/apache/camel/example/artemis/ArtemisTest.java create mode 100644 examples/console/src/test/java/org/apache/camel/example/console/ConsoleTest.java delete mode 100644 examples/csimple-joor/src/main/data/foo.properties create mode 100644 examples/csimple-joor/src/test/java/org/apache/camel/example/CSimpleJOORTest.java delete mode 100644 examples/csimple/src/main/data/foo.properties create mode 100644 examples/csimple/src/test/java/org/apache/camel/example/CSimpleTest.java create mode 100644 examples/cxf-tomcat/src/test/java/org/apache/camel/example/cxf/CXFTomcatIT.java
[GitHub] [camel-examples] oscerd merged pull request #54: CAMEL-11834: Add tests for activemq/aggregate/any23/artemis/csimple/cxf
oscerd merged pull request #54: URL: https://github.com/apache/camel-examples/pull/54 -- 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] astefanutti opened a new pull request #2944: chore(release): Update 1.8.x OLM base CSV manifest
astefanutti opened a new pull request #2944: URL: https://github.com/apache/camel-k/pull/2944 **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-kamelets] oscerd merged pull request #731: Fix #729 to use toD for dynamic to eip
oscerd merged pull request #731: URL: https://github.com/apache/camel-kamelets/pull/731 -- 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-kamelets] oscerd closed issue #729: Use toD for dynamic to in Kamelets
oscerd closed issue #729: URL: https://github.com/apache/camel-kamelets/issues/729 -- 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] zbendhiba opened a new pull request #6824: CAMEL-17379: upgrade to optaplanner 8.16.0.Final
zbendhiba opened a new pull request #6824: URL: https://github.com/apache/camel/pull/6824 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-karavan] mgubaidullin closed issue #145: Full expression support
mgubaidullin closed issue #145: URL: https://github.com/apache/camel-karavan/issues/145 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] github-actions[bot] commented on pull request #766: chore: camel k 1.8 announcement
github-actions[bot] commented on pull request #766: URL: https://github.com/apache/camel-website/pull/766#issuecomment-1021106643 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] davsclaus merged pull request #6822: Generated sources regen
davsclaus merged pull request #6822: URL: https://github.com/apache/camel/pull/6822 -- 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] djencks merged pull request #3477: camel-website #701 camel-quarkus RI table setup (main)
djencks merged pull request #3477: URL: https://github.com/apache/camel-quarkus/pull/3477 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] christophd commented on issue #1834: Support Knative Sinks
christophd commented on issue #1834: URL: https://github.com/apache/camel-k/issues/1834#issuecomment-1020980594 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] oscerd merged pull request #6823: Generated sources regen
oscerd merged pull request #6823: URL: https://github.com/apache/camel/pull/6823 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] davsclaus merged pull request #6819: Update what-are-the-dependencies.adoc
davsclaus merged pull request #6819: URL: https://github.com/apache/camel/pull/6819 -- 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-kafka-connector] valdar closed issue #1302: Upgrade to Camel 3.14.0
valdar closed issue #1302: URL: https://github.com/apache/camel-kafka-connector/issues/1302 -- 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] astefanutti merged pull request #2942: fix(e2e): Do not add snapshot bundle to stable channel (1.6.x backport)
astefanutti merged pull request #2942: URL: https://github.com/apache/camel-k/pull/2942 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] squakez commented on pull request #766: chore: camel k 1.8 announcement
squakez commented on pull request #766: URL: https://github.com/apache/camel-website/pull/766#issuecomment-1021046834 @oscerd @nicolaferraro @astefanutti FYI -- 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 edited a comment on pull request #6810: Draft: CAMEL-17500: Simplified Dynamic Router control channel messages.
davsclaus edited a comment on pull request #6810: URL: https://github.com/apache/camel/pull/6810#issuecomment-1020037735 You can make a PR as "draft", by clicking the drop down arrow on the green button, and there is a "convert to draft" or something like that -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] oscerd merged pull request #6820: Generated sources regen
oscerd merged pull request #6820: URL: https://github.com/apache/camel/pull/6820 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: CAMEL-17550: Use same-version image container f...
This is an automated email from the ASF dual-hosted git repository. zregvart 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 e4f0b72 CAMEL-17550: Use same-version image container f... e4f0b72 is described below commit e4f0b728f8f4d558b53593cf042e98058881ff98 Author: Zoran Regvart AuthorDate: Tue Jan 25 18:08:55 2022 +0100 CAMEL-17550: Use same-version image container f... ...or Pulsar as client This makes sure that the version we declare in `camel-parent` via `pulsar-version` property is used to define the container image version launched by Testcontainer in integration tests. --- components/camel-pulsar/pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/camel-pulsar/pom.xml b/components/camel-pulsar/pom.xml index 1be0756..29d7636 100644 --- a/components/camel-pulsar/pom.xml +++ b/components/camel-pulsar/pom.xml @@ -92,6 +92,9 @@ 1 true 600 + + apachepulsar/pulsar:${pulsar-version} +