Skip to content

Resolve "Add status for each step"

Closes #456 (closed)

@denolf

As discussed with @svensson, step is an abstraction of a node or can be something wider (eg: scaling, indexing, etc..)

So, a step has as attributes: name, status and message

In practice it means that the workflow.status = "RUNNING" but you can have that scaling.status="FINISHED"

The body form changes to:

{ status: "STARTED" },
{ logs: { message: "Starting the workflow" }, status: "RUNNING" },
{ step: { name: "INTEGRATION", status: "STARTED" } },
{ status: "FINISHED",  step: { name: "INTEGRATION", status: "FINISHED", message: "Integration finished successfully" }, logs: { message: "Processed successfully. The answer to life is 42" } },
Edited by Alejandro De Maria Antolinos

Merge request reports

Loading