You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by tg...@apache.org on 2017/09/25 23:00:22 UTC

[1/2] beam git commit: This closes #3895

Repository: beam
Updated Branches:
  refs/heads/master 446f31174 -> 352f106f9


This closes #3895


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/352f106f
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/352f106f
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/352f106f

Branch: refs/heads/master
Commit: 352f106f992a2ff4c08274685657242f04f967ef
Parents: 446f311 166fadb
Author: Thomas Groh <tg...@google.com>
Authored: Mon Sep 25 16:00:11 2017 -0700
Committer: Thomas Groh <tg...@google.com>
Committed: Mon Sep 25 16:00:11 2017 -0700

----------------------------------------------------------------------
 .../src/main/proto/beam_artifact_api.proto           | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)
----------------------------------------------------------------------



[2/2] beam git commit: Change checksum back to md5

Posted by tg...@apache.org.
Change checksum back to md5

The harness boot code depends on the type of checksum being an md5


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/166fadb6
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/166fadb6
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/166fadb6

Branch: refs/heads/master
Commit: 166fadb6687d03aa556775feb2fce49e807e78ec
Parents: 446f311
Author: Thomas Groh <tg...@google.com>
Authored: Mon Sep 25 09:58:20 2017 -0700
Committer: Thomas Groh <tg...@google.com>
Committed: Mon Sep 25 16:00:11 2017 -0700

----------------------------------------------------------------------
 .../src/main/proto/beam_artifact_api.proto           | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/166fadb6/sdks/common/runner-api/src/main/proto/beam_artifact_api.proto
----------------------------------------------------------------------
diff --git a/sdks/common/runner-api/src/main/proto/beam_artifact_api.proto b/sdks/common/runner-api/src/main/proto/beam_artifact_api.proto
index f713fa7..1ca535b 100644
--- a/sdks/common/runner-api/src/main/proto/beam_artifact_api.proto
+++ b/sdks/common/runner-api/src/main/proto/beam_artifact_api.proto
@@ -60,18 +60,11 @@ message ArtifactMetadata {
   string name = 1;
 
   // (Optional) The Unix-like permissions of the artifact
-  int32 permissions = 2;
+  uint32 permissions = 2;
 
-  // (Optional) The checksum of the artifact.
-  Checksum checksum = 3;
-}
-
-message Checksum {
-  // (Required) the algorithm used to generate this checksum
-  string algorithm = 1;
-
-  // (Required) the value of this checksum
-  bytes value = 2;
+  // (Optional) The md5 checksum of the artifact. Used, among other things, by harness boot code to
+  // validate the integrity of the artifact.
+  string md5 = 3;
 }
 
 // A collection of artifacts.