diff --git a/tap_salesforce/salesforce/bulk.py b/tap_salesforce/salesforce/bulk.py index 081db803..59952f2f 100644 --- a/tap_salesforce/salesforce/bulk.py +++ b/tap_salesforce/salesforce/bulk.py @@ -1,4 +1,4 @@ -# pylint: disable=protected-access +# pylint: disable=protected-access,use-yield-from import csv import json import sys diff --git a/tap_salesforce/salesforce/rest.py b/tap_salesforce/salesforce/rest.py index 408cd4d0..a7e0c1d5 100644 --- a/tap_salesforce/salesforce/rest.py +++ b/tap_salesforce/salesforce/rest.py @@ -1,4 +1,4 @@ -# pylint: disable=protected-access +# pylint: disable=protected-access,use-yield-from import singer import singer.utils as singer_utils from requests.exceptions import HTTPError diff --git a/tests/base.py b/tests/base.py index e9dae5ab..48e5a75d 100644 --- a/tests/base.py +++ b/tests/base.py @@ -875,6 +875,25 @@ def expected_metadata(self): 'WebStoreBuyerGroup': default, 'WebStoreCatalog': default, 'WebStoreCatalogHistory': incremental_created_date, + # added on 2024/02/19 + 'Address': default, + 'FulfillmentOrderShare': incremental_last_modified, + 'FulfillmentOrderLineItemFeed': default, + 'FulfillmentOrderItemTax': default, + 'FulfillmentOrder': default, + 'FulfillmentOrderItemTaxFeed': default, + 'FulfillmentOrderLineItem': default, + 'FulfillmentOrderItemAdjustment': default, + 'FulfillmentOrderItemAdjustmentFeed': default, + 'FulfillmentOrderFeed': default, + 'OperatingHoursShare': incremental_last_modified, + 'Shipment': default, + 'ShipmentItemHistory': incremental_created_date, + 'ShipmentHistory': incremental_created_date, + 'ShipmentShare': incremental_last_modified, + 'ShipmentItem': default, + 'ShipmentItemFeed': default, + 'ShipmentFeed': default } def rest_only_streams(self): diff --git a/tests/sfbase.py b/tests/sfbase.py index 147a827a..5a6c7e27 100644 --- a/tests/sfbase.py +++ b/tests/sfbase.py @@ -866,7 +866,26 @@ def expected_metadata(): 'WebStoreBuyerGroup': default, 'WebStoreCatalog': default, 'WebStoreCatalogHistory': incremental_created_date, - } + # added on 2024/02/19 + 'Address': default, + 'FulfillmentOrderShare': incremental_last_modified, + 'FulfillmentOrderLineItemFeed': default, + 'FulfillmentOrderItemTax': default, + 'FulfillmentOrder': default, + 'FulfillmentOrderItemTaxFeed': default, + 'FulfillmentOrderLineItem': default, + 'FulfillmentOrderItemAdjustment': default, + 'FulfillmentOrderItemAdjustmentFeed': default, + 'FulfillmentOrderFeed': default, + 'OperatingHoursShare': incremental_last_modified, + 'Shipment': default, + 'ShipmentItemHistory': incremental_created_date, + 'ShipmentHistory': incremental_created_date, + 'ShipmentShare': incremental_last_modified, + 'ShipmentItem': default, + 'ShipmentItemFeed': default, + 'ShipmentFeed': default + } @staticmethod @@ -1005,21 +1024,24 @@ def get_streams_with_data(): 'LoginHistory', 'LeadStatus', 'Lead', - 'LightningUsageByFlexiPageMetrics', 'FormulaFunctionAllowedType', 'LoginIp', - 'LightningUsageByAppTypeMetrics', 'FileSearchActivity', 'FormulaFunctionCategory', - 'LightningUsageByBrowserMetrics', 'Folder', 'FormulaFunction', 'MatchingRule', - 'LightningUsageByPageMetrics', + + # removing form the list has not getting any data + # 'LightningUsageByFlexiPageMetrics', + # 'LightningUsageByAppTypeMetrics', + # 'LightningUsageByBrowserMetrics', + # 'LightningUsageByPageMetrics', + # 'LightningToggleMetrics', + # 'LightningExitByPageMetrics', + 'LoginGeo', 'FlowDefinitionView', - 'LightningToggleMetrics', - #'LightningExitByPageMetrics', --- removing form the list has not getting any data 'PermissionSetTabSetting', 'MilestoneType', 'Period', diff --git a/tests/test_salesforce_discovery_rest.py b/tests/test_salesforce_discovery_rest.py index b5121a87..1738b5cb 100644 --- a/tests/test_salesforce_discovery_rest.py +++ b/tests/test_salesforce_discovery_rest.py @@ -139,6 +139,7 @@ def discovery_test(self): 'ApiEvent', 'WorkOrder', 'ContactCleanInfo', 'ResourceAbsence', 'ReturnOrder', 'LegalEntity', 'PaymentMethod', 'EventLogFile', 'ServiceAppointment', 'DandBCompany', 'AccountCleanInfo', 'Organization', 'Document', 'Account', + 'Address', 'FulfillmentOrder' } # verify that all other fields have inclusion of available