Details
-
New Feature
-
Status: Resolved
-
P2
-
Resolution: Implemented
-
None
Description
As a Beam Playground user, I want to get execution output for the specific Python example code that I run in Beam Playground
Acceptance criteria:
- Beam Python 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: Python 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 Python SDK
AND: Backend apply validation steps for Python SDK
AND: Backend runs a new background process using the Python console command to run python file with code snippet
__
Given: Backend ran a new background process using the Python console command to Run code snippet
When: Validation is completed
AND: Preparation is completed
And: Executable file located in local FS
Then: Backend app runs executable file using Python console command in background task
__
Given: Backend app runs executable file using Python 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 Python 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 Python console command
When: Execution is finished with any code
And: Backend sent a response to frontend
Then: Backend clean-ups build and runtime artifacts.
Attachments
1.
|
Add validators and preparators for Python code |
|
Resolved | Unassigned | ||||||||
2.
|
Create Dockerfile for Python SDK |
|
Resolved | Daria Malkova | ||||||||
3.
|
Deploy Python service via CI/CD |
|
Resolved | Sergey Kalinin |
|
|||||||
4.
|
Support Python SDK on frontend |
|
Resolved | Alexander Zhuravlev | ||||||||
5.
|
Support Python SDK on backend |
|
Resolved | Daria Malkova |
|