You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Artur Khanin (Jira)" <ji...@apache.org> on 2021/11/11 08:42:00 UTC
[jira] [Assigned] (BEAM-13216) [Playground] Add client to send
found tagged file to the backend
[ https://issues.apache.org/jira/browse/BEAM-13216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Artur Khanin reassigned BEAM-13216:
-----------------------------------
Assignee: Pavel Avilov
> [Playground] Add client to send found tagged file to the backend
> -----------------------------------------------------------------
>
> Key: BEAM-13216
> URL: https://issues.apache.org/jira/browse/BEAM-13216
> Project: Beam
> Issue Type: Sub-task
> Components: beam-playground
> Reporter: Aydar Zaynutdinov
> Assignee: Pavel Avilov
> Priority: P3
> Labels: beam-playground-backend
>
> Need to add a client to send a request to the backend with code from found tagged file.
> Steps:
> # Call RunCode() method with code from tagged file + correct SDK (defined by file's extension).
> # Receive the pipelineId of the code.
> # Call CheckStatus() method with received pipelineId.
> # Receive status.
> # If the received status is STATUS_VALIDATION_ERROR/STATUS_PREPARATION_ERROR/STATUS_COMPILE_ERROR/STATUS_ERROR, then this example has some error and the whole step is failed. Need to print a message about the error.
> # If the received status is STATUS_RUN_ERROR, then this example has some error and the whole step is failed. Need to print a message about the error received from GetRunError() method.
> # If the received status is STATUS_RUN_TIMEOUT, then this example has some error and the whole step is failed. Need to print a message about the error timeout error.
> # If the received status is STATUS_EXECUTING start to call GetRunError() method to receive run output.
> # If the received status is STATUS_FINISHED, then stop calling GetRunError() method.
> If the some request is failed it means that the example's code has some error and the whole step is failed. Need to print a message about the error.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)