You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by je...@apache.org on 2021/12/05 22:21:28 UTC

[camel] branch main updated (8c5d470 -> dfc3526)

This is an automated email from the ASF dual-hosted git repository.

jeremyross pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 8c5d470  Regen for commit f6f122954698bd32c6f90c1c7bfc7fe20d685c3d
     new 2df724d  camel-salesforce: Fix allOrNone option
     new dfc3526  camel-salesforce: Doc fix.

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:
 .../src/main/docs/salesforce-component.adoc                           | 4 ++--
 .../internal/processor/CompositeSObjectCollectionsProcessor.java      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

[camel] 02/02: camel-salesforce: Doc fix.

Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jeremyross pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit dfc3526238f82130a51628072c7f4fec07d5c50b
Author: Jeremy Ross <je...@gmail.com>
AuthorDate: Sun Dec 5 16:16:10 2021 -0600

    camel-salesforce: Doc fix.
---
 .../src/main/docs/salesforce-component.adoc                           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc b/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc
index f25af90..70b6073 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc
@@ -784,8 +784,8 @@ Delete up to 200 records, returning a list of DeleteSObjectResult objects. Mixed
 |===
 | Parameter | Type | Description | Default | Required
 
-| ids | List of String or comma-separated string | A list of up to 200 IDs of objects to be deleted. | | x
-| allOrNone | boolean | Indicates whether to roll back the entire request when the upsert of any object fails (true) or to continue with the independent upsert of other objects in the request. | false |
+| `sObjectIds` or request body | List of String or comma-separated string | A list of up to 200 IDs of objects to be deleted. | | x
+| `allOrNone` | boolean | Indicates whether to roll back the entire request when the upsert of any object fails (true) or to continue with the independent upsert of other objects in the request. | false |
 |===
 
 

[camel] 01/02: camel-salesforce: Fix allOrNone option

Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jeremyross pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 2df724d5b357da7118e4b0c14b7c0da899089ced
Author: Jeremy Ross <je...@gmail.com>
AuthorDate: Sun Dec 5 16:15:38 2021 -0600

    camel-salesforce: Fix allOrNone option
    
    It shouldn't come from message body.
---
 .../internal/processor/CompositeSObjectCollectionsProcessor.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/processor/CompositeSObjectCollectionsProcessor.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/processor/CompositeSObjectCollectionsProcessor.java
index 276007a..98319a7 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/processor/CompositeSObjectCollectionsProcessor.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/processor/CompositeSObjectCollectionsProcessor.java
@@ -144,7 +144,7 @@ public class CompositeSObjectCollectionsProcessor extends AbstractSalesforceProc
             throws SalesforceException {
         List<String> ids = getListParameter(SalesforceEndpointConfig.SOBJECT_IDS, exchange, USE_BODY, NOT_OPTIONAL);
         boolean allOrNone = Boolean.parseBoolean(
-                getParameter(SalesforceEndpointConfig.ALL_OR_NONE, exchange, USE_BODY, IS_OPTIONAL));
+                getParameter(SalesforceEndpointConfig.ALL_OR_NONE, exchange, IGNORE_BODY, IS_OPTIONAL));
         compositeClient.submitDeleteCompositeCollections(ids, allOrNone, determineHeaders(exchange),
                 (response, responseHeaders, exception) -> processResponse(exchange, response,
                         responseHeaders, exception, callback));