-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Source Hubspot: remove API Key authentication type (#18546)
* Source Hubspot: remove API Key authentication type * Source Hubspot: update changelog * Source Hubspot: update sample files * Source Hubspot: update integration test * Update hubspot.md Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
- Loading branch information
1 parent
80e5f29
commit fd13d43
Showing
19 changed files
with
102 additions
and
251 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
184 changes: 84 additions & 100 deletions
184
airbyte-integrations/connectors/source-hubspot/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,107 +1,91 @@ | ||
connector_image: airbyte/source-hubspot:dev | ||
tests: | ||
acceptance_tests: | ||
spec: | ||
- spec_path: "source_hubspot/spec.yaml" | ||
tests: | ||
- spec_path: "source_hubspot/spec.yaml" | ||
backward_compatibility_tests_config: | ||
# API Key authentication is deleted from authorization choices so it is not backward compatible with previous spec | ||
disable_for_version: "0.2.3" | ||
connection: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "secrets/config_oauth.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/invalid_config.json" | ||
status: "failed" | ||
- config_path: "integration_tests/invalid_config_oauth.json" | ||
status: "failed" | ||
- config_path: "integration_tests/invalid_config_wrong_title.json" | ||
status: "failed" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/invalid_config.json" | ||
status: "failed" | ||
- config_path: "integration_tests/invalid_config_oauth.json" | ||
status: "failed" | ||
- config_path: "integration_tests/invalid_config_wrong_title.json" | ||
status: "failed" | ||
discovery: | ||
- config_path: "secrets/config.json" | ||
backward_compatibility_tests_config: | ||
disable_for_version: "0.1.83" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
backward_compatibility_tests_config: | ||
# Quote stream is deleted so it is not backward compatible with previous discovery | ||
disable_for_version: "0.2.3" | ||
basic_read: | ||
- config_path: "secrets/config.json" | ||
timeout_seconds: 600 | ||
configured_catalog_path: "sample_files/basic_read_catalog.json" | ||
empty_streams: ["form_submissions", "ticket_pipelines", "engagements_meetings", "engagements_emails", "engagements", "engagements_calls", "quotes"] | ||
# This test commented out, since it produces errors during active testing | ||
# expect_records: | ||
# path: "integration_tests/expected_records.txt" | ||
- config_path: "secrets/config_oauth.json" | ||
timeout_seconds: 600 | ||
configured_catalog_path: "sample_files/basic_read_oauth_catalog.json" | ||
empty_streams: ["form_submissions", "ticket_pipelines", "engagements_meetings", "engagements_emails", "engagements", "engagements_calls", "quotes"] | ||
# This test commented out, since it produces errors during active testing | ||
# expect_records: | ||
# path: "integration_tests/expected_records.txt" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
timeout_seconds: 600 | ||
configured_catalog_path: "sample_files/basic_read_oauth_catalog.json" | ||
empty_streams: | ||
- name: "form_submissions" | ||
bypass_reason: "unable to populate" | ||
- name: "form_submissions" | ||
bypass_reason: "unable to populate" | ||
- name: "ticket_pipelines" | ||
bypass_reason: "unable to populate" | ||
- name: "engagements_meetings" | ||
bypass_reason: "unable to populate" | ||
- name: "engagements_emails" | ||
bypass_reason: "unable to populate" | ||
- name: "engagements" | ||
bypass_reason: "unable to populate" | ||
- name: "engagements_calls" | ||
bypass_reason: "unable to populate" | ||
- name: "quotes" | ||
bypass_reason: "unable to populate" | ||
# This test commented out, since it produces errors during active testing | ||
# expect_records: | ||
# path: "integration_tests/expected_records.txt" | ||
incremental: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "sample_files/incremental_catalog.json" | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "sample_files/incremental_catalog.json" | ||
future_state: | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
full_refresh: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "sample_files/full_refresh_catalog.json" | ||
ignored_fields: | ||
"contact_lists": [ "properties", "ilsFilterBranch" ] | ||
"companies": [ "properties", "hs_time_in_customer" ] | ||
"companies": [ "properties", "hs_time_in_evangelist" ] | ||
"companies": [ "properties", "hs_time_in_lead" ] | ||
"companies": [ "properties", "hs_time_in_marketingqualifiedlead" ] | ||
"companies": [ "properties", "hs_time_in_opportunity" ] | ||
"companies": [ "properties", "hs_time_in_other" ] | ||
"companies": [ "properties", "hs_time_in_salesqualifiedlead" ] | ||
"companies": [ "properties", "hs_time_in_subscriber" ] | ||
"contacts": [ "properties", "hs_time_in_customer" ] | ||
"contacts": [ "properties", "hs_time_in_evangelist" ] | ||
"contacts": [ "properties", "hs_time_in_lead" ] | ||
"contacts": [ "properties", "hs_time_in_marketingqualifiedlead" ] | ||
"contacts": [ "properties", "hs_time_in_opportunity" ] | ||
"contacts": [ "properties", "hs_time_in_other" ] | ||
"contacts": [ "properties", "hs_time_in_salesqualifiedlead" ] | ||
"contacts": [ "properties", "hs_time_in_subscriber" ] | ||
"deals": [ "properties", "hs_time_in_9567448" ] | ||
"deals": [ "properties", "hs_time_in_9567449" ] | ||
"deals": [ "properties", "hs_time_in_appointmentscheduled" ] | ||
"deals": [ "properties", "hs_time_in_closedlost" ] | ||
"deals": [ "properties", "hs_time_in_closedwon" ] | ||
"deals": [ "properties", "hs_time_in_contractsent" ] | ||
"deals": [ "properties", "hs_time_in_customclosedwonstage" ] | ||
"deals": [ "properties", "hs_time_in_decisionmakerboughtin" ] | ||
"deals": [ "properties", "hs_time_in_presentationscheduled" ] | ||
"deals": [ "properties", "hs_time_in_qualifiedtobuy" ] | ||
"tickets": [ "properties", "hs_time_in_1" ] | ||
"tickets": [ "properties", "hs_time_in_2" ] | ||
"tickets": [ "properties", "hs_time_in_3" ] | ||
"tickets": [ "properties", "hs_time_in_4" ] | ||
- config_path: "secrets/config_oauth.json" | ||
configured_catalog_path: "sample_files/full_refresh_oauth_catalog.json" | ||
ignored_fields: | ||
"contact_lists": [ "properties", "ilsFilterBranch" ] | ||
"companies": [ "properties", "hs_time_in_customer" ] | ||
"companies": [ "properties", "hs_time_in_evangelist" ] | ||
"companies": [ "properties", "hs_time_in_lead" ] | ||
"companies": [ "properties", "hs_time_in_marketingqualifiedlead" ] | ||
"companies": [ "properties", "hs_time_in_opportunity" ] | ||
"companies": [ "properties", "hs_time_in_other" ] | ||
"companies": [ "properties", "hs_time_in_salesqualifiedlead" ] | ||
"companies": [ "properties", "hs_time_in_subscriber" ] | ||
"contacts": [ "properties", "hs_time_in_customer" ] | ||
"contacts": [ "properties", "hs_time_in_evangelist" ] | ||
"contacts": [ "properties", "hs_time_in_lead" ] | ||
"contacts": [ "properties", "hs_time_in_marketingqualifiedlead" ] | ||
"contacts": [ "properties", "hs_time_in_opportunity" ] | ||
"contacts": [ "properties", "hs_time_in_other" ] | ||
"contacts": [ "properties", "hs_time_in_salesqualifiedlead" ] | ||
"contacts": [ "properties", "hs_time_in_subscriber" ] | ||
"deals": [ "properties", "hs_time_in_9567448" ] | ||
"deals": [ "properties", "hs_time_in_9567449" ] | ||
"deals": [ "properties", "hs_time_in_appointmentscheduled" ] | ||
"deals": [ "properties", "hs_time_in_closedlost" ] | ||
"deals": [ "properties", "hs_time_in_closedwon" ] | ||
"deals": [ "properties", "hs_time_in_contractsent" ] | ||
"deals": [ "properties", "hs_time_in_customclosedwonstage" ] | ||
"deals": [ "properties", "hs_time_in_decisionmakerboughtin" ] | ||
"deals": [ "properties", "hs_time_in_presentationscheduled" ] | ||
"deals": [ "properties", "hs_time_in_qualifiedtobuy" ] | ||
"tickets": [ "properties", "hs_time_in_1" ] | ||
"tickets": [ "properties", "hs_time_in_2" ] | ||
"tickets": [ "properties", "hs_time_in_3" ] | ||
"tickets": [ "properties", "hs_time_in_4" ] | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "sample_files/full_refresh_oauth_catalog.json" | ||
ignored_fields: | ||
"contact_lists": [ "properties", "ilsFilterBranch" ] | ||
"companies": [ "properties", "hs_time_in_customer" ] | ||
"companies": [ "properties", "hs_time_in_evangelist" ] | ||
"companies": [ "properties", "hs_time_in_lead" ] | ||
"companies": [ "properties", "hs_time_in_marketingqualifiedlead" ] | ||
"companies": [ "properties", "hs_time_in_opportunity" ] | ||
"companies": [ "properties", "hs_time_in_other" ] | ||
"companies": [ "properties", "hs_time_in_salesqualifiedlead" ] | ||
"companies": [ "properties", "hs_time_in_subscriber" ] | ||
"contacts": [ "properties", "hs_time_in_customer" ] | ||
"contacts": [ "properties", "hs_time_in_evangelist" ] | ||
"contacts": [ "properties", "hs_time_in_lead" ] | ||
"contacts": [ "properties", "hs_time_in_marketingqualifiedlead" ] | ||
"contacts": [ "properties", "hs_time_in_opportunity" ] | ||
"contacts": [ "properties", "hs_time_in_other" ] | ||
"contacts": [ "properties", "hs_time_in_salesqualifiedlead" ] | ||
"contacts": [ "properties", "hs_time_in_subscriber" ] | ||
"deals": [ "properties", "hs_time_in_9567448" ] | ||
"deals": [ "properties", "hs_time_in_9567449" ] | ||
"deals": [ "properties", "hs_time_in_appointmentscheduled" ] | ||
"deals": [ "properties", "hs_time_in_closedlost" ] | ||
"deals": [ "properties", "hs_time_in_closedwon" ] | ||
"deals": [ "properties", "hs_time_in_contractsent" ] | ||
"deals": [ "properties", "hs_time_in_customclosedwonstage" ] | ||
"deals": [ "properties", "hs_time_in_decisionmakerboughtin" ] | ||
"deals": [ "properties", "hs_time_in_presentationscheduled" ] | ||
"deals": [ "properties", "hs_time_in_qualifiedtobuy" ] | ||
"tickets": [ "properties", "hs_time_in_1" ] | ||
"tickets": [ "properties", "hs_time_in_2" ] | ||
"tickets": [ "properties", "hs_time_in_3" ] | ||
"tickets": [ "properties", "hs_time_in_4" ] |
2 changes: 1 addition & 1 deletion
2
airbyte-integrations/connectors/source-hubspot/acceptance-test-docker.sh
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
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
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
30 changes: 0 additions & 30 deletions
30
airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/quotes.json
This file was deleted.
Oops, something went wrong.
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.