-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Source Amazon Seller Partner - add new reports and bump version #18283
Source Amazon Seller Partner - add new reports and bump version #18283
Conversation
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.
Thank you for your great overall contribution. I would ask to make some changes and improvements to get it merged.
- Add configured catalogs in the
integration_tests
directory for the newly implemented streams. Don't forget to add them toacceptance-test-config.yml
. Uncomment them, run them locally and please share the log. - Update
docs/integrations/sources/amazon-seller-partner.md
. - Run
./gradlew --no-daemon :airbyte-integrations:connectors:source-amazon-seller-partner:airbytePythonFormat
in the root directory.
Check out the documentation on integration tests. It might be helpful.
...integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
Outdated
Show resolved
Hide resolved
...integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
Outdated
Show resolved
Hide resolved
...integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
Outdated
Show resolved
Hide resolved
...integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
Outdated
Show resolved
Hide resolved
...integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
Outdated
Show resolved
Hide resolved
...integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
Outdated
Show resolved
Hide resolved
@monai Here is the unit test result. ./gradlew :airbyte-integrations:connectors:source-amazon-seller-partner:unitTest |
Hello @animer3009 thanks for your collaboration I really appreciate it. I've a question, are you take into account the deprecation for this report type |
Hello @vladimir-remar, |
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.
After you make the requested changes, run ./gradlew --no-daemon :airbyte-integrations:connectors:source-amazon-seller-partner:airbytePythonFormat
in the root directory.
...tors/source-amazon-seller-partner/integration_tests/configured_catalog_no_empty_streams.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-amazon-seller-partner/acceptance-test-config.yml
Outdated
Show resolved
Hide resolved
The acceptance test timeout issue can be at least partially mitigated by splitting configured catalog into one stream per catalog. I commented on the relevant code parts. Also, try making See my comment and the following discussion on that matter: #15843 (comment)
Usually, the acceptance tests cover the addition of new streams. So after you made the requested changes, I would ask you again to run the acceptance tests and post a comment with the entire log as text, not a screenshot. |
@monai |
Thanks for your answer. I will take a look on new ones. |
I know well that they often fail, and getting them all to pass in a single run is virtually impossible. Also, I'm aware of severe throttling limits on the Amazon side. So, let me clarify, I'm not asking for a log of all tests passed. On the contrary, I want to see an actual log with a real account to see which tests pass and which fail. This issue with the long-running and failing tests is not limited to the Amazon SP connector. It's also was the case with Zenloop and Amazon Ads, and I'm mentioning only those I worked with. That's why I asked you to split the configured catalogs, as this change improves the chances for the tests to pass. In addition, such changes and attached logs will help the Airbyte team to find a better way to implement integration tests and enhance the overall quality of all connectors. So, please run acceptance tests for all the newly added streams and paste the complete log as a text whether they are passing or failing. Did you update And please run |
Yep I did.
I guess you mean Now I did Also Here are test results: |
@vladimir-remar |
@monai Someone else's approval needed to merge? |
@animer3009 Do not push anything to this branch. I'm already publishing it. Instead, open another PR if you have anything to contribute more. See the bot command above #18283 (comment) And for future contributions, please do not force-push. It ruins commit history and makes commit log hard to track. |
@monai yep sorry for that. |
Well. it appears that the force push just broke the publish:
https://github.com/airbytehq/airbyte/actions/runs/3360432785/jobs/5569673218#step:20:24 |
@monai can we try republish it? |
@monai can I do something? |
The connector image However, I can't merge the branch myself. Someone from the Airbyte team should do that. So please do not push anything to it anymore. Right now, it's in a merge-able state. @harshithmullapudi can you do that? I also created #18683 that bumps the version in the source definitions list. |
@monai I do not see that connector's new version upgrade is available. |
@monai Something is wrong? Why it is not merged yet? |
Thanks @animer3009 for the PR and @monai for the review. |
What
Added new Amazon Seller Partner Reports
How
with changing Amazon Seller Partner Source connector
Reports Added
GET_FBA_ESTIMATED_FBA_FEES_TXT_DATA
GET_FBA_FULFILLMENT_CURRENT_INVENTORY_DATA
GET_FBA_FULFILLMENT_CUSTOMER_SHIPMENT_PROMOTION_DATA
GET_FBA_FULFILLMENT_INVENTORY_ADJUSTMENTS_DATA
GET_FBA_FULFILLMENT_INVENTORY_RECEIPTS_DATA
GET_FBA_FULFILLMENT_INVENTORY_SUMMARY_DATA
GET_FBA_FULFILLMENT_MONTHLY_INVENTORY_DATA
GET_FBA_MYI_UNSUPPRESSED_INVENTORY_DATA
GET_FBA_SNS_FORECAST_DATA
GET_FBA_SNS_PERFORMANCE_DATA
GET_FLAT_FILE_ARCHIVED_ORDERS_DATA_BY_ORDER_DATE
GET_FLAT_FILE_RETURNS_DATA_BY_RETURN_DATE
GET_MERCHANT_CANCELLED_LISTINGS_DATA
GET_MERCHANT_LISTINGS_DATA
GET_MERCHANT_LISTINGS_DATA_BACK_COMPAT
GET_MERCHANTS_LISTINGS_FYP_REPORT
GET_MERCHANT_LISTINGS_INACTIVE_DATA
GET_STRANDED_INVENTORY_UI_DATA
GET_XML_ALL_ORDERS_DATA_BY_ORDER_DATE_GENERAL
GET_LEDGER_DETAIL_VIEW_DATA
GET_FBA_INVENTORY_PLANNING_DATA
GET_LEDGER_SUMMARY_VIEW_DATA