You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Artur Khanin (Jira)" <ji...@apache.org> on 2022/01/10 08:38:00 UTC
[jira] [Updated] (BEAM-13562) [Playground] Support SCIO SDK
[ https://issues.apache.org/jira/browse/BEAM-13562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Artur Khanin updated BEAM-13562:
--------------------------------
Labels: beam-playground-backend beam-playground-frontend beam-playground-sprint-7 (was: beam-playground-backend beam-playground-frontend)
> [Playground] Support SCIO SDK
> -----------------------------
>
> Key: BEAM-13562
> URL: https://issues.apache.org/jira/browse/BEAM-13562
> Project: Beam
> Issue Type: Improvement
> Components: beam-playground
> Reporter: Ilya Kozyrev
> Priority: P2
> Labels: beam-playground-backend, beam-playground-frontend, beam-playground-sprint-7
>
> As a Beam Playground {*}user{*}, I want to get execution output for the specific SCIO example code that I run in Beam Playground
> Acceptance criteria:
> # Beam SCIO 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{*}: SCIO example code running_
> _{*}Given{*}: User ran valid Apache Beam Python example code in Beam Playground_
> _{*}When{*}: Backend accepts the gRPC request_
> _{*}Then{*}: Backend apply preparation steps for SCIO SDK_
> _*AND:* Backend apply validation steps for SCIO SDK_
> _*AND:* Backend compile scala code in jar file using sbt_
> _*AND:* Backend runs a new background process using the java console command to run jar file_
>
> __
> _{*}Given{*}: Backend app runs jar file using java 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 jar file using java 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 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.20.1#820001)