[camel] branch regen_bot updated (73de6c5 -> a264adb)
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 73de6c5 Regen for commit 75edd58d225883fb5e50b700b8108512103851d9 (#4792) add a264adb CAMEL-15290: camel-cxf - RS producer should not leak over HTTP headers from org.apache.cxf when sending to REST server. No new revisions were added by this update. Summary of changes: .../cxf/common/header/CxfHeaderHelper.java | 6 ++ .../apache/camel/component/cxf/CXFTestSupport.java | 6 ++ .../jaxrs/CxfRsProducerHttpMethodHeaderTest.java | 80 ++ 3 files changed, 92 insertions(+) create mode 100644 components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerHttpMethodHeaderTest.java
[camel] 01/02: Upgrade Netty to version 4.1.56.Final
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit 387b4b75a462353d6fc3e6824f7d264029461817 Author: Andrea Cosentino AuthorDate: Fri Dec 18 08:34:56 2020 +0100 Upgrade Netty to version 4.1.56.Final --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index 1ba92bc..4b74f22 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -424,7 +424,7 @@ 1.0.0.RC4 0.4.0 3.10.6.Final -4.1.55.Final +4.1.56.Final 2.0.4 1.0.45 8.9
[camel] 02/02: Sync deps
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit 333ab60da73d6ca5111a1cb37597674887aed37f Author: Andrea Cosentino AuthorDate: Fri Dec 18 08:50:34 2020 +0100 Sync deps --- camel-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index d651dac..08f67ef 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -437,7 +437,7 @@ 1.0.0.Beta4 1.0.1 2.0.4 -4.1.55.Final +4.1.56.Final 3.10.6.Final 1.0.45 8.9
[camel] branch master updated (93d42d9 -> 333ab60)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from 93d42d9 Sync deps and regen new 387b4b7 Upgrade Netty to version 4.1.56.Final new 333ab60 Sync deps The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[camel] 01/02: Upgrade AWS SDK v2 to version 2.15.49
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit 3b0fda15ec2960ad82447775736ba829b36b2487 Author: Andrea Cosentino AuthorDate: Fri Dec 18 06:51:33 2020 +0100 Upgrade AWS SDK v2 to version 2.15.49 --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index a9915ab..1ba92bc 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -78,7 +78,7 @@ 1.10.0 4.0.3 1.11.714 -2.15.48 +2.15.49 1.11.22 2.6.1 1.2.14
[camel] branch master updated (a264adb -> 93d42d9)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from a264adb CAMEL-15290: camel-cxf - RS producer should not leak over HTTP headers from org.apache.cxf when sending to REST server. new 3b0fda1 Upgrade AWS SDK v2 to version 2.15.49 new 93d42d9 Sync deps and regen The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: camel-dependencies/pom.xml | 2 +- .../apache/camel/catalog/schemas/camel-spring.xsd | 77 ++ parent/pom.xml | 2 +- 3 files changed, 6 insertions(+), 75 deletions(-)
[camel] 02/02: Sync deps and regen
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit 93d42d96a325f15760fb3bfc2f47a0e1a0c8d4c4 Author: Andrea Cosentino AuthorDate: Fri Dec 18 08:29:47 2020 +0100 Sync deps and regen --- camel-dependencies/pom.xml | 2 +- .../apache/camel/catalog/schemas/camel-spring.xsd | 77 ++ 2 files changed, 5 insertions(+), 74 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 8893e24..d651dac 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -71,7 +71,7 @@ 4.0.3 1.11.22 1.11.714 -2.15.48 +2.15.49 2.6.1 1.2.14 1.2.0 diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd index 3a8d28f..feb800e 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd @@ -4374,6 +4374,7 @@ To use a specific charset when converting. + @@ -6441,16 +6442,6 @@ true (which is the default). - - - - - @@ -6734,16 +6725,6 @@ enabled when desired to be used. Default value: false ]]> - - - - - @@ -6903,16 +6884,6 @@ JAXB provider properties to be used with the JAXB marshaller. ]]> - - - - - @@ -7092,16 +7063,6 @@ Default value: false ]]> - - - - - @@ -7216,16 +7177,6 @@ value is native. Default value: native ]]> - - - - - @@ -7497,16 +7448,6 @@ representation. The default value is binary. Default value: binary ]]> - - - - - @@ -7818,16 +7759,6 @@ SINGLE_NODE_XPATH_RELATIVE_REFERENCES SINGLE_NODE_XPATH_ABSOLUTE_REFERENCES. ]]> - - - - - @@ -12774,9 +12705,9 @@ can be prevented by turning this option on. Default value: false Whether to enable pre-compiling the xpath expression during initialization phase. pre-compile is enabled by default. This can be used to turn off, for example in cases the compilation phase is desired at the starting phase, such as -if the application is ahead of time compiled (for example with camel-quarkus) -which would then load the xpath factory of the built operating system, and not a -JVM runtime. Default value: true +if the application is pre-built with graalvm which would then load the xpath +factory of the built operating system, and not a JVM runtime. Default value: +true ]]>
[camel] branch camel-3.7.x updated: CAMEL-15290: camel-cxf - RS producer should not leak over HTTP headers from org.apache.cxf when sending to REST server.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.7.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.7.x by this push: new 15c5e84 CAMEL-15290: camel-cxf - RS producer should not leak over HTTP headers from org.apache.cxf when sending to REST server. 15c5e84 is described below commit 15c5e847b5a198829d50cf707dc9c2ceaa5c7a33 Author: Claus Ibsen AuthorDate: Fri Dec 18 08:16:10 2020 +0100 CAMEL-15290: camel-cxf - RS producer should not leak over HTTP headers from org.apache.cxf when sending to REST server. --- .../cxf/common/header/CxfHeaderHelper.java | 6 ++ .../apache/camel/component/cxf/CXFTestSupport.java | 6 ++ .../jaxrs/CxfRsProducerHttpMethodHeaderTest.java | 80 ++ 3 files changed, 92 insertions(+) diff --git a/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderHelper.java b/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderHelper.java index 1b2fd19..eb05b4f 100644 --- a/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderHelper.java +++ b/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderHelper.java @@ -89,6 +89,12 @@ public final class CxfHeaderHelper { return; } +// drop this header as we do not want to propagate the http method/path into the CXF request message +if (Exchange.HTTP_METHOD.equalsIgnoreCase(entry.getKey()) +|| Exchange.HTTP_PATH.equalsIgnoreCase(entry.getKey())) { +return; +} + // we need to make sure the entry value is not null if (entry.getValue() == null) { LOG.trace("Drop Camel header: {}={}", entry.getKey(), entry.getValue()); diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CXFTestSupport.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CXFTestSupport.java index c4622b7..f5ab6fc 100644 --- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CXFTestSupport.java +++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CXFTestSupport.java @@ -30,6 +30,7 @@ public final class CXFTestSupport { static final int PORT4 = AvailablePortFinder.getNextAvailable(); static final int PORT5 = AvailablePortFinder.getNextAvailable(); static final int PORT6 = AvailablePortFinder.getNextAvailable(); +static final int PORT7 = AvailablePortFinder.getNextAvailable(); static final int SSL_PORT = AvailablePortFinder.getNextAvailable(); static { @@ -41,6 +42,7 @@ public final class CXFTestSupport { System.setProperty("CXFTestSupport.port4", Integer.toString(PORT4)); System.setProperty("CXFTestSupport.port5", Integer.toString(PORT5)); System.setProperty("CXFTestSupport.port6", Integer.toString(PORT6)); +System.setProperty("CXFTestSupport.port7", Integer.toString(PORT7)); System.setProperty("CXFTestSupport.sslPort", Integer.toString(SSL_PORT)); System.setProperty("org.apache.cxf.transports.http_jetty.DontClosePort", "true"); } @@ -78,6 +80,10 @@ public final class CXFTestSupport { return PORT6; } +public static int getPort7() { +return PORT7; +} + public static int getSslPort() { return SSL_PORT; } diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerHttpMethodHeaderTest.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerHttpMethodHeaderTest.java new file mode 100644 index 000..b95279c --- /dev/null +++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerHttpMethodHeaderTest.java @@ -0,0 +1,80 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.cxf.jaxrs; + +import javax.ws.rs.core.Response; + +import org.apache.camel.Exchange; +import
[camel] branch master updated: CAMEL-15290: camel-cxf - RS producer should not leak over HTTP headers from org.apache.cxf when sending to REST server.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new a264adb CAMEL-15290: camel-cxf - RS producer should not leak over HTTP headers from org.apache.cxf when sending to REST server. a264adb is described below commit a264adb0569f619a75bc65fbb653201e92cb39be Author: Claus Ibsen AuthorDate: Fri Dec 18 08:16:10 2020 +0100 CAMEL-15290: camel-cxf - RS producer should not leak over HTTP headers from org.apache.cxf when sending to REST server. --- .../cxf/common/header/CxfHeaderHelper.java | 6 ++ .../apache/camel/component/cxf/CXFTestSupport.java | 6 ++ .../jaxrs/CxfRsProducerHttpMethodHeaderTest.java | 80 ++ 3 files changed, 92 insertions(+) diff --git a/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderHelper.java b/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderHelper.java index 1b2fd19..eb05b4f 100644 --- a/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderHelper.java +++ b/components/camel-cxf-transport/src/main/java/org/apache/camel/component/cxf/common/header/CxfHeaderHelper.java @@ -89,6 +89,12 @@ public final class CxfHeaderHelper { return; } +// drop this header as we do not want to propagate the http method/path into the CXF request message +if (Exchange.HTTP_METHOD.equalsIgnoreCase(entry.getKey()) +|| Exchange.HTTP_PATH.equalsIgnoreCase(entry.getKey())) { +return; +} + // we need to make sure the entry value is not null if (entry.getValue() == null) { LOG.trace("Drop Camel header: {}={}", entry.getKey(), entry.getValue()); diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CXFTestSupport.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CXFTestSupport.java index c4622b7..f5ab6fc 100644 --- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CXFTestSupport.java +++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CXFTestSupport.java @@ -30,6 +30,7 @@ public final class CXFTestSupport { static final int PORT4 = AvailablePortFinder.getNextAvailable(); static final int PORT5 = AvailablePortFinder.getNextAvailable(); static final int PORT6 = AvailablePortFinder.getNextAvailable(); +static final int PORT7 = AvailablePortFinder.getNextAvailable(); static final int SSL_PORT = AvailablePortFinder.getNextAvailable(); static { @@ -41,6 +42,7 @@ public final class CXFTestSupport { System.setProperty("CXFTestSupport.port4", Integer.toString(PORT4)); System.setProperty("CXFTestSupport.port5", Integer.toString(PORT5)); System.setProperty("CXFTestSupport.port6", Integer.toString(PORT6)); +System.setProperty("CXFTestSupport.port7", Integer.toString(PORT7)); System.setProperty("CXFTestSupport.sslPort", Integer.toString(SSL_PORT)); System.setProperty("org.apache.cxf.transports.http_jetty.DontClosePort", "true"); } @@ -78,6 +80,10 @@ public final class CXFTestSupport { return PORT6; } +public static int getPort7() { +return PORT7; +} + public static int getSslPort() { return SSL_PORT; } diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerHttpMethodHeaderTest.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerHttpMethodHeaderTest.java new file mode 100644 index 000..b95279c --- /dev/null +++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerHttpMethodHeaderTest.java @@ -0,0 +1,80 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.cxf.jaxrs; + +import javax.ws.rs.core.Response; + +import org.apache.camel.Exchange; +import
[GitHub] [camel-spring-boot] oscerd merged pull request #248: [Github Actions] Periodic Sync Camel Spring Boot Master Branch
oscerd merged pull request #248: URL: https://github.com/apache/camel-spring-boot/pull/248 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch master updated: [create-pull-request] automated change
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/master by this push: new 17dc0a4 [create-pull-request] automated change 17dc0a4 is described below commit 17dc0a4d974189b5310bc0f737ccd4da9b5a1552 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Fri Dec 18 00:47:30 2020 + [create-pull-request] automated change --- .../camel/springboot/catalog/components/aws2-iam.json | 4 ++-- .../apache/camel/springboot/catalog/components/imap.json | 2 ++ .../apache/camel/springboot/catalog/components/imaps.json | 2 ++ .../apache/camel/springboot/catalog/components/pop3.json | 2 ++ .../apache/camel/springboot/catalog/components/pop3s.json | 2 ++ .../apache/camel/springboot/catalog/components/smtp.json | 2 ++ .../apache/camel/springboot/catalog/components/smtps.json | 2 ++ .../src/main/docs/aws2-iam-starter.adoc| 2 +- .../aws2/iam/springboot/IAM2ComponentConfiguration.java| 4 +++- components-starter/camel-corda-starter/pom.xml | 8 components-starter/camel-iota-starter/pom.xml | 12 .../camel-mail-starter/src/main/docs/mail-starter.adoc | 3 ++- .../mail/springboot/MailComponentConfiguration.java| 14 ++ docs/modules/ROOT/pages/aws2-iam-starter.adoc | 2 +- docs/modules/ROOT/pages/mail-starter.adoc | 3 ++- 15 files changed, 37 insertions(+), 27 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-iam.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-iam.json index dd8f210..e0c9bf8 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-iam.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-iam.json @@ -25,7 +25,7 @@ "configuration": { "kind": "property", "displayName": "Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws2.iam.IAM2Configuration", "deprecated": false, "autowired": false, "secret": false, "description": "Component configuration" }, "iamClient": { "kind": "property", "displayName": "Iam Client", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "software.amazon.awssdk.services.iam.IamClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": "configuration", "description": "To use a existing configured AWS IAM as client" }, "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] -"operation": { "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.aws2.iam.IAM2Operations", "enum": [ "listAccessKeys", "createUser", "deleteUser", "getUser", "listUsers", "createAccessKey", "deleteAccessKey", "updateAccessKey", "createGroup", "deleteGroup", "listGroups", "addUserToGroup", "removeUserFromGroup" ], "deprecated": false, "deprecationNote": "", "autowired": false, " [...] +"operation": { "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws2.iam.IAM2Operations", "enum": [ "listAccessKeys", "createUser", "deleteUser", "getUser", "listUsers", "createAccessKey", "deleteAccessKey", "updateAccessKey", "createGroup", "deleteGroup", "listGroups", "addUserToGroup", "removeUserFromGroup" ], "deprecated": false, "autowired": false, "secret": false, "confi [...] "pojoRequest": { "kind": "property", "displayName": "Pojo Request", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" },
[camel-website] branch asf-site updated (bf91440 -> a0593d4)
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 bf91440 Website updated to a3f4434a58749cd64241584e695e77c0ec91b1c8 discard 72ca054 Updated the website to b19baea new d81cee3 Updated the website to b19baea new a0593d4 Website updated to a3f4434a58749cd64241584e695e77c0ec91b1c8 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 (bf91440) \ N -- N -- N refs/heads/asf-site (a0593d4) 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: components/latest/mail-component.html |2 +- sitemap-camel-k.xml | 168 +- sitemap-camel-kafka-connector.xml | 3308 - sitemap-camel-karaf.xml | 28 +- sitemap-camel-quarkus.xml | 656 ++--- sitemap-camel-spring-boot.xml | 1282 +- sitemap-components.xml| 4298 - sitemap-manual.xml| 484 ++-- 8 files changed, 5113 insertions(+), 5113 deletions(-)
[camel-kafka-connector] branch master updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/master by this push: new d72961a Updated CHANGELOG.md d72961a is described below commit d72961a559aeb36e3f802f5808682ece7771996a Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Fri Dec 18 03:23:28 2020 + Updated CHANGELOG.md --- CHANGELOG.md | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ddb699..b0bbfe9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ [Full Changelog](https://github.com/apache/camel-kafka-connector/compare/camel-kafka-connector-0.6.1...HEAD) +**Fixed bugs:** + +- Jetty conflicts in Salesforce connector [\#807](https://github.com/apache/camel-kafka-connector/issues/807) + **Closed issues:** - CamelAmqpSourceConnector example contains wrong camel.sink parameters [\#767](https://github.com/apache/camel-kafka-connector/issues/767) @@ -20,6 +24,17 @@ **Merged pull requests:** +- Added Kafka idempotent repository cache size and poll timeout docs in… [\#809](https://github.com/apache/camel-kafka-connector/pull/809) ([oscerd](https://github.com/oscerd)) +- Salesforce fixes [\#808](https://github.com/apache/camel-kafka-connector/pull/808) ([orpiske](https://github.com/orpiske)) +- Removed repeated idempotency.enabled option in source connector basic… [\#806](https://github.com/apache/camel-kafka-connector/pull/806) ([oscerd](https://github.com/oscerd)) +- Align SQL tests with test infra from Camel 3.7 [\#804](https://github.com/apache/camel-kafka-connector/pull/804) ([orpiske](https://github.com/orpiske)) +- Align RabbitMQ tests with test infra from Camel 3.7 [\#803](https://github.com/apache/camel-kafka-connector/pull/803) ([orpiske](https://github.com/orpiske)) +- Align MongoDB tests with test infra from Camel 3.7 [\#802](https://github.com/apache/camel-kafka-connector/pull/802) ([orpiske](https://github.com/orpiske)) +- Align JDBC tests with test infra from Camel 3.7 [\#801](https://github.com/apache/camel-kafka-connector/pull/801) ([orpiske](https://github.com/orpiske)) +- Align HDFS tests with test infra from Camel 3.7 [\#800](https://github.com/apache/camel-kafka-connector/pull/800) ([orpiske](https://github.com/orpiske)) +- Align ElasticSearch tests with test infra from Camel 3.7 [\#799](https://github.com/apache/camel-kafka-connector/pull/799) ([orpiske](https://github.com/orpiske)) +- Align Cassandra tests with test infra from Camel 3.7 [\#798](https://github.com/apache/camel-kafka-connector/pull/798) ([orpiske](https://github.com/orpiske)) +- Add SJMS2 patches to master [\#797](https://github.com/apache/camel-kafka-connector/pull/797) ([orpiske](https://github.com/orpiske)) - Upgrade Strimzi to 0.20.1 [\#796](https://github.com/apache/camel-kafka-connector/pull/796) ([oscerd](https://github.com/oscerd)) - Removed staging repositories for 3.7.0 [\#794](https://github.com/apache/camel-kafka-connector/pull/794) ([oscerd](https://github.com/oscerd)) - Camel master sync [\#791](https://github.com/apache/camel-kafka-connector/pull/791) ([oscerd](https://github.com/oscerd)) @@ -450,7 +465,6 @@ - Aggregator support for completionTimeout too [\#290](https://github.com/apache/camel-kafka-connector/issues/290) - Upgrade to Camel 3.4.0 LTS version [\#283](https://github.com/apache/camel-kafka-connector/issues/283) - Camel-MongoDB Kafka connector: example with sink connector [\#212](https://github.com/apache/camel-kafka-connector/issues/212) -- Connectors doc: Show up only the priority in the table column [\#182](https://github.com/apache/camel-kafka-connector/issues/182) **Merged pull requests:** @@ -588,6 +602,7 @@ - Add connector dependencies in distribution package [\#203](https://github.com/apache/camel-kafka-connector/issues/203) - Switch to Camel 3.2.0 [\#199](https://github.com/apache/camel-kafka-connector/issues/199) - Cannot apply transforms to Telegram Source Connector [\#188](https://github.com/apache/camel-kafka-connector/issues/188) +- Connectors doc: Show up only the priority in the table column [\#182](https://github.com/apache/camel-kafka-connector/issues/182) - Add an index for connectors in docs [\#169](https://github.com/apache/camel-kafka-connector/issues/169) - Autogenerate documentation for sink and source connectors [\#167](https://github.com/apache/camel-kafka-connector/issues/167) - Provided dependencies management [\#158](https://github.com/apache/camel-kafka-connector/issues/158)
[camel-k] branch master updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/master by this push: new d8b327d Updated CHANGELOG.md d8b327d is described below commit d8b327dc811d6ddbf62651375fbf83108404ec9d Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Fri Dec 18 03:21:32 2020 + Updated CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6fc910..46c1699 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,8 @@ **Merged pull requests:** +- Fix typo DigitalOcen --\> DigitalOcean [\#1868](https://github.com/apache/camel-k/pull/1868) ([apupier](https://github.com/apupier)) +- chore\(e2e\): add test for Affinity trait \#1547 [\#1866](https://github.com/apache/camel-k/pull/1866) ([tadayosi](https://github.com/tadayosi)) - chore\(e2e\): add test for Pull Secret trait \#1547 [\#1865](https://github.com/apache/camel-k/pull/1865) ([tadayosi](https://github.com/tadayosi)) - chore\(doc\): quote inline code blocks in environment trait comment [\#1863](https://github.com/apache/camel-k/pull/1863) ([tadayosi](https://github.com/tadayosi)) - feat\(uninstall\): add --skip-registry-secret option and make uninstall remove registry secret \#1859 [\#1862](https://github.com/apache/camel-k/pull/1862) ([tadayosi](https://github.com/tadayosi))
[camel-quarkus] branch master updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/master by this push: new 2023d75 Updated CHANGELOG.md 2023d75 is described below commit 2023d75bac9b5105129e395fed08b29ca7d1ca3c Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Fri Dec 18 03:08:16 2020 + Updated CHANGELOG.md --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b65933..04d0b0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ **Merged pull requests:** +- Next is 1.6.0 [\#2076](https://github.com/apache/camel-quarkus/pull/2076) ([ppalaga](https://github.com/ppalaga)) +- Documented the Camel Quarkus testing approach \#1981 [\#2075](https://github.com/apache/camel-quarkus/pull/2075) ([aldettinger](https://github.com/aldettinger)) - Require Java 11 [\#2073](https://github.com/apache/camel-quarkus/pull/2073) ([ppalaga](https://github.com/ppalaga)) ## [1.5.0](https://github.com/apache/camel-quarkus/tree/1.5.0) (2020-12-14) @@ -19,6 +21,7 @@ **Closed issues:** - Camel import not working [\#2068](https://github.com/apache/camel-quarkus/issues/2068) +- BigQuery native support [\#2014](https://github.com/apache/camel-quarkus/issues/2014) - FastHeadersMapFactory ClassNotFoundException since 1.0.0-M6 [\#1086](https://github.com/apache/camel-quarkus/issues/1086) - JSch native support [\#797](https://github.com/apache/camel-quarkus/issues/797) - Protobuf dataformat native support [\#789](https://github.com/apache/camel-quarkus/issues/789) @@ -1313,7 +1316,6 @@ - Add olingo4 extension [\#693](https://github.com/apache/camel-quarkus/pull/693) ([jamesnetherton](https://github.com/jamesnetherton)) - Cleanup: Declare quarkus-development-mode-spi as a nonExtensionArtifact [\#691](https://github.com/apache/camel-quarkus/pull/691) ([ppalaga](https://github.com/ppalaga)) - Automatic sync branch master to camel-master [\#689](https://github.com/apache/camel-quarkus/pull/689) ([github-actions[bot]](https://github.com/apps/github-actions)) -- Snapshots and Actions [\#687](https://github.com/apache/camel-quarkus/pull/687) ([lburgazzoli](https://github.com/lburgazzoli)) - Upgrade to quarkus 1.3.0.Alpha1 [\#685](https://github.com/apache/camel-quarkus/pull/685) ([lburgazzoli](https://github.com/lburgazzoli)) - Add stream extension [\#682](https://github.com/apache/camel-quarkus/pull/682) ([jamesnetherton](https://github.com/jamesnetherton)) - Create enforce profile that disables dependency checks [\#679](https://github.com/apache/camel-quarkus/pull/679) ([johnpoth](https://github.com/johnpoth))
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2065: [CI] - Quarkus Master Branch Build Failure
github-actions[bot] commented on issue #2065: URL: https://github.com/apache/camel-quarkus/issues/2065#issuecomment-747828744 The [quarkus-master](https://github.com/apache/camel-quarkus/tree/quarkus-master) branch build is still failing: * Build ID: 429533918-239-91927cba-ccb1-443c-bf53-1b6ad8890377 * Camel Quarkus Commit: a900ba2ddda21a7c2681bd4924c726dabaf31e3e * Quarkus Master Commit: Unknown * Link to build: https://github.com/apache/camel-quarkus/actions/runs/429533918 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch camel-master updated (29ccb82 -> 7846673)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch camel-master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. discard 29ccb82 Properties cleanups discard 12daf82 Adjust the SJMS2 tests to use the new test infra from Camel add c146803 Updated CHANGELOG.md add 1dd7d75 Adjust the SJMS2 tests to use the new test infra from Camel add 27065cb Properties cleanups add 2224c26 Align Cassandra tests with test infra from Camel 3.7 add 47cf546 Align ElasticSearch tests with test infra from Camel 3.7 add 2499c8c Align HDFS tests with test infra from Camel 3.7 add 5eab2cb Align JDBC tests with test infra from Camel 3.7 add ccc2d32 Align MongoDB tests with test infra from Camel 3.7 add a63fc43 Align RabbitMQ tests with test infra from Camel 3.7 add 827a5ee Align SQL tests with test infra from Camel 3.7 add 8218420 Removed repeated idempotency.enabled option in source connector basic configuration add 02cfc11 Removes invalid salesforce dependency add ea1e3ee Fix Jetty dependency conflicts in Salesforce connector (issue #407) add 053becf Fixed running salesforce CLI container in newer docker versions on Fedora add 7846673 Added Kafka idempotent repository cache size and poll timeout docs information 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 (29ccb82) \ N -- N -- N refs/heads/camel-master (7846673) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: CHANGELOG.md | 16 +++- .../camel-salesforce-kafka-connector/pom.xml | 7 ++ docs/modules/ROOT/pages/basic-configuration.adoc | 5 +- tests/itests-cassandra/pom.xml | 17 .../cassandra/services/CassandraContainer.java | 45 -- .../services/CassandraLocalContainerService.java | 57 - .../cassandra/services/CassandraService.java | 56 - .../services/CassandraServiceFactory.java | 45 -- .../cassandra/services/RemoteCassandraService.java | 50 --- .../cassandra/sink/CamelSinkCassandraITCase.java | 6 +- .../source/CamelSourceCassandraITCase.java | 4 +- tests/itests-elasticsearch/pom.xml | 25 +++--- .../ElasticSearchLocalContainerService.java| 67 --- .../services/ElasticSearchService.java | 53 .../services/ElasticSearchServiceFactory.java | 44 -- .../services/RemoteElasticSearchService.java | 48 --- .../sink/CamelSinkElasticSearchITCase.java | 6 +- tests/itests-hdfs/pom.xml | 32 +++ .../hdfs/services/ContainerLocalHDFSService.java | 65 -- .../hdfs/services/DataNodeContainer.java | 98 -- .../kafkaconnector/hdfs/services/HDFSPorts.java| 31 --- .../kafkaconnector/hdfs/services/HDFSService.java | 58 - .../hdfs/services/HDFSServiceFactory.java | 46 -- .../hdfs/services/HadoopBaseContainer.java | 48 --- .../hdfs/services/NameNodeContainer.java | 50 --- .../hdfs/services/RemoteHDFSService.java | 47 --- .../hdfs/sink/CamelSinkHDFSITCase.java | 6 +- tests/itests-jdbc/pom.xml | 17 .../jdbc/services/JDBCLocalContainerService.java | 58 - .../jdbc/services/JDBCRemoteService.java | 41 - .../kafkaconnector/jdbc/services/JDBCService.java | 47 --- .../jdbc/services/JDBCServiceFactory.java | 43 -- .../jdbc/services/TestDataSource.java | 3 +- .../jdbc/sink/CamelSinkJDBCITCase.java | 28 +-- tests/itests-mongodb/pom.xml | 21 +++-- .../services/MongoDBLocalContainerService.java | 56 - .../mongodb/services/MongoDBService.java | 46 -- .../mongodb/services/MongoDBServiceFactory.java| 44 -- .../mongodb/services/RemoteMongoDBService.java | 35 .../mongodb/sink/CamelSinkMongoDBITCase.java | 6 +- .../mongodb/source/CamelSourceMongoDBITCase.java | 6 +- tests/itests-rabbitmq/pom.xml | 23 +++-- .../rabbitmq/services/ConnectionProperties.java| 25
[camel-karaf] branch automatic-periodic-sync updated (dfbe76e -> cb1b8d2)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-karaf.git. from dfbe76e CAMEL-15929: Tidy up documentation menu add fe26bda CAMEL-15934: camel-resilience4j - Upgrade to 1.6.x add 9565e28 Set version to 3.8.0-SNAPSHOT add 6583e2a Target Camel 3.8.0-SNAPSHOT for development add 1e4b720 Regen add cb1b8d2 Regen No new revisions were added by this update. Summary of changes: archetypes/camel-archetype-blueprint/pom.xml | 2 +- archetypes/pom.xml| 2 +- bom/camel-karaf-bom/pom.xml | 2 +- bom/pom.xml | 2 +- catalog/camel-catalog-provider-karaf/pom.xml | 2 +- catalog/pom.xml | 2 +- components/camel-blueprint-main/pom.xml | 2 +- .../META-INF/services/org/apache/camel/other.properties | 2 +- .../src/generated/resources/blueprint-main.json | 2 +- components/camel-blueprint/pom.xml| 2 +- .../META-INF/services/org/apache/camel/other.properties | 2 +- .../camel-blueprint/src/generated/resources/blueprint.json| 2 +- components/camel-cxf-blueprint/pom.xml| 2 +- .../META-INF/services/org/apache/camel/other.properties | 2 +- .../src/generated/resources/cxf-blueprint.json| 2 +- components/camel-cxf-transport-blueprint/pom.xml | 2 +- .../META-INF/services/org/apache/camel/other.properties | 2 +- .../src/generated/resources/cxf-transport-blueprint.json | 2 +- components/camel-eventadmin/pom.xml | 2 +- .../META-INF/services/org/apache/camel/component.properties | 2 +- .../org/apache/camel/component/eventadmin/eventadmin.json | 2 +- components/camel-kura/pom.xml | 2 +- .../META-INF/services/org/apache/camel/other.properties | 2 +- components/camel-kura/src/generated/resources/kura.json | 2 +- components/camel-osgi-activator/pom.xml | 2 +- .../META-INF/services/org/apache/camel/other.properties | 2 +- .../src/generated/resources/osgi-activator.json | 2 +- components/camel-paxlogging/pom.xml | 2 +- .../META-INF/services/org/apache/camel/component.properties | 2 +- .../org/apache/camel/component/paxlogging/paxlogging.json | 2 +- components/camel-servlet-osgi/pom.xml | 2 +- .../META-INF/services/org/apache/camel/other.properties | 2 +- .../src/generated/resources/servlet-osgi.json | 2 +- components/camel-test-blueprint/pom.xml | 2 +- .../META-INF/services/org/apache/camel/other.properties | 2 +- .../src/generated/resources/test-blueprint.json | 2 +- components/camel-test-karaf/pom.xml | 2 +- .../META-INF/services/org/apache/camel/other.properties | 2 +- .../camel-test-karaf/src/generated/resources/test-karaf.json | 2 +- components/pom.xml| 2 +- core/camel-core-osgi/pom.xml | 2 +- core/pom.xml | 2 +- docs/modules/ROOT/pages/components.adoc | 4 ++-- platforms/commands/commands-core/pom.xml | 2 +- platforms/commands/pom.xml| 2 +- platforms/karaf/commands/pom.xml | 2 +- platforms/karaf/features/pom.xml | 2 +- platforms/karaf/features/src/main/resources/features.xml | 11 --- platforms/karaf/pom.xml | 2 +- platforms/pom.xml | 2 +- pom.xml | 9 - tests/camel-blueprint-cxf-test/pom.xml| 2 +- tests/camel-blueprint-test/pom.xml| 2 +- tests/camel-itest-osgi/pom.xml| 2 +- tests/pom.xml | 2 +- tooling/camel-catalog-generator-karaf-maven-plugin/pom.xml| 2 +- tooling/camel-karaf-docs-maven-plugin/pom.xml | 2 +- tooling/pom.xml | 2 +- 58 files changed, 61 insertions(+), 73 deletions(-)
[GitHub] [camel-spring-boot] github-actions[bot] opened a new pull request #248: [Github Actions] Periodic Sync Camel Spring Boot Master Branch
github-actions[bot] opened a new pull request #248: URL: https://github.com/apache/camel-spring-boot/pull/248 Periodic Sync of Camel Spring Boot Master Branch with main Camel Master. see https://github.com/apache/camel-spring-boot/blob/master/.github/workflows/automatic-sync-master.yml This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch automatic-periodic-sync updated (09a4c84 -> 9d77ba8)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git. omit 09a4c84 [create-pull-request] automated change add 5a2407e [create-pull-request] automated change add c4e4828 Set version to 3.8.0-SNAPSHOT add a444bd3 Target Camel 3.8.0-SNAPSHOT add 3ea10cd Regen add d9e2033 Next is 3.8.0-SNAPSHOT for template starter too add 9d77ba8 [create-pull-request] automated change This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (09a4c84) \ N -- N -- N refs/heads/automatic-periodic-sync (9d77ba8) 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: archetypes/camel-archetype-spring-boot/pom.xml | 2 +- archetypes/pom.xml | 2 +- catalog/camel-catalog-provider-springboot/pom.xml | 2 +- .../springboot/catalog/components/activemq.json| 2 +- .../springboot/catalog/components/ahc-ws.json | 2 +- .../springboot/catalog/components/ahc-wss.json | 2 +- .../camel/springboot/catalog/components/ahc.json | 2 +- .../camel/springboot/catalog/components/amqp.json | 2 +- .../camel/springboot/catalog/components/apns.json | 2 +- .../springboot/catalog/components/arangodb.json| 2 +- .../camel/springboot/catalog/components/as2.json | 2 +- .../springboot/catalog/components/asterisk.json| 2 +- .../springboot/catalog/components/atlasmap.json| 2 +- .../camel/springboot/catalog/components/atmos.json | 2 +- .../catalog/components/atmosphere-websocket.json | 2 +- .../camel/springboot/catalog/components/atom.json | 2 +- .../springboot/catalog/components/atomix-map.json | 2 +- .../catalog/components/atomix-messaging.json | 2 +- .../catalog/components/atomix-multimap.json| 2 +- .../catalog/components/atomix-queue.json | 2 +- .../springboot/catalog/components/atomix-set.json | 2 +- .../catalog/components/atomix-value.json | 2 +- .../camel/springboot/catalog/components/avro.json | 2 +- .../springboot/catalog/components/aws-cw.json | 2 +- .../springboot/catalog/components/aws-ddb.json | 2 +- .../catalog/components/aws-ddbstream.json | 2 +- .../springboot/catalog/components/aws-ec2.json | 2 +- .../springboot/catalog/components/aws-ecs.json | 2 +- .../springboot/catalog/components/aws-eks.json | 2 +- .../springboot/catalog/components/aws-iam.json | 2 +- .../catalog/components/aws-kinesis-firehose.json | 2 +- .../springboot/catalog/components/aws-kinesis.json | 2 +- .../springboot/catalog/components/aws-kms.json | 2 +- .../springboot/catalog/components/aws-lambda.json | 2 +- .../springboot/catalog/components/aws-mq.json | 2 +- .../springboot/catalog/components/aws-msk.json | 2 +- .../springboot/catalog/components/aws-s3.json | 2 +- .../springboot/catalog/components/aws-sdb.json | 2 +- .../springboot/catalog/components/aws-ses.json | 2 +- .../springboot/catalog/components/aws-sns.json | 2 +- .../springboot/catalog/components/aws-sqs.json | 2 +- .../springboot/catalog/components/aws-swf.json | 2 +- .../catalog/components/aws-translate.json | 2 +- .../springboot/catalog/components/aws2-athena.json | 2 +- .../springboot/catalog/components/aws2-cw.json | 2 +- .../springboot/catalog/components/aws2-ddb.json| 2 +- .../catalog/components/aws2-ddbstream.json | 2 +- .../springboot/catalog/components/aws2-ec2.json| 2 +- .../springboot/catalog/components/aws2-ecs.json| 2 +- .../springboot/catalog/components/aws2-eks.json| 2 +- .../catalog/components/aws2-eventbridge.json | 4 +- .../springboot/catalog/components/aws2-iam.json| 6 +- .../catalog/components/aws2-kinesis-firehose.json | 2 +- .../catalog/components/aws2-kinesis.json | 2 +- .../springboot/catalog/components/aws2-kms.json| 2 +- .../springboot/catalog/components/aws2-lambda.json | 2 +- .../springboot/catalog/components/aws2-mq.json | 2 +- .../springboot/catalog/components/aws2-msk.json| 2 +- .../springboot/catalog/components/aws2-s3.json | 2 +- .../springboot/catalog/components/aws2-ses.json| 2 +-
[GitHub] [camel-website] ppalaga commented on pull request #509: Blog: Camel Quarkus 1.5.0
ppalaga commented on pull request #509: URL: https://github.com/apache/camel-website/pull/509#issuecomment-747763787 @zbendhiba could you please review 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] ppalaga opened a new pull request #509: Blog: Camel Quarkus 1.5.0
ppalaga opened a new pull request #509: URL: https://github.com/apache/camel-website/pull/509 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (b9ccc10 -> 73de6c5)
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 b9ccc10 Regen for commit 75edd58d225883fb5e50b700b8108512103851d9 add 73de6c5 Regen for commit 75edd58d225883fb5e50b700b8108512103851d9 (#4792) 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 (b9ccc10) \ N -- N -- N refs/heads/regen_bot (73de6c5) 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 master updated: Regen for commit 75edd58d225883fb5e50b700b8108512103851d9 (#4792)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 73de6c5 Regen for commit 75edd58d225883fb5e50b700b8108512103851d9 (#4792) 73de6c5 is described below commit 73de6c53cf313cd2bb341988dee5fb1093a376a0 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Dec 17 21:19:39 2020 +0100 Regen for commit 75edd58d225883fb5e50b700b8108512103851d9 (#4792) Signed-off-by: GitHub Co-authored-by: davsclaus --- .../generated/resources/org/apache/camel/catalog/components/imap.json | 2 ++ .../generated/resources/org/apache/camel/catalog/components/imaps.json | 2 ++ .../generated/resources/org/apache/camel/catalog/components/pop3.json | 2 ++ .../generated/resources/org/apache/camel/catalog/components/pop3s.json | 2 ++ .../generated/resources/org/apache/camel/catalog/components/smtp.json | 2 ++ .../generated/resources/org/apache/camel/catalog/components/smtps.json | 2 ++ 6 files changed, 12 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/imap.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/imap.json index a5ef97a..c5490ad 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/imap.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/imap.json @@ -27,6 +27,7 @@ "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a me [...] "closeFolder": { "kind": "property", "displayName": "Close Folder", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.mail.MailConfiguration", "configurationField": "configuration", "description": "Whether the consumer should close the folder after polling. Setting this option to f [...] "copyTo": { "kind": "property", "displayName": "Copy To", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.mail.MailConfiguration", "configurationField": "configuration", "description": "After processing a mail message, it can be copied to a mail folder with the given name. You can override thi [...] +"decodeFilename": { "kind": "property", "displayName": "Decode Filename", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.mail.MailConfiguration", "configurationField": "configuration", "description": "If set to true, the MimeUtility.decodeText method will be used to decode the filename. This is simil [...] "delete": { "kind": "property", "displayName": "Delete", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.mail.MailConfiguration", "configurationField": "configuration", "description": "Deletes the messages after they have been processed. This is done by setting the DELETED flag [...] "disconnect": { "kind": "property", "displayName": "Disconnect", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.mail.MailConfiguration", "configurationField": "configuration", "description": "Whether the consumer should disconnect after polling. If enabled this forces Camel to [...] "handleFailedMessage": { "kind": "property", "displayName": "Handle Failed Message", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "defaultValue": false, "configurationClass":
[GitHub] [camel] davsclaus merged pull request #4792: Generated sources regen
davsclaus merged pull request #4792: URL: https://github.com/apache/camel/pull/4792 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (45247f0 -> b9ccc10)
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 45247f0 Regen for commit e53061441921f4e9a5cd145f3fe6664dba6fa68d add 75edd58 CAMEL-13024: camel-mail - Add option to configure whether to encode attachment file name or not. Thanks to Stephan Siano for unit test. add b9ccc10 Regen for commit 75edd58d225883fb5e50b700b8108512103851d9 No new revisions were added by this update. Summary of changes: .../org/apache/camel/catalog/components/imap.json | 2 ++ .../org/apache/camel/catalog/components/imaps.json | 2 ++ .../org/apache/camel/catalog/components/pop3.json | 2 ++ .../org/apache/camel/catalog/components/pop3s.json | 2 ++ .../org/apache/camel/catalog/components/smtp.json | 2 ++ .../org/apache/camel/catalog/components/smtps.json | 2 ++ .../apache/camel/catalog/docs/mail-component.adoc | 6 ++-- .../component/mail/MailComponentConfigurer.java| 6 .../component/mail/MailEndpointConfigurer.java | 6 .../component/mail/MailEndpointUriFactory.java | 3 +- .../org/apache/camel/component/mail/imap.json | 2 ++ .../org/apache/camel/component/mail/imaps.json | 2 ++ .../org/apache/camel/component/mail/pop3.json | 2 ++ .../org/apache/camel/component/mail/pop3s.json | 2 ++ .../org/apache/camel/component/mail/smtp.json | 2 ++ .../org/apache/camel/component/mail/smtps.json | 2 ++ .../camel-mail/src/main/docs/mail-component.adoc | 6 ++-- .../apache/camel/component/mail/MailBinding.java | 13 ++-- .../camel/component/mail/MailConfiguration.java| 14 .../apache/camel/component/mail/MailEndpoint.java | 3 +- ... MailBindingAttachmentEncodedFilenameTest.java} | 38 +++--- .../component/dsl/ImapComponentBuilderFactory.java | 18 ++ .../dsl/ImapsComponentBuilderFactory.java | 18 ++ .../component/dsl/Pop3ComponentBuilderFactory.java | 18 ++ .../dsl/Pop3sComponentBuilderFactory.java | 18 ++ .../component/dsl/SmtpComponentBuilderFactory.java | 18 ++ .../dsl/SmtpsComponentBuilderFactory.java | 18 ++ .../endpoint/dsl/MailEndpointBuilderFactory.java | 36 .../modules/ROOT/pages/mail-component.adoc | 6 ++-- 29 files changed, 240 insertions(+), 29 deletions(-) copy components/camel-mail/src/test/java/org/apache/camel/component/mail/{MailBindingAttachmentFileTest.java => MailBindingAttachmentEncodedFilenameTest.java} (63%)
[GitHub] [camel] github-actions[bot] opened a new pull request #4792: Generated sources regen
github-actions[bot] opened a new pull request #4792: URL: https://github.com/apache/camel/pull/4792 Regen bot :robot: found some uncommited changes after running build on :camel: master. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch master updated: CAMEL-13024: camel-mail - Add option to configure whether to encode attachment file name or not. Thanks to Stephan Siano for unit test.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 75edd58 CAMEL-13024: camel-mail - Add option to configure whether to encode attachment file name or not. Thanks to Stephan Siano for unit test. 75edd58 is described below commit 75edd58d225883fb5e50b700b8108512103851d9 Author: Claus Ibsen AuthorDate: Thu Dec 17 20:38:06 2020 +0100 CAMEL-13024: camel-mail - Add option to configure whether to encode attachment file name or not. Thanks to Stephan Siano for unit test. --- .../apache/camel/catalog/docs/mail-component.adoc | 6 +- .../component/mail/MailComponentConfigurer.java| 6 ++ .../component/mail/MailEndpointConfigurer.java | 6 ++ .../component/mail/MailEndpointUriFactory.java | 3 +- .../org/apache/camel/component/mail/imap.json | 2 + .../org/apache/camel/component/mail/imaps.json | 2 + .../org/apache/camel/component/mail/pop3.json | 2 + .../org/apache/camel/component/mail/pop3s.json | 2 + .../org/apache/camel/component/mail/smtp.json | 2 + .../org/apache/camel/component/mail/smtps.json | 2 + .../camel-mail/src/main/docs/mail-component.adoc | 6 +- .../apache/camel/component/mail/MailBinding.java | 13 - .../camel/component/mail/MailConfiguration.java| 14 + .../apache/camel/component/mail/MailEndpoint.java | 3 +- .../MailBindingAttachmentEncodedFilenameTest.java | 68 ++ .../component/dsl/ImapComponentBuilderFactory.java | 18 ++ .../dsl/ImapsComponentBuilderFactory.java | 18 ++ .../component/dsl/Pop3ComponentBuilderFactory.java | 18 ++ .../dsl/Pop3sComponentBuilderFactory.java | 18 ++ .../component/dsl/SmtpComponentBuilderFactory.java | 18 ++ .../dsl/SmtpsComponentBuilderFactory.java | 18 ++ .../endpoint/dsl/MailEndpointBuilderFactory.java | 36 .../modules/ROOT/pages/mail-component.adoc | 6 +- 23 files changed, 277 insertions(+), 10 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/mail-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/mail-component.adoc index 4602ed4..c6252c7 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/mail-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/mail-component.adoc @@ -98,7 +98,7 @@ You can append query options to the URI in the following format, // component options: START -The Mail component supports 42 options, which are listed below. +The Mail component supports 43 options, which are listed below. @@ -108,6 +108,7 @@ The Mail component supports 42 options, which are listed below. | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | boolean | *closeFolder* (consumer) | Whether the consumer should close the folder after polling. Setting this option to false and having disconnect=false as well, then the consumer keep the folder open between polls. | true | boolean | *copyTo* (consumer) | After processing a mail message, it can be copied to a mail folder with the given name. You can override this configuration value, with a header with the key copyTo, allowing you to copy messages to folder names configured at runtime. | | String +| *decodeFilename* (consumer) | If set to true, the MimeUtility.decodeText method will be used to decode the filename. This is similar to setting JVM system property mail.mime.encodefilename. | false | boolean | *delete* (consumer) | Deletes the messages after they have been processed. This is done by setting the DELETED flag on the mail message. If false, the SEEN flag is set instead. As of Camel 2.10 you can override this configuration option by setting a header with the key delete to determine if the mail should be deleted or not. | false | boolean | *disconnect* (consumer) | Whether the consumer should disconnect after polling. If enabled this forces Camel to connect on each poll. | false | boolean | *handleFailedMessage* (consumer) | If the mail consumer cannot retrieve a given mail message, then this option allows to handle the caused exception by the consumer's error handler. By enable the bridge error handler on the consumer, then the Camel routing error handler can handle the exception instead. The default behavior would be
[camel-website] branch asf-site updated (40499f8 -> bf91440)
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 40499f8 Website updated to a3f4434a58749cd64241584e695e77c0ec91b1c8 discard b8f1b42 Updated the website to b19baea new 72ca054 Updated the website to b19baea new bf91440 Website updated to a3f4434a58749cd64241584e695e77c0ec91b1c8 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 (40499f8) \ N -- N -- N refs/heads/asf-site (bf91440) 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: camel-k/latest/installation/digitalocean.html |2 +- .../latest/basic-configuration.html|2 +- camel-spring-boot/3.4.x/list.html |2 +- camel-spring-boot/3.4.x/spring-boot.html |2 +- components/3.4.x/salesforce-component.html |2 +- components/3.7.x/aws2-iam-component.html |2 +- components/latest/aws2-iam-component.html |2 +- releases/ckc-0.6.1/index.html |2 +- sitemap-camel-k.xml| 168 +- sitemap-camel-kafka-connector.xml | 3308 +++ sitemap-camel-karaf.xml| 28 +- sitemap-camel-quarkus.xml | 656 +-- sitemap-camel-spring-boot.xml | 1282 +++--- sitemap-components.xml | 4298 ++-- sitemap-manual.xml | 484 +-- 15 files changed, 5120 insertions(+), 5120 deletions(-)
[camel] branch regen_bot updated (3ad954b -> 45247f0)
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 3ad954b Regen for commit e53061441921f4e9a5cd145f3fe6664dba6fa68d add 45247f0 Regen for commit e53061441921f4e9a5cd145f3fe6664dba6fa68d 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 (3ad954b) \ N -- N -- N refs/heads/regen_bot (45247f0) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes:
[GitHub] [camel-k] oscerd merged pull request #1868: Fix typo DigitalOcen --> DigitalOcean
oscerd merged pull request #1868: URL: https://github.com/apache/camel-k/pull/1868 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-k] branch master updated: Fix typo DigitalOcen --> DigitalOcean (#1868)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/master by this push: new df3ef98 Fix typo DigitalOcen --> DigitalOcean (#1868) df3ef98 is described below commit df3ef98dca7daad0586f811b887a7b2e69ab7d0e Author: Aurélien Pupier AuthorDate: Thu Dec 17 17:06:45 2020 +0100 Fix typo DigitalOcen --> DigitalOcean (#1868) --- docs/modules/ROOT/pages/installation/digitalocean.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/installation/digitalocean.adoc b/docs/modules/ROOT/pages/installation/digitalocean.adoc index 42bad62..4ebab39 100644 --- a/docs/modules/ROOT/pages/installation/digitalocean.adoc +++ b/docs/modules/ROOT/pages/installation/digitalocean.adoc @@ -3,6 +3,6 @@ This guide assumes you've already created a Kubernetes Engine cluster on https://digitalocean.com. -To install Camel K on a DigitalOcean Kubernetes cluster, just to xref:installation/registry/digitalocean.adoc[configure the DigitalOcen container registry] during installation. +To install Camel K on a DigitalOcean Kubernetes cluster, just to xref:installation/registry/digitalocean.adoc[configure the DigitalOcean container registry] during installation. After doing that, you'll be ready to play with Camel K. Enjoy!
[GitHub] [camel-k] apupier opened a new pull request #1868: Fix typo DigitalOcen --> DigitalOcean
apupier opened a new pull request #1868: URL: https://github.com/apache/camel-k/pull/1868 **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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] oscerd merged pull request #4791: Generated sources regen
oscerd merged pull request #4791: URL: https://github.com/apache/camel/pull/4791 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch master updated: Regen for commit e53061441921f4e9a5cd145f3fe6664dba6fa68d
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 45247f0 Regen for commit e53061441921f4e9a5cd145f3fe6664dba6fa68d 45247f0 is described below commit 45247f08f986527367ec4ac871c74616048cf0fe Author: davsclaus AuthorDate: Thu Dec 17 15:30:41 2020 + Regen for commit e53061441921f4e9a5cd145f3fe6664dba6fa68d Signed-off-by: GitHub --- .../resources/org/apache/camel/catalog/components/aws2-iam.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-iam.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-iam.json index b6877d3..b40879c 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-iam.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-iam.json @@ -25,7 +25,7 @@ "configuration": { "kind": "property", "displayName": "Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws2.iam.IAM2Configuration", "deprecated": false, "autowired": false, "secret": false, "description": "Component configuration" }, "iamClient": { "kind": "property", "displayName": "Iam Client", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "software.amazon.awssdk.services.iam.IamClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": "configuration", "description": "To use a existing configured AWS IAM as client" }, "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] -"operation": { "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.aws2.iam.IAM2Operations", "enum": [ "listAccessKeys", "createUser", "deleteUser", "getUser", "listUsers", "createAccessKey", "deleteAccessKey", "updateAccessKey", "createGroup", "deleteGroup", "listGroups", "addUserToGroup", "removeUserFromGroup" ], "deprecated": false, "deprecationNote": "", "autowired": false, " [...] +"operation": { "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws2.iam.IAM2Operations", "enum": [ "listAccessKeys", "createUser", "deleteUser", "getUser", "listUsers", "createAccessKey", "deleteAccessKey", "updateAccessKey", "createGroup", "deleteGroup", "listGroups", "addUserToGroup", "removeUserFromGroup" ], "deprecated": false, "autowired": false, "secret": false, "confi [...] "pojoRequest": { "kind": "property", "displayName": "Pojo Request", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" }, "proxyHost": { "kind": "property", "displayName": "Proxy Host", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": "configuration", "description": "To define a proxy host when instantiating the IAM client" }, "proxyPort": { "kind": "property", "displayName": "Proxy Port", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.iam.IAM2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the IAM client" }, @@ -40,7 +40,7 @@ "label": { "kind": "path", "displayName": "Label", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
[camel] branch regen_bot updated (be27bd0 -> 3ad954b)
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 be27bd0 camel-core - Reorder type converter to better match correct add 055fb3f Added test based on user forum issue add e530614 CAMEL-15938: camel-aws-iam - operation is not always required as parameter. add 3ad954b Regen for commit e53061441921f4e9a5cd145f3fe6664dba6fa68d No new revisions were added by this update. Summary of changes: .../apache/camel/catalog/components/aws2-iam.json | 4 +- .../camel/catalog/docs/aws2-iam-component.adoc | 4 +- .../apache/camel/component/aws2/iam/aws2-iam.json | 4 +- .../src/main/docs/aws2-iam-component.adoc | 4 +- .../component/aws2/iam/IAM2Configuration.java | 6 ++- .../camel/component/aws2/iam/IAM2Producer.java | 9 +++- components/camel-servlet/pom.xml | 5 +++ ...st.java => RestJsonBindingInvalidDataTest.java} | 50 -- .../dsl/Aws2IamComponentBuilderFactory.java| 4 +- .../endpoint/dsl/IAM2EndpointBuilderFactory.java | 10 +++-- .../modules/ROOT/pages/aws2-iam-component.adoc | 4 +- 11 files changed, 62 insertions(+), 42 deletions(-) copy components/camel-servlet/src/test/java/org/apache/camel/component/servlet/rest/{RestServletBindingModeAutoWithJsonTest.java => RestJsonBindingInvalidDataTest.java} (50%)
[GitHub] [camel] github-actions[bot] opened a new pull request #4791: Generated sources regen
github-actions[bot] opened a new pull request #4791: URL: https://github.com/apache/camel/pull/4791 Regen bot :robot: found some uncommited changes after running build on :camel: master. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch camel-3.7.x updated: CAMEL-15938: camel-aws-iam - operation is not always required as parameter.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.7.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.7.x by this push: new df89114 CAMEL-15938: camel-aws-iam - operation is not always required as parameter. df89114 is described below commit df891144c09f57bd16011384f126fa94f2ae9803 Author: Claus Ibsen AuthorDate: Thu Dec 17 15:52:31 2020 +0100 CAMEL-15938: camel-aws-iam - operation is not always required as parameter. --- .../org/apache/camel/catalog/docs/aws2-iam-component.adoc | 4 ++-- .../org/apache/camel/component/aws2/iam/aws2-iam.json | 4 ++-- .../camel-aws2-iam/src/main/docs/aws2-iam-component.adoc | 4 ++-- .../org/apache/camel/component/aws2/iam/IAM2Configuration.java | 6 -- .../java/org/apache/camel/component/aws2/iam/IAM2Producer.java | 9 +++-- .../builder/component/dsl/Aws2IamComponentBuilderFactory.java | 4 +++- .../camel/builder/endpoint/dsl/IAM2EndpointBuilderFactory.java | 10 ++ docs/components/modules/ROOT/pages/aws2-iam-component.adoc | 4 ++-- 8 files changed, 28 insertions(+), 17 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc index ae12b55..ec77ba0 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc @@ -52,7 +52,7 @@ The AWS 2 Identity and Access Management (IAM) component supports 13 options, wh | *configuration* (producer) | Component configuration | | IAM2Configuration | *iamClient* (producer) | *Autowired* To use a existing configured AWS IAM as client | | IamClient | *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 13 enums and the value can be one of: listAccessKeys, createUser, deleteUser, getUser, listUsers, createAccessKey, deleteAccessKey, updateAccessKey, createGroup, deleteGroup, listGroups, addUserToGroup, removeUserFromGroup | | IAM2Operations +| *operation* (producer) | The operation to perform. You can configure a default operation on the component level, or the operation as part of the endpoint, or via a message header with the key CamelAwsIAMOperation. There are 13 enums and the value can be one of: listAccessKeys, createUser, deleteUser, getUser, listUsers, createAccessKey, deleteAccessKey, updateAccessKey, createGroup, deleteGroup, listGroups, addUserToGroup, removeUserFromGroup | | IAM2Operations | *pojoRequest* (producer) | If we want to use a POJO request as body or not | false | boolean | *proxyHost* (producer) | To define a proxy host when instantiating the IAM client | | String | *proxyPort* (producer) | To define a proxy port when instantiating the IAM client | | Integer @@ -95,7 +95,7 @@ with the following path and query parameters: | Name | Description | Default | Type | *iamClient* (producer) | *Autowired* To use a existing configured AWS IAM as client | | IamClient | *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 13 enums and the value can be one of: listAccessKeys, createUser, deleteUser, getUser, listUsers, createAccessKey, deleteAccessKey, updateAccessKey, createGroup, deleteGroup, listGroups, addUserToGroup, removeUserFromGroup | | IAM2Operations +| *operation* (producer) | The operation to perform. You can configure a default operation on the component level, or the operation as part of the endpoint, or via a message header with the key CamelAwsIAMOperation. There are 13 enums and the value can be one of: listAccessKeys, createUser, deleteUser, getUser, listUsers, createAccessKey, deleteAccessKey, updateAccessKey,
[camel] branch master updated: CAMEL-15938: camel-aws-iam - operation is not always required as parameter.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new e530614 CAMEL-15938: camel-aws-iam - operation is not always required as parameter. e530614 is described below commit e53061441921f4e9a5cd145f3fe6664dba6fa68d Author: Claus Ibsen AuthorDate: Thu Dec 17 15:52:31 2020 +0100 CAMEL-15938: camel-aws-iam - operation is not always required as parameter. --- .../org/apache/camel/catalog/docs/aws2-iam-component.adoc | 4 ++-- .../org/apache/camel/component/aws2/iam/aws2-iam.json | 4 ++-- .../camel-aws2-iam/src/main/docs/aws2-iam-component.adoc | 4 ++-- .../org/apache/camel/component/aws2/iam/IAM2Configuration.java | 6 -- .../java/org/apache/camel/component/aws2/iam/IAM2Producer.java | 9 +++-- .../builder/component/dsl/Aws2IamComponentBuilderFactory.java | 4 +++- .../camel/builder/endpoint/dsl/IAM2EndpointBuilderFactory.java | 10 ++ docs/components/modules/ROOT/pages/aws2-iam-component.adoc | 4 ++-- 8 files changed, 28 insertions(+), 17 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc index ae12b55..ec77ba0 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc @@ -52,7 +52,7 @@ The AWS 2 Identity and Access Management (IAM) component supports 13 options, wh | *configuration* (producer) | Component configuration | | IAM2Configuration | *iamClient* (producer) | *Autowired* To use a existing configured AWS IAM as client | | IamClient | *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 13 enums and the value can be one of: listAccessKeys, createUser, deleteUser, getUser, listUsers, createAccessKey, deleteAccessKey, updateAccessKey, createGroup, deleteGroup, listGroups, addUserToGroup, removeUserFromGroup | | IAM2Operations +| *operation* (producer) | The operation to perform. You can configure a default operation on the component level, or the operation as part of the endpoint, or via a message header with the key CamelAwsIAMOperation. There are 13 enums and the value can be one of: listAccessKeys, createUser, deleteUser, getUser, listUsers, createAccessKey, deleteAccessKey, updateAccessKey, createGroup, deleteGroup, listGroups, addUserToGroup, removeUserFromGroup | | IAM2Operations | *pojoRequest* (producer) | If we want to use a POJO request as body or not | false | boolean | *proxyHost* (producer) | To define a proxy host when instantiating the IAM client | | String | *proxyPort* (producer) | To define a proxy port when instantiating the IAM client | | Integer @@ -95,7 +95,7 @@ with the following path and query parameters: | Name | Description | Default | Type | *iamClient* (producer) | *Autowired* To use a existing configured AWS IAM as client | | IamClient | *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 13 enums and the value can be one of: listAccessKeys, createUser, deleteUser, getUser, listUsers, createAccessKey, deleteAccessKey, updateAccessKey, createGroup, deleteGroup, listGroups, addUserToGroup, removeUserFromGroup | | IAM2Operations +| *operation* (producer) | The operation to perform. You can configure a default operation on the component level, or the operation as part of the endpoint, or via a message header with the key CamelAwsIAMOperation. There are 13 enums and the value can be one of: listAccessKeys, createUser, deleteUser, getUser, listUsers, createAccessKey, deleteAccessKey, updateAccessKey, createGroup,
[GitHub] [camel-k] apupier commented on issue #1163: Create a Github Action for Camel K
apupier commented on issue #1163: URL: https://github.com/apache/camel-k/issues/1163#issuecomment-747496834 example to have Camel K configured on Minikube currently: ``` name: Test on: [push] jobs: test: name: Test Camel K runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 - name: Setup Minikube uses: manusa/actions-setup-minikube@v2.2.0 with: minikube version: 'v1.15.1' kubernetes version: 'v1.20.0' driver: 'docker' - name: Install Kamel run: | minikube addons enable registry curl -Lo kamel.tar.gz https://github.com/apache/camel-k/releases/download/v1.2.1/camel-k-client-1.2.1-linux-64bit.tar.gz tar -zxvf kamel.tar.gz chmod +x kamel sudo mv kamel /usr/local/bin/ kamel install - name: Test kamel run: kamel get ``` 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] orpiske closed issue #807: Jetty conflicts in Salesforce connector
orpiske closed issue #807: URL: https://github.com/apache/camel-kafka-connector/issues/807 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] orpiske commented on issue #807: Jetty conflicts in Salesforce connector
orpiske commented on issue #807: URL: https://github.com/apache/camel-kafka-connector/issues/807#issuecomment-747460940 Should have been fixed with #808. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-karaf] branch camel-karaf-3.4.x updated: fixed installing camel-shiro after upgrade
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-karaf-3.4.x in repository https://gitbox.apache.org/repos/asf/camel-karaf.git The following commit(s) were added to refs/heads/camel-karaf-3.4.x by this push: new ab88190 fixed installing camel-shiro after upgrade ab88190 is described below commit ab88190580e583c82a7a629f49fe9feaafc90904 Author: Claus Ibsen AuthorDate: Thu Dec 17 14:52:54 2020 +0100 fixed installing camel-shiro after upgrade --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1e23d05..ac207d4 100644 --- a/pom.xml +++ b/pom.xml @@ -228,7 +228,6 @@ 1.3.7_1 1.14.1_1 2.3_2 -1.5.1 2.2.0 1.1.7.3 8.4.1_1
[GitHub] [camel-quarkus] zbendhiba commented on issue #2085: Redis support
zbendhiba commented on issue #2085: URL: https://github.com/apache/camel-quarkus/issues/2085#issuecomment-747450746 There's a redis client extension : https://quarkus.io/guides/redis 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] oscerd merged pull request #809: Added Kafka idempotent repository cache size and poll timeout docs in…
oscerd merged pull request #809: URL: https://github.com/apache/camel-kafka-connector/pull/809 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch master updated: Added Kafka idempotent repository cache size and poll timeout docs information
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/master by this push: new 7846673 Added Kafka idempotent repository cache size and poll timeout docs information 7846673 is described below commit 78466733dc2413ced29063dbd8efa0b4a4c6576e Author: Andrea Cosentino AuthorDate: Thu Dec 17 14:44:32 2020 +0100 Added Kafka idempotent repository cache size and poll timeout docs information --- docs/modules/ROOT/pages/basic-configuration.adoc | 4 1 file changed, 4 insertions(+) diff --git a/docs/modules/ROOT/pages/basic-configuration.adoc b/docs/modules/ROOT/pages/basic-configuration.adoc index 0a9da39..63b0967 100644 --- a/docs/modules/ROOT/pages/basic-configuration.adoc +++ b/docs/modules/ROOT/pages/basic-configuration.adoc @@ -25,6 +25,8 @@ For a Sink connector the basic options are: | camel.idempotency.memory.dimension | The Memory dimension of the in memory idempotent Repository | 100 | LOW | camel.idempotency.kafka.topic | The Kafka topic name to use for the idempotent repository | kafka_idempotent_repository | LOW | camel.idempotency.kafka.bootstrap.servers | A comma-separated list of host and port pairs that are the addresses of the Kafka brokers where the idempotent repository should live | localhost:9092 | LOW +| camel.idempotency.kafka.max.cache.size | Sets the maximum size of the local key cache | 1000 | LOW +| camel.idempotency.kafka.poll.duration.ms | Sets the poll duration (in milliseconds) of the Kafka consumer | 100 | LOW |=== For a Source connector the basic options are: @@ -55,6 +57,8 @@ For a Source connector the basic options are: | camel.idempotency.memory.dimension | The Memory dimension of the in memory idempotent Repository | 100 | LOW | camel.idempotency.kafka.topic | The Kafka topic name to use for the idempotent repository | kafka_idempotent_repository | LOW | camel.idempotency.kafka.bootstrap.servers | A comma-separated list of host and port pairs that are the addresses of the Kafka brokers where the idempotent repository should live | localhost:9092 | LOW +| camel.idempotency.kafka.max.cache.size | Sets the maximum size of the local key cache | 1000 | LOW +| camel.idempotency.kafka.poll.duration.ms | Sets the poll duration (in milliseconds) of the Kafka consumer | 100 | LOW |=== For more options related to single connector you can have a look at xref:connectors.adoc[Connectors list].
[GitHub] [camel-kafka-connector] oscerd opened a new pull request #809: Added Kafka idempotent repository cache size and poll timeout docs in…
oscerd opened a new pull request #809: URL: https://github.com/apache/camel-kafka-connector/pull/809 …formation 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch options-idempotency created (now d64121c)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch options-idempotency in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. at d64121c Added Kafka idempotent repository cache size and poll timeout docs information This branch includes the following new commits: new d64121c Added Kafka idempotent repository cache size and poll timeout docs information 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-kafka-connector] 01/01: Added Kafka idempotent repository cache size and poll timeout docs information
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch options-idempotency in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit d64121c6f16aef9af6df3daa7731d1dd89ac3c43 Author: Andrea Cosentino AuthorDate: Thu Dec 17 14:44:32 2020 +0100 Added Kafka idempotent repository cache size and poll timeout docs information --- docs/modules/ROOT/pages/basic-configuration.adoc | 4 1 file changed, 4 insertions(+) diff --git a/docs/modules/ROOT/pages/basic-configuration.adoc b/docs/modules/ROOT/pages/basic-configuration.adoc index 0a9da39..63b0967 100644 --- a/docs/modules/ROOT/pages/basic-configuration.adoc +++ b/docs/modules/ROOT/pages/basic-configuration.adoc @@ -25,6 +25,8 @@ For a Sink connector the basic options are: | camel.idempotency.memory.dimension | The Memory dimension of the in memory idempotent Repository | 100 | LOW | camel.idempotency.kafka.topic | The Kafka topic name to use for the idempotent repository | kafka_idempotent_repository | LOW | camel.idempotency.kafka.bootstrap.servers | A comma-separated list of host and port pairs that are the addresses of the Kafka brokers where the idempotent repository should live | localhost:9092 | LOW +| camel.idempotency.kafka.max.cache.size | Sets the maximum size of the local key cache | 1000 | LOW +| camel.idempotency.kafka.poll.duration.ms | Sets the poll duration (in milliseconds) of the Kafka consumer | 100 | LOW |=== For a Source connector the basic options are: @@ -55,6 +57,8 @@ For a Source connector the basic options are: | camel.idempotency.memory.dimension | The Memory dimension of the in memory idempotent Repository | 100 | LOW | camel.idempotency.kafka.topic | The Kafka topic name to use for the idempotent repository | kafka_idempotent_repository | LOW | camel.idempotency.kafka.bootstrap.servers | A comma-separated list of host and port pairs that are the addresses of the Kafka brokers where the idempotent repository should live | localhost:9092 | LOW +| camel.idempotency.kafka.max.cache.size | Sets the maximum size of the local key cache | 1000 | LOW +| camel.idempotency.kafka.poll.duration.ms | Sets the poll duration (in milliseconds) of the Kafka consumer | 100 | LOW |=== For more options related to single connector you can have a look at xref:connectors.adoc[Connectors list].
[GitHub] [camel-kafka-connector] orpiske merged pull request #808: Salesforce fixes
orpiske merged pull request #808: URL: https://github.com/apache/camel-kafka-connector/pull/808 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] 01/03: Removes invalid salesforce dependency
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit 02cfc11533bf317f03f1b170363ef949e2396b65 Author: Otavio Rodolfo Piske AuthorDate: Thu Dec 17 14:04:53 2020 +0100 Removes invalid salesforce dependency --- tests/itests-hdfs/pom.xml | 15 --- 1 file changed, 15 deletions(-) diff --git a/tests/itests-hdfs/pom.xml b/tests/itests-hdfs/pom.xml index 4b17a07..b91f752 100644 --- a/tests/itests-hdfs/pom.xml +++ b/tests/itests-hdfs/pom.xml @@ -68,20 +68,5 @@ - - - -org.eclipse.jetty -jetty-util -${jetty9-version} -test - - - - - \ No newline at end of file
[camel-kafka-connector] 03/03: Fixed running salesforce CLI container in newer docker versions on Fedora
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit 053becfe2f158d483a4847e1abb952a59b69ec02 Author: Otavio Rodolfo Piske AuthorDate: Thu Dec 17 14:08:21 2020 +0100 Fixed running salesforce CLI container in newer docker versions on Fedora --- .../kafkaconnector/salesforce/clients/SalesforceCliContainer.java | 3 ++- .../kafkaconnector/salesforce/source/CamelSourceSalesforceITCase.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/itests-salesforce/src/test/java/org/apache/camel/kafkaconnector/salesforce/clients/SalesforceCliContainer.java b/tests/itests-salesforce/src/test/java/org/apache/camel/kafkaconnector/salesforce/clients/SalesforceCliContainer.java index efba564..4b5a257 100644 --- a/tests/itests-salesforce/src/test/java/org/apache/camel/kafkaconnector/salesforce/clients/SalesforceCliContainer.java +++ b/tests/itests-salesforce/src/test/java/org/apache/camel/kafkaconnector/salesforce/clients/SalesforceCliContainer.java @@ -33,8 +33,9 @@ public class SalesforceCliContainer extends GenericContainer
[camel-kafka-connector] branch master updated (8218420 -> 053becf)
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. from 8218420 Removed repeated idempotency.enabled option in source connector basic configuration new 02cfc11 Removes invalid salesforce dependency new ea1e3ee Fix Jetty dependency conflicts in Salesforce connector (issue #407) new 053becf Fixed running salesforce CLI container in newer docker versions on Fedora 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: connectors/camel-salesforce-kafka-connector/pom.xml | 7 +++ tests/itests-hdfs/pom.xml | 15 --- tests/itests-salesforce/pom.xml | 7 +++ .../salesforce/clients/SalesforceCliContainer.java| 3 ++- .../salesforce/source/CamelSourceSalesforceITCase.java| 2 +- 5 files changed, 17 insertions(+), 17 deletions(-)
[camel-kafka-connector] 02/03: Fix Jetty dependency conflicts in Salesforce connector (issue #407)
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit ea1e3eefb2898d154dbe31c9675d406e3e77b962 Author: Otavio Rodolfo Piske AuthorDate: Thu Dec 17 14:06:36 2020 +0100 Fix Jetty dependency conflicts in Salesforce connector (issue #407) --- connectors/camel-salesforce-kafka-connector/pom.xml | 7 +++ tests/itests-salesforce/pom.xml | 7 +++ 2 files changed, 14 insertions(+) diff --git a/connectors/camel-salesforce-kafka-connector/pom.xml b/connectors/camel-salesforce-kafka-connector/pom.xml index f4e18c4..a56e426 100644 --- a/connectors/camel-salesforce-kafka-connector/pom.xml +++ b/connectors/camel-salesforce-kafka-connector/pom.xml @@ -43,6 +43,13 @@ org.apache.camel camel-salesforce + + + + org.eclipse.jetty + jetty-http + + diff --git a/tests/itests-salesforce/pom.xml b/tests/itests-salesforce/pom.xml index 56ae987..091f888 100644 --- a/tests/itests-salesforce/pom.xml +++ b/tests/itests-salesforce/pom.xml @@ -49,6 +49,13 @@ org.apache.camel camel-salesforce + + + +org.eclipse.jetty +jetty-http + +
[camel-spring-boot] branch camel-spring-boot-3.4.x updated: Regen
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-spring-boot-3.4.x in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/camel-spring-boot-3.4.x by this push: new ecabd06 Regen ecabd06 is described below commit ecabd06d3fdde7d7e1c3cd9ee32e88dbec82d87f Author: Claus Ibsen AuthorDate: Thu Dec 17 14:20:54 2020 +0100 Regen --- .../org/apache/camel/springboot/catalog/components/salesforce.json | 2 +- components-starter/README.adoc | 6 +++--- .../camel-salesforce-starter/src/main/docs/salesforce-starter.adoc | 2 +- .../salesforce/springboot/SalesforceComponentConfiguration.java | 5 + core/camel-spring-boot/src/main/docs/spring-boot.adoc | 6 +- docs/modules/ROOT/pages/list.adoc | 6 +++--- docs/modules/ROOT/pages/spring-boot.adoc| 6 +- 7 files changed, 15 insertions(+), 18 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json index 2b974a2..1909e78 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json @@ -49,7 +49,7 @@ "notifyForOperationUndelete": { "kind": "property", "displayName": "Notify For Operation Undelete", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Notify for un-delete operation, defaults to false (API version = 29.0)" }, "notifyForOperationUpdate": { "kind": "property", "displayName": "Notify For Operation Update", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Notify for update operation, defaults to false (API version = 29.0)" }, "objectMapper": { "kind": "property", "displayName": "Object Mapper", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.fasterxml.jackson.databind.ObjectMapper", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Custom Jackson ObjectMapper to use when serializing\/deserializing Salesforce objects." }, -"packages": { "kind": "property", "displayName": "Packages", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "In what packages are the generated DTO classes. Typically the classes would be generated using camel-salesforce-maven-plugin. Set it if using the generated DTOs to gain the benefit of using short SObject names in parameters\/header values. Multiple packages can be s [...] +"packages": { "kind": "property", "displayName": "Packages", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": true, "secret": false, "description": "In what packages are the generated DTO classes. Typically the classes would be generated using camel-salesforce-maven-plugin. Set it if using the generated DTOs to gain the benefit of using short SObject names in parameters\/header values. Multiple packages can be se [...] "rawPayload": { "kind": "property", "displayName": "Raw Payload", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Use raw payload String for request and response (either JSON or XML depending on format), instead of DTOs, false by default" }, "reportId": { "kind": "property", "displayName": "Report Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Salesforce1 Analytics report Id" }, "reportMetadata": { "kind": "property", "displayName":
[GitHub] [camel-k] apupier commented on issue #1163: Create a Github Action for Camel K
apupier commented on issue #1163: URL: https://github.com/apache/camel-k/issues/1163#issuecomment-747434380 wondering if it should be an all-in-one action which is installing there container and then Camel K inside or if the container host should be a prerequisite 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] 02/02: Regen
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.4.x in repository https://gitbox.apache.org/repos/asf/camel.git commit 1afbaa13eacf7f3d39fb28ff226fc5ae00406200 Author: Claus Ibsen AuthorDate: Thu Dec 17 14:15:31 2020 +0100 Regen --- .../resources/org/apache/camel/component/salesforce/salesforce.json | 2 +- .../camel-salesforce-component/src/main/docs/salesforce-component.adoc | 2 +- .../camel/builder/component/dsl/SalesforceComponentBuilderFactory.java | 1 + docs/components/modules/ROOT/pages/salesforce-component.adoc| 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/components/camel-salesforce/camel-salesforce-component/src/generated/resources/org/apache/camel/component/salesforce/salesforce.json b/components/camel-salesforce/camel-salesforce-component/src/generated/resources/org/apache/camel/component/salesforce/salesforce.json index 8a25cf4..696c32c 100644 --- a/components/camel-salesforce/camel-salesforce-component/src/generated/resources/org/apache/camel/component/salesforce/salesforce.json +++ b/components/camel-salesforce/camel-salesforce-component/src/generated/resources/org/apache/camel/component/salesforce/salesforce.json @@ -49,7 +49,7 @@ "notifyForOperationUndelete": { "kind": "property", "displayName": "Notify For Operation Undelete", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Notify for un-delete operation, defaults to false (API version = 29.0)" }, "notifyForOperationUpdate": { "kind": "property", "displayName": "Notify For Operation Update", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Notify for update operation, defaults to false (API version = 29.0)" }, "objectMapper": { "kind": "property", "displayName": "Object Mapper", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.fasterxml.jackson.databind.ObjectMapper", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Custom Jackson ObjectMapper to use when serializing\/deserializing Salesforce objects." }, -"packages": { "kind": "property", "displayName": "Packages", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "In what packages are the generated DTO classes. Typically the classes would be generated using camel-salesforce-maven-plugin. Set it if using the generated DTOs to gain the benefit of using short SObject names in parameters\/header values. Multiple packages can be s [...] +"packages": { "kind": "property", "displayName": "Packages", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": true, "secret": false, "description": "In what packages are the generated DTO classes. Typically the classes would be generated using camel-salesforce-maven-plugin. Set it if using the generated DTOs to gain the benefit of using short SObject names in parameters\/header values. Multiple packages can be se [...] "rawPayload": { "kind": "property", "displayName": "Raw Payload", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Use raw payload String for request and response (either JSON or XML depending on format), instead of DTOs, false by default" }, "reportId": { "kind": "property", "displayName": "Report Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description": "Salesforce1 Analytics report Id" }, "reportMetadata": { "kind": "property", "displayName": "Report Metadata", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.salesforce.api.dto.analytics.reports.ReportMetadata", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.salesforce.SalesforceEndpointConfig", "configurationField": "config", "description":
[camel] branch camel-3.4.x updated (af1bae8 -> 1afbaa1)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch camel-3.4.x in repository https://gitbox.apache.org/repos/asf/camel.git. from af1bae8 CAMEL-15937: camel-netty - Avoid WARN log when disconnect=true due and response received which causes callback to be triggered twice. Thanks to Nils Kremer for reporting and reproducer. new 055d6a1 Fixed build docs new 1afbaa1 Regen 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: .../resources/org/apache/camel/component/salesforce/salesforce.json | 2 +- .../camel-salesforce-component/src/main/docs/salesforce-component.adoc | 2 +- components/camel-sql/src/main/docs/sql-component.adoc | 2 +- .../camel/builder/component/dsl/SalesforceComponentBuilderFactory.java | 1 + docs/components/modules/ROOT/pages/salesforce-component.adoc| 2 +- docs/components/modules/ROOT/pages/sql-component.adoc | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-)
[camel] 01/02: Fixed build docs
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.4.x in repository https://gitbox.apache.org/repos/asf/camel.git commit 055d6a1ad74415ef9f7489506c942508de24577d Author: Claus Ibsen AuthorDate: Thu Dec 17 14:15:14 2020 +0100 Fixed build docs --- components/camel-sql/src/main/docs/sql-component.adoc | 2 +- docs/components/modules/ROOT/pages/sql-component.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-sql/src/main/docs/sql-component.adoc b/components/camel-sql/src/main/docs/sql-component.adoc index c828929..0016a35 100644 --- a/components/camel-sql/src/main/docs/sql-component.adoc +++ b/components/camel-sql/src/main/docs/sql-component.adoc @@ -236,7 +236,7 @@ allows to use the message body as the SQL statement, and then the SQL parameters must be provided in a header with the key `SqlConstants.SQL_PARAMETERS`. This allows the SQL component to work more dynamically as the SQL query is from the message body. Use -xref:latest@manual:templating.adoc[Camel templating] +xref:manual::templating.adoc[Camel templating] for conditional processing, e.g. to include or exclude `where` clauses depending on the presence of query parameters. diff --git a/docs/components/modules/ROOT/pages/sql-component.adoc b/docs/components/modules/ROOT/pages/sql-component.adoc index aaf5fd1..62b966a 100644 --- a/docs/components/modules/ROOT/pages/sql-component.adoc +++ b/docs/components/modules/ROOT/pages/sql-component.adoc @@ -238,7 +238,7 @@ allows to use the message body as the SQL statement, and then the SQL parameters must be provided in a header with the key `SqlConstants.SQL_PARAMETERS`. This allows the SQL component to work more dynamically as the SQL query is from the message body. Use -xref:latest@manual::templating.adoc[Camel templating] +xref:manual::templating.adoc[Camel templating] for conditional processing, e.g. to include or exclude `where` clauses depending on the presence of query parameters.
[GitHub] [camel-k] apupier commented on issue #1163: Create a Github Action for Camel K
apupier commented on issue #1163: URL: https://github.com/apache/camel-k/issues/1163#issuecomment-747432562 for reference: - github action for Kind https://github.com/marketplace/actions/kind-kubernetes-in-docker-action - github action for Kubernetes https://github.com/marketplace/actions/setup-minikube-kubernetes-cluster nota both of them are working only on Linux (but sounds reasonable as a first iteration) 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] orpiske opened a new issue #807: Jetty conflicts in Salesforce connector
orpiske opened a new issue #807: URL: https://github.com/apache/camel-kafka-connector/issues/807 The salesforce connector depends on Jetty 9.4.35.v20201120, but Kafka Connect uses 9.4.24.v20191120. Their ABI is not compatible and this causes problems such as the one below when trying to run the connector. ``` java.lang.IncompatibleClassChangeError: Found interface org.eclipse.jetty.http.pathmap.PathSpec, but class was expected ``` We need to exclude `org.eclipse.jetty:jetty-http` on the connector dependencies. This seems to be sufficient for the tests to work, but it's hard to guarantee that it will work 100%. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch master updated: Removed repeated idempotency.enabled option in source connector basic configuration
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/master by this push: new 8218420 Removed repeated idempotency.enabled option in source connector basic configuration 8218420 is described below commit 82184201c0a1281e414be7b9c2d2cbe5321b553e Author: Andrea Cosentino AuthorDate: Thu Dec 17 13:32:02 2020 +0100 Removed repeated idempotency.enabled option in source connector basic configuration --- docs/modules/ROOT/pages/basic-configuration.adoc | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/modules/ROOT/pages/basic-configuration.adoc b/docs/modules/ROOT/pages/basic-configuration.adoc index 6ccaa4c..0a9da39 100644 --- a/docs/modules/ROOT/pages/basic-configuration.adoc +++ b/docs/modules/ROOT/pages/basic-configuration.adoc @@ -19,7 +19,6 @@ For a Sink connector the basic options are: | camel.error.handler.redelivery.delay | The initial redelivery delay in milliseconds in case of Default Error Handler | 1000L | MEDIUM | camel.remove.headers.pattern | The pattern of the headers we want to exclude from the exchange | null | MEDIUM | camel.idempotency.enabled | If idempotency must be enabled or not | false | LOW -| camel.idempotency.enabled | If idempotency must be enabled or not | false | LOW | camel.idempotency.repository.type | The idempotent repository type to use, possible values are memory and kafka | memory | LOW | camel.idempotency.expression.type | How the idempotency will be evaluated: possible values are body and header | body | LOW | camel.idempotency.expression.header | The header name that will be evaluated in case of camel.idempotency.expression.type equals to header | null | LOW
[camel-kafka-connector] branch oscerd-patch-1 created (now 5c71bf9)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch oscerd-patch-1 in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. at 5c71bf9 Removed repeated idempotency.enabled option in source connector basic configuration No new revisions were added by this update.
[GitHub] [camel-kafka-connector] oscerd opened a new pull request #806: Removed repeated idempotency.enabled option in source connector basic…
oscerd opened a new pull request #806: URL: https://github.com/apache/camel-kafka-connector/pull/806 … configuration This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] oscerd merged pull request #806: Removed repeated idempotency.enabled option in source connector basic…
oscerd merged pull request #806: URL: https://github.com/apache/camel-kafka-connector/pull/806 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch master updated: Align SQL tests with test infra from Camel 3.7
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/master by this push: new 827a5ee Align SQL tests with test infra from Camel 3.7 827a5ee is described below commit 827a5ee9806fbcef3120e57f6f646e465deb2ea6 Author: Otavio Rodolfo Piske AuthorDate: Thu Dec 17 11:42:01 2020 +0100 Align SQL tests with test infra from Camel 3.7 --- tests/itests-sql/pom.xml | 17 +++ .../sql/services/SQLLocalContainerService.java | 55 -- .../sql/services/SQLRemoteService.java | 41 .../kafkaconnector/sql/services/SQLService.java| 46 -- .../sql/services/SQLServiceFactory.java| 43 - .../sql/services/TestDataSource.java | 7 +-- .../sql/sink/CamelSinkSQLITCase.java | 25 -- .../sql/source/CamelSourceSQLITCase.java | 25 -- 8 files changed, 61 insertions(+), 198 deletions(-) diff --git a/tests/itests-sql/pom.xml b/tests/itests-sql/pom.xml index dbcf4af..b3b5ddd 100644 --- a/tests/itests-sql/pom.xml +++ b/tests/itests-sql/pom.xml @@ -37,6 +37,23 @@ test + + +org.apache.camel +camel-test-infra-common +${camel.version} +test-jar +test + + + +org.apache.camel +camel-test-infra-jdbc +${camel.version} +test-jar +test + + org.apache.camel camel-sql diff --git a/tests/itests-sql/src/test/java/org/apache/camel/kafkaconnector/sql/services/SQLLocalContainerService.java b/tests/itests-sql/src/test/java/org/apache/camel/kafkaconnector/sql/services/SQLLocalContainerService.java deleted file mode 100644 index e94805d..000 --- a/tests/itests-sql/src/test/java/org/apache/camel/kafkaconnector/sql/services/SQLLocalContainerService.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.camel.kafkaconnector.sql.services; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.testcontainers.containers.JdbcDatabaseContainer; -import org.testcontainers.containers.PostgreSQLContainer; - -public class SQLLocalContainerService implements SQLService { -private static final Logger LOG = LoggerFactory.getLogger(SQLLocalContainerService.class); - -private static JdbcDatabaseContainer container; - -public SQLLocalContainerService() { -container = new PostgreSQLContainer().withDatabaseName("camel").withUsername("ckc").withPassword("ckcDevel123").withInitScript("schema.sql").withStartupTimeoutSeconds(60); - -container.start(); - -System.setProperty("sql.url", container.getJdbcUrl()); -} - -@Override -public String sqlUrl() { -return container.getJdbcUrl(); -} - -@Override -public void initialize() { -LOG.info("Database instance available via JDBC url {}", container.getJdbcUrl()); -} - -@Override -public void shutdown() { -System.err.println("Shutdown"); -LOG.info("Stopping the database instance"); -container.stop(); -} - -} diff --git a/tests/itests-sql/src/test/java/org/apache/camel/kafkaconnector/sql/services/SQLRemoteService.java b/tests/itests-sql/src/test/java/org/apache/camel/kafkaconnector/sql/services/SQLRemoteService.java deleted file mode 100644 index 47fd863..000 --- a/tests/itests-sql/src/test/java/org/apache/camel/kafkaconnector/sql/services/SQLRemoteService.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy
[GitHub] [camel-kafka-connector] orpiske merged pull request #804: Align SQL tests with test infra from Camel 3.7
orpiske merged pull request #804: URL: https://github.com/apache/camel-kafka-connector/pull/804 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] orpiske merged pull request #803: Align RabbitMQ tests with test infra from Camel 3.7
orpiske merged pull request #803: URL: https://github.com/apache/camel-kafka-connector/pull/803 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch master updated (ccc2d32 -> a63fc43)
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. from ccc2d32 Align MongoDB tests with test infra from Camel 3.7 add a63fc43 Align RabbitMQ tests with test infra from Camel 3.7 No new revisions were added by this update. Summary of changes: tests/itests-rabbitmq/pom.xml | 23 --- .../rabbitmq/services/ConnectionProperties.java| 25 .../services/RabbitMQLocalContainerService.java| 72 -- .../rabbitmq/services/RabbitMQRemoteService.java | 42 - .../rabbitmq/services/RabbitMQService.java | 59 -- .../rabbitmq/services/RabbitMQServiceFactory.java | 45 -- .../rabbitmq/sink/RabbitMQSinkITCase.java | 6 +- .../rabbitmq/source/RabbitMQSourceITCase.java | 6 +- tests/perf-tests-rabbitmq/pom.xml | 15 - .../source/RabbitMQSourcePerformanceITCase.java| 4 +- 10 files changed, 32 insertions(+), 265 deletions(-) delete mode 100644 tests/itests-rabbitmq/src/test/java/org/apache/camel/kafkaconnector/rabbitmq/services/ConnectionProperties.java delete mode 100644 tests/itests-rabbitmq/src/test/java/org/apache/camel/kafkaconnector/rabbitmq/services/RabbitMQLocalContainerService.java delete mode 100644 tests/itests-rabbitmq/src/test/java/org/apache/camel/kafkaconnector/rabbitmq/services/RabbitMQRemoteService.java delete mode 100644 tests/itests-rabbitmq/src/test/java/org/apache/camel/kafkaconnector/rabbitmq/services/RabbitMQService.java delete mode 100644 tests/itests-rabbitmq/src/test/java/org/apache/camel/kafkaconnector/rabbitmq/services/RabbitMQServiceFactory.java
[GitHub] [camel] aryankoul commented on pull request #4697: [CAMEL-15341] Create camel-azure-storage-datalake to serve Azure DataLakes Gen2
aryankoul commented on pull request #4697: URL: https://github.com/apache/camel/pull/4697#issuecomment-747383731 > Can you please rebase and solve conflicts? Thanks Sure. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch master updated: Added test based on user forum issue
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 055fb3f Added test based on user forum issue 055fb3f is described below commit 055fb3f91b065bb14d1db5d1715e3d56923579f4 Author: Claus Ibsen AuthorDate: Thu Dec 17 12:29:53 2020 +0100 Added test based on user forum issue --- components/camel-servlet/pom.xml | 5 ++ .../rest/RestJsonBindingInvalidDataTest.java | 74 ++ 2 files changed, 79 insertions(+) diff --git a/components/camel-servlet/pom.xml b/components/camel-servlet/pom.xml index 52c2e91..43cabab 100644 --- a/components/camel-servlet/pom.xml +++ b/components/camel-servlet/pom.xml @@ -109,6 +109,11 @@ test +org.apache.camel +camel-gson +test + + io.undertow undertow-servlet ${undertow-version} diff --git a/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/rest/RestJsonBindingInvalidDataTest.java b/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/rest/RestJsonBindingInvalidDataTest.java new file mode 100644 index 000..dc6ff1e --- /dev/null +++ b/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/rest/RestJsonBindingInvalidDataTest.java @@ -0,0 +1,74 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.servlet.rest; + +import java.io.ByteArrayInputStream; +import java.io.InputStream; + +import com.google.gson.JsonSyntaxException; +import org.apache.camel.Exchange; +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.servlet.ServletCamelRouterTestSupport; +import org.apache.camel.model.rest.RestBindingMode; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +public class RestJsonBindingInvalidDataTest extends ServletCamelRouterTestSupport { + +@Test +public void testInvalidJson() throws Exception { +getMockEndpoint("mock:test").expectedMessageCount(0); + +WebRequest req = new PutMethodWebRequest( +contextUrl + "/services/test/fail", +new ByteArrayInputStream("This is not JSON format".getBytes()), "application/json"); + +WebResponse response = query(req, false); +assertEquals(400, response.getResponseCode()); +InputStream is = response.getInputStream(); +String data = context.getTypeConverter().convertTo(String.class, is); +assertEquals("Invalid json data says Camel", data); + +assertMockEndpointsSatisfied(); +} + +@Override +protected RouteBuilder createRouteBuilder() throws Exception { +return new RouteBuilder() { +@Override +public void configure() throws Exception { +restConfiguration() +.component("servlet") +// use gson data format +.jsonDataFormat("json-gson") +.bindingMode(RestBindingMode.json); + +// catch gson json error so we can return a custom response message +onException(JsonSyntaxException.class) +.handled(true) +.setHeader(Exchange.HTTP_RESPONSE_CODE, constant(400)) +.setHeader(Exchange.CONTENT_TYPE, constant("text/plain")) +.setBody().constant("Invalid json data says Camel"); + +rest("/test") +.put("/fail").to("mock:test"); +} +}; +} + +}
[camel] branch regen_bot updated (a2ce9dd -> be27bd0)
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 a2ce9dd Sync deps add be27bd0 camel-core - Reorder type converter to better match correct No new revisions were added by this update. Summary of changes: .../apache/camel/converter/CamelBaseBulkConverterLoader.java | 10 +- .../src/main/java/org/apache/camel/converter/IOConverter.java | 10 +- 2 files changed, 10 insertions(+), 10 deletions(-)
[camel-website] branch asf-site updated (60cd27e -> 40499f8)
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 60cd27e Website updated to a3f4434a58749cd64241584e695e77c0ec91b1c8 discard 6c4681e Updated the website to b19baea new b8f1b42 Updated the website to b19baea new 40499f8 Website updated to a3f4434a58749cd64241584e695e77c0ec91b1c8 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 (60cd27e) \ N -- N -- N refs/heads/asf-site (40499f8) 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: camel-karaf/latest/components.html |2 +- camel-quarkus/latest/contributor-guide/ci.html |2 +- .../create-jvm-only-extension.html |2 +- .../contributor-guide/create-new-extension.html|2 +- .../contributor-guide/extension-documentation.html |2 +- .../contributor-guide/extension-metadata.html |2 +- camel-quarkus/latest/contributor-guide/index.html |2 +- .../contributor-guide/promote-jvm-to-native.html |2 +- .../latest/contributor-guide/release-guide.html|2 +- camel-quarkus/latest/index.html|2 +- camel-quarkus/latest/reference/components.html |2 +- .../reference/components/stringtemplate.html |2 +- camel-quarkus/latest/reference/dataformats.html|2 +- .../latest/reference/extensions/activemq.html |2 +- .../latest/reference/extensions/ahc-ws.html|2 +- camel-quarkus/latest/reference/extensions/ahc.html |2 +- .../latest/reference/extensions/amqp.html |2 +- .../latest/reference/extensions/apns.html |2 +- .../latest/reference/extensions/arangodb.html |2 +- camel-quarkus/latest/reference/extensions/as2.html |2 +- .../latest/reference/extensions/asn1.html |2 +- .../latest/reference/extensions/asterisk.html |2 +- .../extensions/{aws-iam.html => atlasmap.html} |6 +- .../latest/reference/extensions/atmos.html |2 +- .../latest/reference/extensions/atom.html |2 +- .../latest/reference/extensions/atomix.html|2 +- .../latest/reference/extensions/attachments.html |2 +- .../latest/reference/extensions/avro-rpc.html |2 +- .../latest/reference/extensions/avro.html |2 +- .../latest/reference/extensions/aws-ec2.html |2 +- .../latest/reference/extensions/aws-ecs.html |2 +- .../latest/reference/extensions/aws-eks.html |2 +- .../latest/reference/extensions/aws-iam.html |2 +- .../latest/reference/extensions/aws-kinesis.html |2 +- .../latest/reference/extensions/aws-kms.html |2 +- .../latest/reference/extensions/aws-lambda.html|2 +- .../latest/reference/extensions/aws-s3.html|2 +- .../latest/reference/extensions/aws-sdb.html |2 +- .../latest/reference/extensions/aws-sns.html |2 +- .../latest/reference/extensions/aws-sqs.html |2 +- .../latest/reference/extensions/aws-swf.html |2 +- .../latest/reference/extensions/aws-translate.html |2 +- .../latest/reference/extensions/aws-xray.html |2 +- .../latest/reference/extensions/aws2-athena.html |2 +- .../latest/reference/extensions/aws2-cw.html |2 +- .../latest/reference/extensions/aws2-ddb.html |2 +- .../latest/reference/extensions/aws2-ec2.html |2 +- .../latest/reference/extensions/aws2-ecs.html |2 +- .../latest/reference/extensions/aws2-eks.html |2 +- .../reference/extensions/aws2-eventbridge.html |2 +- .../latest/reference/extensions/aws2-iam.html |2 +- .../latest/reference/extensions/aws2-kinesis.html |2 +- .../latest/reference/extensions/aws2-kms.html |2 +- .../latest/reference/extensions/aws2-lambda.html |2 +- .../latest/reference/extensions/aws2-mq.html |2 +- .../latest/reference/extensions/aws2-msk.html |2 +- .../latest/reference/extensions/aws2-s3.html |2 +- .../latest/reference/extensions/aws2-ses.html |2 +-
[camel-k] branch master updated: chore(e2e): add test for Affinity trait #1547
This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/master by this push: new 8e5541e chore(e2e): add test for Affinity trait #1547 8e5541e is described below commit 8e5541e3c9a59e6c40d0ce2897a20f718a68774c Author: Tadayoshi Sato AuthorDate: Thu Dec 17 18:05:55 2020 +0900 chore(e2e): add test for Affinity trait #1547 --- e2e/common/affinity_test.go | 150 1 file changed, 150 insertions(+) diff --git a/e2e/common/affinity_test.go b/e2e/common/affinity_test.go new file mode 100644 index 000..2711551 --- /dev/null +++ b/e2e/common/affinity_test.go @@ -0,0 +1,150 @@ +// +build integration + +// To enable compilation of this file in Goland, go to "Settings -> Go -> Vendoring & Build Tags -> Custom Tags" and add "integration" + +/* +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 common + +import ( + "fmt" + "testing" + + . "github.com/apache/camel-k/e2e/support" + camelv1 "github.com/apache/camel-k/pkg/apis/camel/v1" + + . "github.com/onsi/gomega" + + v1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +func TestAffinityTrait(t *testing.T) { + WithNewTestNamespace(t, func(ns string) { + Expect(Kamel("install", "-n", ns).Execute()).Should(BeNil()) + + var hostname string + if node, err := selectSchedulableNode(); err == nil { + hostname = node.Labels["kubernetes.io/hostname"] + } else { + // if 'get nodes' is not allowed, just skip tests for node affinity + hostname = "" + } + + if hostname != "" { + t.Run("Run Java with node affinity", func(t *testing.T) { + Expect(Kamel("run", "-n", ns, "files/Java.java", + "-t", "affinity.enabled=true", + "-t", fmt.Sprintf("affinity.node-affinity-labels=kubernetes.io/hostname in(%s)", hostname)).Execute()).Should(BeNil()) + Eventually(IntegrationPodPhase(ns, "java"), TestTimeoutLong).Should(Equal(v1.PodRunning)) + Eventually(IntegrationCondition(ns, "java", camelv1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(v1.ConditionTrue)) + Eventually(IntegrationLogs(ns, "java"), TestTimeoutShort).Should(ContainSubstring("Magicstring!")) + + pod := IntegrationPod(ns, "java")() + Expect(pod.Spec.Affinity).ShouldNot(BeNil()) + Expect(pod.Spec.Affinity.NodeAffinity).Should(Equal({ + RequiredDuringSchedulingIgnoredDuringExecution: nodeSelector("kubernetes.io/hostname", v1.NodeSelectorOpIn, hostname), + })) + Expect(pod.Spec.NodeName).Should(Equal(hostname)) + + Expect(Kamel("delete", "--all", "-n", ns).Execute()).Should(BeNil()) + }) + } + + t.Run("Run Java with pod affinity", func(t *testing.T) { + Expect(Kamel("run", "-n", ns, "files/Java.java", + "-t", "affinity.enabled=true", + "-t", "affinity.pod-affinity-labels=camel.apache.org/integration").Execute()).Should(BeNil()) + Eventually(IntegrationPodPhase(ns, "java"), TestTimeoutLong).Should(Equal(v1.PodRunning)) + Eventually(IntegrationCondition(ns, "java", camelv1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(v1.ConditionTrue)) + Eventually(IntegrationLogs(ns, "java"), TestTimeoutShort).Should(ContainSubstring("Magicstring!")) + + pod := IntegrationPod(ns, "java")() + Expect(pod.Spec.Affinity).ShouldNot(BeNil()) +
[GitHub] [camel-k] astefanutti merged pull request #1866: chore(e2e): add test for Affinity trait #1547
astefanutti merged pull request #1866: URL: https://github.com/apache/camel-k/pull/1866 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] astefanutti commented on a change in pull request #1866: chore(e2e): add test for Affinity trait #1547
astefanutti commented on a change in pull request #1866: URL: https://github.com/apache/camel-k/pull/1866#discussion_r545001892 ## File path: e2e/common/affinity_test.go ## @@ -0,0 +1,149 @@ +// +build integration + +// To enable compilation of this file in Goland, go to "Settings -> Go -> Vendoring & Build Tags -> Custom Tags" and add "integration" + +/* +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 common + +import ( + "fmt" + "testing" + + . "github.com/apache/camel-k/e2e/support" + camelv1 "github.com/apache/camel-k/pkg/apis/camel/v1" + + . "github.com/onsi/gomega" + + v1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +func TestAffinityTrait(t *testing.T) { + WithNewTestNamespace(t, func(ns string) { + Expect(Kamel("install", "-n", ns).Execute()).Should(BeNil()) + + var hostname string + if node, err := selectSchedulableNode(); err == nil { + hostname = node.Labels["kubernetes.io/hostname"] + } else { + // if 'get nodes' is not allowed, just skip tests for node affinity + hostname = "" + } + + if hostname != "" { + t.Run("Run Java with node affinity", func(t *testing.T) { + Expect(Kamel("run", "-n", ns, "files/Java.java", + "-t", "affinity.enabled=true", + "-t", fmt.Sprintf("affinity.node-affinity-labels=kubernetes.io/hostname in(%s)", hostname)).Execute()).Should(BeNil()) + Eventually(IntegrationPodPhase(ns, "java"), TestTimeoutLong).Should(Equal(v1.PodRunning)) + Eventually(IntegrationCondition(ns, "java", camelv1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(v1.ConditionTrue)) + Eventually(IntegrationLogs(ns, "java"), TestTimeoutShort).Should(ContainSubstring("Magicstring!")) + + pod := IntegrationPod(ns, "java")() + Expect(pod.Spec.Affinity).ShouldNot(BeNil()) + Expect(pod.Spec.Affinity.NodeAffinity).Should(Equal({ Review comment: It looks like it worked! 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] oscerd closed pull request #805: Support service account authentication
oscerd closed pull request #805: URL: https://github.com/apache/camel-kafka-connector/pull/805 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] jmerljak opened a new pull request #805: Support service account authentication
jmerljak opened a new pull request #805: URL: https://github.com/apache/camel-kafka-connector/pull/805 Service account authentication support for google-calendar-stream connector. Depends on https://github.com/apache/camel/pull/4783 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (b7306bc -> a2ce9dd)
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 b7306bc prepare for next release add 67204f9 Upgrade Zipkin to version 2.23.1 add e657318 Upgrade Zipkin Reporter to version 2.16.2 add a2ce9dd Sync deps No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml | 4 ++-- parent/pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
[camel] branch master updated: camel-core - Reorder type converter to better match correct
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new be27bd0 camel-core - Reorder type converter to better match correct be27bd0 is described below commit be27bd04b8f884a540b8d1f24a866fc0d1f67270 Author: Claus Ibsen AuthorDate: Thu Dec 17 11:40:14 2020 +0100 camel-core - Reorder type converter to better match correct --- .../apache/camel/converter/CamelBaseBulkConverterLoader.java | 10 +- .../src/main/java/org/apache/camel/converter/IOConverter.java | 10 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/core/camel-base/src/generated/java/org/apache/camel/converter/CamelBaseBulkConverterLoader.java b/core/camel-base/src/generated/java/org/apache/camel/converter/CamelBaseBulkConverterLoader.java index 2ebce2e..deab870 100644 --- a/core/camel-base/src/generated/java/org/apache/camel/converter/CamelBaseBulkConverterLoader.java +++ b/core/camel-base/src/generated/java/org/apache/camel/converter/CamelBaseBulkConverterLoader.java @@ -58,12 +58,12 @@ public final class CamelBaseBulkConverterLoader implements TypeConverterLoader, if (value instanceof java.io.File) { return org.apache.camel.converter.IOConverter.toByteArray((java.io.File) value); } -if (value instanceof java.io.Reader) { -return org.apache.camel.converter.IOConverter.toByteArray((java.io.Reader) value, exchange); -} if (value instanceof java.io.BufferedReader) { return org.apache.camel.converter.IOConverter.toByteArray((java.io.BufferedReader) value, exchange); } +if (value instanceof java.io.Reader) { +return org.apache.camel.converter.IOConverter.toByteArray((java.io.Reader) value, exchange); +} if (value instanceof java.lang.String) { return org.apache.camel.converter.IOConverter.toByteArray((java.lang.String) value, exchange); } @@ -438,10 +438,10 @@ public final class CamelBaseBulkConverterLoader implements TypeConverterLoader, if (from == java.io.File.class) { return this; } -if (from == java.io.Reader.class) { +if (from == java.io.BufferedReader.class) { return this; } -if (from == java.io.BufferedReader.class) { +if (from == java.io.Reader.class) { return this; } if (from == java.lang.String.class) { diff --git a/core/camel-base/src/main/java/org/apache/camel/converter/IOConverter.java b/core/camel-base/src/main/java/org/apache/camel/converter/IOConverter.java index 54f4986..9690465 100644 --- a/core/camel-base/src/main/java/org/apache/camel/converter/IOConverter.java +++ b/core/camel-base/src/main/java/org/apache/camel/converter/IOConverter.java @@ -165,8 +165,9 @@ public final class IOConverter { } @Converter(order = 19) -public static byte[] toByteArray(Reader reader, Exchange exchange) throws IOException { -return toByteArray(IOHelper.buffered(reader), exchange); +public static byte[] toByteArray(BufferedReader reader, Exchange exchange) throws IOException { +String s = toString(reader); +return toByteArray(s, exchange); } @Converter(order = 20) @@ -190,9 +191,8 @@ public final class IOConverter { } @Converter(order = 23) -public static byte[] toByteArray(BufferedReader reader, Exchange exchange) throws IOException { -String s = toString(reader); -return toByteArray(s, exchange); +public static byte[] toByteArray(Reader reader, Exchange exchange) throws IOException { +return toByteArray(IOHelper.buffered(reader), exchange); } @Converter(order = 24)
[camel] branch master updated (b7306bc -> a2ce9dd)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from b7306bc prepare for next release add 67204f9 Upgrade Zipkin to version 2.23.1 add e657318 Upgrade Zipkin Reporter to version 2.16.2 add a2ce9dd Sync deps No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml | 4 ++-- parent/pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
[GitHub] [camel-kafka-connector] oscerd merged pull request #802: Align MongoDB tests with test infra from Camel 3.7
oscerd merged pull request #802: URL: https://github.com/apache/camel-kafka-connector/pull/802 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch master updated: Align MongoDB tests with test infra from Camel 3.7
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/master by this push: new ccc2d32 Align MongoDB tests with test infra from Camel 3.7 ccc2d32 is described below commit ccc2d32ba69e4ddc40e84e6291a48f75bc62eac5 Author: Otavio Rodolfo Piske AuthorDate: Thu Dec 17 10:35:10 2020 +0100 Align MongoDB tests with test infra from Camel 3.7 --- tests/itests-mongodb/pom.xml | 21 ++-- .../services/MongoDBLocalContainerService.java | 56 -- .../mongodb/services/MongoDBService.java | 46 -- .../mongodb/services/MongoDBServiceFactory.java| 44 - .../mongodb/services/RemoteMongoDBService.java | 35 -- .../mongodb/sink/CamelSinkMongoDBITCase.java | 6 +-- .../mongodb/source/CamelSourceMongoDBITCase.java | 6 +-- 7 files changed, 20 insertions(+), 194 deletions(-) diff --git a/tests/itests-mongodb/pom.xml b/tests/itests-mongodb/pom.xml index 0db665d..77bf271 100644 --- a/tests/itests-mongodb/pom.xml +++ b/tests/itests-mongodb/pom.xml @@ -37,20 +37,31 @@ test + org.apache.camel -camel-mongodb +camel-test-infra-common +${camel.version} +test-jar +test -org.mongodb -mongodb-driver-legacy +org.apache.camel +camel-test-infra-mongodb +${camel.version} +test-jar test -org.testcontainers -mongodb +org.apache.camel +camel-mongodb + + + +org.mongodb +mongodb-driver-legacy test diff --git a/tests/itests-mongodb/src/test/java/org/apache/camel/kafkaconnector/mongodb/services/MongoDBLocalContainerService.java b/tests/itests-mongodb/src/test/java/org/apache/camel/kafkaconnector/mongodb/services/MongoDBLocalContainerService.java deleted file mode 100644 index 860859f..000 --- a/tests/itests-mongodb/src/test/java/org/apache/camel/kafkaconnector/mongodb/services/MongoDBLocalContainerService.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.camel.kafkaconnector.mongodb.services; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.testcontainers.containers.MongoDBContainer; - -public class MongoDBLocalContainerService implements MongoDBService { -private static final Logger LOG = LoggerFactory.getLogger(MongoDBLocalContainerService.class); -private static final int DEFAULT_MONGODB_PORT = 27017; -private final MongoDBContainer container; - -public MongoDBLocalContainerService() { -String containerName = System.getProperty("mongodb.container"); - -if (containerName == null || containerName.isEmpty()) { -container = new MongoDBContainer(); -} else { -container = new MongoDBContainer(containerName); -} - -container.start(); -} - -@Override -public String getReplicaSetUrl() { -return "mongodb://" + container.getContainerIpAddress() + ":" + container.getMappedPort(DEFAULT_MONGODB_PORT); -} - -@Override -public void initialize() { -LOG.info("MongoDB service running at {}", container.getReplicaSetUrl()); -} - -@Override -public void shutdown() { -LOG.info("Stopping the MongoDB container"); -container.stop(); -} -} diff --git a/tests/itests-mongodb/src/test/java/org/apache/camel/kafkaconnector/mongodb/services/MongoDBService.java b/tests/itests-mongodb/src/test/java/org/apache/camel/kafkaconnector/mongodb/services/MongoDBService.java deleted file mode 100644 index 4822b49..000 --- a/tests/itests-mongodb/src/test/java/org/apache/camel/kafkaconnector/mongodb/services/MongoDBService.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF)
[camel-kafka-connector] branch master updated: Align JDBC tests with test infra from Camel 3.7
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/master by this push: new 5eab2cb Align JDBC tests with test infra from Camel 3.7 5eab2cb is described below commit 5eab2cb7ca578dab95ba2e8e5fa8f075acf421eb Author: Otavio Rodolfo Piske AuthorDate: Thu Dec 17 10:27:28 2020 +0100 Align JDBC tests with test infra from Camel 3.7 --- tests/itests-jdbc/pom.xml | 17 +++ .../jdbc/services/JDBCLocalContainerService.java | 58 -- .../jdbc/services/JDBCRemoteService.java | 41 --- .../kafkaconnector/jdbc/services/JDBCService.java | 47 -- .../jdbc/services/JDBCServiceFactory.java | 43 .../jdbc/services/TestDataSource.java | 3 +- .../jdbc/sink/CamelSinkJDBCITCase.java | 28 +-- 7 files changed, 42 insertions(+), 195 deletions(-) diff --git a/tests/itests-jdbc/pom.xml b/tests/itests-jdbc/pom.xml index 8e55756..8378f27 100644 --- a/tests/itests-jdbc/pom.xml +++ b/tests/itests-jdbc/pom.xml @@ -42,6 +42,23 @@ camel-jdbc + + +org.apache.camel +camel-test-infra-common +${camel.version} +test-jar +test + + + +org.apache.camel +camel-test-infra-jdbc +${camel.version} +test-jar +test + + org.testcontainers diff --git a/tests/itests-jdbc/src/test/java/org/apache/camel/kafkaconnector/jdbc/services/JDBCLocalContainerService.java b/tests/itests-jdbc/src/test/java/org/apache/camel/kafkaconnector/jdbc/services/JDBCLocalContainerService.java deleted file mode 100644 index 98ac948..000 --- a/tests/itests-jdbc/src/test/java/org/apache/camel/kafkaconnector/jdbc/services/JDBCLocalContainerService.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.camel.kafkaconnector.jdbc.services; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.testcontainers.containers.JdbcDatabaseContainer; -import org.testcontainers.containers.PostgreSQLContainer; - -public class JDBCLocalContainerService implements JDBCService { -private static final Logger LOG = LoggerFactory.getLogger(JDBCLocalContainerService.class); - -private static JdbcDatabaseContainer container; - -public JDBCLocalContainerService() { -container = new PostgreSQLContainer() -.withDatabaseName("camel") -.withUsername("ckc") -.withPassword("ckcDevel123") -.withInitScript("schema.sql") -.withStartupTimeoutSeconds(60); - -container.start(); - -System.setProperty("jdbc.url", container.getJdbcUrl()); -} - -@Override -public String jdbcUrl() { -return container.getJdbcUrl(); -} - -@Override -public void initialize() { -LOG.info("Database instance available via JDBC url {}", container.getJdbcUrl()); -} - -@Override -public void shutdown() { -LOG.info("Stopping the database instance"); -container.stop(); -} -} diff --git a/tests/itests-jdbc/src/test/java/org/apache/camel/kafkaconnector/jdbc/services/JDBCRemoteService.java b/tests/itests-jdbc/src/test/java/org/apache/camel/kafkaconnector/jdbc/services/JDBCRemoteService.java deleted file mode 100644 index f351010..000 --- a/tests/itests-jdbc/src/test/java/org/apache/camel/kafkaconnector/jdbc/services/JDBCRemoteService.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of
[GitHub] [camel-kafka-connector] oscerd merged pull request #801: Align JDBC tests with test infra from Camel 3.7
oscerd merged pull request #801: URL: https://github.com/apache/camel-kafka-connector/pull/801 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga opened a new issue #2085: Redis support
ppalaga opened a new issue #2085: URL: https://github.com/apache/camel-quarkus/issues/2085 https://camel.apache.org/components/latest/others/redis.html 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga opened a new issue #2084: OpenTelemetry support
ppalaga opened a new issue #2084: URL: https://github.com/apache/camel-quarkus/issues/2084 https://camel.apache.org/components/latest/others/opentelemetry.html 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga opened a new issue #2083: jOOR language support
ppalaga opened a new issue #2083: URL: https://github.com/apache/camel-quarkus/issues/2083 https://camel.apache.org/components/latest/languages/joor-language.html 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga opened a new issue #2082: Vert.x Kafka support
ppalaga opened a new issue #2082: URL: https://github.com/apache/camel-quarkus/issues/2082 https://camel.apache.org/components/latest/vertx-kafka-component.html 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga opened a new issue #2081: OAI-PMH support
ppalaga opened a new issue #2081: URL: https://github.com/apache/camel-quarkus/issues/2081 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] orpiske merged pull request #800: Align HDFS tests with test infra from Camel 3.7
orpiske merged pull request #800: URL: https://github.com/apache/camel-kafka-connector/pull/800 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch master updated: Align HDFS tests with test infra from Camel 3.7
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/master by this push: new 2499c8c Align HDFS tests with test infra from Camel 3.7 2499c8c is described below commit 2499c8cee57553d84a2d706e2e716612ccbd559c Author: Otavio Rodolfo Piske AuthorDate: Thu Dec 17 09:37:59 2020 +0100 Align HDFS tests with test infra from Camel 3.7 --- tests/itests-hdfs/pom.xml | 17 .../hdfs/services/ContainerLocalHDFSService.java | 65 -- .../hdfs/services/DataNodeContainer.java | 98 -- .../kafkaconnector/hdfs/services/HDFSPorts.java| 31 --- .../kafkaconnector/hdfs/services/HDFSService.java | 58 - .../hdfs/services/HDFSServiceFactory.java | 46 -- .../hdfs/services/HadoopBaseContainer.java | 48 --- .../hdfs/services/NameNodeContainer.java | 50 --- .../hdfs/services/RemoteHDFSService.java | 47 --- .../hdfs/sink/CamelSinkHDFSITCase.java | 6 +- 10 files changed, 19 insertions(+), 447 deletions(-) diff --git a/tests/itests-hdfs/pom.xml b/tests/itests-hdfs/pom.xml index ed47bd2..4b17a07 100644 --- a/tests/itests-hdfs/pom.xml +++ b/tests/itests-hdfs/pom.xml @@ -37,6 +37,23 @@ test + + +org.apache.camel +camel-test-infra-common +${camel.version} +test-jar +test + + + +org.apache.camel +camel-test-infra-hdfs +${camel.version} +test-jar +test + + org.apache.camel camel-hdfs diff --git a/tests/itests-hdfs/src/test/java/org/apache/camel/kafkaconnector/hdfs/services/ContainerLocalHDFSService.java b/tests/itests-hdfs/src/test/java/org/apache/camel/kafkaconnector/hdfs/services/ContainerLocalHDFSService.java deleted file mode 100644 index ca0947a..000 --- a/tests/itests-hdfs/src/test/java/org/apache/camel/kafkaconnector/hdfs/services/ContainerLocalHDFSService.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.camel.kafkaconnector.hdfs.services; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.testcontainers.containers.Network; - -public class ContainerLocalHDFSService implements HDFSService { -private static final Logger LOG = LoggerFactory.getLogger(ContainerLocalHDFSService.class); -private final NameNodeContainer nameNodeContainer; -private final DataNodeContainer dataNodeContainer; - -public ContainerLocalHDFSService() { -Network network = Network.newNetwork(); - -nameNodeContainer = new NameNodeContainer(network); -dataNodeContainer = new DataNodeContainer(network); -} - -@Override -public String getHDFSHost() { -return nameNodeContainer.getContainerIpAddress(); -} - -@Override -public int getPort() { -return nameNodeContainer.getIpcPort(); -} - -@Override -public void initialize() { -nameNodeContainer.start(); - -String hdfsNameNodeWeb = nameNodeContainer.getContainerIpAddress() + ":" + nameNodeContainer.getHttpPort(); -LOG.info("HDFS Name node web UI running at address http://{};, hdfsNameNodeWeb); - -dataNodeContainer.start(); - -String hdfsDataNodeWeb = dataNodeContainer.getContainerIpAddress() + ":" + dataNodeContainer.getHttpPort(); -LOG.info("HDFS Data node web UI running at address http://{};, hdfsDataNodeWeb); -LOG.info("HDFS Data node running at address {}:{}", getHDFSHost(), getPort()); -} - -@Override -public void shutdown() { -dataNodeContainer.stop(); -nameNodeContainer.stop(); -} -} diff --git a/tests/itests-hdfs/src/test/java/org/apache/camel/kafkaconnector/hdfs/services/DataNodeContainer.java b/tests/itests-hdfs/src/test/java/org/apache/camel/kafkaconnector/hdfs/services/DataNodeContainer.java
[GitHub] [camel-kafka-connector] orpiske merged pull request #799: Align ElasticSearch tests with test infra from Camel 3.7
orpiske merged pull request #799: URL: https://github.com/apache/camel-kafka-connector/pull/799 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch master updated: Align ElasticSearch tests with test infra from Camel 3.7
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/master by this push: new 47cf546 Align ElasticSearch tests with test infra from Camel 3.7 47cf546 is described below commit 47cf54685a6928b4c736a12cfc4af02bd01bcaa5 Author: Otavio Rodolfo Piske AuthorDate: Thu Dec 17 09:28:10 2020 +0100 Align ElasticSearch tests with test infra from Camel 3.7 --- tests/itests-elasticsearch/pom.xml | 25 .../ElasticSearchLocalContainerService.java| 67 -- .../services/ElasticSearchService.java | 53 - .../services/ElasticSearchServiceFactory.java | 44 -- .../services/RemoteElasticSearchService.java | 48 .../sink/CamelSinkElasticSearchITCase.java | 6 +- 6 files changed, 14 insertions(+), 229 deletions(-) diff --git a/tests/itests-elasticsearch/pom.xml b/tests/itests-elasticsearch/pom.xml index 07e0b9b..02d4e13 100644 --- a/tests/itests-elasticsearch/pom.xml +++ b/tests/itests-elasticsearch/pom.xml @@ -37,27 +37,26 @@ test + org.apache.camel -camel-elasticsearch-rest +camel-test-infra-common +${camel.version} +test-jar +test - -org.apache.camel.kafkaconnector -camel-kafka-connector -${project.version} -provided +org.apache.camel +camel-test-infra-elasticsearch +${camel.version} +test-jar +test -org.testcontainers -elasticsearch -test +org.apache.camel +camel-elasticsearch-rest diff --git a/tests/itests-elasticsearch/src/test/java/org/apache/camel/kafkaconnector/elasticsearch/services/ElasticSearchLocalContainerService.java b/tests/itests-elasticsearch/src/test/java/org/apache/camel/kafkaconnector/elasticsearch/services/ElasticSearchLocalContainerService.java deleted file mode 100644 index f8aeb44..000 --- a/tests/itests-elasticsearch/src/test/java/org/apache/camel/kafkaconnector/elasticsearch/services/ElasticSearchLocalContainerService.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.camel.kafkaconnector.elasticsearch.services; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.testcontainers.elasticsearch.ElasticsearchContainer; - -public class ElasticSearchLocalContainerService implements ElasticSearchService { -private static final Logger LOG = LoggerFactory.getLogger(ElasticSearchLocalContainerService.class); -private static final String DEFAULT_ELASTIC_SEARCH_CONTAINER = "docker.elastic.co/elasticsearch/elasticsearch-oss:7.3.2"; -private static final int ELASTIC_SEARCH_PORT = 9200; - -public ElasticsearchContainer container; - -public ElasticSearchLocalContainerService() { -String containerName = System.getProperty("elasticsearch.container"); - -if (containerName == null || containerName.isEmpty()) { -containerName = DEFAULT_ELASTIC_SEARCH_CONTAINER; -} - -container = new ElasticsearchContainer(containerName); -container.start(); -} - -@Override -public int getPort() { -return container.getMappedPort(ELASTIC_SEARCH_PORT); -} - -@Override -public String getElasticSearchHost() { -return container.getHost(); -} - -@Override -public String getHttpHostAddress() { -return container.getHttpHostAddress(); -} - -@Override -public void initialize() { -LOG.info("ElasticSearch instance running at {}", getHttpHostAddress()); -} - -@Override -public void shutdown() { -LOG.info("Stopping the ElasticSearch container"); -container.stop(); -} -} diff --git
[GitHub] [camel-kafka-connector] orpiske merged pull request #798: Align Cassandra tests with test infra from Camel 3.7
orpiske merged pull request #798: URL: https://github.com/apache/camel-kafka-connector/pull/798 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch master updated: Align Cassandra tests with test infra from Camel 3.7
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/master by this push: new 2224c26 Align Cassandra tests with test infra from Camel 3.7 2224c26 is described below commit 2224c26eec1939d1caeaabcc9f2389c8330e602d Author: Otavio Rodolfo Piske AuthorDate: Thu Dec 17 09:18:57 2020 +0100 Align Cassandra tests with test infra from Camel 3.7 --- tests/itests-cassandra/pom.xml | 17 +++ .../cassandra/services/CassandraContainer.java | 45 - .../services/CassandraLocalContainerService.java | 57 -- .../cassandra/services/CassandraService.java | 56 - .../services/CassandraServiceFactory.java | 45 - .../cassandra/services/RemoteCassandraService.java | 50 --- .../cassandra/sink/CamelSinkCassandraITCase.java | 6 +-- .../source/CamelSourceCassandraITCase.java | 4 +- 8 files changed, 21 insertions(+), 259 deletions(-) diff --git a/tests/itests-cassandra/pom.xml b/tests/itests-cassandra/pom.xml index d3d4afc..c9c5b6c 100644 --- a/tests/itests-cassandra/pom.xml +++ b/tests/itests-cassandra/pom.xml @@ -37,6 +37,23 @@ test + + +org.apache.camel +camel-test-infra-common +${camel.version} +test-jar +test + + + +org.apache.camel +camel-test-infra-cassandra +${camel.version} +test-jar +test + + org.apache.camel camel-cassandraql diff --git a/tests/itests-cassandra/src/test/java/org/apache/camel/kafkaconnector/cassandra/services/CassandraContainer.java b/tests/itests-cassandra/src/test/java/org/apache/camel/kafkaconnector/cassandra/services/CassandraContainer.java deleted file mode 100644 index d8d94f5..000 --- a/tests/itests-cassandra/src/test/java/org/apache/camel/kafkaconnector/cassandra/services/CassandraContainer.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.kafkaconnector.cassandra.services; - -import org.testcontainers.containers.GenericContainer; -import org.testcontainers.containers.wait.strategy.Wait; - -/** - * A local instance of Apache Cassandra - */ -public class CassandraContainer extends GenericContainer { -private static final String CASSANDRA_IMAGE = "cassandra:3.11"; -private static final int CQL3_PORT = 9042; - -public CassandraContainer() { -super(CASSANDRA_IMAGE); - -withExposedPorts(CQL3_PORT); - -waitingFor(Wait.forListeningPort()); -} - -public int getCQL3Port() { -return getMappedPort(CQL3_PORT); -} - -public String getCassandraHost() { -return getContainerIpAddress(); -} - -} diff --git a/tests/itests-cassandra/src/test/java/org/apache/camel/kafkaconnector/cassandra/services/CassandraLocalContainerService.java b/tests/itests-cassandra/src/test/java/org/apache/camel/kafkaconnector/cassandra/services/CassandraLocalContainerService.java deleted file mode 100644 index 9972c2b..000 --- a/tests/itests-cassandra/src/test/java/org/apache/camel/kafkaconnector/cassandra/services/CassandraLocalContainerService.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See
[camel] branch regen_bot updated (a1e5195 -> b7306bc)
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 a1e5195 Regen for commit dd244543fa3472112c24e042cd032cdae8ce473f add 2e0456e CAMEL-15956: camel-core - Deprecate init switch as its not in use. add b7306bc prepare for next release No new revisions were added by this update. Summary of changes: .../java/org/apache/camel/impl/engine/AbstractCamelContext.java | 3 +++ .../modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc| 8 docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc | 1 + 3 files changed, 12 insertions(+) create mode 100644 docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc
[camel-quarkus] 08/10: Test with camel.main.lightweight=true #2063
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit c08f52f602bfee6a6f7c3dbf949fb490cb9d0338 Author: Peter Palaga AuthorDate: Fri Dec 11 18:12:33 2020 +0100 Test with camel.main.lightweight=true #2063 --- integration-tests/rest/pom.xml | 19 ++ .../quarkus/component/rest/it/RestResource.java| 8 ++ .../quarkus/component/rest/it/RestRoutes.java} | 30 -- .../rest/src/main/resources/application.properties | 17 .../camel/quarkus/component/rest/it/RestTest.java | 21 +++ 5 files changed, 81 insertions(+), 14 deletions(-) diff --git a/integration-tests/rest/pom.xml b/integration-tests/rest/pom.xml index e7889a4..b314b58 100644 --- a/integration-tests/rest/pom.xml +++ b/integration-tests/rest/pom.xml @@ -32,6 +32,10 @@ org.apache.camel.quarkus +camel-quarkus-main + + +org.apache.camel.quarkus camel-quarkus-rest @@ -54,6 +58,21 @@ org.apache.camel.quarkus +camel-quarkus-main-deployment +${project.version} +pom +test + + +* +* + + + + + + +org.apache.camel.quarkus camel-quarkus-rest-deployment ${project.version} pom diff --git a/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestResource.java b/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestResource.java index 90f8c63..b0e8f05 100644 --- a/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestResource.java +++ b/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestResource.java @@ -26,6 +26,7 @@ import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import org.apache.camel.CamelContext; +import org.apache.camel.ExtendedCamelContext; @Path("/rest") @ApplicationScoped @@ -41,4 +42,11 @@ public class RestResource { .add("component", camelContext.getRestConfiguration().getComponent()) .build(); } + +@Path("/inspect/camel-context/lightweight") +@GET +@Produces(MediaType.TEXT_PLAIN) +public boolean lightweight() { +return camelContext.adapt(ExtendedCamelContext.class).isLightweight(); +} } diff --git a/integration-tests/rest/src/test/java/org/apache/camel/quarkus/component/rest/it/RestTest.java b/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestRoutes.java similarity index 62% copy from integration-tests/rest/src/test/java/org/apache/camel/quarkus/component/rest/it/RestTest.java copy to integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestRoutes.java index 1deb123..f001379 100644 --- a/integration-tests/rest/src/test/java/org/apache/camel/quarkus/component/rest/it/RestTest.java +++ b/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestRoutes.java @@ -16,21 +16,23 @@ */ package org.apache.camel.quarkus.component.rest.it; -import io.quarkus.test.junit.QuarkusTest; -import io.restassured.RestAssured; -import org.apache.camel.component.platform.http.PlatformHttpConstants; -import org.junit.jupiter.api.Test; +import org.apache.camel.builder.RouteBuilder; -import static org.hamcrest.Matchers.is; +public class RestRoutes extends RouteBuilder { -@QuarkusTest -class RestTest { -@Test -public void inspectConfiguration() { -RestAssured.when() -.get("/rest/inspect/configuration") -.then() -.statusCode(200) -.body("component", is(PlatformHttpConstants.PLATFORM_HTTP_COMPONENT_NAME)); +@Override +public void configure() { +rest() + +.get("/rest/get") +.route() +.setBody(constant("GET: /rest/get")) +.endRest() + +.post("/rest/post") +.consumes("text/plain").produces("text/plain") +.route() +.setBody(constant("POST: /rest/post")) +.endRest(); } } diff --git a/integration-tests/rest/src/main/resources/application.properties b/integration-tests/rest/src/main/resources/application.properties new file mode 100644 index 000..32eeb16 --- /dev/null +++ b/integration-tests/rest/src/main/resources/application.properties @@ -0,0 +1,17 @@ +## --- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file
[GitHub] [camel-quarkus] ppalaga closed issue #2014: BigQuery native support
ppalaga closed issue #2014: URL: https://github.com/apache/camel-quarkus/issues/2014 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] 06/10: CSimple language support #2036
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 08de45a56f7343b1f4b7a4f9a7aed4779eb2cbaf Author: Peter Palaga AuthorDate: Thu Dec 3 12:45:19 2020 +0100 CSimple language support #2036 --- .../ROOT/pages/reference/extensions/core.adoc | 6 + .../partials/reference/components/vertx-kafka.adoc | 1 + extensions-core/core/deployment/pom.xml| 16 + .../CSimpleRouteDefinitionProcessor.java | 354 + .../LanguageExpressionContentHandler.java | 122 +++ .../spi/CSimpleExpressionSourceBuildItem.java | 58 .../spi/CompiledCSimpleExpressionBuildItem.java| 57 .../core/runtime/src/main/adoc/limitations.adoc| 17 + .../quarkus/core/CSimpleLanguageRecorder.java | 24 +- .../org/apache/camel/quarkus/core/CamelConfig.java | 18 ++ .../main/deployment/CSimpleXmlProcessor.java | 127 integration-tests/core/pom.xml | 42 +++ .../apache/camel/quarkus/core/CoreResource.java| 14 + .../org/apache/camel/quarkus/core/CoreRoutes.java | 3 + .../org/apache/camel/quarkus/core/CoreTest.java| 12 + .../camel/quarkus/main/CoreMainXmlIoResource.java | 8 + .../src/main/resources/routes/my-routes.xml| 7 + .../camel/quarkus/main/CoreMainXmlIoTest.java | 13 +- .../apache/camel/quarkus/main/CoreMainTest.java| 3 +- 19 files changed, 892 insertions(+), 10 deletions(-) diff --git a/docs/modules/ROOT/pages/reference/extensions/core.adoc b/docs/modules/ROOT/pages/reference/extensions/core.adoc index cd8e0a5..381b7b6 100644 --- a/docs/modules/ROOT/pages/reference/extensions/core.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/core.adoc @@ -160,6 +160,12 @@ A comma separated list of Ant-path style patterns to match class names that shou For this option to work properly, the artifacts containing the selected classes must either contain a Jandex index (`META-INF/jandex.idx`) or they must be registered for indexing using the `quarkus.index-dependency.++*++` family of options in `application.properties` - e.g. quarkus.index-dependency.my-dep.group-id = org.my-group quarkus.index-dependency.my-dep.artifact-id = my-artifact where `my-dep` is a label of your choice to tell Quarkus that `org.my-group` and with `my-artifact` b [...] | `string` | + +|icon:lock[title=Fixed at build time] [[quarkus.camel.csimple.on-build-time-analysis-failure]]`link:#quarkus.camel.csimple.on-build-time-analysis-failure[quarkus.camel.csimple.on-build-time-analysis-failure]` + +What to do if it is not possible to extract CSimple expressions from a route definition at build time. +| `org.apache.camel.quarkus.core.CamelConfig.FailureRemedy` +| `warn` |=== [.configuration-legend] diff --git a/docs/modules/ROOT/partials/reference/components/vertx-kafka.adoc b/docs/modules/ROOT/partials/reference/components/vertx-kafka.adoc new file mode 100644 index 000..a509c1d --- /dev/null +++ b/docs/modules/ROOT/partials/reference/components/vertx-kafka.adoc @@ -0,0 +1 @@ +// Empty partial for a Camel bit unsupported by Camel Quarkus to avoid warnings when this file is included from a Camel page diff --git a/extensions-core/core/deployment/pom.xml b/extensions-core/core/deployment/pom.xml index 37b0c2d..bf0822b 100644 --- a/extensions-core/core/deployment/pom.xml +++ b/extensions-core/core/deployment/pom.xml @@ -49,6 +49,22 @@ camel-quarkus-core + + +org.glassfish.jaxb +jaxb-runtime + + +jakarta.xml.bind +jakarta.xml.bind-api + + + + +org.jboss.spec.javax.xml.bind +jboss-jaxb-api_2.3_spec + + org.apache.camel diff --git a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CSimpleRouteDefinitionProcessor.java b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CSimpleRouteDefinitionProcessor.java new file mode 100644 index 000..c9878ab --- /dev/null +++ b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CSimpleRouteDefinitionProcessor.java @@ -0,0 +1,354 @@ +/* + * 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