Page MenuHomePhabricator

[services][blob] Introduce HTTP server
ClosedPublic

Authored by bartek on Apr 13 2023, 11:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 3, 8:57 PM
Unknown Object (File)
Thu, Dec 26, 8:06 PM
Unknown Object (File)
Sun, Dec 15, 6:24 AM
Unknown Object (File)
Sun, Dec 15, 6:24 AM
Unknown Object (File)
Sun, Dec 15, 6:24 AM
Unknown Object (File)
Sun, Dec 15, 6:20 AM
Unknown Object (File)
Thu, Dec 12, 7:59 PM
Unknown Object (File)
Dec 7 2024, 7:31 AM
Subscribers

Details

Summary

Final diff for ENG-3520.
This diff introduces a basic HTTP server with a hello world endpoint.

Also added CLI configuration option to switch between HTTP and GRPC servers. The default is gRPC to maintain backwards compatibility.

Depends on D7443

Test Plan
  • Service builds and starts gRPC server by default
  • Running --protocol http starts HTTP server instead.
  • The --port option works for both gRPC and HTTP servers.
  • Calling GET /hello HTTP endpoint returns "Hello, World"

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable