[ 
https://issues.apache.org/jira/browse/BEAM-7668?focusedWorklogId=274950&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-274950
 ]

ASF GitHub Bot logged work on BEAM-7668:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Jul/19 16:46
            Start Date: 10/Jul/19 16:46
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on pull request #8977: [BEAM-7668] 
Add GetPipeline method to gRPC JobService
URL: https://github.com/apache/beam/pull/8977#discussion_r302167338
 
 

 ##########
 File path: sdks/python/apache_beam/runners/portability/local_job_service.py
 ##########
 @@ -131,6 +131,10 @@ def GetState(self, request, context=None):
     return beam_job_api_pb2.GetJobStateResponse(
         state=self._jobs[request.job_id].state)
 
+  def GetPipeline(self, request, context=None):
+    return beam_job_api_pb2.GetJobPipelineResponse(
+        state=self._jobs[request.job_id]._pipeline_proto)
 
 Review comment:
   ```suggestion
           pipeline=self._jobs[request.job_id]._pipeline_proto)
   ```
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 274950)
    Time Spent: 3h 10m  (was: 3h)

> Add ability to query a pipeline from a gRPC JobService
> ------------------------------------------------------
>
>                 Key: BEAM-7668
>                 URL: https://issues.apache.org/jira/browse/BEAM-7668
>             Project: Beam
>          Issue Type: Improvement
>          Components: beam-model
>            Reporter: Chad Dombrova
>            Assignee: Chad Dombrova
>            Priority: Major
>              Labels: portability
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> As a developer I want to query the pipeline definition of jobs that have 
> already been submitted to the Job Service, so that I can write a UI to view 
> and monitor Beam pipelines via the portability model. 
>  
> PR is coming soon!
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to