Page MenuHomePhabricator

[services][blob] Introduce HTTP server
ClosedPublic

Authored by bartek on Apr 13 2023, 11:21 PM.
Tags
None
Referenced Files
F2209462: D7444.id25255.diff
Sun, Jul 7, 5:18 PM
Unknown Object (File)
Sat, Jul 6, 4:04 PM
Unknown Object (File)
Fri, Jul 5, 1:14 PM
Unknown Object (File)
Thu, Jul 4, 5:50 AM
Unknown Object (File)
Wed, Jul 3, 5:43 AM
Unknown Object (File)
Tue, Jul 2, 5:32 AM
Unknown Object (File)
Sun, Jun 30, 6:06 AM
Unknown Object (File)
Mon, Jun 10, 4:59 PM
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