-
Notifications
You must be signed in to change notification settings - Fork 4.6k
🎉 Amazon SP extra endpoint support #5248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
htrueman
merged 54 commits into
master
from
htrueman/source-amazon-sp-extra-endpoint-support
Sep 17, 2021
Merged
Changes from 47 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
edb86b4
Add GET_FBA_INVENTORY_AGED_DATA data
htrueman 31f3d32
Add GET_MERCHANT_LISTINGS_ALL_DATA stream support
htrueman 9777d16
Update schemas
htrueman 53524e7
Update configured_catalog.json
htrueman 539dd07
Update connector to airbyte-cdk
htrueman 59af900
Add amazon seller partner test creds
htrueman b726bca
Update state sample files
htrueman 4780a80
Apply code format
htrueman ee9b91f
Merge remote-tracking branch 'origin/master' into htrueman/source-ama…
htrueman 0eca787
Update acceptance-test-config.yml
htrueman 26ff528
Add dummy integration test
htrueman 2b08caa
Refactor auth signature.
htrueman 17cbbd0
Merge remote-tracking branch 'origin/master' into htrueman/source-ama…
htrueman ea341a2
Remove print_function import from auth.py
htrueman a87d7c5
Refactor source class.
htrueman de789a7
Add dummy integration test
htrueman fc1ccd4
Merge remote-tracking branch 'origin/master' into htrueman/source-ama…
htrueman 1a7d817
Typing added.
htrueman de328df
Add extra streams and schemas
htrueman 359c8f4
Update docs and spec
htrueman 6ef8446
Merge remote-tracking branch 'origin/master' into htrueman/source-ama…
htrueman 900fcb8
Post merge code fixes
htrueman aa0a5c8
Merge branch 'htrueman/source-amazon-sp-expand-endpoint-support' into…
htrueman 62bc962
Merge remote-tracking branch 'origin/master' into htrueman/source-ama…
htrueman e831b72
Fix test setup
htrueman f9c3428
Fix test setup
htrueman e3469e2
Add sample_state.json
htrueman bcd4efd
Update reports streams logics.
htrueman 2961a08
Update tests config.
htrueman a518992
Merge fixes
htrueman 46cff71
Add reports stream slices.
htrueman 4a56620
Post review fixes.
htrueman fb5c029
Merge remote-tracking branch 'origin/htrueman/source-amazon-sp-change…
htrueman 781912d
Streams update
htrueman 1711c7a
Merge remote-tracking branch 'origin/master' into htrueman/source-ama…
htrueman 54f1cf0
Add reports document retrieval and decrypting.
htrueman f7f31e0
Add CVS parsing into result rows
htrueman eabc55e
Update ReportsAmazonSPStream class to be the child of Stream class.
htrueman c3c06e6
Schema updates
htrueman 60b8258
Source check method updated
htrueman ff12577
Update ReportsAmazonSPStream retry report logics
htrueman 034e09d
Update check_connection source method
htrueman 1f3cb57
Update reports read_records method.
htrueman d59e101
Update streams.py
htrueman 4a3daa0
Merge remote-tracking branch 'origin/master' into htrueman/source-ama…
htrueman 3573b18
Update acceptance tests config.
htrueman aeab6a8
Update report read_records logics
htrueman b49e49c
Add reports streams rate limit handling logics.
htrueman ba88b73
Merge remote-tracking branch 'origin/master' into htrueman/source-ama…
htrueman 092d54d
Source Amazon SP: Update reports streams logics. (#5311)
htrueman c8e8248
Merge branch 'htrueman/source-amazon-sp-extra-endpoint-support' of gi…
htrueman 434ccc2
Bump source version.
htrueman 00b90e1
Mock time.sleep in test_reports_stream_send_request_backoff_exception…
htrueman 44a4329
Acceptance test basic_read test disabled
htrueman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
14 changes: 0 additions & 14 deletions
14
...ntegrations/connectors/source-amazon-seller-partner/integration_tests/abnormal_state.json
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
49 changes: 49 additions & 0 deletions
49
...s/source-amazon-seller-partner/integration_tests/configured_catalog_no_empty_streams.json
This file contains hidden or 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,49 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "GET_FLAT_FILE_ALL_ORDERS_DATA_BY_ORDER_DATE_GENERAL", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "GET_FBA_INVENTORY_AGED_DATA", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "GET_AMAZON_FULFILLED_SHIPMENTS_DATA_GENERAL", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "GET_FBA_FULFILLMENT_REMOVAL_ORDER_DETAIL_DATA", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "GET_FBA_FULFILLMENT_REMOVAL_SHIPMENT_DETAIL_DATA", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "overwrite" | ||
} | ||
] | ||
} |
40 changes: 0 additions & 40 deletions
40
...nnectors/source-amazon-seller-partner/integration_tests/configured_catalog_no_orders.json
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
...-integrations/connectors/source-amazon-seller-partner/integration_tests/future_state.json
This file contains hidden or 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,5 @@ | ||
{ | ||
"Orders": { | ||
"LastUpdateDate": "2121-07-01T00:00:00Z" | ||
} | ||
} |
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really bad from a testing standpoint. We basically have zero guarantees about the output here. But I understand why we did it. Do we have an issue to solve this problem? If not could you create one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we definitely need a way on how to fill those streams with data. There is an issue on that #5340