[
https://issues.apache.org/jira/browse/BEAM-13725?focusedWorklogId=715560&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-715560
]
ASF GitHub Bot logged work on BEAM-13725:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Jan/22 09:55
Start Date: 26/Jan/22 09:55
Worklog Time Spent: 10m
Work Description: AydarZaynutdinov commented on a change in pull request
#16593:
URL: https://github.com/apache/beam/pull/16593#discussion_r792471221
##########
File path: playground/backend/internal/cloud_bucket/precompiled_objects.go
##########
@@ -128,6 +129,16 @@ func (cd *CloudStorage) GetPrecompiledObjectLogs(ctx
context.Context, precompile
return result, nil
}
+// GetPrecompiledObjectGraph returns the graph of the example
+func (cd *CloudStorage) GetPrecompiledObjectGraph(ctx context.Context,
precompiledObjectPath string) (string, error) {
+ data, err := cd.getFileFromBucket(ctx, precompiledObjectPath,
GraphExtension)
+ if err != nil {
+ return "", err
+ }
+ result := string(data)
+ return result, nil
Review comment:
Done.
##########
File path: playground/backend/cmd/server/controller.go
##########
@@ -309,3 +309,15 @@ func (controller *playgroundController)
GetPrecompiledObjectLogs(ctx context.Con
response := pb.GetPrecompiledObjectLogsResponse{Output: logs}
return &response, nil
}
+
+// GetPrecompiledObjectGraph returns the graph of the compiled and run example
+func (controller *playgroundController) GetPrecompiledObjectGraph(ctx
context.Context, info *pb.GetPrecompiledObjectGraphRequest)
(*pb.GetPrecompiledObjectGraphResponse, error) {
+ cd := cloud_bucket.New()
Review comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 715560)
Time Spent: 2h 40m (was: 2.5h)
> [Playground] Add graph to the precompiled objects
> -------------------------------------------------
>
> Key: BEAM-13725
> URL: https://issues.apache.org/jira/browse/BEAM-13725
> Project: Beam
> Issue Type: Sub-task
> Components: beam-playground
> Reporter: Aydar Zaynutdinov
> Assignee: Aydar Zaynutdinov
> Priority: P3
> Labels: beam-playground-backend, beam-playground-sprint-8
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> Add a new string field _graph_ to the precompiled objects.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)