Project

General

Profile

Storing and Organizing Data » History » Revision 20

Revision 19 (Tom Clegg, 04/09/2014 01:53 PM) → Revision 20/33 (Tom Clegg, 04/10/2014 01:59 PM)

h1. Storing and Organizing Data 

 Rough demo outline 

 # Automatic ingest from a POSIX directory to Keep 
 #* Access to existing staging area (e.g., remote NFS share) is arranged ahead of time as an admin/setup task 
 #* Optional(?) User can manage staging areas hosted inside Arvados 
 #* Someone ("3rd-party") uploads some files to the staging area via SFTP or whatever 
 #* 3rd-party does an API call to {something - ingestor app? directly to arvados api endpoint?}. This might be a short bash script culminating in a curl command. In the API call, the uploader provides a label tag (e.g., a sample ID) and a list of files, checksums, etc. 
 #* Ingestor daemon reads the data from the staging area and writes it into Keep; creates one collection per API call made by uploader 
 #* In Workbench the imported Datasets appear as Collections in the designated project 
 #* After data has been copied into Keep, ingestor deletes the files from the staging area (this had better be configurable!). 
 ... 
 # My data gets into the right project as specified by the uploader (API call) 
 #* How is the staging-area ↔ project mapping specified, and how/where is it encoded/stored? 
 ... 
 # Subscribe to notifications (by email and/or Workbench dashboard): when files start/finish uploading; when files are shared with customer; when files are downloaded by third party 
 #* For now, use existing Logs table + automatic logging of create/update/delete operations 
 ... 
 # Move/copy collections between projects (Project RX1234, or Customer X’s files), tag them in destination project with the appropriate string (e.g., sample ID) -- defaulting to existing tag used in source project (e.g., provided at time of upload). 
 #* UI for presenting Groups as Projects/Folders: create, view, rename, share, delete 
 #* UI for copying/moving objects between folders 
 #* How to avoid confusion about "is this one object in two places, or are there two objects?" Note GDocs has a bit of both, "My Drive" / "Shared with me" vs. regular folders 
 ... 
 # “Anyone with this secret link can view/download” mode. Enable, disable, change magic link. Use cases: browser + “wget -r”. 
 #* Perhaps the secret in the secret link is an ApiClientAuthorization token, belonging to the person creating the link, scoped to a single project/collection 
 #* How do we implement "Anonymous user, not logged in"? 
 ... 
 # See log/overview of who has accessed your shared data (incl. “anonymous user” if using secret-link-to-share); when shared/unshared; when each upload started/finished -- for a single project, and across all projects