Skip to content

Commit

Permalink
👌 IMPROVE: Salesforce test endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jpontdia committed Nov 3, 2023
1 parent f2793e6 commit bb39293
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>078efef1-d139-48ed-92f5-f8d4a0592374</groupId>
<artifactId>common-core</artifactId>
<version>1.0.24</version>
<version>1.0.25</version>
<packaging>mule-application</packaging>
<name>common-core</name>
<description>Shared Mule library that provides reusable flows, resources and configuration settings common for all applications</description>
Expand Down
8 changes: 5 additions & 3 deletions src/main/mule/test-salesforce-endpoint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@
config-ref="GlobalSalesforceConfig">

<salesforce:salesforce-query ><![CDATA[
SELECT firstName__c, lastName__c, address__c, Id
FROM Customer__c
SELECT Id
FROM Contact
WHERE Id ='a018b00000z9s56AAA'
]]>
</salesforce:salesforce-query>
</salesforce:query>
<logger level="INFO" doc:name="show payload" message="#[payload]"/>
<logger doc:name="show payload"
level="INFO"
message="#[output application/json --- if ( payload != null) payload else 'No records found']"/>
</flow>
</mule>

0 comments on commit bb39293

Please sign in to comment.