Details
-
New Feature
-
Status: Resolved
-
P3
-
Resolution: Fixed
-
None
Description
As a Beam Playground application developer, I want to store examples with their predefined output and be able to retrieve them via gRPC.
Acceptance criteria:
- Examples storing is designed and implemented
Scenario: Developer adds a new example
Given: Developer has the Apache Beam example as a file
And: Developer has the output of the Apache Beam example as a file
When: Developer puts the file with the Apache Beam example to the storage
And: Developer puts the output of the Apache Beam example next to the file with example
Then: The example appears in Beam Playground Example Catalog - A list of existing examples is retrieved
Scenario: User opens Example selector
Given: Client sent a gRPC call for a list of existing examples
When: Server accessed the Examples storage
And: Server made a list of all examples in the storage
Then: The response for the gRPC call with the list of existing examples is received
And: User sees the Catalog of all available examples - The Initial (default) example is retrieved
Scenario: User chooses another SDK
Given: Client sent a gRPC call for an initial example for a given SDK
When: Server accessed the Examples storage
And: Server gets the initial example for the given SDK
Then: The response for the gRPC call with an initial example for the given SDK is received
And: User sees the initial example in the code editor - Each example provides a corresponding category and description
Scenario: User opens Example selector and focuses on one example
Given: A list of available examples is already retrieved
When: User hovers the pointer over a specific example
Then: User sees a popup with a description of the example
__
Scenario: User opens Example selector
Given: A list of available examples is already retrieved
When: User open Example selector
Then: User sees the Example Catalog with examples divided by categories - The predefined output of the example is displayed after its run
Scenario: User run an example without modifications of it
Given: User didn't change the chosen example
When: User pressed Run button
Then: User sees the output of the example without actual calculations
And: User sees the output of the example fast - Examples Catalog is displayed in the example selector
Same Scenario as in AC2. - Protobuf file is updated and tested with frontend and backend
Attachments
There are no Sub-Tasks for this issue.