Adding support for terminated workflow executions.

- When terminating, adding started_at and finished_at timestamps
Updated workflow_template.proto to return the count of terminated executions.
- Updating supporting code
This commit is contained in:
Aleksandr Melnikov
2020-05-14 17:13:44 -07:00
parent 61704062ba
commit 62c8f5dcb2
3 changed files with 21 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ func apiWorkflowTemplate(wft *v1.WorkflowTemplate) *api.WorkflowTemplate {
Running: wft.WorkflowExecutionStatisticReport.Running,
Completed: wft.WorkflowExecutionStatisticReport.Completed,
Failed: wft.WorkflowExecutionStatisticReport.Failed,
Terminated: wft.WorkflowExecutionStatisticReport.Terminated,
}
}