SEED Salesforce Connection
The SEED Salesforce connection enables data exchange between a SEED instance and a Salesforce instance.
Getting Started
Clone this repository, then install the poetry-based dependencies.
pip install poetry
poetry install
Configuring
The Salesforce configuration file is needed for this library to function correctly.
Salesforce
Copy salesforce-config-example.json to salesforce-config-dev.json and fill
in with the correct credentials. The format of the Salesforce should contain the following:
{
"instance": "https://<url>.lightning.force.com",
"username": "user@company.com",
"password": "secure-password",
"security_token": "secure-token"
"domain": ""
}
IMPORTANT: If you are connecting to a sandbox Salesforce environment, make sure to add "domain": "test" to the salesforce-config-dev.json file or authentication will fail.
Running Tests
Make sure to add and configure the Salesforce configuration file. Note that it must be named salesforce-config-dev.json for the tests to run correctly.
Run the tests using:
poetry run pytest
GitHub Actions
The credentials are stored in a GitHub Action Secret. Add the following with correctly filled out information to a secret key named SALESFORCE_CONFIG:
Note that double quotes must be escaped.
{
\"instance\": \"https://<environment>.lightning.force.com\",
\"username\": \"user@somedomain.com\",
\"password\": \"alongpassword!asdf\",
\"security_token\": \"access1key2with3numbers\",
\"domain\": \"test\"
}
Metadata
Release files for seed-salesforce 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| seed_salesforce-0.2.0.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| seed_salesforce-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.4 kB
Release files / seed_salesforce-0.2.0.tar.gz
| Download URL | seed_salesforce-0.2.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7559af4d95d367c94610a78832d1f95ffd54735f34b146cca3408c3ccaaeb322
|
|
BLAKE2b-256 checksum How to use checksums |
aa7a3616e3faac0693ccd0172e69113ce261db0e0e9943ce389e887cd4f3af6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.9.4 Darwin/23.6.0
|
Release files / seed_salesforce-0.2.0-py3-none-any.whl
| Download URL | seed_salesforce-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63b205d1ab329264868c612d53d60007605dc86d081b24de9483815c0f8dbaba
|
|
BLAKE2b-256 checksum How to use checksums |
89fa625cf2cfb6f2883c36e5cd55b6f25fe21b040033ee844295866d0dff72ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.9.4 Darwin/23.6.0
|