cph-cachet/carp-webservices-spring

(!!! DONT MERGE BEFORE MIGRATION) Restructure file system

Opened this issue · 2 comments

Currently the file system accepting file upload and storage it under carp/storage, we should create a subfolder for each study and storage related resources under this study-subfolder. Once a study is deleted, the corresponding folder and resources should also be deleted.

and also for s3?

Remember to check the download / export scripts when changing the file structure.

What we change?
-how we save export (depl/study)
-change the controller
-change to db (ownerId, deploymentId, studyId)

Image