adapt exec to new instance struct + neo oc lib
This commit is contained in:
@@ -37,13 +37,42 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/search/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"oc-scheduler/controllersWorkflowExecutionController"
|
||||
],
|
||||
"description": "find compute by key word\n\u003cbr\u003e",
|
||||
"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": [
|
||||
"oc-scheduler/controllersWorkflowExecutionController"
|
||||
],
|
||||
"description": "search workspace\n\u003cbr\u003e",
|
||||
"operationId": "WorkflowExecutionController.Search",
|
||||
"operationId": "WorkflowExecutionController.SearchPerDate",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -101,6 +130,38 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/workflow/{id}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"oc-scheduler/controllersWorkflowExecutionController"
|
||||
],
|
||||
"description": "schedule workflow\n\u003cbr\u003e",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/{id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -125,6 +186,12 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"models.compute": {
|
||||
"title": "compute",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"name": "oc-scheduler/controllersWorkflowExecutionController",
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user