diff --git a/spec/schemas/flow_framework.common.yaml b/spec/schemas/flow_framework.common.yaml index a478e0261..15d6e1ce2 100644 --- a/spec/schemas/flow_framework.common.yaml +++ b/spec/schemas/flow_framework.common.yaml @@ -205,6 +205,23 @@ components: type: string user: $ref: '#/components/schemas/user' + provision_start_time: + $ref: '_common.yaml#/components/schemas/DateTime' + provision_end_time: + $ref: '_common.yaml#/components/schemas/DateTime' + resources_created: + $ref: '#/components/schemas/ResourcesCreated' + ResourcesCreated: + type: object + properties: + workflow_step_name: + type: string + workflow_step_id: + type: string + resource_type: + type: string + resource_id: + type: string user: type: object properties: diff --git a/tests/default/flow_framework/workflow/state/search.yaml b/tests/default/flow_framework/workflow/state/search.yaml index 67138eb1e..937b26d2b 100644 --- a/tests/default/flow_framework/workflow/state/search.yaml +++ b/tests/default/flow_framework/workflow/state/search.yaml @@ -31,6 +31,6 @@ chapters: hits: hits: - _index: .plugins-flow-framework-state + _id: ${workflow.workflow_id} _source: - state: NOT_STARTED - + workflow_id: ${workflow.workflow_id} \ No newline at end of file