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

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: fix imports and make dummy.go a real file 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
« no previous file with comments | « common/api/dm/service/v1/quest_desc_normalize.go ('k') | common/api/dm/service/v1/service.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b2eae252213070d513a8f9a1b8c2cabee006246e 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;
+// DM's Dependency Server API.
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);
}
« no previous file with comments | « common/api/dm/service/v1/quest_desc_normalize.go ('k') | common/api/dm/service/v1/service.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698