[ https://issues.apache.org/jira/browse/BEAM-13114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Artur Khanin updated BEAM-13114: -------------------------------- Labels: beam-playground-backend beam-playground-beta-launch beam-playground-sprint-3 beam-playground-sprint-4 beam-playground-sprint-5 (was: beam-playground-backend beam-playground-sprint-3 beam-playground-sprint-4 beam-playground-sprint-5) > [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 > Assignee: Daria Malkova > Priority: P3 > Labels: beam-playground-backend, beam-playground-beta-launch, > beam-playground-sprint-3, beam-playground-sprint-4, beam-playground-sprint-5 > > 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.20.1#820001)