This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-spring-boot-4.18.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/camel-spring-boot-4.18.x by
this push:
new 5a789d3896c CAMEL-23716: align RawPayloadTest header constants with
renamed Salesforce headers (#1833)
5a789d3896c is described below
commit 5a789d3896cd18b47606e328e7705d5c6f9d11d3
Author: Marco Carletti <[email protected]>
AuthorDate: Tue Jun 30 14:52:43 2026 +0200
CAMEL-23716: align RawPayloadTest header constants with renamed Salesforce
headers (#1833)
The CAMEL-23716 commit renamed Salesforce header string values from short
names (sObjectId, sObjectIdValue) to CamelSalesforce-prefixed names
(CamelSalesforceSObjectId, CamelSalesforceSObjectIdValue). The plain Camel
test was updated but the camel-spring-boot copy still used hardcoded literal
strings, causing 10/39 test variants to fail.
Use SalesforceEndpointConfig constants instead of literal strings.
---
.../apache/camel/component/salesforce/springboot/RawPayloadTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/components-starter/camel-salesforce-starter/src/test/java/org/apache/camel/component/salesforce/springboot/RawPayloadTest.java
b/components-starter/camel-salesforce-starter/src/test/java/org/apache/camel/component/salesforce/springboot/RawPayloadTest.java
index d110984a426..c33adbe7215 100644
---
a/components-starter/camel-salesforce-starter/src/test/java/org/apache/camel/component/salesforce/springboot/RawPayloadTest.java
+++
b/components-starter/camel-salesforce-starter/src/test/java/org/apache/camel/component/salesforce/springboot/RawPayloadTest.java
@@ -167,8 +167,8 @@ public class RawPayloadTest extends
AbstractSalesforceTestBase {
requestBody = "{ \"request\" : \"mock\" }";
}
headers = new HashMap<>();
- headers.put("sObjectId", "mockId");
- headers.put("sObjectIdValue", "mockIdValue");
+ headers.put(SalesforceEndpointConfig.SOBJECT_ID, "mockId");
+ headers.put(SalesforceEndpointConfig.SOBJECT_EXT_ID_VALUE,
"mockIdValue");
headers.put("id", "mockId");
headers.put(SalesforceEndpointConfig.APEX_QUERY_PARAM_PREFIX +
"id", "mockId");