Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-12935

[Playground] Code editor - run an example

Details

    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

      Attachments

        Activity

          People

            aydar.farrakhov Aydar Farrakhov
            alskos Alex Kosolapov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h