Page MenuHomePhabricator

[services] Extract cors config to services-lib
ClosedPublic

Authored by michal on Aug 21 2023, 2:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 7:00 AM
Unknown Object (File)
Sun, Dec 15, 1:55 AM
Unknown Object (File)
Sun, Dec 15, 1:55 AM
Unknown Object (File)
Sun, Dec 15, 1:55 AM
Unknown Object (File)
Sun, Dec 15, 1:54 AM
Unknown Object (File)
Sun, Dec 15, 1:29 AM
Unknown Object (File)
Sat, Dec 7, 8:32 AM
Unknown Object (File)
Mon, Nov 25, 11:02 AM
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