From 79ea51fd75b72429ce759bfc277847f2c529ee42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gurhem?= Date: Fri, 7 Apr 2023 07:38:28 +0200 Subject: [PATCH] feat: return result id when creating results in agent service --- Protos/V1/agent_common.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Protos/V1/agent_common.proto b/Protos/V1/agent_common.proto index 2ec1f9d3d..eec341d52 100644 --- a/Protos/V1/agent_common.proto +++ b/Protos/V1/agent_common.proto @@ -110,8 +110,8 @@ message CreateResultsMetaDataRequest { */ message ResultMetaData { string session_id = 1; /** The session ID. */ - string name = 2; /** The result name. */ - string owner_task_id = 3; /** The owner task ID. */ + string result_id = 2; /** The session ID. */ + string name = 3; /** The result name. */ result_status.ResultStatus status = 4; /** The result status. */ google.protobuf.Timestamp created_at = 5; /** The result creation date. */ } @@ -222,9 +222,9 @@ message UploadResultDataRequest { } /* -* Response for creating results without data +* Response for uploading data with stream for result */ message UploadResultDataResponse { - ResultMetaData result = 1; /** The raw result that was created. */ + string result_id = 1; /** The Id of the result to which data were added */ string communication_token = 2; /** Communication token received by the worker during task processing */ }