WS-717: Modify schema for State Machine rework
Changes
-
Added call to populate capability state rework tables (previously missing) -
Schema additions for State Machine rework: - Table
capabilities
:- New column
start_state
,varchar
, default ="Start"
- New column
- Table
capability_executions
:- New column
start_state
,varchar
, default ="Start"
- New column
queue_state
,varchar
, default ="NotQueued"
- New column
- Table
capability_states
:- For all capabilities, new state
"Queued"
- For all capabilities, new state
- Table
capability_state_transitions
:- For all capabilities, new transition
"Start" -(capability-submitted)-> "Queued"
- For all capabilities, new transition
"Queued" -(workflow-executing)-> "Executing"
- For all capabilities, new transition
- Table
-
Corresponding Python schema changes -
New enum QueueState
with states:NotQueued
,Queued
, andRunning
-
Updated queueing system to use new QueueState
s -
Updated CapabilityExecution
back-end__json__
and front-end model with newqueue_state
column
No enabled tests were harmed in the making of this MR (somehow)
WS-725 and WS-730
CompletesEdited by Nathan Hertz