summaryrefslogtreecommitdiff
path: root/proto/jobs/v1beta/jobs.proto
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-12 12:45:53 +0300
committerValery Piashchynski <[email protected]>2021-07-12 12:45:53 +0300
commitaa1437d24ac215bec7fe053b06fa4773c9b1b1ad (patch)
tree7a6868867877f34ac5e2d490bfb589b3dce02917 /proto/jobs/v1beta/jobs.proto
parent87971c4d310fe3d353197fc96b9b6f9106f01e57 (diff)
Update JOBS interface, remove List() method, implemented on the root RPC
level. AMQP consumer replace sync.Map with atomic.Value, because we associate only 1 pipeline with a driver. So, we can store pipeline in the atomic.Value. Implement events handler, add job events. Use job events to push information to the logger. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'proto/jobs/v1beta/jobs.proto')
-rw-r--r--proto/jobs/v1beta/jobs.proto7
1 files changed, 6 insertions, 1 deletions
diff --git a/proto/jobs/v1beta/jobs.proto b/proto/jobs/v1beta/jobs.proto
index eb920fb8..9ff967d4 100644
--- a/proto/jobs/v1beta/jobs.proto
+++ b/proto/jobs/v1beta/jobs.proto
@@ -18,8 +18,13 @@ message MaintenanceRequest {
repeated string pipelines = 1;
}
+// some endpoints receives nothing
// all endpoints returns nothing
-message EmptyResponse {}
+message Empty {}
+
+message List {
+ repeated string pipelines = 1;
+}
message Job {
string job = 1;