[
https://issues.apache.org/jira/browse/BEAM-13114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Artur Khanin updated BEAM-13114:
--------------------------------
Description:
As a Beam Playground user, I want to get execution output for the specific Go
example code that I run in Beam Playground
Acceptance criteria:
# Beam Go example code executed on the backend
# Output received by the frontend
# Compilation failures are caught and redirected to the frontend app
# Runtime failures are caught and redirected to the frontend app
_*Scenario*: Go example code running_
_*Given*: User ran valid Apache Beam Go example code in Beam Playground_
_*When*: Backend accepts the gRPC request_
_*Then*: Backend runs a new background process using the go console to compile
code snippet_
__
_*Given*: Backend ran a new background process using the go console command to
compile code snippet_
_*When*: Compilation is completed_
_*And*: executable file located in local FS_
_*Then*: Backend app runs executable file using go console command_
__
_*Given*: Backend app runs executable file using go console command_
_*When*: Code executed completely_
_*And*: Stdout and stderr outputs located at local fs_
_*Then*: Backend reads the stdout and sends its content to the frontend with
complete message code_
__
_*Given*: Backend app runs executable file using go console command_
_*When*: Code executed with error_
_*And*: Stdout and stderr outputs 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 executable file using go console command_
_*When*: Execution is finished with any code_
_*And*: Backend sent a response to frontend_
_*Then*: Backend clean-ups build and runtime artifacts._
was:
As a Beam Playground user, I want to get execution output for the specific Go
example code that I run in Beam Playground
Acceptance criteria:
# Beam Go example code executed on the backend
# Output received by the frontend
# Compilation failures are caught and redirected to the frontend app
# Runtime failures are caught and redirected to the frontend app
_*Scenario*: Go example code running_
_*Given*: User ran valid Apache Beam Go example code in Beam Playground_
_*When*: Backend accepts the gRPC request_
_*Then*: Backend runs a new background process using the go console to compile
code snippet_
__
_*Given*: Backend ran a new background process using the go console command to
compile code snippet_
_*When*: Compilation is completed_
_*And*: executable file located in local FS_
_*Then*: Backend app runs executable file using go console command_
__
_*Given*: Backend app runs executable file using go 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 executable file using go 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 executable file using go console command_
_*When*: Execution is finished with any code_
_*And*: Backend sent a response to frontend_
_*Then*: Backend clean-ups build and runtime artifacts._
> [Playground] Support GO SDK
> ---------------------------
>
> Key: BEAM-13114
> URL: https://issues.apache.org/jira/browse/BEAM-13114
> Project: Beam
> Issue Type: New Feature
> Components: beam-playground
> Reporter: Artur Khanin
> Priority: P3
> Labels: beam-playground-backend, beam-playground-sprint-3
>
> As a Beam Playground user, I want to get execution output for the specific Go
> example code that I run in Beam Playground
> Acceptance criteria:
> # Beam Go example code executed on the backend
> # Output received by the frontend
> # Compilation failures are caught and redirected to the frontend app
> # Runtime failures are caught and redirected to the frontend app
>
> _*Scenario*: Go example code running_
> _*Given*: User ran valid Apache Beam Go example code in Beam Playground_
> _*When*: Backend accepts the gRPC request_
> _*Then*: Backend runs a new background process using the go console to
> compile code snippet_
> __
> _*Given*: Backend ran a new background process using the go console command
> to compile code snippet_
> _*When*: Compilation is completed_
> _*And*: executable file located in local FS_
> _*Then*: Backend app runs executable file using go console command_
> __
> _*Given*: Backend app runs executable file using go console command_
> _*When*: Code executed completely_
> _*And*: Stdout and stderr outputs located at local fs_
> _*Then*: Backend reads the stdout and sends its content to the frontend with
> complete message code_
> __
> _*Given*: Backend app runs executable file using go console command_
> _*When*: Code executed with error_
> _*And*: Stdout and stderr outputs 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 executable file using go 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)