Skip to content

Commit

Permalink
🐛 Source Salesforce: filter out objects not supported by the Bulk API (
Browse files Browse the repository at this point in the history
…#17453)

* 🐛 Source Salesforce: filter out objects not supported by the Bulk API

* 🐛 Source Salesforce: Docs update & Bump version

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
artem1205 and octavia-squidington-iii committed Sep 30, 2022
1 parent f2e0c71 commit 8edee1f
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
Expand Up @@ -931,7 +931,7 @@
- name: Salesforce
sourceDefinitionId: b117307c-14b6-41aa-9422-947e34922962
dockerRepository: airbyte/source-salesforce
dockerImageTag: 1.0.19
dockerImageTag: 1.0.20
documentationUrl: https://docs.airbyte.io/integrations/sources/salesforce
icon: salesforce.svg
sourceType: api
Expand Down
Expand Up @@ -9763,7 +9763,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-salesforce:1.0.19"
- dockerImage: "airbyte/source-salesforce:1.0.20"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/salesforce"
connectionSpecification:
Expand Down
Expand Up @@ -13,6 +13,6 @@ RUN pip install .

ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=1.0.19
LABEL io.airbyte.version=1.0.20

LABEL io.airbyte.name=airbyte/source-salesforce
Expand Up @@ -127,15 +127,13 @@
"UserRecordAccess",
]

# The following objects are not supported by the Bulk API. Listed objects are version specific.
UNSUPPORTED_BULK_API_SALESFORCE_OBJECTS = [
"AcceptedEventRelation",
"AssetTokenEvent",
"AttachedContentNote",
"Attachment",
"CaseStatus",
"ContractStatus",
"DeclinedEventRelation",
"EventWhoRelation",
"FieldSecurityClassification",
"KnowledgeArticle",
"KnowledgeArticleVersion",
Expand All @@ -144,13 +142,12 @@
"KnowledgeArticleVoteStat",
"OrderStatus",
"PartnerRole",
"QuoteTemplateRichTextData",
"RecentlyViewed",
"ServiceAppointmentStatus",
"ShiftStatus",
"SolutionStatus",
"TaskPriority",
"TaskStatus",
"TaskWhoRelation",
"UndecidedEventRelation",
]

Expand Down
16 changes: 10 additions & 6 deletions docs/integrations/sources/salesforce.md
Expand Up @@ -90,23 +90,25 @@ Airbyte fetches and handles all the possible and available streams dynamically b
**Note:** [BULK API](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) cannot be used to receive data from the following streams due to Salesforce API limitations. The Salesforce connector syncs them using the REST API which will occasionally cost more of your API quota:

* AcceptedEventRelation
* AssetTokenEvent
* AttachedContentNote
* Attachment
* CaseStatus
* ContractStatus
* DeclinedEventRelation
* EventWhoRelation
* FieldSecurityClassification
* KnowledgeArticle
* KnowledgeArticleVersion
* KnowledgeArticleVersionHistory
* KnowledgeArticleViewStat
* KnowledgeArticleVoteStat
* OrderStatus
* PartnerRole
* QuoteTemplateRichTextData
* RecentlyViewed
* ServiceAppointmentStatus
* ShiftStatus
* SolutionStatus
* TaskPriority
* TaskStatus
* TaskWhoRelation
* UndecidedEventRelation

## Salesforce tutorials

Expand All @@ -118,7 +120,9 @@ Now that you have set up the Salesforce source connector, check out the followin
## Changelog

| Version | Date | Pull Request | Subject |
| :------ | :--------- | :------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------- |
|:--------|:-----------|:---------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------|
| 1.0.20 | 2022-09-30 | [17453](https://github.com/airbytehq/airbyte/pull/17453) | Check objects that are not supported by the Bulk API (v52.0) |
| 1.0.19 | 2022-09-29 | [17314](https://github.com/airbytehq/airbyte/pull/17314) | Fixed bug with decoding response |
| 1.0.18 | 2022-09-28 | [17304](https://github.com/airbytehq/airbyte/pull/17304) | Migrate to per-stream states. |
| 1.0.17 | 2022-09-23 | [17094](https://github.com/airbytehq/airbyte/pull/17094) | Tune connection check: fetch a list of available streams |
| 1.0.16 | 2022-09-21 | [17001](https://github.com/airbytehq/airbyte/pull/17001) | Improve writing file of decode |
Expand Down

0 comments on commit 8edee1f

Please sign in to comment.