[camel] 03/03: Regen catalog
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 4596a4289c1b0af23bd9eb85bcb50244e8450c31 Author: Andrea Cosentino AuthorDate: Fri Jul 24 08:56:45 2020 +0200 Regen catalog --- .../resources/org/apache/camel/catalog/components/aws-mq.json | 2 ++ .../resources/org/apache/camel/catalog/docs/aws-mq-component.adoc | 6 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-mq.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-mq.json index afdf320..b2e8d16 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-mq.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-mq.json @@ -21,6 +21,7 @@ "lenientProperties": false }, "componentProperties": { +"autoDiscoverClient": { "kind": "property", "displayName": "Auto Discover Client", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "configurationClass": "org.apache.camel.component.aws.mq.MQConfiguration", "configurationField": "configuration", "description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry a [...] "accessKey": { "kind": "property", "displayName": "Access Key", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "configurationClass": "org.apache.camel.component.aws.mq.MQConfiguration", "configurationField": "configuration", "description": "Amazon AWS Access Key" }, "amazonMqClient": { "kind": "property", "displayName": "Amazon Mq Client", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "com.amazonaws.services.mq.AmazonMQ", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.mq.MQConfiguration", "configurationField": "configuration", "description": "To use a existing configured AmazonMQClient as client" }, "configuration": { "kind": "property", "displayName": "Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws.mq.MQConfiguration", "deprecated": false, "secret": false, "description": "The Component configuration" }, @@ -35,6 +36,7 @@ }, "properties": { "label": { "kind": "path", "displayName": "Label", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.aws.mq.MQConfiguration", "configurationField": "configuration", "description": "Logical name" }, +"autoDiscoverClient": { "kind": "parameter", "displayName": "Auto Discover Client", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "configurationClass": "org.apache.camel.component.aws.mq.MQConfiguration", "configurationField": "configuration", "description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry [...] "accessKey": { "kind": "parameter", "displayName": "Access Key", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": true, "configurationClass": "org.apache.camel.component.aws.mq.MQConfiguration", "configurationField": "configuration", "description": "Amazon AWS Access Key" }, "amazonMqClient": { "kind": "parameter", "displayName": "Amazon Mq Client", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "com.amazonaws.services.mq.AmazonMQ", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.mq.MQConfiguration", "configurationField": "configuration", "description": "To use a existing configured AmazonMQClient as client" }, "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 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 starting and cause the [...] diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/
[camel] 01/03: CAMEL-15310 - AWS* - Support for more than 1 client in the registry - Camel-AWS-MQ
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 8bb180a1c179beca139ed77e1647415addef6d2d Author: Andrea Cosentino AuthorDate: Fri Jul 24 08:54:43 2020 +0200 CAMEL-15310 - AWS* - Support for more than 1 client in the registry - Camel-AWS-MQ --- .../component/aws/mq/MQComponentConfigurer.java| 5 .../component/aws/mq/MQEndpointConfigurer.java | 5 .../org/apache/camel/component/aws/mq/aws-mq.json | 2 ++ .../src/main/docs/aws-mq-component.adoc| 6 +++-- .../apache/camel/component/aws/mq/MQComponent.java | 4 +++- .../camel/component/aws/mq/MQConfiguration.java| 15 .../aws/mq/MQComponentClientRegistryTest.java | 24 +++ .../dsl/AwsMqComponentBuilderFactory.java | 16 + .../builder/endpoint/StaticEndpointBuilders.java | 8 +++ .../endpoint/dsl/MQEndpointBuilderFactory.java | 28 ++ 10 files changed, 106 insertions(+), 7 deletions(-) diff --git a/components/camel-aws-mq/src/generated/java/org/apache/camel/component/aws/mq/MQComponentConfigurer.java b/components/camel-aws-mq/src/generated/java/org/apache/camel/component/aws/mq/MQComponentConfigurer.java index 26d5045..c3dc80a 100644 --- a/components/camel-aws-mq/src/generated/java/org/apache/camel/component/aws/mq/MQComponentConfigurer.java +++ b/components/camel-aws-mq/src/generated/java/org/apache/camel/component/aws/mq/MQComponentConfigurer.java @@ -30,6 +30,8 @@ public class MQComponentConfigurer extends PropertyConfigurerSupport implements case "accessKey": getOrCreateConfiguration(target).setAccessKey(property(camelContext, java.lang.String.class, value)); return true; case "amazonmqclient": case "amazonMqClient": getOrCreateConfiguration(target).setAmazonMqClient(property(camelContext, com.amazonaws.services.mq.AmazonMQ.class, value)); return true; +case "autodiscoverclient": +case "autoDiscoverClient": getOrCreateConfiguration(target).setAutoDiscoverClient(property(camelContext, boolean.class, value)); return true; case "basicpropertybinding": case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true; case "configuration": target.setConfiguration(property(camelContext, org.apache.camel.component.aws.mq.MQConfiguration.class, value)); return true; @@ -54,6 +56,7 @@ public class MQComponentConfigurer extends PropertyConfigurerSupport implements Map answer = new CaseInsensitiveMap(); answer.put("accessKey", java.lang.String.class); answer.put("amazonMqClient", com.amazonaws.services.mq.AmazonMQ.class); +answer.put("autoDiscoverClient", boolean.class); answer.put("basicPropertyBinding", boolean.class); answer.put("configuration", org.apache.camel.component.aws.mq.MQConfiguration.class); answer.put("lazyStartProducer", boolean.class); @@ -74,6 +77,8 @@ public class MQComponentConfigurer extends PropertyConfigurerSupport implements case "accessKey": return getOrCreateConfiguration(target).getAccessKey(); case "amazonmqclient": case "amazonMqClient": return getOrCreateConfiguration(target).getAmazonMqClient(); +case "autodiscoverclient": +case "autoDiscoverClient": return getOrCreateConfiguration(target).isAutoDiscoverClient(); case "basicpropertybinding": case "basicPropertyBinding": return target.isBasicPropertyBinding(); case "configuration": return target.getConfiguration(); diff --git a/components/camel-aws-mq/src/generated/java/org/apache/camel/component/aws/mq/MQEndpointConfigurer.java b/components/camel-aws-mq/src/generated/java/org/apache/camel/component/aws/mq/MQEndpointConfigurer.java index 525b2e7..2872cdc 100644 --- a/components/camel-aws-mq/src/generated/java/org/apache/camel/component/aws/mq/MQEndpointConfigurer.java +++ b/components/camel-aws-mq/src/generated/java/org/apache/camel/component/aws/mq/MQEndpointConfigurer.java @@ -23,6 +23,8 @@ public class MQEndpointConfigurer extends PropertyConfigurerSupport implements G case "accessKey": target.getConfiguration().setAccessKey(property(camelContext, java.lang.String.class, value)); return true; case "amazonmqclient": case "amazonMqClient": target.getConfiguration().setAmazonMqClient(property(camelContext, com.amazonaws.services.mq.AmazonMQ.class, value)); return true; +case "autodiscoverclient": +case "autoDiscoverClient": target.getConfiguration().setAutoDiscoverClient(property(camelContext, boolean.class, value)); return true; case "basicpropertybinding": case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true;
[GitHub] [camel-website] AemieJ edited a comment on pull request #428: CAMEL-15185: Footer design
AemieJ edited a comment on pull request #428: URL: https://github.com/apache/camel-website/pull/428#issuecomment-663374570 @zregvart does this PR require any further changes or it's fine with the current changes? 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/03: Regen website docs
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 8ced9e3d5542b43dcb2ec863c36b2e1748c690df Author: Andrea Cosentino AuthorDate: Fri Jul 24 08:55:57 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/aws-mq-component.adoc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws-mq-component.adoc b/docs/components/modules/ROOT/pages/aws-mq-component.adoc index bb1061d..b719953 100644 --- a/docs/components/modules/ROOT/pages/aws-mq-component.adoc +++ b/docs/components/modules/ROOT/pages/aws-mq-component.adoc @@ -38,13 +38,14 @@ You can append query options to the URI in the following format, // component options: START -The AWS MQ component supports 11 options, which are listed below. +The AWS MQ component supports 12 options, which are listed below. [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean | *accessKey* (producer) | Amazon AWS Access Key | | String | *amazonMqClient* (producer) | To use a existing configured AmazonMQClient as client | | AmazonMQ | *configuration* (producer) | The Component configuration | | MQConfiguration @@ -81,12 +82,13 @@ with the following path and query parameters: |=== -=== Query Parameters (11 parameters): +=== Query Parameters (12 parameters): [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean | *accessKey* (producer) | Amazon AWS Access Key | | String | *amazonMqClient* (producer) | To use a existing configured AmazonMQClient as client | | AmazonMQ | *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 [...]
[camel] branch master updated (4db6255 -> 4596a42)
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 4db6255 CAMEL-15283: Add include for Spring Boot starter docs new 8bb180a CAMEL-15310 - AWS* - Support for more than 1 client in the registry - Camel-AWS-MQ new 8ced9e3 Regen website docs new 4596a42 Regen catalog 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: .../apache/camel/catalog/components/aws-mq.json| 2 ++ .../camel/catalog/docs/aws-mq-component.adoc | 6 +++-- .../component/aws/mq/MQComponentConfigurer.java| 5 .../component/aws/mq/MQEndpointConfigurer.java | 5 .../org/apache/camel/component/aws/mq/aws-mq.json | 2 ++ .../src/main/docs/aws-mq-component.adoc| 6 +++-- .../apache/camel/component/aws/mq/MQComponent.java | 4 +++- .../camel/component/aws/mq/MQConfiguration.java| 15 .../aws/mq/MQComponentClientRegistryTest.java | 24 +++ .../dsl/AwsMqComponentBuilderFactory.java | 16 + .../builder/endpoint/StaticEndpointBuilders.java | 8 +++ .../endpoint/dsl/MQEndpointBuilderFactory.java | 28 ++ .../modules/ROOT/pages/aws-mq-component.adoc | 6 +++-- 13 files changed, 116 insertions(+), 11 deletions(-)
[GitHub] [camel] orpiske commented on pull request #4033: CAMEL-15326: fix incorrect handling of API responses
orpiske commented on pull request #4033: URL: https://github.com/apache/camel/pull/4033#issuecomment-663374922 > Maybe we could backport to 3.4.x too. Can you please open a PR to [camel-3](https://issues.apache.org/jira/browse/CAMEL-3).4.x branch? Absolutely. I will open a PR with this patch for the 3.4.x branch, thanks! This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] AemieJ commented on pull request #428: CAMEL-15185: Footer design
AemieJ commented on pull request #428: URL: https://github.com/apache/camel-website/pull/428#issuecomment-663374570 @zregvart does this PR require any further changes or it's fine now? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] jam01 commented on pull request #4001: CAMEL-15260 - Adds tracing strategy to enable spans for each processor
jam01 commented on pull request #4001: URL: https://github.com/apache/camel/pull/4001#issuecomment-663367391 Hey @valdar. There are few things to consider. I'll try to find a bit of time a create a quick write up... There's no automatic way to do that yet. I'm hoping to find some time to address that soon. But I'm pretty sure it's gonna require Java agent instrumentation... 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-15283: Add include for Spring Boot starter docs
This is an automated email from the ASF dual-hosted git repository. jamesnetherton 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 4db6255 CAMEL-15283: Add include for Spring Boot starter docs 4db6255 is described below commit 4db625521096d2b892c64b9ded029f12c4002dff Author: James Netherton AuthorDate: Fri Jul 24 07:22:52 2020 +0100 CAMEL-15283: Add include for Spring Boot starter docs --- .../resources/org/apache/camel/catalog/docs/vertx-http-component.adoc| 1 + components/camel-vertx-http/src/main/docs/vertx-http-component.adoc | 1 + docs/components/modules/ROOT/pages/vertx-http-component.adoc | 1 + 3 files changed, 3 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/vertx-http-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/vertx-http-component.adoc index d9cd93c..ea755ba 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/vertx-http-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/vertx-http-component.adoc @@ -236,3 +236,4 @@ It is also possible to configure SSL options by providing a custom `WebClientOpt Session management can be enabled via the `sessionManagement` URI option. When enabled, an in-memory cookie store is used to track cookies. This can be overridden by providing a custom `CookieStore` via the `cookieStore` URI option. +include::camel-spring-boot::page$vertx-http-starter.adoc[] diff --git a/components/camel-vertx-http/src/main/docs/vertx-http-component.adoc b/components/camel-vertx-http/src/main/docs/vertx-http-component.adoc index d9cd93c..ea755ba 100644 --- a/components/camel-vertx-http/src/main/docs/vertx-http-component.adoc +++ b/components/camel-vertx-http/src/main/docs/vertx-http-component.adoc @@ -236,3 +236,4 @@ It is also possible to configure SSL options by providing a custom `WebClientOpt Session management can be enabled via the `sessionManagement` URI option. When enabled, an in-memory cookie store is used to track cookies. This can be overridden by providing a custom `CookieStore` via the `cookieStore` URI option. +include::camel-spring-boot::page$vertx-http-starter.adoc[] diff --git a/docs/components/modules/ROOT/pages/vertx-http-component.adoc b/docs/components/modules/ROOT/pages/vertx-http-component.adoc index 4f640c2..eb25211 100644 --- a/docs/components/modules/ROOT/pages/vertx-http-component.adoc +++ b/docs/components/modules/ROOT/pages/vertx-http-component.adoc @@ -238,3 +238,4 @@ It is also possible to configure SSL options by providing a custom `WebClientOpt Session management can be enabled via the `sessionManagement` URI option. When enabled, an in-memory cookie store is used to track cookies. This can be overridden by providing a custom `CookieStore` via the `cookieStore` URI option. +include::camel-spring-boot::page$vertx-http-starter.adoc[]
[camel] branch master updated (9e4e2e7 -> 3b27730)
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 9e4e2e7 Added links to component containing batch consumer (file and ftp) new ba7b24e CAMEL-15310 - AWS* - Support for more than 1 client in the registry - Camel-AWS-Lambda new a56078c2 Regen website docs new 8150005 Regen catalog new 40afd65 CAMEL-15310 - AWS* - Support for more than 1 client in the registry - Camel-AWS2-Lambda new d416955 Regen website docs new 3b27730 Regen catalog The 6 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/catalog/components/aws-lambda.json | 2 ++ .../camel/catalog/components/aws2-lambda.json | 2 ++ .../camel/catalog/docs/aws-lambda-component.adoc | 6 +++-- .../camel/catalog/docs/aws2-lambda-component.adoc | 6 +++-- .../aws/lambda/LambdaComponentConfigurer.java | 5 .../aws/lambda/LambdaEndpointConfigurer.java | 5 .../camel/component/aws/lambda/aws-lambda.json | 2 ++ .../src/main/docs/aws-lambda-component.adoc| 6 +++-- .../component/aws/lambda/LambdaComponent.java | 4 ++- .../component/aws/lambda/LambdaConfiguration.java | 15 +++ .../lambda/LambdaComponentClientRegistryTest.java | 26 +++ .../aws2/lambda/Lambda2ComponentConfigurer.java| 5 .../aws2/lambda/Lambda2EndpointConfigurer.java | 5 .../camel/component/aws2/lambda/aws2-lambda.json | 2 ++ .../src/main/docs/aws2-lambda-component.adoc | 6 +++-- .../component/aws2/lambda/Lambda2Component.java| 4 ++- .../aws2/lambda/Lambda2Configuration.java | 15 +++ .../lambda/LambdaComponentClientRegistryTest.java | 26 +++ .../dsl/Aws2LambdaComponentBuilderFactory.java | 16 .../dsl/AwsLambdaComponentBuilderFactory.java | 16 .../builder/endpoint/StaticEndpointBuilders.java | 8 +++--- .../dsl/Lambda2EndpointBuilderFactory.java | 30 ++ .../endpoint/dsl/LambdaEndpointBuilderFactory.java | 30 ++ .../modules/ROOT/pages/aws-lambda-component.adoc | 6 +++-- .../modules/ROOT/pages/aws2-lambda-component.adoc | 6 +++-- 25 files changed, 236 insertions(+), 18 deletions(-)
[camel] 05/06: Regen website docs
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 d4169551942fa1af45281fb58e4628ae47a4 Author: Andrea Cosentino AuthorDate: Fri Jul 24 08:15:45 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/aws2-lambda-component.adoc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc index e16b594..8b6d88e 100644 --- a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc @@ -45,13 +45,14 @@ You can append query options to the URI in the following format, // component options: START -The AWS 2 Lambda component supports 13 options, which are listed below. +The AWS 2 Lambda component supports 14 options, which are listed below. [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean | *configuration* (producer) | Component configuration | | Lambda2Configuration | *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) | The operation to perform. It can be listFunctions, getFunction, createFunction, deleteFunction or invokeFunction. The value can be one of: listFunctions, getFunction, createAlias, deleteAlias, getAlias, listAliases, createFunction, deleteFunction, invokeFunction, updateFunction, createEventSourceMapping, deleteEventSourceMapping, listEventSourceMapping, listTags, tagResource, untagResource, publishVersion, listVersions | invokeFunction | Lambda2Operations @@ -90,12 +91,13 @@ with the following path and query parameters: |=== -=== Query Parameters (13 parameters): +=== Query Parameters (14 parameters): [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean | *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) | The operation to perform. It can be listFunctions, getFunction, createFunction, deleteFunction or invokeFunction. The value can be one of: listFunctions, getFunction, createAlias, deleteAlias, getAlias, listAliases, createFunction, deleteFunction, invokeFunction, updateFunction, createEventSourceMapping, deleteEventSourceMapping, listEventSourceMapping, listTags, tagResource, untagResource, publishVersion, listVersions | invokeFunction | Lambda2Operations | *pojoRequest* (producer) | If we want to use a POJO request as body or not | false | boolean
[camel] 02/06: Regen website docs
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 a56078c2a415e44e26c9cd69eaa1864171b2bf38 Author: Andrea Cosentino AuthorDate: Fri Jul 24 08:10:13 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/aws-lambda-component.adoc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws-lambda-component.adoc b/docs/components/modules/ROOT/pages/aws-lambda-component.adoc index 50da169..53ef4ea 100644 --- a/docs/components/modules/ROOT/pages/aws-lambda-component.adoc +++ b/docs/components/modules/ROOT/pages/aws-lambda-component.adoc @@ -44,13 +44,14 @@ You can append query options to the URI in the following format, // component options: START -The AWS Lambda component supports 11 options, which are listed below. +The AWS Lambda component supports 12 options, which are listed below. [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean | *configuration* (producer) | The AWS Lambda default configuration | | LambdaConfiguration | *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) | The operation to perform. It can be listFunctions, getFunction, createFunction, deleteFunction or invokeFunction. The value can be one of: listFunctions, getFunction, createAlias, deleteAlias, getAlias, listAliases, createFunction, deleteFunction, invokeFunction, updateFunction, createEventSourceMapping, deleteEventSourceMapping, listEventSourceMapping, listTags, tagResource, untagResource, publishVersion, listVersions | invokeFunction | LambdaOperations @@ -87,12 +88,13 @@ with the following path and query parameters: |=== -=== Query Parameters (11 parameters): +=== Query Parameters (12 parameters): [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean | *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) | The operation to perform. It can be listFunctions, getFunction, createFunction, deleteFunction or invokeFunction. The value can be one of: listFunctions, getFunction, createAlias, deleteAlias, getAlias, listAliases, createFunction, deleteFunction, invokeFunction, updateFunction, createEventSourceMapping, deleteEventSourceMapping, listEventSourceMapping, listTags, tagResource, untagResource, publishVersion, listVersions | invokeFunction | LambdaOperations | *region* (producer) | Amazon AWS Region. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name() | | String
[camel] 03/06: Regen catalog
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 815000504c59fd7fb092039477695864d3bf6582 Author: Andrea Cosentino AuthorDate: Fri Jul 24 08:10:40 2020 +0200 Regen catalog --- .../resources/org/apache/camel/catalog/components/aws-lambda.json | 2 ++ .../org/apache/camel/catalog/docs/aws-lambda-component.adoc | 6 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-lambda.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-lambda.json index 73c0e54..a44b6ba 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-lambda.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-lambda.json @@ -21,6 +21,7 @@ "lenientProperties": false }, "componentProperties": { +"autoDiscoverClient": { "kind": "property", "displayName": "Auto Discover Client", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "configurationClass": "org.apache.camel.component.aws.lambda.LambdaConfiguration", "configurationField": "configuration", "description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the re [...] "configuration": { "kind": "property", "displayName": "Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws.lambda.LambdaConfiguration", "deprecated": false, "secret": false, "description": "The AWS Lambda default configuration" }, "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 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 starting and cause the r [...] "operation": { "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws.lambda.LambdaOperations", "enum": [ "listFunctions", "getFunction", "createAlias", "deleteAlias", "getAlias", "listAliases", "createFunction", "deleteFunction", "invokeFunction", "updateFunction", "createEventSourceMapping", "deleteEventSourceMapping", "listEventSourceMapping", "listTags", "tagResource", "unt [...] @@ -35,6 +36,7 @@ }, "properties": { "function": { "kind": "path", "displayName": "Function", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "description": "Name of the Lambda function." }, +"autoDiscoverClient": { "kind": "parameter", "displayName": "Auto Discover Client", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "configurationClass": "org.apache.camel.component.aws.lambda.LambdaConfiguration", "configurationField": "configuration", "description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the r [...] "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 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 starting and cause the [...] "operation": { "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws.lambda.LambdaOperations", "enum": [ "listFunctions", "getFunction", "createAlias", "deleteAlias", "getAlias", "listAliases", "createFunction", "deleteFunction", "invokeFunction", "updateFunction", "createEventSourceMapping", "deleteEventSourceMapping", "listEventSourceMapping", "listTags", "tagResource", "un [...] "region": { "kind": "parameter", "displayName": "Region", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.compone
[camel] 01/06: CAMEL-15310 - AWS* - Support for more than 1 client in the registry - Camel-AWS-Lambda
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 ba7b24e6c4d3559f51e0d7d1503e1be713b122c5 Author: Andrea Cosentino AuthorDate: Fri Jul 24 08:09:13 2020 +0200 CAMEL-15310 - AWS* - Support for more than 1 client in the registry - Camel-AWS-Lambda --- .../aws/lambda/LambdaComponentConfigurer.java | 5 .../aws/lambda/LambdaEndpointConfigurer.java | 5 .../camel/component/aws/lambda/aws-lambda.json | 2 ++ .../src/main/docs/aws-lambda-component.adoc| 6 +++-- .../component/aws/lambda/LambdaComponent.java | 4 ++- .../component/aws/lambda/LambdaConfiguration.java | 15 +++ .../lambda/LambdaComponentClientRegistryTest.java | 26 +++ .../dsl/AwsLambdaComponentBuilderFactory.java | 16 .../builder/endpoint/StaticEndpointBuilders.java | 8 +++--- .../endpoint/dsl/LambdaEndpointBuilderFactory.java | 30 ++ 10 files changed, 110 insertions(+), 7 deletions(-) diff --git a/components/camel-aws-lambda/src/generated/java/org/apache/camel/component/aws/lambda/LambdaComponentConfigurer.java b/components/camel-aws-lambda/src/generated/java/org/apache/camel/component/aws/lambda/LambdaComponentConfigurer.java index 2f778dd..c2a3ce9 100644 --- a/components/camel-aws-lambda/src/generated/java/org/apache/camel/component/aws/lambda/LambdaComponentConfigurer.java +++ b/components/camel-aws-lambda/src/generated/java/org/apache/camel/component/aws/lambda/LambdaComponentConfigurer.java @@ -28,6 +28,8 @@ public class LambdaComponentConfigurer extends PropertyConfigurerSupport impleme switch (ignoreCase ? name.toLowerCase() : name) { case "accesskey": case "accessKey": getOrCreateConfiguration(target).setAccessKey(property(camelContext, java.lang.String.class, value)); return true; +case "autodiscoverclient": +case "autoDiscoverClient": getOrCreateConfiguration(target).setAutoDiscoverClient(property(camelContext, boolean.class, value)); return true; case "awslambdaclient": case "awsLambdaClient": getOrCreateConfiguration(target).setAwsLambdaClient(property(camelContext, com.amazonaws.services.lambda.AWSLambda.class, value)); return true; case "basicpropertybinding": @@ -53,6 +55,7 @@ public class LambdaComponentConfigurer extends PropertyConfigurerSupport impleme public Map getAllOptions(Object target) { Map answer = new CaseInsensitiveMap(); answer.put("accessKey", java.lang.String.class); +answer.put("autoDiscoverClient", boolean.class); answer.put("awsLambdaClient", com.amazonaws.services.lambda.AWSLambda.class); answer.put("basicPropertyBinding", boolean.class); answer.put("configuration", org.apache.camel.component.aws.lambda.LambdaConfiguration.class); @@ -72,6 +75,8 @@ public class LambdaComponentConfigurer extends PropertyConfigurerSupport impleme switch (ignoreCase ? name.toLowerCase() : name) { case "accesskey": case "accessKey": return getOrCreateConfiguration(target).getAccessKey(); +case "autodiscoverclient": +case "autoDiscoverClient": return getOrCreateConfiguration(target).isAutoDiscoverClient(); case "awslambdaclient": case "awsLambdaClient": return getOrCreateConfiguration(target).getAwsLambdaClient(); case "basicpropertybinding": diff --git a/components/camel-aws-lambda/src/generated/java/org/apache/camel/component/aws/lambda/LambdaEndpointConfigurer.java b/components/camel-aws-lambda/src/generated/java/org/apache/camel/component/aws/lambda/LambdaEndpointConfigurer.java index 7bebbe4..d31408e 100644 --- a/components/camel-aws-lambda/src/generated/java/org/apache/camel/component/aws/lambda/LambdaEndpointConfigurer.java +++ b/components/camel-aws-lambda/src/generated/java/org/apache/camel/component/aws/lambda/LambdaEndpointConfigurer.java @@ -21,6 +21,8 @@ public class LambdaEndpointConfigurer extends PropertyConfigurerSupport implemen switch (ignoreCase ? name.toLowerCase() : name) { case "accesskey": case "accessKey": target.getConfiguration().setAccessKey(property(camelContext, java.lang.String.class, value)); return true; +case "autodiscoverclient": +case "autoDiscoverClient": target.getConfiguration().setAutoDiscoverClient(property(camelContext, boolean.class, value)); return true; case "awslambdaclient": case "awsLambdaClient": target.getConfiguration().setAwsLambdaClient(property(camelContext, com.amazonaws.services.lambda.AWSLambda.class, value)); return true; case "basicpropertybinding": @@ -46,6 +48,7 @@ public class LambdaEndpointConfigurer extends PropertyConfigurerSupport implemen public Map getAllOptions(Object target) { Map answer = new CaseInsensitiv
[camel] 04/06: CAMEL-15310 - AWS* - Support for more than 1 client in the registry - Camel-AWS2-Lambda
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 40afd65ce1ddcceb3ce01cb63bd046dc6585f44e Author: Andrea Cosentino AuthorDate: Fri Jul 24 08:15:17 2020 +0200 CAMEL-15310 - AWS* - Support for more than 1 client in the registry - Camel-AWS2-Lambda --- .../aws2/lambda/Lambda2ComponentConfigurer.java| 5 .../aws2/lambda/Lambda2EndpointConfigurer.java | 5 .../camel/component/aws2/lambda/aws2-lambda.json | 2 ++ .../src/main/docs/aws2-lambda-component.adoc | 6 +++-- .../component/aws2/lambda/Lambda2Component.java| 4 ++- .../aws2/lambda/Lambda2Configuration.java | 15 +++ .../lambda/LambdaComponentClientRegistryTest.java | 26 +++ .../dsl/Aws2LambdaComponentBuilderFactory.java | 16 .../builder/endpoint/StaticEndpointBuilders.java | 8 +++--- .../dsl/Lambda2EndpointBuilderFactory.java | 30 ++ 10 files changed, 110 insertions(+), 7 deletions(-) diff --git a/components/camel-aws2-lambda/src/generated/java/org/apache/camel/component/aws2/lambda/Lambda2ComponentConfigurer.java b/components/camel-aws2-lambda/src/generated/java/org/apache/camel/component/aws2/lambda/Lambda2ComponentConfigurer.java index 636c51d..5804313 100644 --- a/components/camel-aws2-lambda/src/generated/java/org/apache/camel/component/aws2/lambda/Lambda2ComponentConfigurer.java +++ b/components/camel-aws2-lambda/src/generated/java/org/apache/camel/component/aws2/lambda/Lambda2ComponentConfigurer.java @@ -28,6 +28,8 @@ public class Lambda2ComponentConfigurer extends PropertyConfigurerSupport implem switch (ignoreCase ? name.toLowerCase() : name) { case "accesskey": case "accessKey": getOrCreateConfiguration(target).setAccessKey(property(camelContext, java.lang.String.class, value)); return true; +case "autodiscoverclient": +case "autoDiscoverClient": getOrCreateConfiguration(target).setAutoDiscoverClient(property(camelContext, boolean.class, value)); return true; case "awslambdaclient": case "awsLambdaClient": getOrCreateConfiguration(target).setAwsLambdaClient(property(camelContext, software.amazon.awssdk.services.lambda.LambdaClient.class, value)); return true; case "basicpropertybinding": @@ -57,6 +59,7 @@ public class Lambda2ComponentConfigurer extends PropertyConfigurerSupport implem public Map getAllOptions(Object target) { Map answer = new CaseInsensitiveMap(); answer.put("accessKey", java.lang.String.class); +answer.put("autoDiscoverClient", boolean.class); answer.put("awsLambdaClient", software.amazon.awssdk.services.lambda.LambdaClient.class); answer.put("basicPropertyBinding", boolean.class); answer.put("configuration", org.apache.camel.component.aws2.lambda.Lambda2Configuration.class); @@ -78,6 +81,8 @@ public class Lambda2ComponentConfigurer extends PropertyConfigurerSupport implem switch (ignoreCase ? name.toLowerCase() : name) { case "accesskey": case "accessKey": return getOrCreateConfiguration(target).getAccessKey(); +case "autodiscoverclient": +case "autoDiscoverClient": return getOrCreateConfiguration(target).isAutoDiscoverClient(); case "awslambdaclient": case "awsLambdaClient": return getOrCreateConfiguration(target).getAwsLambdaClient(); case "basicpropertybinding": diff --git a/components/camel-aws2-lambda/src/generated/java/org/apache/camel/component/aws2/lambda/Lambda2EndpointConfigurer.java b/components/camel-aws2-lambda/src/generated/java/org/apache/camel/component/aws2/lambda/Lambda2EndpointConfigurer.java index c68345b..15d1187 100644 --- a/components/camel-aws2-lambda/src/generated/java/org/apache/camel/component/aws2/lambda/Lambda2EndpointConfigurer.java +++ b/components/camel-aws2-lambda/src/generated/java/org/apache/camel/component/aws2/lambda/Lambda2EndpointConfigurer.java @@ -21,6 +21,8 @@ public class Lambda2EndpointConfigurer extends PropertyConfigurerSupport impleme switch (ignoreCase ? name.toLowerCase() : name) { case "accesskey": case "accessKey": target.getConfiguration().setAccessKey(property(camelContext, java.lang.String.class, value)); return true; +case "autodiscoverclient": +case "autoDiscoverClient": target.getConfiguration().setAutoDiscoverClient(property(camelContext, boolean.class, value)); return true; case "awslambdaclient": case "awsLambdaClient": target.getConfiguration().setAwsLambdaClient(property(camelContext, software.amazon.awssdk.services.lambda.LambdaClient.class, value)); return true; case "basicpropertybinding": @@ -50,6 +52,7 @@ public class Lambda2EndpointConfigurer extends PropertyConfigurerSupport impleme public Map getAllOp
[camel] 06/06: Regen catalog
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 3b2773095bc40c89de190f016808e27a3e8796bd Author: Andrea Cosentino AuthorDate: Fri Jul 24 08:16:16 2020 +0200 Regen catalog --- .../resources/org/apache/camel/catalog/components/aws2-lambda.json | 2 ++ .../org/apache/camel/catalog/docs/aws2-lambda-component.adoc| 6 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-lambda.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-lambda.json index a4a697e..d4ba18b 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-lambda.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-lambda.json @@ -21,6 +21,7 @@ "lenientProperties": false }, "componentProperties": { +"autoDiscoverClient": { "kind": "property", "displayName": "Auto Discover Client", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "configurationClass": "org.apache.camel.component.aws2.lambda.Lambda2Configuration", "configurationField": "configuration", "description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the [...] "configuration": { "kind": "property", "displayName": "Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws2.lambda.Lambda2Configuration", "deprecated": false, "secret": false, "description": "Component configuration" }, "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 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 starting and cause the r [...] "operation": { "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws2.lambda.Lambda2Operations", "enum": [ "listFunctions", "getFunction", "createAlias", "deleteAlias", "getAlias", "listAliases", "createFunction", "deleteFunction", "invokeFunction", "updateFunction", "createEventSourceMapping", "deleteEventSourceMapping", "listEventSourceMapping", "listTags", "tagResource", "u [...] @@ -37,6 +38,7 @@ }, "properties": { "function": { "kind": "path", "displayName": "Function", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "secret": false, "description": "Name of the Lambda function." }, +"autoDiscoverClient": { "kind": "parameter", "displayName": "Auto Discover Client", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "configurationClass": "org.apache.camel.component.aws2.lambda.Lambda2Configuration", "configurationField": "configuration", "description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the [...] "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 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 starting and cause the [...] "operation": { "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws2.lambda.Lambda2Operations", "enum": [ "listFunctions", "getFunction", "createAlias", "deleteAlias", "getAlias", "listAliases", "createFunction", "deleteFunction", "invokeFunction", "updateFunction", "createEventSourceMapping", "deleteEventSourceMapping", "listEventSourceMapping", "listTags", "tagResource", " [...] "pojoRequest": { "kind": "parameter", "displayName": "Pojo Request", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "false", "configurationClass": "org.apache.
[camel] branch master updated: Added links to component containing batch consumer (file and ftp)
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 9e4e2e7 Added links to component containing batch consumer (file and ftp) 9e4e2e7 is described below commit 9e4e2e78f23acf89f8ee225e721a071b4aacaa8b Author: Andrea Cosentino AuthorDate: Fri Jul 24 08:01:38 2020 +0200 Added links to component containing batch consumer (file and ftp) --- docs/user-manual/modules/ROOT/pages/batch-consumer.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/batch-consumer.adoc b/docs/user-manual/modules/ROOT/pages/batch-consumer.adoc index d237bfe..9e1a7b6 100644 --- a/docs/user-manual/modules/ROOT/pages/batch-consumer.adoc +++ b/docs/user-manual/modules/ROOT/pages/batch-consumer.adoc @@ -13,8 +13,8 @@ The following components supports xref:batch-consumer.adoc[Batch Consumer] by its consumer: * xref:components::atom-component.adoc[Atom] -* File -* FTP +* xref:components::file-component.adoc[File] +* xref:components::ftp-component.adoc[FTP] * xref:components::hbase-component.adoc[hbase] * xref:components::jpa-component.adoc[JPA] * xref:components::jclouds-component.adoc[JCLOUDS]
[GitHub] [camel] oscerd commented on pull request #4033: CAMEL-15326: fix incorrect handling of API responses
oscerd commented on pull request #4033: URL: https://github.com/apache/camel/pull/4033#issuecomment-663359597 Maybe we could backport to 3.4.x too. Can you please open a PR to camel-3.4.x branch? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] oscerd commented on pull request #4033: CAMEL-15326: fix incorrect handling of API responses
oscerd commented on pull request #4033: URL: https://github.com/apache/camel/pull/4033#issuecomment-663358850 Thanks! This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] oscerd merged pull request #4033: CAMEL-15326: fix incorrect handling of API responses
oscerd merged pull request #4033: URL: https://github.com/apache/camel/pull/4033 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-15326: fix incorrect handling of API responses (#4033)
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 595f54f CAMEL-15326: fix incorrect handling of API responses (#4033) 595f54f is described below commit 595f54f2c9f4c0779394d02370efcad676c0646e Author: Otavio Rodolfo Piske AuthorDate: Fri Jul 24 07:51:42 2020 +0200 CAMEL-15326: fix incorrect handling of API responses (#4033) Includes: - fix a NPE thrown when the slack conversation.list request fails - report missing scopes when polling data from Slack --- .../camel/component/slack/SlackConsumer.java | 25 ++ 1 file changed, 25 insertions(+) diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackConsumer.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackConsumer.java index 18dfbaf..ca5e9b9 100644 --- a/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackConsumer.java +++ b/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackConsumer.java @@ -26,6 +26,7 @@ import java.util.Queue; import org.apache.camel.Exchange; import org.apache.camel.Processor; +import org.apache.camel.RuntimeCamelException; import org.apache.camel.support.ScheduledBatchPollingConsumer; import org.apache.camel.util.CastUtils; import org.apache.camel.util.ObjectHelper; @@ -74,6 +75,9 @@ public class SlackConsumer extends ScheduledBatchPollingConsumer { String jsonString = readResponse(response); JsonObject c = (JsonObject) Jsoner.deserialize(jsonString); + +checkSlackReply(c); + JsonArray list = c.getCollection("messages"); exchanges = createExchanges(list); return processBatch(CastUtils.cast(exchanges)); @@ -133,7 +137,14 @@ public class SlackConsumer extends ScheduledBatchPollingConsumer { String jsonString = readResponse(response); JsonObject c = (JsonObject) Jsoner.deserialize(jsonString); + +checkSlackReply(c); + Collection channels = c.getCollection("channels"); +if (channels == null) { +throw new RuntimeCamelException("The response was successful but no channel list was provided"); +} + for (JsonObject singleChannel : channels) { if (singleChannel.get("name") != null) { if (singleChannel.get("name").equals(channel)) { @@ -147,4 +158,18 @@ public class SlackConsumer extends ScheduledBatchPollingConsumer { return jsonString; } +private void checkSlackReply(JsonObject c) { +boolean okStatus = c.getBoolean("ok"); + +if (!okStatus) { +String errorMessage = c.getString("error"); + +if (errorMessage == null || errorMessage.isEmpty()) { +errorMessage = "the slack server did not provide error details"; +} + +throw new RuntimeCamelException(String.format("API request to Slack failed: %s", errorMessage)); +} +} + }
[GitHub] [camel] oscerd commented on pull request #3983: Feature camel ectd3 - Etcd3AggregationRepository using jetcd
oscerd commented on pull request #3983: URL: https://github.com/apache/camel/pull/3983#issuecomment-663358495 Can you please 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 (c5af90c -> 76ad53f)
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 c5af90c REgen add 63fc732 Upgrade AWS SDK v2 to version 2.13.60 add 76ad53f Sync Properties No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[camel-spring-boot] branch master updated: CAMEL-15330: Add vertx-http starter
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 b0e7d70 CAMEL-15330: Add vertx-http starter b0e7d70 is described below commit b0e7d70ee0b8cef9b6ec1714aee8e22bf839bca6 Author: James Netherton AuthorDate: Thu Jul 23 09:12:41 2020 +0100 CAMEL-15330: Add vertx-http starter --- .../camel/springboot/catalog/components.properties | 1 + .../springboot/catalog/components/vertx-http.json | 60 ++ components-starter/README.adoc | 5 +- .../camel-vertx-http-starter/pom.xml | 53 ++ .../src/main/docs/vertx-http-starter.adoc | 39 .../VertxHttpComponentAutoConfiguration.java | 108 +++ .../VertxHttpComponentConfiguration.java | 153 .../src/main/resources/META-INF/LICENSE.txt| 203 + .../src/main/resources/META-INF/NOTICE.txt | 11 ++ .../src/main/resources/META-INF/spring.factories | 19 ++ .../src/main/resources/META-INF/spring.provides| 17 ++ components-starter/pom.xml | 1 + docs/modules/ROOT/pages/list.adoc | 5 +- docs/modules/ROOT/pages/vertx-http-starter.adoc| 39 .../camel/itest/springboot/CamelVertxHttpTest.java | 48 + tooling/camel-spring-boot-dependencies/pom.xml | 5 + 16 files changed, 765 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties index 08aeb99..02c7380 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties @@ -326,6 +326,7 @@ undertow validator velocity vertx +vertx-http vertx-websocket vm weather diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx-http.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx-http.json new file mode 100644 index 000..d441bee --- /dev/null +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/vertx-http.json @@ -0,0 +1,60 @@ +{ + "component": { +"kind": "component", +"name": "vertx-http", +"title": "Vert.x HTTP Client", +"description": "Camel HTTP client support with Vert.x", +"deprecated": false, +"firstVersion": "3.5.0", +"label": "http", +"javaType": "org.apache.camel.component.vertx.http.VertxHttpComponent", +"supportLevel": "Preview", +"groupId": "org.apache.camel.springboot", +"artifactId": "camel-vertx-http-starter", +"version": "3.5.0-SNAPSHOT", +"scheme": "vertx-http", +"extendsScheme": "", +"syntax": "vertx-http:httpUri", +"async": false, +"consumerOnly": false, +"producerOnly": true, +"lenientProperties": true + }, + "componentProperties": { +"lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 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 starting and cause the r [...] +"allowJavaSerializedObject": { "kind": "property", "displayName": "Allow Java Serialized Object", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether to allow java serialization when a request has the Content-Type application\/x-java-serialized-object This is disabled by default. If you enable this, be aware that Java will deserialize the incoming da [...] +"basicPropertyBinding": { "kind": "property", "displayName": "Basic Property Binding", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities" }, +"vertx": { "kind": "property", "displayName": "Vertx", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "io.vertx.core
[GitHub] [camel-spring-boot] oscerd merged pull request #121: CAMEL-15330: Add vertx-http starter
oscerd merged pull request #121: URL: https://github.com/apache/camel-spring-boot/pull/121 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] AemieJ commented on pull request #434: feat: add github action for image optimization
AemieJ commented on pull request #434: URL: https://github.com/apache/camel-website/pull/434#issuecomment-663355701 > Doesn't seem like the action [can commit](https://github.com/apache/camel-website/pull/434/checks#step:4:96) the changes. I believe it's only when you merge this and a PR is then on a PR, the action will take place. 'cause when I took one of the branches and created a PR in AemieJ/image-optimization. Then it takes the action into account and optimizes the image files. 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] AemieJ edited a comment on pull request #434: feat: add github action for image optimization
AemieJ edited a comment on pull request #434: URL: https://github.com/apache/camel-website/pull/434#issuecomment-663355701 > Doesn't seem like the action [can commit](https://github.com/apache/camel-website/pull/434/checks#step:4:96) the changes. I believe it's only when you merge this and a PR is then on a PR, the action will take place. 'cause when I took one of the branches on my repo and created a PR in AemieJ/image-optimization then it takes the action into account and optimizes the image files. 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] branch quarkus-master updated (f1995f0 -> fe42f10)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch quarkus-master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. discard f1995f0 Fix #1403 quarkus-extension-processor race conditions when modules are built in parallel discard e7c9373 Upgrade to Quarkus 1.7.0 - WIP add 7015fc4 Correct bind type for OpenTracingTracer bean add 36c04ab Remove service exclude for ThreadPoolProfileConfigurationProperties new a61a0f7 Upgrade to Quarkus 1.7.0 - WIP new fe42f10 Fix #1403 quarkus-extension-processor race conditions when modules are built in parallel 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 (f1995f0) \ N -- N -- N refs/heads/quarkus-master (fe42f10) 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: .../org/apache/camel/quarkus/core/deployment/CamelProcessor.java| 6 -- .../component/opentracing/deployment/OpenTracingProcessor.java | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-)
[GitHub] [camel-quarkus] github-actions[bot] closed issue #1487: [CI] - Quarkus Master Branch Build Failure
github-actions[bot] closed issue #1487: URL: https://github.com/apache/camel-quarkus/issues/1487 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] 02/02: Fix #1403 quarkus-extension-processor race conditions when modules are built in parallel
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch quarkus-master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit fe42f10a5b8263cfcf7620ed4d4b8440229c28c9 Author: Peter Palaga AuthorDate: Thu Jun 25 14:35:20 2020 +0200 Fix #1403 quarkus-extension-processor race conditions when modules are built in parallel --- .../quarkus/maven/UpdateExtensionDocPageMojo.java | 22 +++--- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java index debe16d..5563e21 100644 --- a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java +++ b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java @@ -17,7 +17,6 @@ package org.apache.camel.quarkus.maven; import java.io.IOException; -import java.io.InputStream; import java.io.StringWriter; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; @@ -29,7 +28,6 @@ import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; -import java.util.Properties; import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -42,6 +40,7 @@ import freemarker.template.TemplateModelException; import io.quarkus.annotation.processor.Constants; import io.quarkus.annotation.processor.generate_doc.ConfigDocItem; import io.quarkus.annotation.processor.generate_doc.DocGeneratorUtil; +import io.quarkus.annotation.processor.generate_doc.FsMap; import org.apache.camel.catalog.Kind; import org.apache.camel.tooling.model.ArtifactModel; import org.apache.camel.tooling.model.BaseModel; @@ -54,8 +53,6 @@ import org.apache.maven.plugins.annotations.Parameter; @Mojo(name = "update-extension-doc-page", threadSafe = true) public class UpdateExtensionDocPageMojo extends AbstractDocGeneratorMojo { -private static List list; -private static List list2; private static final Map nativeSslActivators = new ConcurrentHashMap<>(); @Parameter(defaultValue = "false", property = "camel-quarkus.update-extension-doc-page.skip") @@ -256,25 +253,20 @@ public class UpdateExtensionDocPageMojo extends AbstractDocGeneratorMojo { if (configRootClasses.isEmpty()) { return Collections.emptyList(); } -final Path configRootsModelsPath = multiModuleProjectDirectory - .resolve("target/asciidoc/generated/config/all-configuration-roots-generated-doc.properties"); -if (!Files.exists(configRootsModelsPath)) { +final Path configRootsModelsDir = multiModuleProjectDirectory + .resolve("target/asciidoc/generated/config/all-configuration-roots-generated-doc"); +if (!Files.exists(configRootsModelsDir)) { throw new IllegalStateException("You should run " + UpdateExtensionDocPageMojo.class.getSimpleName() + " after compileation with io.quarkus.annotation.processor.ExtensionAnnotationProcessor"); } -final Properties configRootsModels = new Properties(); -try (InputStream in = Files.newInputStream(configRootsModelsPath)) { -configRootsModels.load(in); -} catch (IOException e) { -throw new RuntimeException("Could not read from " + configRootsModelsPath); -} +final FsMap configRootsModels = new FsMap(configRootsModelsDir); final ObjectMapper mapper = new ObjectMapper(); final List configDocItems = new ArrayList(); for (String configRootClass : configRootClasses) { -final String rawModel = configRootsModels.getProperty(configRootClass); +final String rawModel = configRootsModels.get(configRootClass); if (rawModel == null) { -throw new IllegalStateException("Could not find " + configRootClass + " in " + configRootsModelsPath); +throw new IllegalStateException("Could not find " + configRootClass + " in " + configRootsModelsDir); } try { final List items = mapper.readValue(rawModel, Constants.LIST_OF_CONFIG_ITEMS_TYPE_REF);
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #1487: [CI] - Quarkus Master Branch Build Failure
github-actions[bot] commented on issue #1487: URL: https://github.com/apache/camel-quarkus/issues/1487#issuecomment-663339613 Build fixed with: * Camel Quarkus Commit: fe42f10a5b8263cfcf7620ed4d4b8440229c28c9 * Quarkus Master Commit: 36c04ab508edac37a54705b3b0f48c1ab1a7d7a2 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/180625912 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] 01/02: Upgrade to Quarkus 1.7.0 - WIP
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch quarkus-master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit a61a0f7ec23275ff27404bc9e0d1c427ec74199a Author: James Netherton AuthorDate: Mon Jul 6 12:26:55 2020 +0100 Upgrade to Quarkus 1.7.0 - WIP --- extensions/avro/deployment/pom.xml | 4 extensions/avro/runtime/pom.xml | 4 extensions/elasticsearch-rest/deployment/pom.xml | 4 extensions/elasticsearch-rest/runtime/pom.xml| 4 ++-- .../component/elasticsearch/rest/it/ElasticSearchTestResource.java | 4 ++-- pom.xml | 3 +-- poms/bom/pom.xml | 5 - 7 files changed, 17 insertions(+), 11 deletions(-) diff --git a/extensions/avro/deployment/pom.xml b/extensions/avro/deployment/pom.xml index 6194192..048d4ea 100644 --- a/extensions/avro/deployment/pom.xml +++ b/extensions/avro/deployment/pom.xml @@ -31,6 +31,10 @@ +io.quarkus +quarkus-avro-deployment + + org.apache.camel.quarkus camel-quarkus-core-deployment diff --git a/extensions/avro/runtime/pom.xml b/extensions/avro/runtime/pom.xml index 3825e0b..78f9469 100644 --- a/extensions/avro/runtime/pom.xml +++ b/extensions/avro/runtime/pom.xml @@ -47,6 +47,10 @@ +io.quarkus +quarkus-avro + + org.apache.camel.quarkus camel-quarkus-core diff --git a/extensions/elasticsearch-rest/deployment/pom.xml b/extensions/elasticsearch-rest/deployment/pom.xml index c576986..6c712b7 100644 --- a/extensions/elasticsearch-rest/deployment/pom.xml +++ b/extensions/elasticsearch-rest/deployment/pom.xml @@ -35,6 +35,10 @@ quarkus-elasticsearch-rest-client-deployment +io.quarkus + quarkus-elasticsearch-rest-high-level-client-deployment + + org.apache.camel.quarkus camel-quarkus-core-deployment diff --git a/extensions/elasticsearch-rest/runtime/pom.xml b/extensions/elasticsearch-rest/runtime/pom.xml index 5c9ff99..a66ff41 100644 --- a/extensions/elasticsearch-rest/runtime/pom.xml +++ b/extensions/elasticsearch-rest/runtime/pom.xml @@ -51,8 +51,8 @@ quarkus-elasticsearch-rest-client -org.elasticsearch.client -elasticsearch-rest-high-level-client +io.quarkus + quarkus-elasticsearch-rest-high-level-client org.apache.camel.quarkus diff --git a/integration-tests/elasticsearch-rest/src/test/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticSearchTestResource.java b/integration-tests/elasticsearch-rest/src/test/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticSearchTestResource.java index e2b42ee..763b5ba 100644 --- a/integration-tests/elasticsearch-rest/src/test/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticSearchTestResource.java +++ b/integration-tests/elasticsearch-rest/src/test/java/org/apache/camel/quarkus/component/elasticsearch/rest/it/ElasticSearchTestResource.java @@ -30,7 +30,7 @@ import org.testcontainers.utility.TestcontainersConfiguration; public class ElasticSearchTestResource implements QuarkusTestResourceLifecycleManager { private static final Logger LOGGER = LoggerFactory.getLogger(ElasticSearchTestResource.class); -private static final String ELASTICSEARCH_IMAGE = "elasticsearch:7.6.1"; +private static final String ELASTICSEARCH_IMAGE = "elasticsearch:7.7.0"; private static final int ELASTICSEARCH_PORT = 9200; private GenericContainer container; @@ -49,7 +49,7 @@ public class ElasticSearchTestResource implements QuarkusTestResourceLifecycleMa container.start(); return CollectionHelper.mapOf( -"camel.component.elasticsearch-rest.host-addresses", +"quarkus.elasticsearch.hosts", String.format("localhost:%s", container.getMappedPort(ELASTICSEARCH_PORT))); } catch (Exception e) { diff --git a/pom.xml b/pom.xml index aa6511a..7f83be4 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,6 @@ 2.13.33 3.4.2 1.2.0.Final -7.6.1 2.3.30 1.111 1.22.0 @@ -67,7 +66,7 @@ 1.3.72 3.14.6 1.17.2 -1.6.1.Final +999-SNAPSHOT 0.16.0 3.11.1 2.5.0 diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 4135874..2e92ac5 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -3226,11 +3226,6 @@ ${stax2.version}
[GitHub] [camel-spring-boot] oscerd merged pull request #122: [Github Actions] Periodic Sync Camel Spring Boot Master Branch
oscerd merged pull request #122: URL: https://github.com/apache/camel-spring-boot/pull/122 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 8f896b9 [create-pull-request] automated change 8f896b9 is described below commit 8f896b9ba6398cc6d9c7ad3db10b0f2a4ea68dc1 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Fri Jul 24 01:10:06 2020 + [create-pull-request] automated change --- components-starter/camel-corda-starter/pom.xml | 12 components-starter/camel-iota-starter/pom.xml | 12 2 files changed, 24 deletions(-) diff --git a/components-starter/camel-corda-starter/pom.xml b/components-starter/camel-corda-starter/pom.xml index 7f14a21..254cb1b 100644 --- a/components-starter/camel-corda-starter/pom.xml +++ b/components-starter/camel-corda-starter/pom.xml @@ -38,18 +38,6 @@ org.apache.camel camel-corda ${camel-version} - - - - ch.qos.logback - logback-classic - - - ch.qos.logback - logback-core - - - diff --git a/components-starter/camel-iota-starter/pom.xml b/components-starter/camel-iota-starter/pom.xml index 1cb0cae..9427c49 100644 --- a/components-starter/camel-iota-starter/pom.xml +++ b/components-starter/camel-iota-starter/pom.xml @@ -38,18 +38,6 @@ org.apache.camel camel-iota ${camel-version} - - - - ch.qos.logback - logback-classic - - - ch.qos.logback - logback-core - - -
[camel-spring-boot] branch automatic-periodic-sync updated (fb8c5fd -> 142c2ab)
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 fb8c5fd [create-pull-request] automated change add 8fdcb50 [create-pull-request] automated change add 4c88307 CAMEL-15305: Camel-ArangoDB: Create a Spring Boot starter add be4235d CAMEL-15305: camel-arangodb-starter : add integration test add 6a96867 Fixed build after Cassandra upgrade add 77fe452 Regen add 1d9a679 Ignore Cassandraql test for the moment add 142c2ab [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 (fb8c5fd) \ N -- N -- N refs/heads/automatic-periodic-sync (142c2ab) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../camel/springboot/catalog/components.properties | 1 + .../springboot/catalog/components/arangodb.json| 46 + .../catalog/components/aws-kinesis-firehose.json | 2 + .../springboot/catalog/components/aws-kinesis.json | 2 + .../springboot/catalog/components/aws-kms.json | 2 + .../catalog/components/aws2-kinesis-firehose.json | 2 + .../catalog/components/aws2-kinesis.json | 2 + .../springboot/catalog/components/aws2-kms.json| 2 + .../camel/springboot/catalog/components/cql.json | 8 +- .../springboot/catalog/components/resteasy.json| 3 +- components-starter/README.adoc | 5 +- .../pom.xml| 4 +- .../src/main/docs/arangodb-starter.adoc| 40 .../ArangoDbComponentAutoConfiguration.java} | 32 +++--- .../ArangoDbComponentConfiguration.java} | 110 + .../src/main/resources/META-INF/LICENSE.txt| 0 .../src/main/resources/META-INF/NOTICE.txt | 0 .../src/main/resources/META-INF/spring.factories | 2 +- .../src/main/resources/META-INF/spring.provides| 2 +- .../src/main/docs/aws-kinesis-starter.adoc | 4 +- .../KinesisFirehoseComponentConfiguration.java | 14 +++ .../springboot/KinesisComponentConfiguration.java | 14 +++ .../src/main/docs/aws-kms-starter.adoc | 3 +- .../kms/springboot/KMSComponentConfiguration.java | 14 +++ .../src/main/docs/aws2-kinesis-starter.adoc| 4 +- .../KinesisFirehose2ComponentConfiguration.java| 14 +++ .../springboot/Kinesis2ComponentConfiguration.java | 14 +++ .../src/main/docs/aws2-kms-starter.adoc| 3 +- .../kms/springboot/KMS2ComponentConfiguration.java | 14 +++ .../src/main/docs/resteasy-starter.adoc| 2 +- .../springboot/ResteasyComponentConfiguration.java | 15 +-- components-starter/pom.xml | 1 + docs/modules/ROOT/pages/arangodb-starter.adoc | 40 docs/modules/ROOT/pages/aws-kinesis-starter.adoc | 4 +- docs/modules/ROOT/pages/aws-kms-starter.adoc | 3 +- docs/modules/ROOT/pages/aws2-kinesis-starter.adoc | 4 +- docs/modules/ROOT/pages/aws2-kms-starter.adoc | 3 +- docs/modules/ROOT/pages/list.adoc | 5 +- docs/modules/ROOT/pages/resteasy-starter.adoc | 2 +- ...melQuickfixTest.java => CamelArangodbTest.java} | 7 +- .../itest/springboot/CamelCassandraqlTest.java | 3 +- .../pom.xml| 2 + tooling/camel-spring-boot-dependencies/pom.xml | 9 +- 43 files changed, 369 insertions(+), 94 deletions(-) create mode 100644 catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/arangodb.json copy components-starter/{camel-cron-starter => camel-arangodb-starter}/pom.xml (95%) create mode 100644 components-starter/camel-arangodb-starter/src/main/docs/arangodb-starter.adoc copy components-starter/{camel-flatpack-starter/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentAutoConfiguration.java => camel-arangodb-starter/src/main/java/org/apache/camel/component/arangodb/springboot/ArangoDbComponentAutoConfiguration.java} (81%) copy components-starter/{camel-nagios-starter/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java => camel-arangodb-starter/src/main/java/org/apache/camel/component/arangodb/springboot/A
[GitHub] [camel-spring-boot] github-actions[bot] opened a new pull request #122: [Github Actions] Periodic Sync Camel Spring Boot Master Branch
github-actions[bot] opened a new pull request #122: URL: https://github.com/apache/camel-spring-boot/pull/122 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
[GitHub] [camel-k] github-actions[bot] commented on issue #674: kamel install not working - Error: cannot find automatically a registry where to push images
github-actions[bot] commented on issue #674: URL: https://github.com/apache/camel-k/issues/674#issuecomment-663297110 This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. 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] zregvart merged pull request #437: Modify the mailing list page under community section
zregvart merged pull request #437: URL: https://github.com/apache/camel-website/pull/437 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-website] branch master updated: modify the mailing list page under community section
This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-website.git The following commit(s) were added to refs/heads/master by this push: new 19ccea3 modify the mailing list page under community section 19ccea3 is described below commit 19ccea3b60791818db1b17407e4ab5308d00382a Author: Aemie AuthorDate: Wed Jul 22 13:09:11 2020 +0530 modify the mailing list page under community section --- content/community/mailing-list.md | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/content/community/mailing-list.md b/content/community/mailing-list.md index 1ec861f..baa5fe5 100644 --- a/content/community/mailing-list.md +++ b/content/community/mailing-list.md @@ -1,16 +1,14 @@ --- -title: "Support" +title: "Mailing Lists" --- -## Mailing Lists - -*Use Camel User List* +## Use Camel User List You should post and subscriber to the Camel User List for all your questions on using Camel, or how to do X with Camel etc. If in doubt use this list. The other list Camel Developer List, is for the Camel team to discus development of the actual Camel project; do not use this list for question on using Camel. Again to re-iterate, use the Camel User List, for you Camel questions. This is the correct mailing list, and have the most people there ready for helping you. -*Post plain text mails* +## Post plain text mails When posting to the mailing lists, use plain text mails. Do not use HTML mails. HTML mails is more likely to be targeted as spam mails and will be rejected; as well it's not easily readable by others.
[GitHub] [camel-website] zregvart commented on pull request #434: feat: add github action for image optimization
zregvart commented on pull request #434: URL: https://github.com/apache/camel-website/pull/434#issuecomment-663225042 Doesn't seem like the action [can commit](https://github.com/apache/camel-website/pull/434/checks#step:4:96) the changes. 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-website] branch master updated: chore(ci): remove preview stage
This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-website.git The following commit(s) were added to refs/heads/master by this push: new b8e4e1f chore(ci): remove preview stage b8e4e1f is described below commit b8e4e1f5c86370b522fdf5614c5c8ca4449adaed Author: Zoran Regvart AuthorDate: Thu Jul 23 21:40:10 2020 +0200 chore(ci): remove preview stage There is no HTML preview plugin at ci-builds.a.o, and we're only building the `master` branch there, as we're relying on Netlify to provide preview builds of the website. This removes the `Preview` stage. --- Jenkinsfile | 12 1 file changed, 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8af7ea7..d0dbac5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -100,18 +100,6 @@ pipeline { } } -stage('Preview') { -when { -not { -branch 'master' -} -} - -steps { -publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'camel-website/public', reportFiles: 'index.html', reportName: 'Preview', reportTitles: '']) -} -} - stage('Deploy') { when { branch 'master'
[camel-spring-boot] branch master updated: Ignore Cassandraql test for the moment
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 1d9a679 Ignore Cassandraql test for the moment 1d9a679 is described below commit 1d9a679274b94d4075313c53d683c069cab065f4 Author: Andrea Cosentino AuthorDate: Thu Jul 23 18:15:52 2020 +0200 Ignore Cassandraql test for the moment --- .../java/org/apache/camel/itest/springboot/CamelCassandraqlTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelCassandraqlTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelCassandraqlTest.java index 707bf3c..5973ae1 100644 --- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelCassandraqlTest.java +++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelCassandraqlTest.java @@ -20,10 +20,11 @@ import org.apache.camel.itest.springboot.util.ArquillianPackager; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.junit.Arquillian; import org.jboss.shrinkwrap.api.Archive; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; - +@Ignore("To review, doesn't work after upgrade to 4.x") @RunWith(Arquillian.class) public class CamelCassandraqlTest extends AbstractSpringBootTestSupport {
[camel-spring-boot] 01/02: Fixed build after Cassandra upgrade
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 commit 6a96867fc658935c2cf12dec07631db019b2e67c Author: Andrea Cosentino AuthorDate: Thu Jul 23 18:06:01 2020 +0200 Fixed build after Cassandra upgrade --- tooling/camel-spring-boot-dependencies-generator/pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tooling/camel-spring-boot-dependencies-generator/pom.xml b/tooling/camel-spring-boot-dependencies-generator/pom.xml index 2aaa609..1f7e3c1 100644 --- a/tooling/camel-spring-boot-dependencies-generator/pom.xml +++ b/tooling/camel-spring-boot-dependencies-generator/pom.xml @@ -150,6 +150,8 @@ org.mockito:* org.awaitility:awaitility org.hamcrest:hamcrest + com.datastax.oss:java-driver-core + com.datastax.oss:java-driver-query-builder org.slf4j:jul-to-slf4j org.slf4j:log4j-over-slf4j
[camel-spring-boot] branch master updated (be4235d -> 77fe452)
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-spring-boot.git. from be4235d CAMEL-15305: camel-arangodb-starter : add integration test new 6a96867 Fixed build after Cassandra upgrade new 77fe452 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: .../catalog/components/aws-kinesis-firehose.json | 2 ++ .../camel/springboot/catalog/components/aws-kinesis.json | 2 ++ .../camel/springboot/catalog/components/aws-kms.json | 2 ++ .../catalog/components/aws2-kinesis-firehose.json | 2 ++ .../camel/springboot/catalog/components/aws2-kinesis.json | 2 ++ .../camel/springboot/catalog/components/aws2-kms.json | 2 ++ .../apache/camel/springboot/catalog/components/cql.json | 8 .../camel/springboot/catalog/components/resteasy.json | 3 +-- .../src/main/docs/aws-kinesis-starter.adoc| 4 +++- .../springboot/KinesisFirehoseComponentConfiguration.java | 14 ++ .../kinesis/springboot/KinesisComponentConfiguration.java | 14 ++ .../src/main/docs/aws-kms-starter.adoc| 3 ++- .../aws/kms/springboot/KMSComponentConfiguration.java | 14 ++ .../src/main/docs/aws2-kinesis-starter.adoc | 4 +++- .../KinesisFirehose2ComponentConfiguration.java | 14 ++ .../springboot/Kinesis2ComponentConfiguration.java| 14 ++ .../src/main/docs/aws2-kms-starter.adoc | 3 ++- .../aws2/kms/springboot/KMS2ComponentConfiguration.java | 14 ++ components-starter/camel-corda-starter/pom.xml| 12 components-starter/camel-iota-starter/pom.xml | 12 .../src/main/docs/resteasy-starter.adoc | 2 +- .../springboot/ResteasyComponentConfiguration.java| 15 --- docs/modules/ROOT/pages/aws-kinesis-starter.adoc | 4 +++- docs/modules/ROOT/pages/aws-kms-starter.adoc | 3 ++- docs/modules/ROOT/pages/aws2-kinesis-starter.adoc | 4 +++- docs/modules/ROOT/pages/aws2-kms-starter.adoc | 3 ++- docs/modules/ROOT/pages/resteasy-starter.adoc | 2 +- tooling/camel-spring-boot-dependencies-generator/pom.xml | 2 ++ tooling/camel-spring-boot-dependencies/pom.xml| 4 ++-- 29 files changed, 159 insertions(+), 25 deletions(-)
[camel-spring-boot] 02/02: 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-spring-boot.git commit 77fe45225b1b51a914f6ee77a61f4d227f8ca474 Author: Andrea Cosentino AuthorDate: Thu Jul 23 18:10:36 2020 +0200 Regen --- .../catalog/components/aws-kinesis-firehose.json | 2 ++ .../camel/springboot/catalog/components/aws-kinesis.json | 2 ++ .../camel/springboot/catalog/components/aws-kms.json | 2 ++ .../catalog/components/aws2-kinesis-firehose.json | 2 ++ .../camel/springboot/catalog/components/aws2-kinesis.json | 2 ++ .../camel/springboot/catalog/components/aws2-kms.json | 2 ++ .../apache/camel/springboot/catalog/components/cql.json | 8 .../camel/springboot/catalog/components/resteasy.json | 3 +-- .../src/main/docs/aws-kinesis-starter.adoc| 4 +++- .../springboot/KinesisFirehoseComponentConfiguration.java | 14 ++ .../kinesis/springboot/KinesisComponentConfiguration.java | 14 ++ .../src/main/docs/aws-kms-starter.adoc| 3 ++- .../aws/kms/springboot/KMSComponentConfiguration.java | 14 ++ .../src/main/docs/aws2-kinesis-starter.adoc | 4 +++- .../KinesisFirehose2ComponentConfiguration.java | 14 ++ .../springboot/Kinesis2ComponentConfiguration.java| 14 ++ .../src/main/docs/aws2-kms-starter.adoc | 3 ++- .../aws2/kms/springboot/KMS2ComponentConfiguration.java | 14 ++ components-starter/camel-corda-starter/pom.xml| 12 components-starter/camel-iota-starter/pom.xml | 12 .../src/main/docs/resteasy-starter.adoc | 2 +- .../springboot/ResteasyComponentConfiguration.java| 15 --- docs/modules/ROOT/pages/aws-kinesis-starter.adoc | 4 +++- docs/modules/ROOT/pages/aws-kms-starter.adoc | 3 ++- docs/modules/ROOT/pages/aws2-kinesis-starter.adoc | 4 +++- docs/modules/ROOT/pages/aws2-kms-starter.adoc | 3 ++- docs/modules/ROOT/pages/resteasy-starter.adoc | 2 +- tooling/camel-spring-boot-dependencies/pom.xml| 4 ++-- 28 files changed, 157 insertions(+), 25 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-kinesis-firehose.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-kinesis-firehose.json index d1d2da8..801b498 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-kinesis-firehose.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-kinesis-firehose.json @@ -22,6 +22,7 @@ }, "componentProperties": { "amazonKinesisFirehoseClient": { "kind": "property", "displayName": "Amazon Kinesis Firehose Client", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.amazonaws.services.kinesisfirehose.AmazonKinesisFirehose", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.firehose.KinesisFirehoseConfiguration", "configurationField": "configuration", "description": "Amazon Kinesis Firehose client to use for all reques [...] +"autoDiscoverClient": { "kind": "property", "displayName": "Auto Discover Client", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "configurationClass": "org.apache.camel.component.aws.firehose.KinesisFirehoseConfiguration", "configurationField": "configuration", "description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instanc [...] "configuration": { "kind": "property", "displayName": "Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws.firehose.KinesisFirehoseConfiguration", "deprecated": false, "secret": false, "description": "The component configuration" }, "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 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 starting and cause the r [...] "proxyHost": { "kind": "property", "displayName": "Proxy Host", "group": "producer", "label": "", "required": false, "type": "
[camel] branch master updated: 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 The following commit(s) were added to refs/heads/master by this push: new c5af90c REgen c5af90c is described below commit c5af90cdd56acae38f1400dfdab5f1fad7872018 Author: Andrea Cosentino AuthorDate: Thu Jul 23 18:03:13 2020 +0200 REgen --- .../resources/org/apache/camel/catalog/components/resteasy.json | 3 +-- .../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java | 8 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/resteasy.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/resteasy.json index 0fc7b3f..8863568 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/resteasy.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/resteasy.json @@ -28,7 +28,7 @@ "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 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 starting and cause the r [...] "allowJavaSerializedObject": { "kind": "property", "displayName": "Allow Java Serialized Object", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether to allow java serialization when a request uses context-type=application\/x-java-serialized-object. This is by default turned off. If you enable this then be aware that Java will deserialize the incomin [...] "basicPropertyBinding": { "kind": "property", "displayName": "Basic Property Binding", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities" }, -"resteasyHttpBinding": { "kind": "property", "displayName": "Resteasy Http Binding", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.resteasy.ResteasyHttpBinding", "deprecated": false, "secret": false, "description": "To use a custom ResteasyHttpBinding" }, +"httpBinding": { "kind": "property", "displayName": "Http Binding", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.http.common.HttpBinding", "deprecated": false, "secret": false, "description": "To use a custom HttpBinding to control the mapping between Camel message and HttpClient." }, "headerFilterStrategy": { "kind": "property", "displayName": "Header Filter Strategy", "group": "filter", "label": "filter", "required": false, "type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "secret": false, "description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message." }, "sslContextParameters": { "kind": "property", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "secret": false, "description": "To configure security using SSLContextParameters. Important: Only one instance of org.apache.camel.support.jsse.SSLContextParameters is supported per HttpComponent. If you need to use 2 or more differen [...] "useGlobalSslContextParameters": { "kind": "property", "displayName": "Use Global Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "false", "description": "Enable usage of global SSL context parameters." }, @@ -38,7 +38,6 @@ "httpUri": { "kind": "path", "displayName": "Http Uri", "group": "common", "label": "common", "required": true, "type": "string", "javaType": "java.net.URI", "deprecated": false, "deprecationNote": "", "secret": false, "description": "The url of the HTTP endpoint to call." }, "chunked": { "kind": "parameter", "displayName": "Chunked", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "true", "descriptio
[GitHub] [camel] oscerd merged pull request #4040: [CAMEL-15315] Fix Pulsar AutoConfiguration.ensureNamespace()
oscerd merged pull request #4040: URL: https://github.com/apache/camel/pull/4040 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.4.x updated: [CAMEL-15315] Fix Pulsar AutoConfiguration.ensureNamespace() (#4040)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.4.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.4.x by this push: new d3ca16e [CAMEL-15315] Fix Pulsar AutoConfiguration.ensureNamespace() (#4040) d3ca16e is described below commit d3ca16ea3cd88b88ec6d0f2de72eda8c5478a8a0 Author: James Adam AuthorDate: Thu Jul 23 12:02:48 2020 -0400 [CAMEL-15315] Fix Pulsar AutoConfiguration.ensureNamespace() (#4040) --- .../org/apache/camel/component/pulsar/utils/AutoConfiguration.java| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/utils/AutoConfiguration.java b/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/utils/AutoConfiguration.java index d97fcc3..ab13d8f 100644 --- a/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/utils/AutoConfiguration.java +++ b/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/utils/AutoConfiguration.java @@ -59,8 +59,8 @@ public class AutoConfiguration { private void ensureNameSpace(String tenant, String namespace) throws PulsarAdminException { List namespaces = pulsarAdmin.namespaces().getNamespaces(tenant); -if (!namespaces.contains(namespace)) { -pulsarAdmin.namespaces().createNamespace(namespace, clusters); +if (!namespaces.contains(tenant + "/" + namespace)) { +pulsarAdmin.namespaces().createNamespace(tenant + "/" + namespace, clusters); } }
[GitHub] [camel] rhinoman opened a new pull request #4040: [CAMEL-15315] Fix Pulsar AutoConfiguration.ensureNamespace()
rhinoman opened a new pull request #4040: URL: https://github.com/apache/camel/pull/4040 [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes. [ ] Each commit in the pull request should have a meaningful subject line and body. [ ] If you're unsure, you can format the pull request title like `[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` with the appropriate JIRA issue. [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. [ ] Run `mvn clean install -Psourcecheck` in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically. Below are the contribution guidelines: https://github.com/apache/camel/blob/master/CONTRIBUTING.md 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] rhinoman commented on pull request #4039: [CAMEL-15315] Fix Pulsar AutoConfiguration.ensureNamespace()
rhinoman commented on pull request #4039: URL: https://github.com/apache/camel/pull/4039#issuecomment-663082899 okay 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] jamesnetherton closed issue #1380: Remove service exclude for ThreadPoolProfileConfigurationProperties
jamesnetherton closed issue #1380: URL: https://github.com/apache/camel-quarkus/issues/1380 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] branch master updated: Remove service exclude for ThreadPoolProfileConfigurationProperties
This is an automated email from the ASF dual-hosted git repository. jamesnetherton 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 36c04ab Remove service exclude for ThreadPoolProfileConfigurationProperties 36c04ab is described below commit 36c04ab508edac37a54705b3b0f48c1ab1a7d7a2 Author: James Netherton AuthorDate: Thu Jul 23 14:27:57 2020 +0100 Remove service exclude for ThreadPoolProfileConfigurationProperties Fixes #1380 --- .../org/apache/camel/quarkus/core/deployment/CamelProcessor.java| 6 -- 1 file changed, 6 deletions(-) diff --git a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java index 33554d6..728812d 100644 --- a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java +++ b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java @@ -150,12 +150,6 @@ class CamelProcessor { "META-INF/services/org/apache/camel/language/*", "META-INF/services/org/apache/camel/dataformat/*", "META-INF/services/org/apache/camel/send-dynamic/*")); - -// TODO: Remove this after upgrade to Camel versions > 3.4.0 -services.produce(new CamelServicePatternBuildItem( -CamelServiceDestination.DISCOVERY, -false, - "META-INF/services/org/apache/camel/configurer/ThreadPoolProfileConfigurationProperties")); } @BuildStep
[GitHub] [camel-quarkus] jamesnetherton merged pull request #1499: Remove service exclude for ThreadPoolProfileConfigurationProperties
jamesnetherton merged pull request #1499: URL: https://github.com/apache/camel-quarkus/pull/1499 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 commented on pull request #4039: [CAMEL-15315] Fix Pulsar AutoConfiguration.ensureNamespace()
oscerd commented on pull request #4039: URL: https://github.com/apache/camel/pull/4039#issuecomment-663078086 Thanks @rhinoman can you please create a PR for 3.4.x too? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] oscerd merged pull request #4039: [CAMEL-15315] Fix Pulsar AutoConfiguration.ensureNamespace()
oscerd merged pull request #4039: URL: https://github.com/apache/camel/pull/4039 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-15315] Fix Pulsar AutoConfiguration.ensureNamespace() (#4039)
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 149d2cc [CAMEL-15315] Fix Pulsar AutoConfiguration.ensureNamespace() (#4039) 149d2cc is described below commit 149d2ccc787df943b74abc2f8600776c0dc8ea87 Author: James Adam AuthorDate: Thu Jul 23 11:37:59 2020 -0400 [CAMEL-15315] Fix Pulsar AutoConfiguration.ensureNamespace() (#4039) --- .../org/apache/camel/component/pulsar/utils/AutoConfiguration.java| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/utils/AutoConfiguration.java b/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/utils/AutoConfiguration.java index d97fcc3..ab13d8f 100644 --- a/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/utils/AutoConfiguration.java +++ b/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/utils/AutoConfiguration.java @@ -59,8 +59,8 @@ public class AutoConfiguration { private void ensureNameSpace(String tenant, String namespace) throws PulsarAdminException { List namespaces = pulsarAdmin.namespaces().getNamespaces(tenant); -if (!namespaces.contains(namespace)) { -pulsarAdmin.namespaces().createNamespace(namespace, clusters); +if (!namespaces.contains(tenant + "/" + namespace)) { +pulsarAdmin.namespaces().createNamespace(tenant + "/" + namespace, clusters); } }
[GitHub] [camel-quarkus] jamesnetherton merged pull request #1498: Correct bind type for OpenTracingTracer bean
jamesnetherton merged pull request #1498: URL: https://github.com/apache/camel-quarkus/pull/1498 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 commented on pull request #4038: Update pgjdbc driver version, that includes fix for CVE-2020-13692
oscerd commented on pull request #4038: URL: https://github.com/apache/camel/pull/4038#issuecomment-663077290 Thanks This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch master updated: Correct bind type for OpenTracingTracer bean
This is an automated email from the ASF dual-hosted git repository. jamesnetherton 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 7015fc4 Correct bind type for OpenTracingTracer bean 7015fc4 is described below commit 7015fc456b99d0479892befcf0c5921ecccd3808 Author: James Netherton AuthorDate: Thu Jul 23 14:18:16 2020 +0100 Correct bind type for OpenTracingTracer bean --- .../component/opentracing/deployment/OpenTracingProcessor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/opentracing/deployment/src/main/java/org/apache/camel/quarkus/component/opentracing/deployment/OpenTracingProcessor.java b/extensions/opentracing/deployment/src/main/java/org/apache/camel/quarkus/component/opentracing/deployment/OpenTracingProcessor.java index 257dcf8..7d55fe9 100644 --- a/extensions/opentracing/deployment/src/main/java/org/apache/camel/quarkus/component/opentracing/deployment/OpenTracingProcessor.java +++ b/extensions/opentracing/deployment/src/main/java/org/apache/camel/quarkus/component/opentracing/deployment/OpenTracingProcessor.java @@ -16,12 +16,12 @@ */ package org.apache.camel.quarkus.component.opentracing.deployment; -import io.opentracing.Tracer; import io.quarkus.arc.deployment.BeanContainerBuildItem; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.annotations.ExecutionTime; import io.quarkus.deployment.annotations.Record; import io.quarkus.deployment.builditem.FeatureBuildItem; +import org.apache.camel.opentracing.OpenTracingTracer; import org.apache.camel.quarkus.component.opentracing.CamelOpenTracingConfig; import org.apache.camel.quarkus.component.opentracing.CamelOpenTracingRecorder; import org.apache.camel.quarkus.core.deployment.spi.CamelBeanBuildItem; @@ -41,8 +41,8 @@ class OpenTracingProcessor { BeanContainerBuildItem beanContainer) { // Configure & bind OpenTracingTracer to the registry so that Camel can use it return new CamelBeanBuildItem( -"tracer", -Tracer.class.getName(), +"openTracingTracer", +OpenTracingTracer.class.getName(), recorder.createCamelOpenTracingTracer(config, beanContainer.getValue())); } }
[camel] branch camel-3.4.x updated: Sync Properties
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.4.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.4.x by this push: new cbaac50 Sync Properties cbaac50 is described below commit cbaac50ce3bcfe2e22c4e04061fcda0444fdd642 Author: Andrea Cosentino AuthorDate: Thu Jul 23 17:35:20 2020 +0200 Sync Properties --- 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 dffc759..74fb0d7 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -465,7 +465,7 @@ 1.2.4 2.7 2.0.20 -42.2.6 +42.2.14 0.8.4 2.0.7 1.0-alpha-2
[camel] branch camel-3.4.x updated: Update pgjdbc driver version, that includes fix for CVE-2020-13692 (#4038)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.4.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.4.x by this push: new d5a2708 Update pgjdbc driver version, that includes fix for CVE-2020-13692 (#4038) d5a2708 is described below commit d5a270803a979ccab8af4d47e0dbc95070e9d80e Author: Matej Melko <6814482+mme...@users.noreply.github.com> AuthorDate: Thu Jul 23 17:25:54 2020 +0200 Update pgjdbc driver version, that includes fix for CVE-2020-13692 (#4038) --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index a71a93c..a4cef07 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -452,7 +452,7 @@ 1.2.4 2.7 2.0.20 -42.2.6 +42.2.14 0.8.4 2.0.7 1.0-alpha-2
[camel] branch master updated: Update pgjdbc driver version, that includes fix for CVE-2020-13692 (#4037)
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 8bd5221 Update pgjdbc driver version, that includes fix for CVE-2020-13692 (#4037) 8bd5221 is described below commit 8bd522199416a8062ef62512aa86fbdf9ade3efe Author: Matej Melko <6814482+mme...@users.noreply.github.com> AuthorDate: Thu Jul 23 17:25:44 2020 +0200 Update pgjdbc driver version, that includes fix for CVE-2020-13692 (#4037) --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index da3ecb7..3af6c34 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -455,7 +455,7 @@ 1.2.4 2.7 2.0.20 -42.2.6 +42.2.14 0.8.4 2.0.7 1.0-alpha-2
[GitHub] [camel] oscerd merged pull request #4037: Update pgjdbc driver version, that includes fix for CVE-2020-13692
oscerd merged pull request #4037: URL: https://github.com/apache/camel/pull/4037 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 #4038: Update pgjdbc driver version, that includes fix for CVE-2020-13692
oscerd merged pull request #4038: URL: https://github.com/apache/camel/pull/4038 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] AemieJ opened a new pull request #438: CAMEL-15329: add the community section page
AemieJ opened a new pull request #438: URL: https://github.com/apache/camel-website/pull/438 It is preferred to have the removal of sub-menus from the navbar of the website. This PR deals with the removal of the dropdown items within the community section. - Created a community page with minimalist layout. - Includes the required information and easier for the user to navigate. 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] jamesnetherton opened a new pull request #1499: Remove service exclude for ThreadPoolProfileConfigurationProperties
jamesnetherton opened a new pull request #1499: URL: https://github.com/apache/camel-quarkus/pull/1499 Fixes #1380 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] jamesnetherton opened a new pull request #1498: Correct bind type for OpenTracingTracer bean
jamesnetherton opened a new pull request #1498: URL: https://github.com/apache/camel-quarkus/pull/1498 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] nicolaferraro opened a new issue #1636: No matches for kind "Subscription" in version "messaging.knative.dev/v1alpha1"
nicolaferraro opened a new issue #1636: URL: https://github.com/apache/camel-k/issues/1636 We should upgrade the eventing resources to v1beta1 at least. E.g. Subscription is no longer present at version v1alpha1. 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] onderson merged pull request #4036: [CAMEL-15042] - refactor producer and remove DefaultResteasyHttpBinding and option and also use streamcache related streams rather than java.io. st
onderson merged pull request #4036: URL: https://github.com/apache/camel/pull/4036 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] valdar edited a comment on pull request #4001: CAMEL-15260 - Adds tracing strategy to enable spans for each processor
valdar edited a comment on pull request #4001: URL: https://github.com/apache/camel/pull/4001#issuecomment-662892861 @jam01 I am wrapping my head around this and I would really appreciate some hints on how is an external trace coming in the form of a string header `"uber-trace-id"` handled? As an example think about a camel route starting from an http endpoint an external client calling that endpoint passing an http header `"uber-trace-id"=traceId:spanId:parentSpanId:flags`. Would that be taken in account so that the camel produced spans are linked to the incoming `traceId` by the new way of handling the tracing? if yes how? In other and shorter words: where is this piece of functionality https://github.com/apache/camel/blob/camel-3.4.0/components/camel-opentracing/src/main/java/org/apache/camel/opentracing/OpenTracingTracer.java#L325 handled now? Thanks in advance! 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-runtime] lburgazzoli merged pull request #410: chore(test): cleanup yaml unit tests
lburgazzoli merged pull request #410: URL: https://github.com/apache/camel-k-runtime/pull/410 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-runtime] branch master updated: chore(test): cleanup yaml unit tests
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git The following commit(s) were added to refs/heads/master by this push: new af30d1b chore(test): cleanup yaml unit tests af30d1b is described below commit af30d1bdbfa2979f1fc8e7698647caa1274c0ccd Author: lburgazzoli AuthorDate: Thu Jul 23 14:24:26 2020 +0200 chore(test): cleanup yaml unit tests --- .../camel/k/loader/yaml/DefinitionsTest.groovy | 58 +++--- .../apache/camel/k/loader/yaml/RoutesTest.groovy | 44 .../apache/camel/k/loader/yaml/TestSupport.groovy | 12 +++-- 3 files changed, 59 insertions(+), 55 deletions(-) diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/DefinitionsTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/DefinitionsTest.groovy index 0397437..6db3a3f 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/DefinitionsTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/DefinitionsTest.groovy @@ -37,11 +37,11 @@ class DefinitionsTest extends TestSupport { steps: - to: uri: "log:info" -'''.stripMargin('|') +''' def camelContext = new DefaultCamelContext() when: -camelContext.addRoutes(new YamlSourceLoader().builder(content)) +load(camelContext, content) then: camelContext.routeDefinitions[0].id == 'my-route-id' camelContext.routeDefinitions[0].group == 'my-route-group' @@ -62,11 +62,11 @@ class DefinitionsTest extends TestSupport { steps: - to: uri: "log:info" -'''.stripMargin('|') +''' def camelContext = new DefaultCamelContext() when: -camelContext.addRoutes(new YamlSourceLoader().builder(content)) +load(camelContext, content) then: camelContext.routeDefinitions[0].id == 'my-route-id' camelContext.routeDefinitions[0].group == 'my-route-group' @@ -100,11 +100,11 @@ class DefinitionsTest extends TestSupport { uri: "log:otherwise" - to: uri: "log:info" -'''.stripMargin('|') +''' def camelContext = new DefaultCamelContext() when: -camelContext.addRoutes(new YamlSourceLoader().builder(content)) +load(camelContext, content) then: camelContext.routeDefinitions[0].input.endpointUri == 'direct:start' @@ -136,20 +136,20 @@ class DefinitionsTest extends TestSupport { def "route with split"() { given: def content = ''' - - from: - uri: "direct:start" - steps: - - split: - tokenize: "," - steps: - - to: "log:split1" - - to: "log:split2" - - to: "log:info" -'''.stripMargin('|') + - from: + uri: "direct:start" + steps: + - split: + tokenize: "," + steps: + - to: "log:split1" + - to: "log:split2" + - to: "log:info" +''' def camelContext = new DefaultCamelContext() when: -camelContext.addRoutes(new YamlSourceLoader().builder(content)) +load(camelContext, content) then: camelContext.routeDefinitions[0].input.endpointUri == 'direct:start' camelContext.routeDefinitions[0].outputs.size() == 2 @@ -177,17 +177,17 @@ class DefinitionsTest extends TestSupport { def "flow style route with split"() { given: def content = ''' - - from: - uri: "direct:start" - steps: - - split: - tokenize: "," - - to: "log:info" -'''.stripMargin('|') + - from: + uri: "direct:start" + steps: + - split: + tokenize: "," + - to: "log:info" +''' def camelContext = new DefaultCamelContext() when: -camelContext.addRoutes(new YamlSourceLoader().builder(content)) +load(camelContext, content) then: camelContext.routeDefinitions[0].input.endpointUri ==
[camel] 02/03: Upgrade Box Java SDK to version 2.50.0
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 3a12b6cf1138c84451d0dff44d62df47d97c3c3d Author: Andrea Cosentino AuthorDate: Thu Jul 23 14:17:50 2020 +0200 Upgrade Box Java SDK to version 2.50.0 --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index 0dec491..da3ecb7 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -88,7 +88,7 @@ 2.1.0 1.4.6 1.66 -2.48.0 +2.50.0 2.109.0 5.12.0 3.1.0
[camel] branch master updated (4e44db6 -> 3285d52)
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 4e44db6 CAMEL-15293 Cassandraql: Upgrade datastax driver to 4.7.2 (from 3.7.2) (#4000) new 2d7b52d Regen new 3a12b6c Upgrade Box Java SDK to version 2.50.0 new 3285d52 Sync Properties and regen 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: camel-dependencies/pom.xml | 2 +- .../camel/builder/endpoint/StaticEndpointBuilders.java | 12 ++-- parent/pom.xml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-)
[camel] 03/03: Sync Properties 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 3285d523d8b6b4a937f501e7bde41ce57433afe7 Author: Andrea Cosentino AuthorDate: Thu Jul 23 14:20:12 2020 +0200 Sync Properties and regen --- camel-dependencies/pom.xml| 2 +- .../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index a8ab467..3e75b28c 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -80,7 +80,7 @@ 2.1.0 1.4.6 1.66 -2.48.0 +2.50.0 2.109.0 5.12.0 3.1.0 diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java index e503cae..9628eb0 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java @@ -2805,7 +2805,7 @@ public class StaticEndpointBuilders { * * @param path apiName/methodName */ -public static org.apache.camel.builder.endpoint.dsl.BoxEndpointBuilderFactory.BoxEndpointBuilder box( +static org.apache.camel.builder.endpoint.dsl.BoxEndpointBuilderFactory.BoxEndpointBuilder box( String path) { return org.apache.camel.builder.endpoint.dsl.BoxEndpointBuilderFactory.endpointBuilder("box", path); } @@ -2832,7 +2832,7 @@ public class StaticEndpointBuilders { * instead of the default name * @param path apiName/methodName */ -public static org.apache.camel.builder.endpoint.dsl.BoxEndpointBuilderFactory.BoxEndpointBuilder box( +static org.apache.camel.builder.endpoint.dsl.BoxEndpointBuilderFactory.BoxEndpointBuilder box( String componentName, String path) { return org.apache.camel.builder.endpoint.dsl.BoxEndpointBuilderFactory.endpointBuilder(componentName, path); @@ -3634,7 +3634,7 @@ public class StaticEndpointBuilders { * * @param path beanRef:hosts:port/keyspace */ -static org.apache.camel.builder.endpoint.dsl.CassandraEndpointBuilderFactory.CassandraEndpointBuilder cql( +public static org.apache.camel.builder.endpoint.dsl.CassandraEndpointBuilderFactory.CassandraEndpointBuilder cql( String path) { return org.apache.camel.builder.endpoint.dsl.CassandraEndpointBuilderFactory.endpointBuilder("cql", path); } @@ -3665,7 +3665,7 @@ public class StaticEndpointBuilders { * instead of the default name * @param path beanRef:hosts:port/keyspace */ -static org.apache.camel.builder.endpoint.dsl.CassandraEndpointBuilderFactory.CassandraEndpointBuilder cql( +public static org.apache.camel.builder.endpoint.dsl.CassandraEndpointBuilderFactory.CassandraEndpointBuilder cql( String componentName, String path) { return org.apache.camel.builder.endpoint.dsl.CassandraEndpointBuilderFactory.endpointBuilder(componentName, path);
[camel] 01/03: 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 2d7b52d03320debc76082d4aabc3767248484e51 Author: Andrea Cosentino AuthorDate: Thu Jul 23 14:07:25 2020 +0200 Regen --- .../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java index fbb8d8b..e503cae 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java @@ -15516,7 +15516,7 @@ public class StaticEndpointBuilders { * * @param path serverUrls/path */ -static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper( +public static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper( String path) { return org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder("zookeeper", path); } @@ -15540,7 +15540,7 @@ public class StaticEndpointBuilders { * instead of the default name * @param path serverUrls/path */ -static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper( +public static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper( String componentName, String path) { return org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder(componentName, path);
[camel-spring-boot] branch master updated: CAMEL-15305: camel-arangodb-starter : add integration test
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 be4235d CAMEL-15305: camel-arangodb-starter : add integration test be4235d is described below commit be4235de9b5381ac45d3bc8f73c6e1e2f6202b17 Author: Zineb Bendhiba AuthorDate: Thu Jul 23 09:30:08 2020 +0200 CAMEL-15305: camel-arangodb-starter : add integration test --- .../camel/itest/springboot/CamelArangodbTest.java | 49 ++ 1 file changed, 49 insertions(+) diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelArangodbTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelArangodbTest.java new file mode 100644 index 000..bde8e77 --- /dev/null +++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelArangodbTest.java @@ -0,0 +1,49 @@ +/* + * 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.itest.springboot; + +import org.apache.camel.itest.springboot.util.ArquillianPackager; +import org.jboss.arquillian.container.test.api.Deployment; +import org.jboss.arquillian.junit.Arquillian; +import org.jboss.shrinkwrap.api.Archive; +import org.junit.Test; +import org.junit.runner.RunWith; + +@RunWith(Arquillian.class) +public class CamelArangodbTest extends AbstractSpringBootTestSupport{ + +@Deployment +public static Archive createSpringBootPackage() throws Exception { +return ArquillianPackager.springBootPackage(createTestConfig()); +} + +public static ITestConfig createTestConfig() { +return new ITestConfigBuilder() +.module(inferModuleName(CamelArangodbTest.class)) +.unitTestsEnabled(false) +.build(); +} + +@Test +public void componentTests() throws Exception { +this.runComponentTest(config); +this.runModuleUnitTestsIfEnabled(config); +} + + +} +
[GitHub] [camel-spring-boot] oscerd merged pull request #120: CAMEL-15305: camel-arangodb-starter : add integration test
oscerd merged pull request #120: URL: https://github.com/apache/camel-spring-boot/pull/120 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-runtime] lburgazzoli opened a new pull request #410: chore(test): cleanup yaml unit tests
lburgazzoli opened a new pull request #410: URL: https://github.com/apache/camel-k-runtime/pull/410 **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
[camel-karaf] branch master updated: Cassandraql: Upgrade datastax driver to 4.7.2 (from 3.7.2)
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-karaf.git The following commit(s) were added to refs/heads/master by this push: new d2a74fa Cassandraql: Upgrade datastax driver to 4.7.2 (from 3.7.2) d2a74fa is described below commit d2a74fa8e6a013918cac7ee1b47027a558e9b0f6 Author: JiriOndrusek AuthorDate: Thu Jul 23 11:05:10 2020 +0200 Cassandraql: Upgrade datastax driver to 4.7.2 (from 3.7.2) --- platforms/karaf/features/src/main/resources/features.xml | 14 +- pom.xml | 6 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml index b141b43..45e7a79 100644 --- a/platforms/karaf/features/src/main/resources/features.xml +++ b/platforms/karaf/features/src/main/resources/features.xml @@ -672,7 +672,7 @@ camel-core -mvn:com.google.guava/guava/${cassandra-driver-guava-version} +mvn:com.datastax.oss/java-driver-shaded-guava/${cassandra-shaded-guava} mvn:io.netty/netty-resolver/${netty-version} mvn:io.netty/netty-handler/${netty-version} mvn:io.netty/netty-transport-native-epoll/${netty-version} @@ -684,10 +684,14 @@ mvn:io.dropwizard.metrics/metrics-core/${cassandra-metrics-version} mvn:io.dropwizard.metrics/metrics-json/${cassandra-metrics-version} -mvn:com.fasterxml.jackson.core/jackson-core/${jackson2-version} -mvn:com.fasterxml.jackson.core/jackson-databind/${jackson2-version} -mvn:com.fasterxml.jackson.core/jackson-annotations/${jackson2-version} -mvn:com.datastax.cassandra/cassandra-driver-core/${cassandra-driver-version} +mvn:com.fasterxml.jackson.core/jackson-core/${cassandra-jackson2-version} +mvn:com.fasterxml.jackson.core/jackson-databind/${cassandra-jackson2-version} +mvn:com.fasterxml.jackson.core/jackson-annotations/${cassandra-jackson2-version} +mvn:com.datastax.oss/java-driver-core/${cassandra-driver-version} +mvn:com.datastax.oss/java-driver-query-builder/${cassandra-driver-version} +mvn:com.typesafe/config/${typesafe-config} +mvn:org.hdrhistogram/HdrHistogram/${hdrhistrogram-version} +mvn:com.datastax.oss/native-protocol/${datastax-native-protocol} mvn:org.apache.camel/camel-cassandraql/${project.version} diff --git a/pom.xml b/pom.xml index 2944b9a..5bfe21d 100644 --- a/pom.xml +++ b/pom.xml @@ -131,11 +131,14 @@ 2.4.0 1.12 0.9.5.5_1 -3.2.6 +2.11.1 +4.0.5 +25.1-jre-graal-sub-1 3.5.0_1 2.3.1_2 3.1_7 1.3.3_1 +1.4.10 2.17_1 0.2 0.3 @@ -252,6 +255,7 @@ 1.13.0 1.4.0 2.1.1 +1.3.4 4.0.7_1 2015-01-27T15-02-14 1.0.0
[GitHub] [camel-karaf] oscerd merged pull request #12: Cassandraql: Upgrade datastax driver to 4.7.2 (from 3.7.2)
oscerd merged pull request #12: URL: https://github.com/apache/camel-karaf/pull/12 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 #332: Added Aggregation documentation
oscerd merged pull request #332: URL: https://github.com/apache/camel-kafka-connector/pull/332 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 issue #303: Add an aggregation page in docs
oscerd closed issue #303: URL: https://github.com/apache/camel-kafka-connector/issues/303 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/01: Merge pull request #332 from apache/aggr-doc
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 commit b87839e0ca9938dcb56bfcd0e77a9fec8baaf389 Merge: c0d4025 9d4c47b Author: Andrea Cosentino AuthorDate: Thu Jul 23 14:02:07 2020 +0200 Merge pull request #332 from apache/aggr-doc Added Aggregation documentation docs/modules/ROOT/pages/aggregation.adoc | 63 docs/modules/ROOT/pages/index.adoc | 1 + 2 files changed, 64 insertions(+)
[GitHub] [camel-kafka-connector] oscerd opened a new pull request #332: Added Aggregation documentation
oscerd opened a new pull request #332: URL: https://github.com/apache/camel-kafka-connector/pull/332 Fixes #303 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 (c0d4025 -> b87839e)
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-kafka-connector.git. from c0d4025 Merge pull request #330 from apache/archetypes add 9d4c47b Added Aggregation documentation new b87839e Merge pull request #332 from apache/aggr-doc The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: docs/modules/ROOT/pages/aggregation.adoc | 63 docs/modules/ROOT/pages/index.adoc | 1 + 2 files changed, 64 insertions(+) create mode 100644 docs/modules/ROOT/pages/aggregation.adoc
[camel-kafka-connector] 01/01: Added Aggregation documentation
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch aggr-doc in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit 9d4c47bc7d1b5eaae1855f542dd86005fce008b2 Author: Andrea Cosentino AuthorDate: Thu Jul 23 14:00:04 2020 +0200 Added Aggregation documentation --- docs/modules/ROOT/pages/aggregation.adoc | 63 docs/modules/ROOT/pages/index.adoc | 1 + 2 files changed, 64 insertions(+) diff --git a/docs/modules/ROOT/pages/aggregation.adoc b/docs/modules/ROOT/pages/aggregation.adoc new file mode 100644 index 000..443497a --- /dev/null +++ b/docs/modules/ROOT/pages/aggregation.adoc @@ -0,0 +1,63 @@ +[[Aggregation-Aggregation]] += Aggregation + +In a Sink Connector scenario, there are, sometimes, use cases where an end user want to aggregate his Kafka record before sending them to an external system. +Usually this can be done by defining a batch size or a timeout and once the aggregation has been completed, sent the aggregate records collection to the external system. + +In Apache Camel it exists the https://camel.apache.org/components/latest/eips/aggregate-eip.html[Aggregate EIP] implementation and in Camel-Kafka-connector we wanted to leverage what we already have in the plain Apache Camel project. + +We introduced then the following options in the Sink Connector Configuration: + +[source,bash] + +camel.beans.aggregate=#class:org.apache.camel.kafkaconnector.aggregator.StringAggregator" +camel.beans.aggregation.size=10 +camel.beans.aggregation.timeout=5000 + + +So you'll be able to define your own AggregationStrategy by writing it through extending the AggregationStrategy Camel class or you can use one of the Aggregator provided by Camel. + +We are working on adding some Aggregator out of the box in camel-kafka-connector. + +[[HowDoesAnAggregatorLookLike-HowDoesAnAggregatorLookLike]] +== How Does an aggregator look like? + +An Aggregator is something like the following: + +[source,java] + +package org.apache.camel.kafkaconnector.aggregator; + +import org.apache.camel.AggregationStrategy; +import org.apache.camel.Exchange; +import org.apache.camel.Message; + +public class StringAggregator implements AggregationStrategy { + +@Override +public Exchange aggregate(Exchange oldExchange, Exchange newExchange) { +// lets append the old body to the new body +if (oldExchange == null) { +return newExchange; +} + +String body = oldExchange.getIn().getBody(String.class); +if (body != null) { +Message newIn = newExchange.getIn(); +String newBody = newIn.getBody(String.class); +if (newBody != null) { +body += System.lineSeparator() + newBody; +} + +newIn.setBody(body); +} +return newExchange; +} +} + + +And you may think oldExchange and newExchange like records arriving to the Aggregator. + +So in this case each newExchange body will be concated with the oldExchange body and separated through the System line separator. + +This process will go ahead until the batch size has been completed or the timeout has been reached. diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index 5926f32..223aa68 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -3,6 +3,7 @@ * xref:about.adoc[What is it?] ** xref:basic-concepts.adoc[Basic concepts] +** xref:aggregation.adoc[Aggregations] * xref:getting-started.adoc[Getting started] ** xref:try-it-out-locally.adoc[Try it locally] ** xref:try-it-out-on-openshift-with-strimzi.adoc[Try it on OpenShift cluster]
[camel-kafka-connector] branch aggr-doc created (now 9d4c47b)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch aggr-doc in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. at 9d4c47b Added Aggregation documentation This branch includes the following new commits: new 9d4c47b Added Aggregation documentation 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] branch master updated: CAMEL-15293 Cassandraql: Upgrade datastax driver to 4.7.2 (from 3.7.2) (#4000)
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 4e44db6 CAMEL-15293 Cassandraql: Upgrade datastax driver to 4.7.2 (from 3.7.2) (#4000) 4e44db6 is described below commit 4e44db64c1dc13d36e4ce71c9b1a78c60dc302f3 Author: JiriOndrusek AuthorDate: Thu Jul 23 13:58:08 2020 +0200 CAMEL-15293 Cassandraql: Upgrade datastax driver to 4.7.2 (from 3.7.2) (#4000) --- camel-dependencies/pom.xml | 8 +- .../org/apache/camel/catalog/components/cql.json | 8 +- .../apache/camel/catalog/docs/cql-component.adoc | 8 +- components/camel-cassandraql/pom.xml | 8 +- .../cassandra/CassandraEndpointConfigurer.java | 24 +-- .../org/apache/camel/component/cassandra/cql.json | 8 +- .../src/main/docs/cql-component.adoc | 8 +- .../component/cassandra/CassandraConsumer.java | 8 +- .../component/cassandra/CassandraEndpoint.java | 133 .../component/cassandra/CassandraProducer.java | 30 ++-- .../cassandra/ResultSetConversionStrategies.java | 4 +- .../cassandra/ResultSetConversionStrategy.java | 3 +- .../cassandra/CassandraAggregationRepository.java | 63 .../NamedCassandraAggregationRepository.java | 12 +- .../cassandra/CassandraIdempotentRepository.java | 57 --- .../NamedCassandraIdempotentRepository.java| 12 +- .../cassandra/CassandraLoadBalancingPolicies.java | 57 --- .../utils/cassandra/CassandraSessionHolder.java| 37 + .../camel/utils/cassandra/CassandraUtils.java | 74 + .../component/cassandra/BaseCassandraTest.java | 1 - .../component/cassandra/CassandraCQLUnit.java | 26 +-- .../cassandra/CassandraComponentBeanRefTest.java | 17 -- .../cassandra/CassandraComponentConsumerTest.java | 2 +- .../cassandra/CassandraComponentProducerTest.java | 80 +- .../CassandraComponentProducerUnpreparedTest.java | 42 +++-- .../component/cassandra/CassandraUnitUtils.java| 8 +- .../cassandra/MockLoadBalancingPolicy.java | 44 + .../ResultSetConversionStrategiesTest.java | 4 +- .../CassandraAggregationRepositoryTest.java| 14 +- .../CassandraAggregationSerializedHeadersTest.java | 2 +- .../cassandra/CassandraAggregationTest.java| 2 +- .../NamedCassandraAggregationRepositoryTest.java | 15 +- .../CassandraIdempotentRepositoryTest.java | 5 +- .../cassandra/CassandraIdempotentTest.java | 2 +- .../NamedCassandraIdempotentRepositoryTest.java| 4 +- .../src/test/resources/camel-cassandra.yaml| 3 + .../builder/endpoint/StaticEndpointBuilders.java | 4 +- .../dsl/CassandraEndpointBuilderFactory.java | 177 + .../modules/ROOT/pages/cql-component.adoc | 8 +- .../ROOT/pages/camel-3x-upgrade-guide-3_5.adoc | 14 ++ parent/pom.xml | 17 +- 41 files changed, 499 insertions(+), 554 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 64c70e7..a8ab467 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -112,10 +112,10 @@ ${project.groupId}.${project.artifactId} version=${project.version} -19.0 -3.7.2 -3.1.3.2 -3.7 +25.1-jre +4.7.2 +4.3.1.0 +3.11.5 2.0 3.2.12 3.5.0 diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cql.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cql.json index 78315b5..44c9be1 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cql.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cql.json @@ -30,15 +30,15 @@ "hosts": { "kind": "path", "displayName": "Hosts", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "Hostname(s) cassansdra server(s). Multiple hosts can be separated by comma." }, "port": { "kind": "path", "displayName": "Port", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "secret": false, "description": "Port number of cassansdra server(s)" }, "keyspace": { "kind": "path", "displayName": "Keyspace", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "Keyspace to use" }, -"cluster": { "kind": "parameter", "displayName": "Cluster", "group": "common", "label": "", "required": false, "type": "object", "javaType": "com.datastax.d
[GitHub] [camel] oscerd merged pull request #4000: CAMEL-15293 Cassandraql: Upgrade datastax driver to 4.7.2 (from 3.7.2)
oscerd merged pull request #4000: URL: https://github.com/apache/camel/pull/4000 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-runtime] lburgazzoli merged pull request #409: Update groovy to v3.0.5
lburgazzoli merged pull request #409: URL: https://github.com/apache/camel-k-runtime/pull/409 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-runtime] branch master updated: Update groovy to v3.0.5
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git The following commit(s) were added to refs/heads/master by this push: new 9a61431 Update groovy to v3.0.5 9a61431 is described below commit 9a61431ecdcb9a611f614f1c8be58365202844a1 Author: lburgazzoli AuthorDate: Thu Jul 23 09:53:44 2020 +0200 Update groovy to v3.0.5 --- .../apache/camel/k/loader/yaml/RoutesTest.groovy | 14 +-- ...st.groovy => RoutesWithPlaceholdersTest.groovy} | 10 .../apache/camel/k/loader/yaml/TestSupport.groovy | 27 -- ...m.yaml => RoutesWithPlaceholdersTest_from.yaml} | 0 yaml => RoutesWithPlaceholdersTest_route.yaml} | 0 ..._to.yaml => RoutesWithPlaceholdersTest_to.yaml} | 0 ...od.yaml => RoutesWithPlaceholdersTest_tod.yaml} | 0 pom.xml| 2 +- 8 files changed, 22 insertions(+), 31 deletions(-) diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesTest.groovy index 29263cd..5eb5f6d 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesTest.groovy @@ -25,7 +25,7 @@ class RoutesTest extends TestSupport { def 'split'() { setup: -def context = startContext() +def context = startContextForSpec() mockEndpoint(context,'mock:split') { expectedMessageCount = 3 @@ -52,7 +52,7 @@ class RoutesTest extends TestSupport { def 'filter'() { setup: -def context = startContext() +def context = startContextForSpec() mockEndpoint(context, 'mock:route') { expectedMessageCount 2 @@ -81,7 +81,7 @@ class RoutesTest extends TestSupport { def 'aggregator'() { setup: -def context = startContext { +def context = startContextForSpec { registry.bind('aggregatorStrategy', new UseLatestAggregationStrategy()) } @@ -104,7 +104,7 @@ class RoutesTest extends TestSupport { def 'idempotentConsumer'() { setup: -def context = startContext { +def context = startContextForSpec { registry.bind('myRepo', new MemoryIdempotentRepository()) } @@ -132,7 +132,7 @@ class RoutesTest extends TestSupport { def 'onExceptionHandled'() { setup: -def context = startContext { +def context = startContextForSpec { registry.bind('myFailingProcessor', new MyFailingProcessor()) } when: @@ -145,7 +145,7 @@ class RoutesTest extends TestSupport { def 'errorHandler'() { setup: -def context = startContext { +def context = startContextForSpec { registry.bind('myFailingProcessor', new MyFailingProcessor()) } @@ -162,7 +162,7 @@ class RoutesTest extends TestSupport { def 'bean'() { setup: -def context = startContext() +def context = startContextForSpec() when: def out = context.createProducerTemplate().requestBody('direct:route', 'test'); then: diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RouteWithPlaceholdersTest.groovy b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesWithPlaceholdersTest.groovy similarity index 93% rename from camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RouteWithPlaceholdersTest.groovy rename to camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesWithPlaceholdersTest.groovy index eece082..1e7f2ea 100644 --- a/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RouteWithPlaceholdersTest.groovy +++ b/camel-k-loader-yaml/camel-k-loader-yaml/src/test/groovy/org/apache/camel/k/loader/yaml/RoutesWithPlaceholdersTest.groovy @@ -18,7 +18,7 @@ package org.apache.camel.k.loader.yaml import org.apache.camel.component.direct.DirectEndpoint -class RouteWithPlaceholdersTest extends TestSupport { +class RoutesWithPlaceholdersTest extends TestSupport { def 'route'() { setup: def parameters = [ @@ -26,7 +26,7 @@ class RouteWithPlaceholdersTest extends TestSupport { 'direct.timeout': 1234, 'direct.result': UUID.randomUUID().toString() ] -def context = startContext { +def context = startContextForSpec {
[GitHub] [camel] rhinoman opened a new pull request #4039: [CAMEL-15315] Fix Pulsar AutoConfiguration.ensureNamespace()
rhinoman opened a new pull request #4039: URL: https://github.com/apache/camel/pull/4039 [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes. [ ] Each commit in the pull request should have a meaningful subject line and body. [ ] If you're unsure, you can format the pull request title like `[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` with the appropriate JIRA issue. [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. [ ] Run `mvn clean install -Psourcecheck` in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically. Below are the contribution guidelines: https://github.com/apache/camel/blob/master/CONTRIBUTING.md 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] AemieJ commented on a change in pull request #434: feat: add github action for image optimization
AemieJ commented on a change in pull request #434: URL: https://github.com/apache/camel-website/pull/434#discussion_r459336446 ## File path: .github/workflows/calibreapp-image-actions.yml ## @@ -0,0 +1,20 @@ +name: Compress images +on: pull_request +jobs: + build: +name: calibreapp/image-actions +runs-on: ubuntu-latest +steps: + - name: Checkout +uses: actions/checkout@master + + - name: Compress Images +uses: calibreapp/image-actions@master +with: + githubToken: ${{ secrets.GITHUB_TOKEN }} + jpegQuality: "80" + jpegProgressive: false + pngQuality: "80" + webpQuality: "80" + ignorePaths: "node_modules/**,build" Review comment: As we don't need to include the images within the **static** folder, I think I will change the ignorePaths to static 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: Sync Properties 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 The following commit(s) were added to refs/heads/master by this push: new c5fbae6 Sync Properties and regen c5fbae6 is described below commit c5fbae6b2fba14d247618bcbe24521666de9300c Author: Andrea Cosentino AuthorDate: Thu Jul 23 11:47:02 2020 +0200 Sync Properties and regen --- camel-dependencies/pom.xml| 4 ++-- .../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 060165c..64c70e7 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -290,9 +290,9 @@ 20090621 2.5.0 2.21.2 -2.10.4 +2.10.5 1.9.12 -2.10.4 +2.10.5 1.2.154_2 2.1.5 2.3.2 diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java index 0f11142..4a11e12 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java @@ -6245,7 +6245,7 @@ public class StaticEndpointBuilders { * * @param path defaultCoordinates */ -static org.apache.camel.builder.endpoint.dsl.GrapeEndpointBuilderFactory.GrapeEndpointBuilder grape( +public static org.apache.camel.builder.endpoint.dsl.GrapeEndpointBuilderFactory.GrapeEndpointBuilder grape( String path) { return org.apache.camel.builder.endpoint.dsl.GrapeEndpointBuilderFactory.endpointBuilder("grape", path); } @@ -6267,7 +6267,7 @@ public class StaticEndpointBuilders { * instead of the default name * @param path defaultCoordinates */ -static org.apache.camel.builder.endpoint.dsl.GrapeEndpointBuilderFactory.GrapeEndpointBuilder grape( +public static org.apache.camel.builder.endpoint.dsl.GrapeEndpointBuilderFactory.GrapeEndpointBuilder grape( String componentName, String path) { return org.apache.camel.builder.endpoint.dsl.GrapeEndpointBuilderFactory.endpointBuilder(componentName, path); @@ -15516,7 +15516,7 @@ public class StaticEndpointBuilders { * * @param path serverUrls/path */ -public static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper( +static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper( String path) { return org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder("zookeeper", path); } @@ -15540,7 +15540,7 @@ public class StaticEndpointBuilders { * instead of the default name * @param path serverUrls/path */ -public static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper( +static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper( String componentName, String path) { return org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder(componentName, path);
[GitHub] [camel-kafka-connector] oscerd commented on issue #324: The committed block count cannot exceed the maximum limit of 50,000 blocks.
oscerd commented on issue #324: URL: https://github.com/apache/camel-kafka-connector/issues/324#issuecomment-662913548 ah, the option you're using for camel.beans.aggregate is wrong. It should be "camel.beans.aggregate": "#class:org.apache.camel.kafkaconnector.aggregator.StringAggregator", 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 edited a comment on issue #324: The committed block count cannot exceed the maximum limit of 50,000 blocks.
oscerd edited a comment on issue #324: URL: https://github.com/apache/camel-kafka-connector/issues/324#issuecomment-662913548 ah, the option you're using for camel.beans.aggregate is wrong. It should be `"camel.beans.aggregate": "#class:org.apache.camel.kafkaconnector.aggregator.StringAggregator"` 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] omarsmak commented on issue #324: The committed block count cannot exceed the maximum limit of 50,000 blocks.
omarsmak commented on issue #324: URL: https://github.com/apache/camel-kafka-connector/issues/324#issuecomment-662908845 @nidhijwt to narrow down on the problem, can you please try to use a[ logger sink](https://camel.apache.org/camel-kafka-connector/latest/connectors/camel-log-kafka-sink-connector.html) instead of the azure sink (or any other sink that could help you to troubleshoot the issue further) to see if the data indeed are aggregated? 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] mmelko opened a new pull request #4038: Update pgjdbc driver verion, that includes fix for CVE-2020-13692
mmelko opened a new pull request #4038: URL: https://github.com/apache/camel/pull/4038 [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes. [ ] Each commit in the pull request should have a meaningful subject line and body. [ ] If you're unsure, you can format the pull request title like `[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` with the appropriate JIRA issue. [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. [ ] Run `mvn clean install -Psourcecheck` in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically. Below are the contribution guidelines: https://github.com/apache/camel/blob/master/CONTRIBUTING.md 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] johnpoth commented on issue #1635: Add command completion for kamel
johnpoth commented on issue #1635: URL: https://github.com/apache/camel-k/issues/1635#issuecomment-662907875 thanks @lburgazzoli ! It's not working for me but I'll look into it and respond here or open a PR ASAP 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