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

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

                Author: ASF GitHub Bot
            Created on: 14/Feb/20 20:33
            Start Date: 14/Feb/20 20:33
    Worklog Time Spent: 10m 
      Work Description: robertwb commented on pull request #10733: [BEAM-9229] 
Adding dependency information to Environment proto
URL: https://github.com/apache/beam/pull/10733#discussion_r379629237
 
 

 ##########
 File path: model/pipeline/src/main/proto/beam_runner_api.proto
 ##########
 @@ -1093,6 +1093,66 @@ message SideInput {
   FunctionSpec window_mapping_fn = 3;
 }
 
+message StandardArtifacts {
+  enum Types {
+    // A URN for artifacts described by URLs.
+    // payload: ArtifactUrlPayload
+    URL      = 0 [(beam_urn) = "beam:artifact:url:v1"];
+
+    // A URN for artifacts embedded in ArtifactInformation proto.
+    // payload: EmbeddedFilePayload.
+    EMBEDDED = 1 [(beam_urn) = "beam:artifact:embedded:v1"];
+
+    // A URN for Python artifacts hosted on PYPI.
+    // payload: PypiPayload
+    PYPI     = 2 [(beam_urn) = "beam:artifact:pypi:v1"];
+
+    // A URN for Java artifacts hosted on a Maven repository.
+    // payload: MavenPayload
+    MAVEN    = 3 [(beam_urn) = "beam:artifact:maven:v1"];
+  }
+}
+
+message ArtifactUrlPayload {
+  // a string for an artifact URL e.g. "https://.../foo.jar"; or 
"file:///tmp/foo.jar"
+  string path = 1;
+}
+
+message EmbeddedFilePayload {
+  // raw data bytes for an embedded artifact
+  bytes data = 1;
+
+  // A name of the embedded file.
+  string name = 2;
 
 Review comment:
   This is not redundant with the top-level staged_name.
 
----------------------------------------------------------------
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: 387655)
    Time Spent: 6h  (was: 5h 50m)

> Adding dependency information to Environment proto
> --------------------------------------------------
>
>                 Key: BEAM-9229
>                 URL: https://issues.apache.org/jira/browse/BEAM-9229
>             Project: Beam
>          Issue Type: Sub-task
>          Components: beam-model
>            Reporter: Heejong Lee
>            Assignee: Heejong Lee
>            Priority: Major
>          Time Spent: 6h
>  Remaining Estimate: 0h
>
> Adding dependency information to Environment proto.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to