[
https://issues.apache.org/jira/browse/BEAM-13725?focusedWorklogId=714759&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-714759
]
ASF GitHub Bot logged work on BEAM-13725:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Jan/22 16:45
Start Date: 25/Jan/22 16:45
Worklog Time Spent: 10m
Work Description: AydarZaynutdinov commented on a change in pull request
#16593:
URL: https://github.com/apache/beam/pull/16593#discussion_r791463241
##########
File path: playground/backend/internal/cloud_bucket/precompiled_objects.go
##########
@@ -52,6 +52,7 @@ type ObjectInfo struct {
Categories []string `json:"categories,omitempty"`
PipelineOptions string
`protobuf:"bytes,3,opt,name=pipeline_options,proto3"
json:"pipeline_options,omitempty"`
Link string
`protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"`
+ Graph string
`protobuf:"bytes,7,opt,name=graph,proto3" json:"graph,omitempty"`
Review comment:
Based on our discussion we send string representation of the graph to
the frontend, not a file
##########
File path: playground/backend/internal/cloud_bucket/precompiled_objects.go
##########
@@ -52,6 +52,7 @@ type ObjectInfo struct {
Categories []string `json:"categories,omitempty"`
PipelineOptions string
`protobuf:"bytes,3,opt,name=pipeline_options,proto3"
json:"pipeline_options,omitempty"`
Link string
`protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"`
+ Graph string
`protobuf:"bytes,7,opt,name=graph,proto3" json:"graph,omitempty"`
Review comment:
Changed.
##########
File path: playground/api/v1/api.proto
##########
@@ -186,6 +186,11 @@ message GetPrecompiledObjectLogsRequest{
string cloud_path = 1;
}
+// GetPrecompiledObjectGraphRequest contains information of the
PrecompiledObject uuid.
Review comment:
Updated
##########
File path: playground/api/v1/api.proto
##########
@@ -211,6 +216,11 @@ message GetPrecompiledObjectLogsResponse {
string output = 1;
}
+// GetPrecompiledObjectGraphResponse represents the graph of the executed code.
Review comment:
Updated
##########
File path: playground/backend/internal/utils/precompiled_objects_utils_test.go
##########
@@ -24,7 +24,7 @@ import (
func TestPutPrecompiledObjectsToCategory(t *testing.T) {
precompiledObjectToAdd := &cloud_bucket.PrecompiledObjects{
- {"TestName", "SDK_JAVA/TestCategory/TestName.java",
"TestDescription", pb.PrecompiledObjectType_PRECOMPILED_OBJECT_TYPE_EXAMPLE,
[]string{""}, "", ""},
+ {"TestName", "SDK_JAVA/TestCategory/TestName.java",
"TestDescription", pb.PrecompiledObjectType_PRECOMPILED_OBJECT_TYPE_EXAMPLE,
[]string{""}, "", "", ""},
Review comment:
Yes, changed it back.
--
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: 714759)
Time Spent: 2h (was: 1h 50m)
> [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
> Remaining Estimate: 0h
>
> Add a new string field _graph_ to the precompiled objects.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)