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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The LUCI Authors. All rights reserved. 1 // Copyright 2016 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 syntax = "proto3"; 5 syntax = "proto3";
6 6
7 import "google/protobuf/empty.proto"; 7 import "google/protobuf/empty.proto";
8 8
9 import "graph_data.proto"; 9 import "graph_data.proto";
10 10
11 import "ensure_graph_data.proto"; 11 import "ensure_graph_data.proto";
12 import "activate_execution.proto"; 12 import "activate_execution.proto";
13 import "finish_attempt.proto"; 13 import "finish_attempt.proto";
14 import "walk_graph.proto"; 14 import "walk_graph.proto";
15 import "claim_execution.proto";
16 15
17 package dm; 16 package dm;
18 17
18 // 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.
19 service Deps { 19 service Deps {
20 // allows you to add additional data to the current dependency graph.
20 rpc EnsureGraphData(dm.EnsureGraphDataReq) returns (dm.EnsureGraphDataRsp); 21 rpc EnsureGraphData(dm.EnsureGraphDataReq) returns (dm.EnsureGraphDataRsp);
21 22
23 // is called by Execution clients to activate themselves with DM.
22 rpc ActivateExecution(dm.ActivateExecutionReq) returns (google.protobuf.Empty) ; 24 rpc ActivateExecution(dm.ActivateExecutionReq) returns (google.protobuf.Empty) ;
25
26 // is called by Execution clients to indicate that an Attempt is finished.
23 rpc FinishAttempt(dm.FinishAttemptReq) returns (google.protobuf.Empty); 27 rpc FinishAttempt(dm.FinishAttemptReq) returns (google.protobuf.Empty);
24 28
29 // runs queries, and walks along the dependency graph from the query results.
25 rpc WalkGraph(dm.WalkGraphReq) returns (dm.GraphData); 30 rpc WalkGraph(dm.WalkGraphReq) returns (dm.GraphData);
26
27 // ClaimExecution is a totally temporary hack
28 rpc ClaimExecution(google.protobuf.Empty) returns (dm.ClaimExecutionRsp);
29 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698