From c675899b4d2f18db5029e79c8764d38d41c38df8 Mon Sep 17 00:00:00 2001 From: Robert Weber Date: Thu, 16 Jan 2014 13:40:52 -0700 Subject: [PATCH 1/2] Need uuid in order to be asynchronous --- protofiles/ForkerReply.proto | 1 + protofiles/ForkerRequest.proto | 1 + 2 files changed, 2 insertions(+) diff --git a/protofiles/ForkerReply.proto b/protofiles/ForkerReply.proto index a1886328aece..9fb732eec49b 100644 --- a/protofiles/ForkerReply.proto +++ b/protofiles/ForkerReply.proto @@ -8,5 +8,6 @@ message ForkerReply { optional uint32 pid = 2; optional bool running = 3; optional bool success = 4; + optional string uuid = 5; } diff --git a/protofiles/ForkerRequest.proto b/protofiles/ForkerRequest.proto index 054f48dc7708..ab72514de8b9 100644 --- a/protofiles/ForkerRequest.proto +++ b/protofiles/ForkerRequest.proto @@ -10,4 +10,5 @@ message ForkerRequest { optional bool status = 4; repeated string environment = 5; optional uint32 pid = 6; + optional string uuid = 7; } From e3d68e7e8e56005cb910b20f23bbf5a77b5840a8 Mon Sep 17 00:00:00 2001 From: Robert Weber Date: Thu, 16 Jan 2014 17:37:43 -0700 Subject: [PATCH 2/2] Need to be able to pass the process uuids around between replies/requests --- protofiles/ProcessReply.proto | 2 ++ protofiles/ProcessRequest.proto | 2 ++ 2 files changed, 4 insertions(+) diff --git a/protofiles/ProcessReply.proto b/protofiles/ProcessReply.proto index d0e4b394556d..49292f16b1a6 100644 --- a/protofiles/ProcessReply.proto +++ b/protofiles/ProcessReply.proto @@ -9,6 +9,8 @@ message ProcessReply { repeated int32 children = 3; optional string result = 4; optional int32 returnCode = 5; + optional string uuid = 6; + optional bool running = 7; } diff --git a/protofiles/ProcessRequest.proto b/protofiles/ProcessRequest.proto index 9eda204942e6..1ca58e74de87 100644 --- a/protofiles/ProcessRequest.proto +++ b/protofiles/ProcessRequest.proto @@ -10,6 +10,8 @@ message ProcessRequest { optional bool stop = 4; repeated string environment = 5; optional string realExecString = 6; + optional bool getPipeStatus = 7; + optional string uuid = 8; }