Fix Validations progress
Latest validations results are tracked by execution's updated_at
property but incoming executions from Zaqar message don't have this
set. This patch sets it explicitly until it is fixed in Mistral
Closes-Bug: 1729571
Change-Id: Icb82abd7011fa5b5ac99a7cde26a971282bea409
(cherry picked from commit 0853e0bb6f
)
This commit is contained in:
parent
6c8aaef6c6
commit
25f3d69196
|
@ -84,7 +84,9 @@ export default {
|
|||
output: omit(messagePayload, 'execution'),
|
||||
params: messagePayload.execution.params,
|
||||
state: messagePayload.status,
|
||||
workflow_name: MistralConstants.VALIDATIONS_RUN
|
||||
workflow_name: MistralConstants.VALIDATIONS_RUN,
|
||||
// TODO(jtomasek): replace this with messagePayload.execution.updated_at once message provides it
|
||||
updated_at: new Date(Date.now()) // setting this explicitly as message does not provide it
|
||||
};
|
||||
dispatch(WorkflowExecutionsActions.addWorkflowExecution(execution));
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue