Use structured configuration instead of URLs for storage backends
Categories
(Tecken :: General, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: sven, Assigned: sven)
References
Details
Attachments
(1 file)
Tecken currently configures storage backends using URLs. This is not a natural way of specifying the information we need, and requires parsing and special cases to extract the information we actually want. It complicates the codebase in many places and makes it difficult to add further per-backend configuration settings.
This ticket covers migrating Tecken to a backend configuration model that is similar to what Socorro does. For each backend, there should be a config dictionary like this:
{
"class": "path.to.module.StorageBackendClass",
"options": {
"kwargs": "passed",
"to": "constructor",
},
}
```
Assignee | ||
Updated•8 months ago
|
Assignee | ||
Comment 1•8 months ago
|
||
Assignee | ||
Comment 2•8 months ago
|
||
Comment 3•7 months ago
|
||
Everything up to this point went out in bug #1910917 just now.
Sven: Is there anything left in this bug to do?
Assignee | ||
Comment 4•7 months ago
|
||
I think some documentation still needs updating to reflect the new settings. I'll do a pass on the documentation towards the end of the migration – we'll remove all the S3 stuff at some point. We can close this bug.
Description
•