-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Source Amazon Ads: fix bug with handling: "Report date is too far in …
…the past." (#20662) Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
- Loading branch information
Showing
9 changed files
with
73 additions
and
49 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
87 changes: 46 additions & 41 deletions
87
airbyte-integrations/connectors/source-amazon-ads/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,50 +1,55 @@ | ||
# 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-amazon-ads:dev | ||
tests: | ||
acceptance_tests: | ||
spec: | ||
- spec_path: "integration_tests/spec.json" | ||
tests: | ||
- spec_path: "integration_tests/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" | ||
basic_read: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
expect_records: | ||
path: "integration_tests/expected_records.jsonl" | ||
extra_fields: no | ||
exact_order: no | ||
extra_records: no | ||
empty_streams: | ||
[ | ||
"profiles", | ||
"sponsored_brands_ad_groups", | ||
"sponsored_brands_campaigns", | ||
"sponsored_brands_keywords", | ||
"attribution_report_performance_creative", | ||
"attribution_report_performance_adgroup", | ||
"attribution_report_products", | ||
"attribution_report_performance_campaign", | ||
] | ||
- config_path: "secrets/config_report.json" | ||
configured_catalog_path: "integration_tests/configured_catalog_report.json" | ||
timeout_seconds: 2400 | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
expect_records: | ||
path: "integration_tests/expected_records.jsonl" | ||
extra_fields: no | ||
exact_order: no | ||
extra_records: no | ||
empty_streams: | ||
- name: "profiles" | ||
- name: "sponsored_brands_ad_groups" | ||
- name: "sponsored_brands_campaigns" | ||
- name: "sponsored_brands_keywords" | ||
- name: "attribution_report_performance_creative" | ||
- name: "attribution_report_performance_adgroup" | ||
- name: "attribution_report_products" | ||
- name: "attribution_report_performance_campaign" | ||
- config_path: "secrets/config_report.json" | ||
configured_catalog_path: "integration_tests/configured_catalog_report.json" | ||
timeout_seconds: 2400 | ||
incremental: | ||
- config_path: "secrets/config_report.json" | ||
configured_catalog_path: "integration_tests/configured_catalog_report.json" | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
cursor_paths: | ||
sponsored_products_report_stream: ["1861552880916640", "reportDate"] | ||
timeout_seconds: 2400 | ||
tests: | ||
- config_path: "secrets/config_report.json" | ||
configured_catalog_path: "integration_tests/configured_catalog_report.json" | ||
future_state: | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
cursor_paths: | ||
sponsored_products_report_stream: ["1861552880916640", "reportDate"] | ||
timeout_seconds: 2400 | ||
full_refresh: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
- config_path: "secrets/config_report.json" | ||
configured_catalog_path: "integration_tests/configured_catalog_report.json" | ||
ignored_fields: | ||
"sponsored_products_report_stream": ["updatedAt"] | ||
timeout_seconds: 3600 | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
- config_path: "secrets/config_report.json" | ||
configured_catalog_path: "integration_tests/configured_catalog_report.json" | ||
ignored_fields: | ||
"sponsored_products_report_stream": ["updatedAt"] | ||
timeout_seconds: 3600 |
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