-
-
Notifications
You must be signed in to change notification settings - Fork 715
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
Convert spree/api/products and spree/api/variants views from rabl to AMS #4101
Convert spree/api/products and spree/api/variants views from rabl to AMS #4101
Conversation
…ler, using render json instad of respond with, deleting rabl templates and adapting specs Delete unused pagination spec
…r search by sku by adding sku to the serializer and adapt a few specs to pass with AMS attrivbutes,
c8e6ccb
to
c3fbf9c
Compare
This is a quick fix. This check is breaking product deletion in some situations and orphan Prices are not really a problem in the DB
…e endpoints work with AMS
… the now removed rabl variants/products templates
ah @mkllnk thanks so much for adding the testing part! |
These 'Blocked' issues in 'Test Ready'.... |
They are blocked until the blockin issue is merged. The blocking issue
needs a code review...
…On 12:53PM, Fri, 23 Aug 2019 Lynne ***@***.*** wrote:
These 'Blocked' issues in 'Test Ready'....
I'm not sure what to do with them.
@luisramos0 <https://github.com/luisramos0>... to test or not to test?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4101?email_source=notifications&email_token=AAMQPOQKSXVUH4JDOVG2KFLQF7FUJA5CNFSM4IIA4PH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD477Y2A#issuecomment-524287080>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMQPOWRBYHZZM5NURLBOM3QF7FUJANCNFSM4IIA4PHQ>
.
|
this is now ready for testing. |
@luisramos0 everything seems to work great as manager. As super admin however, creating and deleting variant gave me error 502 and 504 (time out). https://docs.google.com/document/d/1DKgv4F4TmLGYFYXrNPoM11W0cO6UfkMKiTr_h8kcJ6c/edit# |
yeah, I dont think the timeouts are specific to the actions, there are timeouts loading all the pages, this page loads all products in the database. Timeouts can make actions fail in some cases... I deployed master to FR staging and I also see the timeouts exactly in the same page 45. So, I dont think this PR is making the problem worse. Anyway, this is fixed in #4081 where admin/products will only load one page of products 🎉 |
Ok let's move it to ready to go then! |
What? Why?
Part of #4060
Here we convert spree/api/variants and spree/api/products from rabl to AMS and move routes and controllers out of the spree namespace into /api 🎉
What should we test?
Release notes
Changelog Category: Changed
Converted variants and products api endpoints from rabl to AMS.
Dependency
This PR depends on #4055 (the target branch of this PR is remove_spree_api, it's the branch of #4055).