Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: common/api/dm/service/v1/service.proto

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: self review Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: common/api/dm/service/v1/service.proto
diff --git a/common/api/dm/service/v1/service.proto b/common/api/dm/service/v1/service.proto
index 43e768f905fa2e83dc4b5aa1de4a9187ebcd9626..bd604e24a5c9b46f5bb38dfa0de702ad605b13d4 100644
--- a/common/api/dm/service/v1/service.proto
+++ b/common/api/dm/service/v1/service.proto
@@ -12,18 +12,20 @@ import "ensure_graph_data.proto";
import "activate_execution.proto";
import "finish_attempt.proto";
import "walk_graph.proto";
-import "claim_execution.proto";
package dm;
+// exposes DM's Dependency Server API.
dnj (Google) 2016/06/09 18:00:57 Why no caps?
iannucci 2016/06/15 00:46:02 Acknowledged.
service Deps {
+ // allows you to add additional data to the current dependency graph.
rpc EnsureGraphData(dm.EnsureGraphDataReq) returns (dm.EnsureGraphDataRsp);
+ // is called by Execution clients to activate themselves with DM.
rpc ActivateExecution(dm.ActivateExecutionReq) returns (google.protobuf.Empty);
+
+ // is called by Execution clients to indicate that an Attempt is finished.
rpc FinishAttempt(dm.FinishAttemptReq) returns (google.protobuf.Empty);
+ // runs queries, and walks along the dependency graph from the query results.
rpc WalkGraph(dm.WalkGraphReq) returns (dm.GraphData);
-
- // ClaimExecution is a totally temporary hack
- rpc ClaimExecution(google.protobuf.Empty) returns (dm.ClaimExecutionRsp);
}

Powered by Google App Engine
This is Rietveld 408576698