Closed Bug 1527460 Opened 6 years ago Closed 1 year ago

switch webapp to everett

Categories

(Socorro :: Webapp, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED

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.

This'll take 5 minutes. It's worth doing so we can document environment variables.

Assignee: nobody → willkg
Status: NEW → ASSIGNED
Priority: -- → P2

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: willkg → nobody
Status: ASSIGNED → NEW
Priority: P2 → P3
Depends on: 1529342
Assignee: nobody → dthorn
Status: NEW → ASSIGNED

(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.

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.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED

my bad, resolved this too early, as of now the change is only merged to main, not deployed to prod.

This deployed to prod in bug #1882847. Everything looks fine, so marking this as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: