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:33:00 UTC

[jira] [Created] (BEAM-12938) [Playground] Run Java SDK Beam example

Alex Kosolapov created BEAM-12938:
-------------------------------------

             Summary: [Playground] Run Java SDK Beam example
                 Key: BEAM-12938
                 URL: https://issues.apache.org/jira/browse/BEAM-12938
             Project: Beam
          Issue Type: New Feature
          Components: beam-playground
            Reporter: Alex Kosolapov
            Assignee: Alex Kosolapov


As a Beam Playground user, I want to get execution output for the specific Java example code that I run in Beam Playground

Acceptance criteria:
 # Beam Java example code executed on the backend
 # Output received by frontend
 # Compilation failures are caught and redirected to the frontend app
 # Runtime failures are caught and redirected to the frontend app

 

_*Scenario*: Java example code running_

_*Given*: User ran valid Apache Beam Java example code in Beam Playground_

_*When*: Backend accepts the GCRP request_

_*Then*: Backend runs a new background process using the Javac console to compile code snippet_

 __ 

_*Given*: Backend ran a new background process using the Java console command to compile code snippet_

_*When*: Compilation is completed_

_*And*: jar file located in local FS_

_*Then*: Backend app runs jar file using Java console command_

 __ 

_*Given*: Backend app runs jar file using  Java console command_

_*When*: Code executed completely_

_*And*: Stdout and stderr files located at local fs_

_*Then*: Backend reads the stdout and sends its content to the frontend with complete message code_

 __ 

_*Given*: Backend app runs jar file using Java console command_

_*When*: Code executed with error_

_*And*: Stdout and stderr files located at local fs_

_*Then*: Backend reads the stderr and sends its content to the frontend with an error message code_

 __ 

_*Given*: Backend app runs jar file using Java console command_

_*When*: Execution is finished with any code_

_*And*: Backend sent a response to frontend_

_*Then*: Backend clean-ups build and runtime artifacts._



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