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)
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
Unknown Object (File)
Oct 7 2024, 2:23 AM
Unknown Object (File)
Oct 2 2024, 3:48 PM
Unknown Object (File)
Oct 1 2024, 1:27 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