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)
Thu, Apr 25, 5:57 PM
Unknown Object (File)
Thu, Apr 4, 1:40 PM
Unknown Object (File)
Thu, Apr 4, 1:40 PM
Unknown Object (File)
Thu, Apr 4, 1:40 PM
Unknown Object (File)
Thu, Apr 4, 1:39 PM
Unknown Object (File)
Thu, Apr 4, 1:28 PM
Unknown Object (File)
Mar 5 2024, 6:05 AM
Unknown Object (File)
Mar 5 2024, 6:05 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