This repository has been archived by the owner on Jan 15, 2020. It is now read-only.
Status update dashAPI, Counter, NOT DEPLOYABLE use previous or next tag
Pre-release
Pre-release
This is a progress status update and the full suite of engines are not deployable for this version.
Documentation
- How to add application and associated user (confluence operations)
- Examples for testing basics of Dash submission API https://github.com/CDLUC3/stash/blob/development/stash_api/basic_submission.md
- Updates to OpenAPI docs files, submission, editing DS, https://dash-dev.ucop.edu/api/docs/index.html
Dash API
- Refactored permissions so I can reuse user permissions in the API more easily
- PUT file to a resource
- Many prerequisites:
- authorized
- in-progress
- folder creation
- disallow uploading outside of our root directory (with ../.. or other trickery)
- size warnings if sent in headers
- Accept upload payload and save to file system on server
- Save file information to database
- Check for size violations or other errors after upload
- Convert file PUT to POST (because of named resource)
- Many prerequisites:
- PATCH to a dataset with JSON to publish, http://williamdurand.fr/2014/02/14/please-do-not-patch-like-an-idiot/
- Using data validations before allowing submission, returns errors
- Added missing default values like in the UI (type is dataset, publisher is campus/tenant, etc) because of errors
- PUT to dataset URL for replacing the metadata with different metadata for in-progress
- Updates title, authors, abstract, keeps ORCIDs if set already in DB for dataset
Misc
- Fixes to mysql2 library incompatibilities between different gems/engines
Counter
- Clarified how DataCite wants us to send updates, put in tickets, we'll need revisions to request we send