HomePhabricator
Diffusion Comm 176182a17bf2

[services] Tunnelbroker - Removing of deprecated C++ files

Description

[services] Tunnelbroker - Removing of deprecated C++ files

Summary:
This diff is a part of the flat diffs stack to transform the current Tunnelbroker project into a Rust app by calling the current C++ codebase from Rust. The related transition task is ENG-1072.

This diff removes the deprecated and unnecessary files from the project structure because of switching to the Rust application.

Removed files description:

  • server.cpp - Entry point for C++ application, which will be replaced by the main.rs in Rust.
  • Service/TunnelbrokerServiceImpl.cpp, Service/TunnelbrokerServiceImpl.h - C++ gRPC server handlers implementation, will be replaced by the server module in Rust.

The project directory structure task and discussion: ENG-2083

CI Notice:
The CI will fail on this and further diffs until the D5461 where the changes to CI build commands are made.
This stack will be landed all in one to prevent CI from failing on diffs out of this stack.

Test Plan:
1. CI Testing:
These diff changes are included as a part of the stack in the later D5461 diff, where the changes to CI build commands are made. The CI succeded on the D5461 which reflects that this changes are passing the build.

2. Manually testing:
These diff changes can be tested in the middle of the stack at D5436. To test it patch to D5436 using arc patch D5436, run nix develop. Go to tunnelbroker service directory services/tunnelbroker and run the Cargo building process cargo build or cargo run.
The Rust application will be successfully built.

Reviewers: jon, varun, marcin, tomek

Reviewed By: jon, tomek

Subscribers: ashoat, tomek, atul, abosh

Differential Revision: https://phab.comm.dev/D5431

Details

Provenance
maxAuthored on Oct 20 2022, 6:28 AM
Reviewer
jon
Differential Revision
D5431: [services] Tunnelbroker - Removing of deprecated C++ files
Parents
rCOMMe8d2e66a98bc: [services] Tunnelbroker - Initialization function exposed to Rust
Branches
Unknown
Tags
Unknown