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)
Wed, Nov 13, 5:44 AM
Unknown Object (File)
Sat, Nov 9, 8:39 PM
Unknown Object (File)
Sat, Nov 9, 8:35 PM
Unknown Object (File)
Sat, Nov 9, 11:26 AM
Unknown Object (File)
Thu, Nov 7, 4:37 AM
Unknown Object (File)
Tue, Nov 5, 4:26 AM
Unknown Object (File)
Tue, Nov 5, 4:26 AM
Unknown Object (File)
Tue, Nov 5, 4:25 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