You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Aydar Zaynutdinov (Jira)" <ji...@apache.org> on 2021/10/05 09:12:00 UTC

[jira] [Updated] (BEAM-12970) Implement gRPC API

     [ https://issues.apache.org/jira/browse/BEAM-12970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aydar Zaynutdinov updated BEAM-12970:
-------------------------------------
    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 documented

All methods/functions should be covered with Unit Tests

  was:
Need to implement gRPC endpoints to communicate with frontend app:
 * implement 
{code:java}
RunCode(RunCodeRequest) returns (RunCodeResponse){code}

 * implement

{code:java}
CheckStatus(CheckStatusRequest) returns (CheckStatusResponse)
{code}

 * implement 

{code:java}
GetRunOutput(GetRunOutputRequest) returns (GetRunOutputResponse){code}

 * implement
{code:java}
GetCompileOutput(GetCompileOutputRequest) returns (GetCompileOutputResponse){code}

 

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 documented

All methods/functions should be covered with Unit Tests


> Implement gRPC API
> ------------------
>
>                 Key: BEAM-12970
>                 URL: https://issues.apache.org/jira/browse/BEAM-12970
>             Project: Beam
>          Issue Type: Sub-task
>          Components: beam-playground
>            Reporter: Ilya Kozyrev
>            Assignee: Pavel Avilov
>            Priority: P3
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> 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 documented
> All methods/functions should be covered with Unit Tests



--
This message was sent by Atlassian Jira
(v8.3.4#803005)