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

Unified Diff: appengine/cmd/dm/distributor/protos/jobsim/jobsim.proto

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: work in progress Created 4 years, 11 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: appengine/cmd/dm/distributor/protos/jobsim/jobsim.proto
diff --git a/appengine/cmd/dm/distributor/protos/jobsim/jobsim.proto b/appengine/cmd/dm/distributor/protos/jobsim/jobsim.proto
new file mode 100644
index 0000000000000000000000000000000000000000..b5538da949422b55654053062a8271be00318464
--- /dev/null
+++ b/appengine/cmd/dm/distributor/protos/jobsim/jobsim.proto
@@ -0,0 +1,25 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+syntax = "proto3";
+
+package jobsim;
+
+// Config is ONLY for testing purposes in dm/service. However, because of the
+// way that the distributor proto works it needs to be included in the main
+// distributor.proto file. For consistency, this jobsim proto lives here.
+message Config {
+ // Pool specifies the unique 'pool' name for this jobsim configuration. This
+ // will be used to namespace jobsim objects in the datastore, and can be used
+ // to demonstrate cross-distributor dependencies (by having one pool's jobs
+ // depend on another pool's results).
+ string pool = 1;
+
+ // DoPollback controls whether or not this configuration will force DM to
+ // poll back when recieving a HandleNotification. If this is true, then
+ // HandleNotification will return (nil, nil), and DM will call GetStatus
+ // at some later point. If this is false, then HandleNotification will
+ // directly return the job's status.
+ bool do_pollback = 2;
+}

Powered by Google App Engine
This is Rietveld 408576698