Bug 19795 - Allow files to be uploaded and stored in object storage (Swift and S3)
Summary: Allow files to be uploaded and stored in object storage (Swift and S3)
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-11 21:58 UTC by Chris Cormack
Modified: 2023-12-13 05:39 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 19795 : Add sysprefs (only Swift so far, S3 to come) (1.94 KB, patch)
2017-12-12 00:27 UTC, Chris Cormack
Details | Diff | Splinter Review
Bug 19795 Have it so you can upload files, and they are stored in swift (3.83 KB, patch)
2017-12-12 00:27 UTC, Chris Cormack
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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