mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
Glue had no workflows: CreateWorkflow, StartWorkflowRun and the rest answered InvalidAction. Add CreateWorkflow, GetWorkflow, ListWorkflows, BatchGetWorkflows, UpdateWorkflow, DeleteWorkflow, StartWorkflowRun, StopWorkflowRun, ResumeWorkflowRun, GetWorkflowRun, GetWorkflowRuns, GetWorkflowRunProperties and PutWorkflowRunProperties, and let triggers belong to a workflow. StartWorkflowRun fires the workflow's starting triggers inside a new run. The workflow's conditional triggers fire only on job runs and crawls of that run, evaluate AND within it, and start their actions in it; job runs get --WORKFLOW_NAME and --WORKFLOW_RUN_ID. A run completes once nothing in it runs and nothing more fires. GetWorkflow and GetWorkflowRun report the graph of trigger, job and crawler nodes. Closes #4380