Details
-
New Feature
-
Status: Resolved
-
P3
-
Resolution: Fixed
-
None
Description
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