Page MenuHomePhabricator

[services] Extract cors config to services-lib
ClosedPublic

Authored by michal on Aug 21 2023, 2:07 AM.
Tags
None
Referenced Files
F3366356: D8881.id30127.diff
Mon, Nov 25, 11:02 AM
Unknown Object (File)
Fri, Nov 22, 5:04 AM
Unknown Object (File)
Thu, Nov 21, 11:29 PM
Unknown Object (File)
Sun, Oct 27, 3:48 PM
Unknown Object (File)
Sun, Oct 27, 3:48 PM
Unknown Object (File)
Sun, Oct 27, 3:48 PM
Unknown Object (File)
Sun, Oct 27, 3:48 PM
Unknown Object (File)
Sun, Oct 27, 3:42 PM
Subscribers

Details

Summary

ENG-4501
Backup service will be now a http servce so it will need a cors config. This diff extracts it from blob to services lib.

Depends on D8869

Test Plan

cargo build in blob

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

services/blob/Cargo.toml
26–32 ↗(On Diff #30127)

VSCode automatically formatted these lines. They are a bit more consistent now so I included it in this diff

services/comm-services-lib/src/lib.rs
4–5 ↗(On Diff #30127)

Added a new module/ feature for http related things

jon added inline comments.
services/comm-services-lib/src/lib.rs
3–4 ↗(On Diff #30153)

Nice, like the feature-opt-in aspect of this.

This revision is now accepted and ready to land.Aug 21 2023, 12:26 PM