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)
Thu, Oct 3, 6:25 AM
Unknown Object (File)
Wed, Sep 25, 6:36 PM
Unknown Object (File)
Sun, Sep 8, 12:22 AM
Unknown Object (File)
Sun, Sep 8, 12:22 AM
Unknown Object (File)
Sun, Sep 8, 12:22 AM
Unknown Object (File)
Sun, Sep 8, 12:21 AM
Unknown Object (File)
Sun, Sep 8, 12:18 AM
Unknown Object (File)
Aug 27 2024, 8:45 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
No Lint Coverage
Unit
No Test Coverage