switch webapp to everett
Categories
(Socorro :: Webapp, task, P3)
Tracking
(Not tracked)
People
(Reporter: willkg, Assigned: relud)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The webapp uses python-decouple to pull in configuration values from the environment.
Antenna uses Everett. I plan to use Everett for the processor, too. Everett works just like python-decouple, but makes testing and documentation easier. We currently have no documentation for webapp configuration values. Ew.
This bug covers switching the webapp from using python-decouple to Everett.
| Reporter | ||
Comment 1•6 years ago
|
||
This'll take 5 minutes. It's worth doing so we can document environment variables.
| Reporter | ||
Comment 2•6 years ago
|
||
I forgot that Everett automatically uppercases variable names, so it doesn't work with "resource.boto.host" and friends.
I'll have to wait on this.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
(In reply to Will Kahn-Greene [:willkg] ET needinfo? me from comment #2)
I forgot that Everett automatically uppercases variable names, so it doesn't work with "resource.boto.host" and friends.
I'll have to wait on this.
I'm going to need clarification on whether this is still an issue, and if so where, because I'm not seeing what this is about.
| Reporter | ||
Comment 5•1 year ago
|
||
Comment #2 is from way back when we used configman and it had terrible environment variable names that were lowercased and included periods. I finished up the configman removal in March 2023 in bug #1529342, so that comment is no longer relevant.
| Assignee | ||
Comment 6•1 year ago
|
||
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 7•1 year ago
|
||
my bad, resolved this too early, as of now the change is only merged to main, not deployed to prod.
| Reporter | ||
Comment 8•1 year ago
|
||
This deployed to prod in bug #1882847. Everything looks fine, so marking this as FIXED.
Description
•