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 55c5f16  [create-pull-request] automated change
55c5f16 is described below

commit 55c5f162915320048079dd9a064c55dde5ab894a
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Nov 25 00:46:15 2020 +0000

    [create-pull-request] automated change
---
 .../springboot/catalog/components/salesforce.json    |  3 ++-
 .../src/main/docs/salesforce-starter.adoc            |  5 +++--
 .../springboot/SalesforceComponentConfiguration.java | 20 +++++++++++++++++---
 docs/modules/ROOT/pages/salesforce-starter.adoc      |  5 +++--
 4 files changed, 25 insertions(+), 8 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json
index ddd5718..20a11ac 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/salesforce.json
@@ -36,6 +36,7 @@
     "httpClientConnectionTimeout": { "kind": "property", "displayName": "Http 
Client Connection Timeout", "group": "common", "label": "common", "required": 
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": 60000, "description": "Connection 
timeout used by the HttpClient when connecting to the Salesforce server." },
     "httpClientIdleTimeout": { "kind": "property", "displayName": "Http Client 
Idle Timeout", "group": "common", "label": "common", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 10000, "description": "Timeout used by the 
HttpClient when waiting for response from the Salesforce server." },
     "httpMaxContentLength": { "kind": "property", "displayName": "Http Max 
Content Length", "group": "common", "label": "common", "required": false, 
"type": "integer", "javaType": "java.lang.Integer", "deprecated": false, 
"autowired": false, "secret": false, "description": "Max content length of an 
HTTP response." },
+    "httpRequestBufferSize": { "kind": "property", "displayName": "Http 
Request Buffer Size", "group": "common", "label": "common", "required": false, 
"type": "integer", "javaType": "java.lang.Integer", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "8192", "description": 
"HTTP request buffer size. May need to be increased for large SOQL queries." },
     "includeDetails": { "kind": "property", "displayName": "Include Details", 
"group": "common", "label": "", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Include details in Salesforce1 
Analytics report, defaults to false." },
     "initialReplayIdMap": { "kind": "property", "displayName": "Initial Replay 
Id Map", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.util.Map<java.lang.String, java.lang.Long>", "deprecated": 
false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Replay IDs to start from per 
channel name." },
     "instanceId": { "kind": "property", "displayName": "Instance Id", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Salesforce1 Analytics report 
execution instance ID" },
@@ -50,7 +51,7 @@
     "notifyForOperationUndelete": { "kind": "property", "displayName": "Notify 
For Operation Undelete", "group": "common", "label": "", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Notify for un-delete operation, 
defaults to false (API version = 29.0)" },
     "notifyForOperationUpdate": { "kind": "property", "displayName": "Notify 
For Operation Update", "group": "common", "label": "", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Notify for update operation, 
defaults to false (API version = 29.0)" },
     "objectMapper": { "kind": "property", "displayName": "Object Mapper", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "com.fasterxml.jackson.databind.ObjectMapper", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Custom Jackson ObjectMapper to 
use when serializing\/deserializing Salesforce objects." },
-    "packages": { "kind": "property", "displayName": "Packages", "group": 
"common", "label": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "In what packages are the generated DTO classes. Typically the 
classes would be generated using camel-salesforce-maven-plugin. Set it if using 
the generated DTOs to gain the benefit of using short SObject names in 
parameters\/header values. Multip [...]
+    "packages": { "kind": "property", "displayName": "Packages", "group": 
"common", "label": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "In what packages are the generated DTO classes. Typically the 
classes would be generated using camel-salesforce-maven-plugin. This must be 
set if using the XML format. Also, set it if using the generated DTOs to gain 
the benefit of using short SO [...]
     "rawPayload": { "kind": "property", "displayName": "Raw Payload", "group": 
"common", "label": "", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Use raw payload String for 
request and response (either JSON or XML depending on format), instead of DTOs, 
false [...]
     "reportId": { "kind": "property", "displayName": "Report Id", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Salesforce1 Analytics report 
Id" },
     "reportMetadata": { "kind": "property", "displayName": "Report Metadata", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": 
"org.apache.camel.component.salesforce.api.dto.analytics.reports.ReportMetadata",
 "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.salesforce.SalesforceEndpointConfig", 
"configurationField": "config", "description": "Salesforce1 Analytics report 
metadata for filtering" },
diff --git 
a/components-starter/camel-salesforce-starter/src/main/docs/salesforce-starter.adoc
 
b/components-starter/camel-salesforce-starter/src/main/docs/salesforce-starter.adoc
index 5d227d9..5ba0511 100644
--- 
a/components-starter/camel-salesforce-starter/src/main/docs/salesforce-starter.adoc
+++ 
b/components-starter/camel-salesforce-starter/src/main/docs/salesforce-starter.adoc
@@ -17,7 +17,7 @@ When using salesforce with Spring Boot make sure to use the 
following Maven depe
 ----
 
 
-The component supports 73 options, which are listed below.
+The component supports 74 options, which are listed below.
 
 
 
@@ -56,6 +56,7 @@ The component supports 73 options, which are listed below.
 | *camel.component.salesforce.http-proxy-socks4* | If set to true the 
configures the HTTP proxy to use as a SOCKS4 proxy. | false | Boolean
 | *camel.component.salesforce.http-proxy-use-digest-auth* | If set to true 
Digest authentication will be used when authenticating to the HTTP proxy, 
otherwise Basic authorization method will be used | false | Boolean
 | *camel.component.salesforce.http-proxy-username* | Username to use to 
authenticate against the HTTP proxy server. |  | String
+| *camel.component.salesforce.http-request-buffer-size* | HTTP request buffer 
size. May need to be increased for large SOQL queries. | 8192 | Integer
 | *camel.component.salesforce.include-details* | Include details in 
Salesforce1 Analytics report, defaults to false. |  | Boolean
 | *camel.component.salesforce.initial-replay-id-map* | Replay IDs to start 
from per channel name. |  | Map
 | *camel.component.salesforce.instance-id* | Salesforce1 Analytics report 
execution instance ID |  | String
@@ -77,7 +78,7 @@ The component supports 73 options, which are listed below.
 | *camel.component.salesforce.notify-for-operation-update* | Notify for update 
operation, defaults to false (API version = 29.0) |  | Boolean
 | *camel.component.salesforce.notify-for-operations* | Notify for operations, 
options are ALL, CREATE, EXTENDED, UPDATE (API version 29.0) |  | 
NotifyForOperationsEnum
 | *camel.component.salesforce.object-mapper* | Custom Jackson ObjectMapper to 
use when serializing/deserializing Salesforce objects. The option is a 
com.fasterxml.jackson.databind.ObjectMapper type. |  | ObjectMapper
-| *camel.component.salesforce.packages* | In what packages are the generated 
DTO classes. Typically the classes would be generated using 
camel-salesforce-maven-plugin. Set it if using the generated DTOs to gain the 
benefit of using short SObject names in parameters/header values. Multiple 
packages can be separated by comma. |  | String
+| *camel.component.salesforce.packages* | In what packages are the generated 
DTO classes. Typically the classes would be generated using 
camel-salesforce-maven-plugin. This must be set if using the XML format. Also, 
set it if using the generated DTOs to gain the benefit of using short SObject 
names in parameters/header values. Multiple packages can be separated by comma. 
|  | String
 | *camel.component.salesforce.password* | Password used in OAuth flow to gain 
access to access token. It's easy to get started with password OAuth flow, but 
in general one should avoid it as it is deemed less secure than other flows. 
Make sure that you append security token to the end of the password if using 
one. |  | String
 | *camel.component.salesforce.raw-payload* | Use raw payload String for 
request and response (either JSON or XML depending on format), instead of DTOs, 
false by default | false | Boolean
 | *camel.component.salesforce.refresh-token* | Refresh token already obtained 
in the refresh token OAuth flow. One needs to setup a web application and 
configure a callback URL to receive the refresh token, or configure using the 
builtin callback at \https://login.salesforce.com/services/oauth2/success or 
\https://test.salesforce.com/services/oauth2/success and then retrive the 
refresh_token from the URL at the end of the flow. Note that in development 
organizations Salesforce allows hos [...]
diff --git 
a/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
 
b/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
index 3c6c66f..d2343ed 100644
--- 
a/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
+++ 
b/components-starter/camel-salesforce-starter/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
@@ -110,6 +110,11 @@ public class SalesforceComponentConfiguration
      */
     private Integer httpMaxContentLength;
     /**
+     * HTTP request buffer size. May need to be increased for large SOQL
+     * queries.
+     */
+    private Integer httpRequestBufferSize = 8192;
+    /**
      * Include details in Salesforce1 Analytics report, defaults to false.
      */
     private Boolean includeDetails;
@@ -175,9 +180,10 @@ public class SalesforceComponentConfiguration
     private ObjectMapper objectMapper;
     /**
      * In what packages are the generated DTO classes. Typically the classes
-     * would be generated using camel-salesforce-maven-plugin. Set it if using
-     * the generated DTOs to gain the benefit of using short SObject names in
-     * parameters/header values. Multiple packages can be separated by comma.
+     * would be generated using camel-salesforce-maven-plugin. This must be set
+     * if using the XML format. Also, set it if using the generated DTOs to 
gain
+     * the benefit of using short SObject names in parameters/header values.
+     * Multiple packages can be separated by comma.
      */
     private String packages;
     /**
@@ -524,6 +530,14 @@ public class SalesforceComponentConfiguration
         this.httpMaxContentLength = httpMaxContentLength;
     }
 
+    public Integer getHttpRequestBufferSize() {
+        return httpRequestBufferSize;
+    }
+
+    public void setHttpRequestBufferSize(Integer httpRequestBufferSize) {
+        this.httpRequestBufferSize = httpRequestBufferSize;
+    }
+
     public Boolean getIncludeDetails() {
         return includeDetails;
     }
diff --git a/docs/modules/ROOT/pages/salesforce-starter.adoc 
b/docs/modules/ROOT/pages/salesforce-starter.adoc
index 5d227d9..5ba0511 100644
--- a/docs/modules/ROOT/pages/salesforce-starter.adoc
+++ b/docs/modules/ROOT/pages/salesforce-starter.adoc
@@ -17,7 +17,7 @@ When using salesforce with Spring Boot make sure to use the 
following Maven depe
 ----
 
 
-The component supports 73 options, which are listed below.
+The component supports 74 options, which are listed below.
 
 
 
@@ -56,6 +56,7 @@ The component supports 73 options, which are listed below.
 | *camel.component.salesforce.http-proxy-socks4* | If set to true the 
configures the HTTP proxy to use as a SOCKS4 proxy. | false | Boolean
 | *camel.component.salesforce.http-proxy-use-digest-auth* | If set to true 
Digest authentication will be used when authenticating to the HTTP proxy, 
otherwise Basic authorization method will be used | false | Boolean
 | *camel.component.salesforce.http-proxy-username* | Username to use to 
authenticate against the HTTP proxy server. |  | String
+| *camel.component.salesforce.http-request-buffer-size* | HTTP request buffer 
size. May need to be increased for large SOQL queries. | 8192 | Integer
 | *camel.component.salesforce.include-details* | Include details in 
Salesforce1 Analytics report, defaults to false. |  | Boolean
 | *camel.component.salesforce.initial-replay-id-map* | Replay IDs to start 
from per channel name. |  | Map
 | *camel.component.salesforce.instance-id* | Salesforce1 Analytics report 
execution instance ID |  | String
@@ -77,7 +78,7 @@ The component supports 73 options, which are listed below.
 | *camel.component.salesforce.notify-for-operation-update* | Notify for update 
operation, defaults to false (API version = 29.0) |  | Boolean
 | *camel.component.salesforce.notify-for-operations* | Notify for operations, 
options are ALL, CREATE, EXTENDED, UPDATE (API version 29.0) |  | 
NotifyForOperationsEnum
 | *camel.component.salesforce.object-mapper* | Custom Jackson ObjectMapper to 
use when serializing/deserializing Salesforce objects. The option is a 
com.fasterxml.jackson.databind.ObjectMapper type. |  | ObjectMapper
-| *camel.component.salesforce.packages* | In what packages are the generated 
DTO classes. Typically the classes would be generated using 
camel-salesforce-maven-plugin. Set it if using the generated DTOs to gain the 
benefit of using short SObject names in parameters/header values. Multiple 
packages can be separated by comma. |  | String
+| *camel.component.salesforce.packages* | In what packages are the generated 
DTO classes. Typically the classes would be generated using 
camel-salesforce-maven-plugin. This must be set if using the XML format. Also, 
set it if using the generated DTOs to gain the benefit of using short SObject 
names in parameters/header values. Multiple packages can be separated by comma. 
|  | String
 | *camel.component.salesforce.password* | Password used in OAuth flow to gain 
access to access token. It's easy to get started with password OAuth flow, but 
in general one should avoid it as it is deemed less secure than other flows. 
Make sure that you append security token to the end of the password if using 
one. |  | String
 | *camel.component.salesforce.raw-payload* | Use raw payload String for 
request and response (either JSON or XML depending on format), instead of DTOs, 
false by default | false | Boolean
 | *camel.component.salesforce.refresh-token* | Refresh token already obtained 
in the refresh token OAuth flow. One needs to setup a web application and 
configure a callback URL to receive the refresh token, or configure using the 
builtin callback at \https://login.salesforce.com/services/oauth2/success or 
\https://test.salesforce.com/services/oauth2/success and then retrive the 
refresh_token from the URL at the end of the flow. Note that in development 
organizations Salesforce allows hos [...]

Reply via email to