From 47e92d90c111f1eb4cebbd4390e04e01a95243fe Mon Sep 17 00:00:00 2001 From: a-rampalli Date: Thu, 17 Aug 2023 17:14:07 +0530 Subject: [PATCH 1/4] fix: fixes date format issue --- .../connectors/source-salesforce/source_salesforce/spec.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/airbyte-integrations/connectors/source-salesforce/source_salesforce/spec.yaml b/airbyte-integrations/connectors/source-salesforce/source_salesforce/spec.yaml index 2b9af4aca194..b0848567e18b 100644 --- a/airbyte-integrations/connectors/source-salesforce/source_salesforce/spec.yaml +++ b/airbyte-integrations/connectors/source-salesforce/source_salesforce/spec.yaml @@ -37,7 +37,6 @@ connectionSpecification: pattern: >- ^([0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}Z)?)$ examples: - - "2021-07-25" - "2021-07-25T00:00:00Z" format: date-time order: 5 From cfefc286f5de1f2e4f9009beeb6012ce8df1cb5e Mon Sep 17 00:00:00 2001 From: a-rampalli Date: Fri, 18 Aug 2023 12:45:09 +0530 Subject: [PATCH 2/4] fix: fixes failing streams --- .../connectors/source-salesforce/source_salesforce/api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py b/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py index 1e839fd67edb..db33a3c1c39e 100644 --- a/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py +++ b/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py @@ -125,6 +125,7 @@ "SessionHijackingEvent", "UriEventStream", "UserRecordAccess", + "DatacloudContact", ] # The following objects are not supported by the Bulk API. Listed objects are version specific. @@ -177,6 +178,7 @@ "AccountBrandShare", "AccountFeed", "AssetFeed", + "WorkStepStatus", ] UNSUPPORTED_FILTERING_STREAMS = [ @@ -199,6 +201,8 @@ "ReportEvent", "TabDefinition", "UriEvent", + "PermissionSetEventStore", + "ActivityFieldHistory", ] RESOURCE_PRIMARY_KEY_MAP = { From 0a200dfbe100dcadc7780d2843ae63d552c0b55f Mon Sep 17 00:00:00 2001 From: a-rampalli Date: Fri, 18 Aug 2023 18:02:23 +0530 Subject: [PATCH 3/4] fix: fixes FlowTestView resource error --- .../connectors/source-salesforce/source_salesforce/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py b/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py index db33a3c1c39e..eb8e50adca00 100644 --- a/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py +++ b/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py @@ -73,6 +73,7 @@ "UserEntityAccess", "UserFieldAccess", "Vote", + "FlowTestView", ] # The following objects are not supported by the query method being used. From 3cbbad8c0a62dae6c677c11197d2f30de67a4ad0 Mon Sep 17 00:00:00 2001 From: a-rampalli Date: Fri, 18 Aug 2023 19:04:11 +0530 Subject: [PATCH 4/4] fix: adds unsupported resources --- .../connectors/source-salesforce/source_salesforce/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py b/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py index eb8e50adca00..a70039828a9f 100644 --- a/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py +++ b/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py @@ -215,7 +215,7 @@ "Publisher": "DurableId", # https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_publisher.htm "ApexPageInfo": "DurableId" # https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_apexpageinfo.htm } -UNSUPPORTED_STREAMS = ["ActivityMetric", "ActivityMetricRollup"] +UNSUPPORTED_STREAMS = ["ActivityMetric", "ActivityMetricRollup", "PromotionTarget", "PromotionQualifier"] class Salesforce: