Details
-
Sub-task
-
Status: Resolved
-
P3
-
Resolution: Implemented
-
None
Description
Need to implement gRPC endpoints to communicate with frontend app:
- implement RunCode(RunCodeRequest) returns (RunCodeResponse)
- implement CheckStatus(CheckStatusRequest) returns (CheckStatusResponse)
- implement GetRunOutput(GetRunOutputRequest) returns (GetRunOutputResponse)
- implement GetCompileOutput(GetCompileOutputRequest) returns (GetCompileOutputResponse)
The server should handle the following types of requests:
- Take the request to run code
- Send a response to the client with output
- Send errors to the client
- Send statuses of code execution/compilation
Also, error codes and error messages should be implemented.
All methods/functions should be covered with Unit Tests.