-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Source Close.com: migration to low-code (#18968)
* Source Close.com: migration to low-code * Source Close.com: bump version; update changelog * Source Close.com: documentation structure standartization * Source Close.com: making connector to be prepared to beta * Source Close.com: migrate SAT config to new version * Source Close.com: unit tests for custom components Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
- Loading branch information
1 parent
3532931
commit ab44197
Showing
21 changed files
with
1,344 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 43 additions & 18 deletions
61
airbyte-integrations/connectors/source-close-com/acceptance-test-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,52 @@ | ||
# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) | ||
# for more information about how to configure these tests | ||
connector_image: airbyte/source-close-com:dev | ||
tests: | ||
acceptance_tests: | ||
spec: | ||
- spec_path: "source_close_com/spec.json" | ||
tests: | ||
- spec_path: "source_close_com/spec.json" | ||
connection: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/invalid_config.json" | ||
status: "failed" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/invalid_config.json" | ||
status: "failed" | ||
discovery: | ||
- config_path: "secrets/config.json" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
# Some field types was changed for streams. | ||
# custom_activities: id field was added | ||
# custom_email_connected_accounts: imap field was changed to object | ||
# smart_views: imap field was changed to object | ||
backward_compatibility_tests_config: | ||
disable_for_version: "0.1.0" | ||
basic_read: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
empty_streams: ["meeting_activities", "missed_call_tasks", "email_followup_tasks", "answered_detached_call_tasks", | ||
"incoming_sms_tasks", "zoom_connected_accounts", "custom_email_connected_accounts", | ||
"google_connected_accounts", "send_as", "email_sequences", "dialer", "email_bulk_actions", | ||
"sequence_subscription_bulk_actions", "delete_bulk_actions"] | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
expect_records: | ||
path: "integration_tests/expected_records.txt" | ||
extra_fields: no | ||
exact_order: no | ||
extra_records: yes | ||
empty_streams: | ||
- name: missed_call_tasks | ||
bypass_reason: "unable to populate" | ||
- name: answered_detached_call_tasks | ||
bypass_reason: "unable to populate" | ||
- name: incoming_sms_tasks | ||
bypass_reason: "unable to populate" | ||
- name: send_as | ||
bypass_reason: "unable to populate" | ||
- name: voicemail_tasks | ||
bypass_reason: "unable to populate" | ||
incremental: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
future_state: | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
full_refresh: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" |
2 changes: 1 addition & 1 deletion
2
airbyte-integrations/connectors/source-close-com/acceptance-test-docker.sh
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
679 changes: 679 additions & 0 deletions
679
airbyte-integrations/connectors/source-close-com/integration_tests/expected_records.txt
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
airbyte-integrations/connectors/source-close-com/integration_tests/invalid_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"api_key": "api_wrong", | ||
"start_date": "2021-01-01" | ||
"start_date": "2021-01-01T00:00:00.000000+00:00" | ||
} |
2 changes: 1 addition & 1 deletion
2
airbyte-integrations/connectors/source-close-com/integration_tests/sample_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"api_key": "api_1234567890", | ||
"start_date": "2021-01-01" | ||
"start_date": "2021-01-01T00:00:00.000000+00:00" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.