adapt exec to new instance struct + neo oc lib

This commit is contained in:
mr
2025-02-05 08:39:29 +01:00
parent d36c31fcc4
commit efc0fe7948
7 changed files with 304 additions and 10 deletions

View File

@@ -45,6 +45,27 @@ paths:
responses:
"200":
description: '{workflow} models.workflow'
/search/{search}:
get:
tags:
- oc-scheduler/controllersWorkflowExecutionController
description: |-
find compute by key word
<br>
operationId: WorkflowExecutionController.Search
parameters:
- in: path
name: search
description: the search you want to get
required: true
type: string
- in: query
name: is_draft
description: draft wished
type: string
responses:
"200":
description: '{compute} models.compute'
/search/{start_date}/{end_date}:
get:
tags:
@@ -52,7 +73,7 @@ paths:
description: |-
search workspace
<br>
operationId: WorkflowExecutionController.Search
operationId: WorkflowExecutionController.SearchPerDate
parameters:
- in: path
name: start_date
@@ -93,6 +114,33 @@ paths:
responses:
"200":
description: ""
/workflow/{id}:
post:
tags:
- oc-scheduler/controllersWorkflowExecutionController
description: |-
schedule workflow
<br>
operationId: WorkflowExecutionController.ScheduleWorkflow
parameters:
- in: path
name: id
description: id execution
required: true
type: string
- in: body
name: body
description: The compute content
required: true
schema:
$ref: '#/definitions/models.compute'
responses:
"200":
description: '{workspace} models.workspace'
definitions:
models.compute:
title: compute
type: object
tags:
- name: oc-scheduler/controllersWorkflowExecutionController
description: |