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

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


The following commit(s) were added to refs/heads/main by this push:
     new 080bded  📝 Improve documentation on setting up the Salesforce 
developer account
080bded is described below

commit 080bdedc9e3d620d49a9010cdde5c7592e680325
Author: Zineb Bendhiba <[email protected]>
AuthorDate: Tue Jan 18 15:38:13 2022 +0100

    📝 Improve documentation on setting up the Salesforce developer account
---
 integration-tests/salesforce/README.adoc | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/integration-tests/salesforce/README.adoc 
b/integration-tests/salesforce/README.adoc
index 703636c..0326d90 100644
--- a/integration-tests/salesforce/README.adoc
+++ b/integration-tests/salesforce/README.adoc
@@ -2,16 +2,23 @@
 
 By default, the Salesforce integration tests use WireMock to stub the API 
interactions.
 
-IMPORTANT: Note that when using Wiremock, the Change Data Capture Events test 
is disabled.
+IMPORTANT: Note that when using Wiremock, the Change Data Capture Events test, 
and the Platform event test are disabled.
 
 To run `camel-quarkus-salesforce` integration tests using Salesforce API 
interactions, you must first create a Salesforce developer account 
https://developer.salesforce.com/.
 
-Next create a new 'Connected App' from the app manager page. You may need to 
adjust the OAuth policy settings for
-`Permitted Users` and also `IP Relaxation` rules, depending on your needs. 
Also enable Change Data Capture for the 'Account' entity by visiting the 
Integrations -> Change Data Capture page.
+Next create a new 'Connected App' by visiting Apps  -> App Manager page. In 
the form, enable OAuth Settings, and set those fields.
+* Set a value for the callback URL (example : 
https://login.salesforce.com/oauth2/callback](https://login.salesforce.com/oauth2/callback)
+* Add OAuth Scopes: (example Full access (Full))
 
-Next create a document named 'test'.
+You may need to adjust the OAuth policy settings for `Permitted Users` and 
also `IP Relaxation` rules, depending on your needs. If needed, this can be 
achieved by visiting  Apps  -> Connected Apps -> Manage connected apps page.
 
-Next create a new Platform Event named `TestEvent`  by visiting the 
Integrations -> Platform Events. Set Publish Behavior to `Publish Immediately`. 
Update the Platform Event, add a new Custom Field of type `Text`, named 
`Test_Field`. Set its length to 30.
+Next add your profile to the list of authorized profiles. Go to App -> App 
Manager page. Select your connected app, and click on Manage. Scroll to 
Profiles, and select Manage Profiles. Add your profile to the list.
+
+Next enable 'Change Data Capture' for the 'Account' entity by visiting the 
Integrations -> Change Data Capture page.
+
+Next create a new 'Platform Event' named `TestEvent`  by visiting the 
Integrations -> Platform Events. Set Publish Behavior to `Publish Immediately`. 
Update the Platform Event, add a new Custom Field of type `Text`, named 
`Test_Field`. Set its length to 30.
+
+Next create a document named 'test'. This can be accessed from the Global 
Actions menu. In case you can't find it, you can switch to Salesforce classical 
view.
 
 You can find the app OAuth settings by choosing the 'view' option from the app 
manager page. Then set the following environment variables.
 

Reply via email to