cancelling actions works now
This commit is contained in:
@@ -52,10 +52,14 @@ pub struct ExecutionResponse {
|
||||
#[schema(example = 1)]
|
||||
pub enforcement: Option<i64>,
|
||||
|
||||
/// Executor ID (worker/executor that ran this)
|
||||
/// Identity ID that initiated this execution
|
||||
#[schema(example = 1)]
|
||||
pub executor: Option<i64>,
|
||||
|
||||
/// Worker ID currently assigned to this execution
|
||||
#[schema(example = 1)]
|
||||
pub worker: Option<i64>,
|
||||
|
||||
/// Execution status
|
||||
#[schema(example = "succeeded")]
|
||||
pub status: ExecutionStatus,
|
||||
@@ -216,6 +220,7 @@ impl From<attune_common::models::execution::Execution> for ExecutionResponse {
|
||||
parent: execution.parent,
|
||||
enforcement: execution.enforcement,
|
||||
executor: execution.executor,
|
||||
worker: execution.worker,
|
||||
status: execution.status,
|
||||
result: execution
|
||||
.result
|
||||
|
||||
Reference in New Issue
Block a user