-
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 Paypal Transactions: Siver Certification (#34510)
Co-authored-by: Alexandre Girard <alexandre@airbyte.io> Co-authored-by: alafanechere <augustin.lafanechere@gmail.com> Co-authored-by: Augustin <augustin@airbyte.io>
- Loading branch information
1 parent
96dfd25
commit bff51e6
Showing
50 changed files
with
4,471 additions
and
248 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
airbyte-integrations/connectors/source-paypal-transaction/.coveragerc
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[run] | ||
omit = | ||
source_paypal_transaction/run.py |
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
81 changes: 48 additions & 33 deletions
81
airbyte-integrations/connectors/source-paypal-transaction/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,69 +1,84 @@ | ||
# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) | ||
# for more information about how to configure these tests | ||
# Make sure the paths you have in each path matches with your data. | ||
#For multiple env testing, you can duplicate the tests and change the path to the proper credentials file | ||
connector_image: airbyte/source-paypal-transaction:dev | ||
test_strictness_level: high | ||
acceptance_tests: | ||
spec: | ||
tests: | ||
#Test with Prod credentials (Make sure you purt the right ones) | ||
- spec_path: "source_paypal_transaction/spec.yaml" | ||
config_path: secrets/config_oauth.json | ||
config_path: secrets/config.json | ||
backward_compatibility_tests_config: | ||
disable_for_version: "0.1.13" | ||
connection: | ||
tests: | ||
- config_path: secrets/config_oauth.json | ||
#Test With Prod Credentials | ||
- config_path: secrets/config.json | ||
status: succeed | ||
- config_path: secrets/config_oauth_sandbox.json | ||
status: succeed | ||
- config_path: integration_tests/invalid_config.json | ||
status: failed | ||
- config_path: integration_tests/invalid_config_oauth.json | ||
#Test with Invalid Credentials | ||
- config_path: integration_tests/sample_files/invalid_config.json | ||
status: failed | ||
#Test with Sandbox Credentials | ||
# - config_path: secrets/config_sandbox.json | ||
# status: succeed | ||
discovery: | ||
tests: | ||
- config_path: secrets/config_oauth.json | ||
- config_path: secrets/config.json | ||
# - config_path: secrets/config_sandbox.json | ||
backward_compatibility_tests_config: | ||
disable_for_version: "2.0.0" # Change in cursor field for transactions stream | ||
basic_read: | ||
tests: | ||
- config_path: secrets/config_oauth.json | ||
ignored_fields: | ||
balances: | ||
- name: last_refresh_time | ||
bypass_reason: "field changes during every read" | ||
#Test Prod Environment - Uncomment and change according to your prod setup | ||
#Change the expected records, remember to align them with the timeframe you have selected | ||
#Do not select streams that take more than 5 mins to load data as that can lead to timeouts | ||
#You can comment the lines if you are sure you have data for the below streams. | ||
- config_path: secrets/config.json | ||
# - config_path: secrets/config_sandbox.json | ||
empty_streams: | ||
- name: transactions | ||
bypass_reason: "can not populate" | ||
timeout_seconds: 1200 | ||
expect_records: | ||
path: "integration_tests/expected_records.jsonl" | ||
extra_fields: no | ||
exact_order: no | ||
extra_records: yes | ||
- config_path: secrets/config_oauth_sandbox.json | ||
- name: show_product_details | ||
bypass_reason: "Products may not exist" | ||
- name: list_products | ||
bypass_reason: "Product List may be too big causing timeout errors" | ||
- name: search_invoices | ||
bypass_reason: "Order makes the diff fail." | ||
#Have to add for testing PR CI. | ||
- name: list_disputes | ||
bypass_reason: "Disputes may not exist." | ||
ignored_fields: | ||
balances: | ||
- name: last_refresh_time | ||
bypass_reason: "field changes during every read" | ||
timeout_seconds: 1200 | ||
list_products: | ||
- name: description | ||
bypass_reason: "Sometimes it is not contained in the response" | ||
timeout_seconds: 3200 | ||
expect_records: | ||
path: "integration_tests/expected_records_sandbox.jsonl" | ||
extra_fields: no | ||
exact_order: no | ||
extra_records: yes | ||
fail_on_extra_columns: false | ||
path: "integration_tests/sample_files/expected_records_sandbox.jsonl" | ||
#path: "integration_tests/sample_files/expected_records.jsonl" | ||
extra_fields: yes | ||
exact_order: yes | ||
extra_records: no | ||
fail_on_extra_columns: False | ||
incremental: | ||
tests: | ||
- config_path: secrets/config_oauth.json | ||
configured_catalog_path: integration_tests/configured_catalog.json | ||
- config_path: secrets/config.json | ||
# - config_path: secrets/config_sandbox.json | ||
configured_catalog_path: integration_tests/incremental_catalog.json | ||
future_state: | ||
future_state_path: integration_tests/abnormal_state.json | ||
future_state_path: integration_tests/sample_files/abnormal_state.json | ||
skip_comprehensive_incremental_tests: true | ||
full_refresh: | ||
tests: | ||
- config_path: secrets/config_oauth.json | ||
- config_path: secrets/config.json | ||
# - config_path: secrets/config_sandbox.json | ||
configured_catalog_path: integration_tests/full_refresh_catalog.json | ||
ignored_fields: | ||
balances: | ||
- name: last_refresh_time | ||
bypass_reason: "field changes during every read" | ||
configured_catalog_path: integration_tests/configured_catalog.json | ||
list_products: | ||
- name: description | ||
bypass_reason: "Sometimes it is not contained in the response" |
Oops, something went wrong.