Closed Bug 1908868 Opened 8 months ago Closed 7 months ago

Use structured configuration instead of URLs for storage backends

Categories

(Tecken :: General, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

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: nobody → sven
Blocks: 1906959, 1905455
Priority: -- → P2

Everything up to this point went out in bug #1910917 just now.

Sven: Is there anything left in this bug to do?

Flags: needinfo?(sven)

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.

Status: NEW → RESOLVED
Closed: 7 months ago
Flags: needinfo?(sven)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: