Bug 19795

Summary: Allow files to be uploaded and stored in object storage (Swift and S3)
Product: Koha Reporter: Chris Cormack <chris>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: arthur.suzuki, dcook
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 19795 : Add sysprefs (only Swift so far, S3 to come)
Bug 19795 Have it so you can upload files, and they are stored in swift

Description Chris Cormack 2017-12-11 21:58:07 UTC
Currently if we enable uploading and attaching files to a biblio, we only have the option to store the locally on the file system.

More and more Koha are being hosted in the "cloud" we should allow people to use the object storage offerings to store their uploaded files.

This bug will add support for Openstack Swift, and Amazon S3 only, and only for files attached to biblios. However the code should be able to be used for book covers etc in the future if someone wants to add that feature
Comment 1 Chris Cormack 2017-12-11 22:31:49 UTC
Actually I will make it work with tools/upload.pl but to start with only when called by the cataloguing plugin.

It should be very simple for others to extend it
Comment 2 Chris Cormack 2017-12-12 00:27:33 UTC
Created attachment 69706 [details] [review]
Bug 19795 : Add sysprefs (only Swift so far, S3 to come)
Comment 3 Chris Cormack 2017-12-12 00:27:44 UTC
Created attachment 69707 [details] [review]
Bug 19795 Have it so you can upload files, and they are stored in swift

Not ready for use in production yet