Skip to content

Commit

Permalink
feat: add created by in task
Browse files Browse the repository at this point in the history
  • Loading branch information
ereali-aneo committed Aug 29, 2024
1 parent 111c84a commit 2612206
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Protos/V1/tasks_common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ message TaskDetailed {
google.protobuf.Duration received_to_end_duration = 23; /** The task calculated duration. Between the received date and the end date. */

string payload_id = 26; /** The ID of the Result that is used as a payload for this task. */
string created_by = 27; /** The ID of the Task that as submitted this task empty if none.*/

/**
* Represents the task output.
Expand Down Expand Up @@ -102,6 +103,7 @@ message TaskSummary {
google.protobuf.Duration received_to_end_duration = 24; /** The task calculated duration. Between the received date and the end date. */

string payload_id = 26; /** The ID of the Result that is used as a payload for this task. */
string created_by = 27; /** The ID of the Task that as submitted this task empty if none.*/

string error = 8; /** The error message. Only set if task have failed. */
string pod_hostname = 17; /** The hostname of the container running the task. */
Expand Down
1 change: 1 addition & 0 deletions Protos/V1/tasks_fields.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ enum TaskSummaryEnumField {
TASK_SUMMARY_ENUM_FIELD_ERROR = 8; /** The error message. Only set if task have failed. */
TASK_SUMMARY_ENUM_FIELD_FETCHED_AT = 19; /** When task data are fetched by the agent. */
TASK_SUMMARY_ENUM_FIELD_PAYLOAD_ID = 20; /** The ID of the Result that is used as a payload for this task. */
TASK_SUMMARY_ENUM_FIELD_CREATED_BY = 21; /** The ID of the Result that is used as a payload for this task. */
}

/**
Expand Down

0 comments on commit 2612206

Please sign in to comment.