feat: adds endpoint for downloading the taxonomy templates [FC-0036] - #33464
Conversation
|
Thanks for the pull request, @pomegranited! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
There was a problem hiding this comment.
@pomegranited Good work here! 👍
- I read through the code
- I tested this: I read through the tests to make sure it covers the cases. I ran the migrations and test.
Nit: There is a typo in the Testing Instructions. The second link should be: http://localhost:18010/api/content_tagging/v1/taxonomies/import/template.csv
We have a failed test, but it seems that it is related to the runner:
The self-hosted runner: edx-platform-openedx-ci-runner-deployment-7xdl7-n5s2j lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
It would be good to trigger the CD/CI again (pushing an empty commit or updating the branch).
|
@pomegranited 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
|
@rpenido There's no need to push again - the GitHub UI has a button to re-try the failed tests. |
|
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
|
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
|
2U Release Notice: This PR has been deployed to the edX production environment. |
Description
This PR adds a Studio endpoint for downloading the CSV and JSON templates added to oel_tagging by openedx/openedx-core#89
Will be used by Taxonomy Admins/Course Authors once the Taxonomy Admin UI is built.
Supporting information
Closes openedx/modular-learning#137
Private-ref: FAL-3520
Testing instructions
Using this branch in your devstack's
cms-shell:paver install_prereqs./manage.py lms migratehttp://localhost:18010/api/content_tagging/v1/taxonomies/import/template.csv
http://localhost:18010/api/content_tagging/v1/taxonomies/import/template.json
Deadline
None