Page MenuHomePhabricator

[blob-service] Remove gRPC service, change default port
ClosedPublic

Authored by bartek on Aug 26 2023, 12:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 1:03 PM
Unknown Object (File)
Apr 4 2024, 1:04 PM
Unknown Object (File)
Apr 4 2024, 1:04 PM
Unknown Object (File)
Apr 4 2024, 1:04 PM
Unknown Object (File)
Apr 4 2024, 1:04 PM
Unknown Object (File)
Apr 4 2024, 12:58 PM
Unknown Object (File)
Mar 6 2024, 10:41 PM
Unknown Object (File)
Feb 19 2024, 12:01 PM
Subscribers

Details

Summary

In D8796 we removed last blob gRPC client. This diff removes gRPC server as well.

First part of ENG-4297.

  • Deletes all gRPC related code from Blob service.
  • Changes default HTTP port to 50053.
Test Plan

HTTP service still works.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.

Remove proto from dockerfile

bartek published this revision for review.Aug 26 2023, 12:43 AM
bartek added inline comments.
services/blob/src/config.rs
31 ↗(On Diff #30350)

In response to @jon's comment in https://phab.comm.dev/D8865?id=30062#inline-56777 I decided to return this from the function so we can take advantage of both:

  • convenience of using static CONFIG where it's cumbersome to pass it through args
  • correctness from aforementioned comment - we return the config from this function so it can be just passed further wherever needed
This revision is now accepted and ready to land.Aug 28 2023, 12:44 AM
services/blob/src/config.rs
14 ↗(On Diff #30350)

Would it make sense to remove the constant and default to the ports in .env like tests? One less thing to keep in sync