Page MenuHomePhabricator

[services][blob] Introduce HTTP server
ClosedPublic

Authored by bartek on Apr 13 2023, 11:21 PM.
Tags
None
Referenced Files
F3398122: D7444.id25255.diff
Sun, Dec 1, 9:08 PM
F3398105: D7444.id25329.diff
Sun, Dec 1, 8:57 PM
F3397632: D7444.diff
Sun, Dec 1, 6:36 PM
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
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