You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Alex Kosolapov (Jira)" <ji...@apache.org> on 2021/09/22 21:25:00 UTC
[jira] [Created] (BEAM-12935) [Playground] Code editor - run an
example
Alex Kosolapov created BEAM-12935:
-------------------------------------
Summary: [Playground] Code editor - run an example
Key: BEAM-12935
URL: https://issues.apache.org/jira/browse/BEAM-12935
Project: Beam
Issue Type: New Feature
Components: beam-playground
Reporter: Alex Kosolapov
Assignee: Alex Kosolapov
As a Beam Playground user, I want to be able to execute Apache Beam Java code from the code editor and see the output.
Acceptance criteria:
1. The code editor has a Run button
2. The Run button sends the code from the code editor to the backend
3. The output displayed in the output area
_*Scenario*: Example execution_
_*Given*: User provides the Apache Beam Java example code in the code editor_
_*When*: User clicks the Run button_
_*And*: The Java code is valid_
_*And*: The Java code is supported by Apache Beam_
_*Then*: The user sees the output of code execution in the output area_
4. The error message logged in the output area
_*Scenario*: Example code execution completed with an error_
_*Given*: User edits the Apache Beam Java code in the code editor_
_*When*: User clicks Run button_
_*And*: The Java code is not valid_
_*Or*: The Java code is not supported by Apache Beam_
_*Or*: Apache Beam execution returned an error_
_*Then*: The user sees the error message in the output area_
5. The waiting is implemented and the user will receive a timeout error when pipeline execution exceeds the timeout
_*Scenario*: Waiting for code execution_
_*Given*: User provided a valid code_
_*When*: User clicked Run_
_*And*: Code is executing on the backend_
_*And*: User is waiting_
_*Then*: The user sees information that code is executing on the backend_
_*Given*: Server didn't respond within the timeout_
_*When*: User waits for code execution to complete longer than the timeout_
_*And*: Server didn't return execution response_
_*Then*: User sees an overlay with a timeout error message_
--
This message was sent by Atlassian Jira
(v8.3.4#803005)