diff --git a/airbyte-integrations/connectors/destination-salesforce/destination_salesforce/spec.yaml b/airbyte-integrations/connectors/destination-salesforce/destination_salesforce/spec.yaml index 164284c4295f..03d97298b8ac 100644 --- a/airbyte-integrations/connectors/destination-salesforce/destination_salesforce/spec.yaml +++ b/airbyte-integrations/connectors/destination-salesforce/destination_salesforce/spec.yaml @@ -1,7 +1,7 @@ documentationUrl: https://docs.airbyte.com/integrations/destinations/salesforce supported_destination_sync_modes: - append -supportsIncremental: true +supportsIncremental: false connectionSpecification: $schema: http://json-schema.org/draft-07/schema# title: Destination Salesforce diff --git a/airbyte-integrations/connectors/destination-salesforce/integration_tests/configured_catalog.json b/airbyte-integrations/connectors/destination-salesforce/integration_tests/configured_catalog.json index d6d8e0e63b7c..a34668eaeee5 100644 --- a/airbyte-integrations/connectors/destination-salesforce/integration_tests/configured_catalog.json +++ b/airbyte-integrations/connectors/destination-salesforce/integration_tests/configured_catalog.json @@ -4,7 +4,7 @@ "stream": { "name": "append_stream", "supported_sync_modes": [ - "incremental" + "full_refresh" ], "source_defined_cursor": false, "json_schema": { @@ -22,7 +22,7 @@ } } }, - "sync_mode": "incremental", + "sync_mode": "full_refresh", "destination_sync_mode": "append" } ] diff --git a/airbyte-integrations/connectors/destination-salesforce/integration_tests/integration_test.py b/airbyte-integrations/connectors/destination-salesforce/integration_tests/integration_test.py index 89a837370af8..b3144af649f6 100644 --- a/airbyte-integrations/connectors/destination-salesforce/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/destination-salesforce/integration_tests/integration_test.py @@ -41,8 +41,8 @@ def configured_catalog_fixture() -> ConfiguredAirbyteCatalog: } append_stream = ConfiguredAirbyteStream( - stream=AirbyteStream(name="append_stream", json_schema=stream_schema, supported_sync_modes=[SyncMode.incremental]), - sync_mode=SyncMode.incremental, + stream=AirbyteStream(name="append_stream", json_schema=stream_schema, supported_sync_modes=[SyncMode.full_refresh]), + sync_mode=SyncMode.full_refresh, destination_sync_mode=DestinationSyncMode.append, ) return ConfiguredAirbyteCatalog(streams=[append_stream]) diff --git a/airbyte-integrations/connectors/destination-salesforce/integration_tests/messages.jsonl b/airbyte-integrations/connectors/destination-salesforce/integration_tests/messages.jsonl index 17a138c6381e..6b8052fecf2a 100644 --- a/airbyte-integrations/connectors/destination-salesforce/integration_tests/messages.jsonl +++ b/airbyte-integrations/connectors/destination-salesforce/integration_tests/messages.jsonl @@ -1 +1 @@ -{"type": "RECORD", "record": {"stream": "append_stream", "emitted_at": 1664705198575, "data": { "Id": "00169000035I068AAC", "Name": null, "phone_number_4__c":"06"}}} +{"type": "RECORD", "record": {"stream": "append_stream", "emitted_at": 1664705198575, "data": { "Id": "0016900003BTkScAAL", "Name": "Data test", "phone_number_4__c":"06", "ceci_est_test": "un_test"}}}